graphql-form 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/models.d.ts +1 -1
- package/package.json +1 -1
- package/src/models.ts +3 -1
package/lib/models.d.ts
CHANGED
@@ -59,7 +59,7 @@ export declare type FormDisplayerProps = Omit<PassedFormProps, 'formObject' | 'o
|
|
59
59
|
onChange: (o: FormFile, query: string) => void;
|
60
60
|
};
|
61
61
|
export declare type FormLibraryProps = Omit<FormDisplayerProps, 'required' | 'components'>;
|
62
|
-
export declare type CastToWidgetSettingsPassedForm<WidgetData = ReturnedDictType> = PassedFormProps<Partial<WidgetData
|
62
|
+
export declare type CastToWidgetSettingsPassedForm<WidgetData = ReturnedDictType> = Partial<PassedFormProps<Partial<WidgetData>>> & {
|
63
63
|
widgetSettingsChange: (data: WidgetData) => void;
|
64
64
|
};
|
65
65
|
export declare type WidgetType = {
|
package/package.json
CHANGED
package/src/models.ts
CHANGED
@@ -73,7 +73,9 @@ export type FormDisplayerProps = Omit<
|
|
73
73
|
|
74
74
|
export type FormLibraryProps = Omit<FormDisplayerProps, 'required' | 'components'>;
|
75
75
|
|
76
|
-
export type CastToWidgetSettingsPassedForm<WidgetData = ReturnedDictType> =
|
76
|
+
export type CastToWidgetSettingsPassedForm<WidgetData = ReturnedDictType> = Partial<
|
77
|
+
PassedFormProps<Partial<WidgetData>>
|
78
|
+
> & {
|
77
79
|
widgetSettingsChange: (data: WidgetData) => void;
|
78
80
|
};
|
79
81
|
|