@pipedream/connect-react 1.0.0-preview.8 → 1.0.0-preview.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect-react.es.js +2829 -2744
- package/dist/connect-react.umd.d.ts +8 -0
- package/dist/connect-react.umd.js +12 -12
- package/package.json +2 -2
|
@@ -38,6 +38,11 @@ declare type AlertProps = {
|
|
|
38
38
|
prop: ConfigurablePropAlert;
|
|
39
39
|
};
|
|
40
40
|
|
|
41
|
+
export declare function appPropError(opts: {
|
|
42
|
+
value: any;
|
|
43
|
+
app: AppResponse | undefined;
|
|
44
|
+
}): string | undefined;
|
|
45
|
+
|
|
41
46
|
export declare type BaseReactSelectProps<Option, IsMulti extends boolean, Group extends GroupBase<Option>> = {
|
|
42
47
|
components?: SelectComponentsConfig<Option, IsMulti, Group>;
|
|
43
48
|
styles?: StylesConfig;
|
|
@@ -262,12 +267,15 @@ export declare type FormContext<T extends ConfigurableProps> = {
|
|
|
262
267
|
configuredProps: ConfiguredProps<T>;
|
|
263
268
|
dynamicProps?: DynamicProps<T>;
|
|
264
269
|
dynamicPropsQueryIsFetching?: boolean;
|
|
270
|
+
fields: Record<string, FormFieldContext<ConfigurableProp>>;
|
|
265
271
|
id: string;
|
|
266
272
|
isValid: boolean;
|
|
267
273
|
optionalPropIsEnabled: (prop: ConfigurableProp) => boolean;
|
|
268
274
|
optionalPropSetEnabled: (prop: ConfigurableProp, enabled: boolean) => void;
|
|
269
275
|
props: ComponentFormProps<T>;
|
|
276
|
+
propsNeedConfiguring: string[];
|
|
270
277
|
queryDisabledIdx?: number;
|
|
278
|
+
registerField: <T extends ConfigurableProp>(field: FormFieldContext<T>) => void;
|
|
271
279
|
setConfiguredProp: (idx: number, value: unknown) => void;
|
|
272
280
|
setSubmitting: (submitting: boolean) => void;
|
|
273
281
|
submitting: boolean;
|