@integry/sdk 4.7.24 → 4.7.26
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/esm/index.csm.d.ts +8 -1
- package/dist/esm/index.csm.js +1 -1
- package/dist/umd/index.umd.d.ts +8 -1
- package/dist/umd/index.umd.js +1 -1
- package/package.json +1 -1
- package/src/components/MultipurposeField/index.tsx +1 -1
- package/src/components/form/ObjectField/index.ts +11 -3
- package/src/features/common/ActionForm/index.ts +8 -0
- package/src/index.ts +66 -10
- package/src/interfaces/index.ts +7 -0
package/dist/umd/index.umd.d.ts
CHANGED
|
@@ -593,6 +593,12 @@ interface MultipurposeFieldType {
|
|
|
593
593
|
fieldId?: string;
|
|
594
594
|
enableTagify?: boolean;
|
|
595
595
|
}
|
|
596
|
+
interface FunctionFieldType {
|
|
597
|
+
onChange?: (val: any) => void;
|
|
598
|
+
isReadOnly?: boolean;
|
|
599
|
+
field: TemplateField;
|
|
600
|
+
tagsTree?: any;
|
|
601
|
+
}
|
|
596
602
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
597
603
|
type EventSet = Record<string, (...args: any[]) => void>;
|
|
598
604
|
interface EventEmitterType<ESet extends EventSet> {
|
|
@@ -678,7 +684,7 @@ declare class IntegryJS {
|
|
|
678
684
|
[key: string]: any;
|
|
679
685
|
}, vars: {
|
|
680
686
|
[key: string]: any;
|
|
681
|
-
} | undefined, connectedAccountId: string, version?: string | null) => Promise<Record<any, any>>;
|
|
687
|
+
} | undefined, connectedAccountId: string, version?: string | null, allow_workspace_connected_accounts?: boolean) => Promise<Record<any, any>>;
|
|
682
688
|
connectApp: (appName: string) => Promise<string>;
|
|
683
689
|
disconnectApp: (appName: string, connectedAccountId?: string | undefined) => Promise<any>;
|
|
684
690
|
isAppConnected: (appName: string) => Promise<any>;
|
|
@@ -727,6 +733,7 @@ declare class IntegryJS {
|
|
|
727
733
|
containerId: string;
|
|
728
734
|
multipurposeFieldProps: MultipurposeFieldType;
|
|
729
735
|
}) => void;
|
|
736
|
+
renderFunctionField: (containerId: string, functionFieldProps: FunctionFieldType) => void;
|
|
730
737
|
renderFlowStep: (options?: RenderFlowStepOptions) => void;
|
|
731
738
|
renderMappingMenu: (options?: RenderMappingMenuOptions) => void;
|
|
732
739
|
verifyAuthConfig: () => Promise<{
|