@pipedream/connect-react 1.3.3 → 1.4.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/README.md +28 -1
- package/dist/connect-react.es.js +1740 -1735
- package/dist/connect-react.umd.d.ts +7 -0
- package/dist/connect-react.umd.js +10 -10
- package/package.json +1 -1
|
@@ -94,6 +94,12 @@ declare type ComponentFormProps<T extends ConfigurableProps, U = ConfiguredProps
|
|
|
94
94
|
hideOptionalProps?: boolean;
|
|
95
95
|
sdkResponse?: unknown | undefined;
|
|
96
96
|
enableDebugging?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* OAuth app ID configuration for specific apps.
|
|
99
|
+
* Maps app name slugs to their corresponding OAuth app IDs.
|
|
100
|
+
* Example: { 'github': 'oa_xxxxxxx', 'google_sheets': 'oa_xxxxxxx' }
|
|
101
|
+
*/
|
|
102
|
+
oauthAppConfig?: Record<string, string>;
|
|
97
103
|
} & ({
|
|
98
104
|
externalUserId: string;
|
|
99
105
|
userId?: never;
|
|
@@ -317,6 +323,7 @@ export declare type FormContext<T extends ConfigurableProps> = {
|
|
|
317
323
|
/** @deprecated Use externalUserId instead */
|
|
318
324
|
userId: string;
|
|
319
325
|
enableDebugging?: boolean;
|
|
326
|
+
oauthAppConfig?: Record<string, string>;
|
|
320
327
|
};
|
|
321
328
|
|
|
322
329
|
export declare const FormContext: Context<FormContext<any> | undefined>;
|