@pipedream/connect-react 1.0.0-preview.27 → 1.0.0-preview.28

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.
@@ -85,6 +85,8 @@ declare type ComponentFormProps<T extends ConfigurableProps, U = ConfiguredProps
85
85
  onUpdateConfiguredProps?: (v: U) => void;
86
86
  onUpdateDynamicProps?: (dp: DynamicProps<T>) => void;
87
87
  hideOptionalProps?: boolean;
88
+ sdkResponse?: unknown | undefined;
89
+ enableDebugging?: boolean;
88
90
  };
89
91
 
90
92
  export declare type ComponentLibrary = typeof defaultComponents;
@@ -248,7 +250,6 @@ export declare class ErrorBoundary extends Component<Props_2> {
248
250
  export declare function Errors<T extends ConfigurableProps, U extends ConfigurableProp>(props: ErrorsProps<T, U>): JSX_2.Element | null;
249
251
 
250
252
  declare type ErrorsProps<T extends ConfigurableProps, U extends ConfigurableProp> = {
251
- errors: string[];
252
253
  field: FormFieldContext<U>;
253
254
  form: FormContext<T>;
254
255
  };
@@ -272,6 +273,7 @@ export declare type FormContext<T extends ConfigurableProps> = {
272
273
  dynamicProps?: DynamicProps<T>;
273
274
  dynamicPropsQueryIsFetching?: boolean;
274
275
  errors: Record<string, string[]>;
276
+ sdkErrors: SdkError[];
275
277
  fields: Record<string, FormFieldContext<ConfigurableProp>>;
276
278
  id: string;
277
279
  isValid: boolean;
@@ -285,6 +287,7 @@ export declare type FormContext<T extends ConfigurableProps> = {
285
287
  setSubmitting: (submitting: boolean) => void;
286
288
  submitting: boolean;
287
289
  userId: string;
290
+ enableDebugging: boolean;
288
291
  };
289
292
 
290
293
  export declare const FormContext: Context<FormContext<any> | undefined>;
@@ -304,6 +307,8 @@ export declare type FormFieldContext<T extends ConfigurableProp> = {
304
307
  value: PropValue<T["type"]> | undefined;
305
308
  onChange: (value: PropValue<T["type"]> | undefined) => void;
306
309
  extra: FormFieldContextExtra<T>;
310
+ errors: Record<string, string[]>;
311
+ enableDebugging?: boolean;
307
312
  };
308
313
 
309
314
  export declare const FormFieldContext: Context<FormFieldContext<any> | undefined>;
@@ -368,6 +373,11 @@ declare type RemoteOptionsContainerProps = {
368
373
  queryEnabled?: boolean;
369
374
  };
370
375
 
376
+ declare type SdkError = {
377
+ name: string;
378
+ message: string;
379
+ };
380
+
371
381
  export declare function SelectApp({ value, onChange, }: SelectAppProps): JSX_2.Element;
372
382
 
373
383
  declare type SelectAppProps = {