@pipedream/connect-react 1.3.2 → 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 +3333 -3279
- package/dist/connect-react.umd.d.ts +12 -0
- package/dist/connect-react.umd.js +14 -14
- 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;
|
|
@@ -236,6 +242,11 @@ export declare type CustomStylesFn<K extends keyof CustomizableProps> = ((baseSt
|
|
|
236
242
|
|
|
237
243
|
export declare type CustomThemeConfig = PartialTheme | ((theme: Theme) => PartialTheme);
|
|
238
244
|
|
|
245
|
+
export declare const DEBUG_INFO: {
|
|
246
|
+
buildTime: string;
|
|
247
|
+
source: string;
|
|
248
|
+
};
|
|
249
|
+
|
|
239
250
|
export declare const defaultComponents: {
|
|
240
251
|
Description: typeof Description;
|
|
241
252
|
Errors: typeof Errors;
|
|
@@ -312,6 +323,7 @@ export declare type FormContext<T extends ConfigurableProps> = {
|
|
|
312
323
|
/** @deprecated Use externalUserId instead */
|
|
313
324
|
userId: string;
|
|
314
325
|
enableDebugging?: boolean;
|
|
326
|
+
oauthAppConfig?: Record<string, string>;
|
|
315
327
|
};
|
|
316
328
|
|
|
317
329
|
export declare const FormContext: Context<FormContext<any> | undefined>;
|