export NextLayoutOptions
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
This commit is contained in:
@@ -159,7 +159,9 @@ export interface FieldSchema<TReturn, TUiOptions> {
|
||||
export type FormProps = Pick<
|
||||
FormProps_3,
|
||||
'transformErrors' | 'noHtml5Validate'
|
||||
>;
|
||||
> & {
|
||||
layouts?: NextLayoutOptions[];
|
||||
};
|
||||
|
||||
// @public
|
||||
export type LayoutComponent<_TInputProps> = () => null;
|
||||
@@ -526,6 +528,15 @@ export type TemplateParameterSchema = TemplateParameterSchema_2;
|
||||
// @public
|
||||
export const TemplateTypePicker: () => JSX.Element | null;
|
||||
|
||||
<<<<<<< HEAD
|
||||
// @public @deprecated (undocumented)
|
||||
export const useTemplateSecrets: () => ScaffolderUseTemplateSecrets_2;
|
||||
=======
|
||||
// @public
|
||||
export const useTemplateSecrets: () => ScaffolderUseTemplateSecrets;
|
||||
|
||||
// Warnings were encountered during analysis:
|
||||
//
|
||||
// src/next/types.d.ts:23:5 - (ae-forgotten-export) The symbol "NextLayoutOptions" needs to be exported by the entry point index.d.ts
|
||||
>>>>>>> 55041019c8 (export NextLayoutOptions)
|
||||
```
|
||||
|
||||
@@ -25,7 +25,7 @@ import type { FormProps as SchemaFormProps } from '@rjsf/core-v5';
|
||||
/**
|
||||
* The field template from \@rjsf/core which is a react component that gets passed \@rjsf/core field related props.
|
||||
*
|
||||
* @public
|
||||
* @alpha
|
||||
*/
|
||||
export type NextLayoutTemplate<T = any> = NonNullable<
|
||||
SchemaFormProps<T>['uiSchema']
|
||||
@@ -34,7 +34,7 @@ export type NextLayoutTemplate<T = any> = NonNullable<
|
||||
/**
|
||||
* The type of layouts that is passed to the TemplateForms
|
||||
*
|
||||
* @public
|
||||
* @alpha
|
||||
*/
|
||||
export interface NextLayoutOptions<P = any> {
|
||||
name: string;
|
||||
|
||||
Reference in New Issue
Block a user