@pipedream/connect-react 1.2.1 → 1.3.0
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 +2870 -2840
- package/dist/connect-react.umd.d.ts +17 -2
- package/dist/connect-react.umd.js +12 -12
- package/package.json +2 -2
|
@@ -76,7 +76,14 @@ declare type ComponentFormContainerProps<T extends ConfigurableProps> = Omit<Com
|
|
|
76
76
|
};
|
|
77
77
|
|
|
78
78
|
declare type ComponentFormProps<T extends ConfigurableProps, U = ConfiguredProps<T>> = {
|
|
79
|
-
|
|
79
|
+
/**
|
|
80
|
+
* Your end user ID, for whom you're configuring the component.
|
|
81
|
+
*/
|
|
82
|
+
externalUserId?: string;
|
|
83
|
+
/**
|
|
84
|
+
* @deprecated Use `externalUserId` instead.
|
|
85
|
+
*/
|
|
86
|
+
userId?: string;
|
|
80
87
|
component: V1Component<T>;
|
|
81
88
|
configuredProps?: U;
|
|
82
89
|
disableQueryDisabling?: boolean;
|
|
@@ -87,7 +94,13 @@ declare type ComponentFormProps<T extends ConfigurableProps, U = ConfiguredProps
|
|
|
87
94
|
hideOptionalProps?: boolean;
|
|
88
95
|
sdkResponse?: unknown | undefined;
|
|
89
96
|
enableDebugging?: boolean;
|
|
90
|
-
}
|
|
97
|
+
} & ({
|
|
98
|
+
externalUserId: string;
|
|
99
|
+
userId?: never;
|
|
100
|
+
} | {
|
|
101
|
+
userId: string;
|
|
102
|
+
externalUserId?: never;
|
|
103
|
+
});
|
|
91
104
|
|
|
92
105
|
export declare type ComponentLibrary = typeof defaultComponents;
|
|
93
106
|
|
|
@@ -295,6 +308,8 @@ export declare type FormContext<T extends ConfigurableProps> = {
|
|
|
295
308
|
setConfiguredProp: (idx: number, value: unknown) => void;
|
|
296
309
|
setSubmitting: (submitting: boolean) => void;
|
|
297
310
|
submitting: boolean;
|
|
311
|
+
externalUserId: string;
|
|
312
|
+
/** @deprecated Use externalUserId instead */
|
|
298
313
|
userId: string;
|
|
299
314
|
enableDebugging?: boolean;
|
|
300
315
|
};
|