@digitalsee-ai/rcs 0.0.15 → 1.0.1
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 +69 -237
- package/dist/components/digitalsee/workflow/Canvas/NextConfigModalWrapper.d.ts +9 -0
- package/dist/components/digitalsee/workflow/Canvas/NextWorkflowCanvas.d.ts +4 -0
- package/dist/components/digitalsee/workflow/Canvas/NextWorkflowCanvasHeader.d.ts +15 -0
- package/dist/components/digitalsee/workflow/Canvas/WorkflowCanvas.d.ts +1 -12
- package/dist/components/digitalsee/workflow/Canvas/WorkflowCanvasBase.d.ts +4 -0
- package/dist/components/digitalsee/workflow/Canvas/WorkflowCanvasHeader.d.ts +2 -1
- package/dist/components/digitalsee/workflow/Canvas/color.d.ts +1 -1
- package/dist/components/digitalsee/workflow/Canvas/constants.d.ts +75 -0
- package/dist/components/digitalsee/workflow/Canvas/hooks/createNodeAddHandlerNext.d.ts +49 -0
- package/dist/components/digitalsee/workflow/Canvas/hooks/useCanvasApi.d.ts +22 -0
- package/dist/components/digitalsee/workflow/Canvas/hooks/useDataLoading.d.ts +21 -0
- package/dist/components/digitalsee/workflow/Canvas/hooks/useNodeAddCallback.d.ts +44 -0
- package/dist/components/digitalsee/workflow/Canvas/hooks/useNodeFormDraftCache.d.ts +14 -0
- package/dist/components/digitalsee/workflow/Canvas/hooks/useWorkflowCanvasState.d.ts +78 -0
- package/dist/components/digitalsee/workflow/Canvas/types.d.ts +91 -0
- package/dist/components/digitalsee/workflow/Edges/BaseEdge.d.ts +3 -2
- package/dist/components/digitalsee/workflow/Edges/EdgeFactory.d.ts +43 -0
- package/dist/components/digitalsee/workflow/NextNodesConfigModal/index.d.ts +13 -0
- package/dist/components/digitalsee/workflow/Nodes/ActionNode.d.ts +3 -3
- package/dist/components/digitalsee/workflow/Nodes/AgentNode.d.ts +2 -2
- package/dist/components/digitalsee/workflow/Nodes/BrowserNode.d.ts +2 -2
- package/dist/components/digitalsee/workflow/Nodes/CustomNode.d.ts +2 -2
- package/dist/components/digitalsee/workflow/Nodes/NextNodeFactory.d.ts +11 -0
- package/dist/components/digitalsee/workflow/Nodes/NextNodes/NextActionNode.d.ts +9 -0
- package/dist/components/digitalsee/workflow/Nodes/NextNodes/NextBaseNode.d.ts +15 -0
- package/dist/components/digitalsee/workflow/Nodes/NextNodes/NextConditionNode.d.ts +10 -0
- package/dist/components/digitalsee/workflow/Nodes/NextNodes/NextLoopNode.d.ts +10 -0
- package/dist/components/digitalsee/workflow/Nodes/NextNodes/NextSwitchNode.d.ts +10 -0
- package/dist/components/digitalsee/workflow/Nodes/NextNodes/NextTriggerNode.d.ts +9 -0
- package/dist/components/digitalsee/workflow/Nodes/NodeFactory.d.ts +3 -12
- package/dist/components/digitalsee/workflow/Nodes/StickyNoteNode.d.ts +2 -2
- package/dist/components/digitalsee/workflow/Nodes/SuperBaseNode.d.ts +1 -1
- package/dist/components/digitalsee/workflow/Nodes/components/NextNodeDescription.d.ts +16 -0
- package/dist/components/digitalsee/workflow/Nodes/components/NextNodeOperations.d.ts +11 -0
- package/dist/components/digitalsee/workflow/Nodes/components/NodeOperations.d.ts +1 -1
- package/dist/components/digitalsee/workflow/NodesConfig/ActionNodeConfig/index.d.ts +7 -1
- package/dist/components/digitalsee/workflow/NodesConfig/ConditionNodeConfig/index.d.ts +5 -4
- package/dist/components/digitalsee/workflow/NodesConfig/ErrorHandler.d.ts +17 -2
- package/dist/components/digitalsee/workflow/NodesConfig/LoopNodeConfig/index.d.ts +2 -3
- package/dist/components/digitalsee/workflow/NodesConfig/NextNodeConfig/CreateCredentialModal.d.ts +13 -0
- package/dist/components/digitalsee/workflow/NodesConfig/NextNodeConfig/CredentialSelect.d.ts +17 -0
- package/dist/components/digitalsee/workflow/NodesConfig/NextNodeConfig/ModifyCredentialModal.d.ts +17 -0
- package/dist/components/digitalsee/workflow/NodesConfig/NextNodeConfig/fieldSchemaAdapter.d.ts +10 -0
- package/dist/components/digitalsee/workflow/NodesConfig/NextNodeConfig/fieldSchemaAdapter.test.d.ts +1 -0
- package/dist/components/digitalsee/workflow/NodesConfig/NextNodeConfig/index.d.ts +15 -0
- package/dist/components/digitalsee/workflow/NodesConfig/SwitchNodeConfig/index.d.ts +6 -5
- package/dist/components/digitalsee/workflow/NodesConfig/components/AccountSelect/components/CreateAccountModal/index.d.ts +2 -0
- package/dist/components/digitalsee/workflow/NodesConfig/components/AccountSelect/components/CredentialAccountForm.d.ts +10 -0
- package/dist/components/digitalsee/workflow/NodesConfig/components/AccountSelect/components/DynamicAccountForm/fields/DateField/index.d.ts +1 -1
- package/dist/components/digitalsee/workflow/NodesConfig/components/AccountSelect/components/DynamicAccountForm/fields/DateTimeField/index.d.ts +1 -1
- package/dist/components/digitalsee/workflow/NodesConfig/components/AccountSelect/components/DynamicAccountForm/fields/ExtendObjectField/index.d.ts +1 -1
- package/dist/components/digitalsee/workflow/NodesConfig/components/AccountSelect/components/DynamicAccountForm/fields/FixedObjectField/index.d.ts +1 -1
- package/dist/components/digitalsee/workflow/NodesConfig/components/AccountSelect/components/DynamicAccountForm/fields/PasswordField/index.d.ts +2 -1
- package/dist/components/digitalsee/workflow/NodesConfig/components/AccountSelect/components/DynamicAccountForm/fields/TextAreaField/index.d.ts +1 -1
- package/dist/components/digitalsee/workflow/NodesConfig/components/AccountSelect/components/DynamicAccountForm/fields/TextField/index.d.ts +1 -1
- package/dist/components/digitalsee/workflow/NodesConfig/components/AccountSelect/components/DynamicAccountForm/fields/TimeField/index.d.ts +1 -1
- package/dist/components/digitalsee/workflow/NodesConfig/components/AccountSelect/components/DynamicAccountForm/index.d.ts +1 -1
- package/dist/components/digitalsee/workflow/NodesConfig/components/AccountSelect/components/ModifyAccountModal/index.d.ts +3 -0
- package/dist/components/digitalsee/workflow/NodesConfig/components/AccountSelect/index.d.ts +5 -3
- package/dist/components/digitalsee/workflow/NodesConfig/components/FormFieldRenderer/components/AIFormField.d.ts +1 -1
- package/dist/components/digitalsee/workflow/NodesConfig/components/FormFieldRenderer/fields/DateField/index.d.ts +1 -1
- package/dist/components/digitalsee/workflow/NodesConfig/components/FormFieldRenderer/fields/DateTimeField/index.d.ts +1 -1
- package/dist/components/digitalsee/workflow/NodesConfig/components/FormFieldRenderer/fields/FixedObjectField/index.d.ts +1 -1
- package/dist/components/digitalsee/workflow/NodesConfig/components/FormFieldRenderer/fields/HourMinuteField/index.d.ts +5 -0
- package/dist/components/digitalsee/workflow/NodesConfig/components/FormFieldRenderer/fields/{JavscriptTagEditorField → JavascriptTagEditorField}/common-placeholder-theme.d.ts +11 -11
- package/dist/components/digitalsee/workflow/NodesConfig/components/FormFieldRenderer/fields/JavascriptTagEditorField/editor.d.ts +1 -0
- package/dist/components/digitalsee/workflow/NodesConfig/components/FormFieldRenderer/fields/{JavscriptTagEditorField → JavascriptTagEditorField}/interface.d.ts +1 -1
- package/dist/components/digitalsee/workflow/NodesConfig/components/FormFieldRenderer/fields/{JavscriptTagEditorField → JavascriptTagEditorField}/plugin/keywords.d.ts +2 -0
- package/dist/components/digitalsee/workflow/NodesConfig/components/FormFieldRenderer/fields/JsonTagField/common-placeholder-theme.d.ts +11 -11
- package/dist/components/digitalsee/workflow/NodesConfig/components/FormFieldRenderer/fields/JsonTagField/interface.d.ts +1 -1
- package/dist/components/digitalsee/workflow/NodesConfig/components/FormFieldRenderer/fields/JsonTagField/plugin/keywords.d.ts +2 -0
- package/dist/components/digitalsee/workflow/NodesConfig/components/FormFieldRenderer/fields/JsonTagField/plugin/keywords.test.d.ts +1 -0
- package/dist/components/digitalsee/workflow/NodesConfig/components/FormFieldRenderer/fields/{MutilRowAIExtractConfigField → MultiRowAIExtractConfigField}/index.d.ts +2 -2
- package/dist/components/digitalsee/workflow/NodesConfig/components/FormFieldRenderer/fields/RichTagInput/index.d.ts +1 -1
- package/dist/components/digitalsee/workflow/NodesConfig/components/FormFieldRenderer/fields/RichTagInput/useVariableInfo.d.ts +13 -0
- package/dist/components/digitalsee/workflow/NodesConfig/components/FormFieldRenderer/fields/TextField/index.d.ts +2 -2
- package/dist/components/digitalsee/workflow/NodesConfig/components/FormFieldRenderer/fields/TimeField/index.d.ts +1 -1
- package/dist/components/digitalsee/workflow/NodesConfig/components/FormFieldRenderer/index.d.ts +3 -3
- package/dist/components/digitalsee/workflow/NodesConfig/components/FormFieldRenderer/next-compatible.d.ts +2 -0
- package/dist/components/digitalsee/workflow/NodesConfig/components/FormFieldRenderer/next-compatible.test.d.ts +1 -0
- package/dist/components/digitalsee/workflow/NodesConfig/components/NextNodeSettings.d.ts +6 -0
- package/dist/components/digitalsee/workflow/NodesConfig/components/NextNodeTest.d.ts +6 -0
- package/dist/components/digitalsee/workflow/NodesConfig/components/NextVariableModal/index.d.ts +6 -0
- package/dist/components/digitalsee/workflow/NodesConfig/components/NextVariableModal/variable-tree-next.d.ts +49 -0
- package/dist/components/digitalsee/workflow/NodesConfig/components/NextVariableModal/variable-tree-next.test.d.ts +1 -0
- package/dist/components/digitalsee/workflow/NodesConfig/components/VariableModal/index.d.ts +2 -1
- package/dist/components/digitalsee/workflow/NodesConfig/context.d.ts +4 -0
- package/dist/components/digitalsee/workflow/NodesConfig/define/actions.d.ts +3 -3
- package/dist/components/digitalsee/workflow/NodesConfig/define/condition.d.ts +5 -58
- package/dist/components/digitalsee/workflow/NodesConfig/define/condition.test.d.ts +1 -0
- package/dist/components/digitalsee/workflow/NodesConfig/define/flow.d.ts +1 -26
- package/dist/components/digitalsee/workflow/NodesConfig/index.d.ts +3 -6
- package/dist/components/digitalsee/workflow/NodesConfig/utils/credentialRequirement.d.ts +17 -0
- package/dist/components/digitalsee/workflow/Panels/ModernNodeSelectorPanel/components/CategoryTabs.d.ts +1 -1
- package/dist/components/digitalsee/workflow/Panels/ModernNodeSelectorPanel/types.d.ts +17 -1
- package/dist/components/digitalsee/workflow/Panels/ModernNodeSelectorPanel/utils/dataTransformers.d.ts +2 -1
- package/dist/components/digitalsee/workflow/Panels/ModernNodeSelectorPanel/utils/dataTransformers.test.d.ts +1 -0
- package/dist/components/digitalsee/workflow/Panels/SimpleNodeSelectorPanel/components/NodeListItem.d.ts +8 -0
- package/dist/components/digitalsee/workflow/Panels/SimpleNodeSelectorPanel/hooks/useNodeList.d.ts +14 -0
- package/dist/components/digitalsee/workflow/Panels/SimpleNodeSelectorPanel/index.d.ts +9 -0
- package/dist/components/digitalsee/workflow/api/dip.d.ts +311 -0
- package/dist/components/digitalsee/workflow/api/dip.types.d.ts +996 -0
- package/dist/components/digitalsee/workflow/api/index.d.ts +38 -13
- package/dist/components/digitalsee/workflow/api/index.test.d.ts +1 -0
- package/dist/components/digitalsee/workflow/builtin/controls/MultiRowGuard/index.d.ts +13 -0
- package/dist/components/digitalsee/workflow/builtin/controls/{MutilRowGuard → MultiRowGuard}/types.d.ts +15 -23
- package/dist/components/digitalsee/workflow/builtin/controls/MutilRowGuard/index.d.ts +9 -9
- package/dist/components/digitalsee/workflow/builtin/globalConfig/index.d.ts +1 -0
- package/dist/components/digitalsee/workflow/builtin/globalConfig/service.d.ts +8 -0
- package/dist/components/digitalsee/workflow/builtin/globalConfig/service.test.d.ts +1 -0
- package/dist/components/digitalsee/workflow/builtin/globalConfig/types.d.ts +17 -0
- package/dist/components/digitalsee/workflow/config/globalConfig.d.ts +1 -1
- package/dist/components/digitalsee/workflow/constants/nextHandles.d.ts +1 -0
- package/dist/components/digitalsee/workflow/enums/canvas.d.ts +63 -0
- package/dist/components/digitalsee/workflow/enums/edge.d.ts +10 -0
- package/dist/components/digitalsee/workflow/enums/handle.d.ts +42 -0
- package/dist/components/digitalsee/workflow/enums/index.d.ts +5 -0
- package/dist/components/digitalsee/workflow/enums/node.d.ts +199 -0
- package/dist/components/digitalsee/workflow/enums/workflow.d.ts +90 -0
- package/dist/components/digitalsee/workflow/events/eventBus.d.ts +8 -2
- package/dist/components/digitalsee/workflow/hooks/use-before-unload.d.ts +1 -1
- package/dist/components/digitalsee/workflow/hooks/useCanvasLayout.d.ts +2 -1
- package/dist/components/digitalsee/workflow/hooks/useHandleConnections.d.ts +1 -1
- package/dist/components/digitalsee/workflow/hooks/usePanel.d.ts +26 -0
- package/dist/components/digitalsee/workflow/hooks/useVariables.d.ts +52 -0
- package/dist/components/digitalsee/workflow/hooks/useWorkflow.d.ts +3 -3
- package/dist/components/digitalsee/workflow/index.d.ts +23 -6
- package/dist/components/digitalsee/workflow/store/index.d.ts +17 -0
- package/dist/components/digitalsee/workflow/store/panelSlice.d.ts +5 -5
- package/dist/components/digitalsee/workflow/store/workflowSlice.d.ts +44 -0
- package/dist/components/digitalsee/workflow/store/workflowSlice.test.d.ts +1 -0
- package/dist/components/digitalsee/workflow/types/Edge.d.ts +1 -3
- package/dist/components/digitalsee/workflow/types/Handle.d.ts +3 -29
- package/dist/components/digitalsee/workflow/types/Node.d.ts +25 -63
- package/dist/components/digitalsee/workflow/types/NodeProtocol.d.ts +1 -12
- package/dist/components/digitalsee/workflow/types/Workflow.d.ts +4 -26
- package/dist/components/digitalsee/workflow/types/engine.d.ts +9 -0
- package/dist/components/digitalsee/workflow/utils/common.d.ts +1 -0
- package/dist/components/digitalsee/workflow/utils/flowDataAdapterNext.d.ts +13 -0
- package/dist/components/digitalsee/workflow/utils/glob.d.ts +1 -1
- package/dist/components/digitalsee/workflow/utils/layoutUtils.d.ts +2 -3
- package/dist/components/digitalsee/workflow/utils/mergeConfig.d.ts +3 -6
- package/dist/components/digitalsee/workflow/utils/nextNodeSchemaCache.d.ts +6 -0
- package/dist/components/digitalsee/workflow/utils/nextNodeSchemaCache.test.d.ts +1 -0
- package/dist/components/digitalsee/workflow/utils/nodeDataFormatter.d.ts +1 -1
- package/dist/components/digitalsee/workflow/utils/nodeDataFormatterNext.d.ts +11 -0
- package/dist/components/digitalsee/workflow/utils/nodeSummaryAdapter.d.ts +15 -0
- package/dist/components/dynamic-form/DynamicForm.d.ts +8 -3
- package/dist/components/dynamic-form/DynamicForm.test.d.ts +1 -0
- package/dist/components/dynamic-form/DynamicFormContext.d.ts +4 -0
- package/dist/components/dynamic-form/FieldRenderer.d.ts +6 -2
- package/dist/components/dynamic-form/components/ValueModeWrapper/index.d.ts +7 -1
- package/dist/components/dynamic-form/components/VariableInput/index.d.ts +1 -0
- package/dist/components/dynamic-form/fields/complex/KeyValueField.test.d.ts +1 -0
- package/dist/components/dynamic-form/fields/index.d.ts +12 -0
- package/dist/components/dynamic-form/index.d.ts +6 -6
- package/dist/components/dynamic-form/registry/createFieldComponent.test.d.ts +1 -0
- package/dist/components/dynamic-form/registry/index.d.ts +2 -2
- package/dist/components/dynamic-form/types/field-component.d.ts +12 -3
- package/dist/locales/en-US/common.d.ts +8 -17
- package/dist/locales/en-US/components.d.ts +28 -0
- package/dist/locales/en-US/link/flow.d.ts +9 -5
- package/dist/locales/en-US.d.ts +42 -22
- package/dist/locales/index.d.ts +2 -714
- package/dist/locales/zh-CN/common.d.ts +8 -17
- package/dist/locales/zh-CN/components.d.ts +28 -0
- package/dist/locales/zh-CN/link/flow.d.ts +9 -5
- package/dist/locales/zh-CN.d.ts +42 -22
- package/dist/locales/zh-TW/common.d.ts +8 -17
- package/dist/locales/zh-TW/components.d.ts +28 -0
- package/dist/locales/zh-TW/link/flow.d.ts +9 -5
- package/dist/locales/zh-TW.d.ts +42 -22
- package/dist/postcss.config.js +1 -0
- package/dist/rcs.css +1 -1
- package/dist/rcs.es.js +55726 -50708
- package/dist/rcs.es.js.map +1 -0
- package/dist/rcs.umd.js +68 -67
- package/dist/rcs.umd.js.map +1 -0
- package/package.json +148 -151
- package/dist/components/digitalsee/workflow/NodesConfig/components/FormFieldRenderer/fields/HourMiniuteField/index.d.ts +0 -5
- package/dist/components/digitalsee/workflow/NodesConfig/components/FormFieldRenderer/fields/JavscriptTagEditorField/editor.d.ts +0 -1
- package/dist/components/digitalsee/workflow/NodesConfig/define/config-form-item.d.ts +0 -40
- package/dist/components/digitalsee/workflow/de.d.ts +0 -1
- package/dist/components/digitalsee/workflow/types/SaveStatus.d.ts +0 -1
- /package/dist/components/digitalsee/workflow/NodesConfig/components/FormFieldRenderer/fields/{JavscriptTagEditorField → JavascriptTagEditorField}/extensions.d.ts +0 -0
- /package/dist/components/digitalsee/workflow/NodesConfig/components/FormFieldRenderer/fields/{JavscriptTagEditorField → JavascriptTagEditorField}/index.d.ts +0 -0
- /package/dist/components/digitalsee/workflow/NodesConfig/components/FormFieldRenderer/fields/{JavscriptTagEditorField → JavascriptTagEditorField}/plugin/base-theme.d.ts +0 -0
- /package/dist/components/digitalsee/workflow/NodesConfig/components/FormFieldRenderer/fields/{JavscriptTagEditorField → JavascriptTagEditorField}/plugin/custom-completions.d.ts +0 -0
- /package/dist/components/digitalsee/workflow/NodesConfig/components/FormFieldRenderer/fields/{JavscriptTagEditorField → JavascriptTagEditorField}/plugin/functions.d.ts +0 -0
- /package/dist/components/digitalsee/workflow/NodesConfig/components/FormFieldRenderer/fields/{JavscriptTagEditorField → JavascriptTagEditorField}/plugin/hint.d.ts +0 -0
- /package/dist/components/digitalsee/workflow/NodesConfig/components/FormFieldRenderer/fields/{JavscriptTagEditorField → JavascriptTagEditorField}/plugin/placeholders.d.ts +0 -0
- /package/dist/components/digitalsee/workflow/hooks/{use-wokflow-id.d.ts → use-workflow-id.d.ts} +0 -0
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { DipNodeSchema } from './dip.types';
|
|
1
2
|
import { LinkSearchParams, LinkSearchResponse } from '../Panels/ModernNodeSelectorPanel/types';
|
|
3
|
+
import { AxiosRequestConfig } from 'axios';
|
|
2
4
|
export interface WorkflowRequestOptions {
|
|
3
|
-
method?:
|
|
5
|
+
method?: AxiosRequestConfig['method'];
|
|
4
6
|
headers?: Record<string, string>;
|
|
5
7
|
params?: Record<string, any>;
|
|
6
8
|
data?: any;
|
|
@@ -12,6 +14,7 @@ export interface WorkflowApiEndpoints {
|
|
|
12
14
|
nodesList: string;
|
|
13
15
|
searchLinks: string;
|
|
14
16
|
actions: string;
|
|
17
|
+
actionNodeSchema: string;
|
|
15
18
|
createNode: string;
|
|
16
19
|
updateNode: string;
|
|
17
20
|
updateEdges: string;
|
|
@@ -30,6 +33,7 @@ export interface WorkflowApiEndpoints {
|
|
|
30
33
|
templateFlow: string;
|
|
31
34
|
flowOutput: string;
|
|
32
35
|
flowOutputTree: string;
|
|
36
|
+
globalVariables: string;
|
|
33
37
|
accountModel: string;
|
|
34
38
|
accountInstanceCollection: string;
|
|
35
39
|
accountInstanceDetail: string;
|
|
@@ -45,6 +49,7 @@ export interface WorkflowApiEndpoints {
|
|
|
45
49
|
removeEdges: string;
|
|
46
50
|
selectOptions: string;
|
|
47
51
|
flowOpStatus: string;
|
|
52
|
+
onlineFlow: string;
|
|
48
53
|
getAppList: string;
|
|
49
54
|
subFlowList: string;
|
|
50
55
|
}
|
|
@@ -73,7 +78,8 @@ export declare const apiGetActions: (params: {
|
|
|
73
78
|
trigger?: boolean;
|
|
74
79
|
protocol?: string;
|
|
75
80
|
flowId: string;
|
|
76
|
-
}) => Promise<
|
|
81
|
+
}) => Promise<any>;
|
|
82
|
+
export declare const apiGetActionNodeSchema: (nodeKey: string, version: number) => Promise<DipNodeSchema>;
|
|
77
83
|
export declare function apiCreateNode(data: any): Promise<unknown>;
|
|
78
84
|
export declare function apiUpdateNode(id: string, data: any): Promise<unknown>;
|
|
79
85
|
export declare function apiUpdateEdges(flowId: string, data: any): Promise<unknown>;
|
|
@@ -99,17 +105,35 @@ export declare function apiDeleteNode(id: string): Promise<unknown>;
|
|
|
99
105
|
export declare function apiCheckFlow(id: string): Promise<unknown>;
|
|
100
106
|
export declare function apiGetTemplateFlow(id: string): Promise<unknown>;
|
|
101
107
|
export declare function apiGetFlowOutput(id: string): Promise<unknown>;
|
|
102
|
-
export
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
export declare function
|
|
108
|
-
export declare function
|
|
109
|
-
|
|
110
|
-
|
|
108
|
+
export interface FlowOutputTreeRequest {
|
|
109
|
+
nodeId?: string;
|
|
110
|
+
debug?: boolean;
|
|
111
|
+
edges?: any[];
|
|
112
|
+
}
|
|
113
|
+
export declare function apiGetFlowOutputTree(flowId: string, data: FlowOutputTreeRequest): Promise<any>;
|
|
114
|
+
export declare function apiGetGlobalVariables(): Promise<any>;
|
|
115
|
+
/**
|
|
116
|
+
* Fetches the account model for a credential schema key.
|
|
117
|
+
*
|
|
118
|
+
* When `account_ver` is omitted the backend returns the latest version.
|
|
119
|
+
*/
|
|
120
|
+
export declare function apiGetAccountModel(account_key: string, account_ver?: number | string | null): Promise<any>;
|
|
121
|
+
export declare function apiGetAccountInstanceDetail(id: string): Promise<unknown>;
|
|
122
|
+
/**
|
|
123
|
+
* Credential schema identity attached to account instance create, update, and
|
|
124
|
+
* test requests.
|
|
125
|
+
*/
|
|
126
|
+
export interface AccountInstanceSchemaMeta {
|
|
127
|
+
account_key?: string | null;
|
|
128
|
+
account_ver?: number | string | null;
|
|
129
|
+
}
|
|
130
|
+
export declare function apiCreateAccountInstance(connector_id: string | null, account_schema_id: string, auth_type: string, name: string, config: any, proxy_id?: string, schemaMeta?: AccountInstanceSchemaMeta): Promise<unknown>;
|
|
131
|
+
export declare function apiTestAccountInstanceValid(connector_id: string | null, account_schema_id: string, auth_type: string, name: string, config: any, id: string, proxy_id?: string, schemaMeta?: AccountInstanceSchemaMeta): Promise<unknown>;
|
|
132
|
+
export declare function apiUpdateAccountInstance(id: string, connector_id: string | null, account_schema_id: string | null, auth_type: string | null, name: string | null, config: any, proxy_id?: string, schemaMeta?: AccountInstanceSchemaMeta): Promise<unknown>;
|
|
133
|
+
export declare function apiUpdateAccountInstanceName(id: string, name: string): Promise<unknown>;
|
|
134
|
+
export declare function apiDeleteAccountInstance(id: string): Promise<unknown>;
|
|
111
135
|
export declare function apiMoveNode(node_id: string, prev_id: string, parent_id: string): Promise<unknown>;
|
|
112
|
-
export declare function apiCopyNode(prevNodeId: string): Promise<
|
|
136
|
+
export declare function apiCopyNode(prevNodeId: string): Promise<any>;
|
|
113
137
|
export declare function apiUpdateNodeNote(id: string, note: string): Promise<unknown>;
|
|
114
138
|
export declare function apiUpdateNodeStatus(nodeId: string, status: 'on' | 'off'): Promise<unknown>;
|
|
115
139
|
export declare function apiExportNode(flow_id: string, nodes: {
|
|
@@ -121,7 +145,8 @@ export declare function apiRunFlow(id: string): Promise<unknown>;
|
|
|
121
145
|
export declare function apiRemoveEdges(flowId: string, edges: string[]): Promise<unknown>;
|
|
122
146
|
export declare function apiGetSelectOptions(type: string): Promise<unknown>;
|
|
123
147
|
export declare function updateFlowOpStatus(paramsId: any, opStatus: any): Promise<unknown>;
|
|
124
|
-
export declare
|
|
148
|
+
export declare function onlineFlow(id: any): Promise<unknown>;
|
|
149
|
+
export declare const apiGetAccountInstanceV2: (linkId?: string | null, actionAccountSchemaId?: string) => Promise<unknown>;
|
|
125
150
|
export declare const getAppList: (params: any, formData?: any) => Promise<unknown>;
|
|
126
151
|
export declare const fetchSubFlowList: (name: any, formData?: any) => Promise<unknown>;
|
|
127
152
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MultiRowGuardProps, MultiRowGuardRef } from './types';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* MultiRowGuard 数据校验规则配置组件
|
|
5
|
+
* @description 支持多行规则配置和拖拽排序的表单控件
|
|
6
|
+
* @param {MultiRowGuardProps} props 组件属性
|
|
7
|
+
* @param {React.Ref<MultiRowGuardRef>} ref 组件 ref
|
|
8
|
+
*/
|
|
9
|
+
declare const MultiRowGuard: React.ForwardRefExoticComponent<MultiRowGuardProps & React.RefAttributes<MultiRowGuardRef>>;
|
|
10
|
+
export default MultiRowGuard;
|
|
11
|
+
export type { GuardRule, GuardRuleError, MultiRowGuardProps, MultiRowGuardRef, MultiRowGuardValue, } from './types';
|
|
12
|
+
export { multiRowGuardRequiredValidator, multiRowGuardValidator, } from './types';
|
|
13
|
+
export { MultiRowGuard };
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* Guard 数据校验规则相关类型定义
|
|
3
|
-
*/
|
|
4
|
-
/** 校验规则类型 */
|
|
5
|
-
export type GuardRuleType = 'required' | 'type' | 'enum' | 'range';
|
|
6
|
-
/** 失败处理方式 */
|
|
7
|
-
export type GuardSeverity = 'Error' | 'Warning';
|
|
8
|
-
/** 期望数据类型 */
|
|
9
|
-
export type GuardExpectedType = 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
1
|
+
import { GuardExpectedType, GuardRuleType, GuardSeverity } from '../../../enums/node';
|
|
10
2
|
/**
|
|
11
3
|
* Guard 校验规则项
|
|
12
4
|
* @description 单条校验规则的数据结构(使用下划线命名风格,与后端保持一致)
|
|
@@ -32,19 +24,19 @@ export interface GuardRule {
|
|
|
32
24
|
max?: number;
|
|
33
25
|
}
|
|
34
26
|
/**
|
|
35
|
-
*
|
|
27
|
+
* MultiRowGuard 组件的值类型
|
|
36
28
|
* @description 用于 FormItem 的 value 属性,直接为规则数组
|
|
37
29
|
*/
|
|
38
|
-
export type
|
|
30
|
+
export type MultiRowGuardValue = GuardRule[];
|
|
39
31
|
/**
|
|
40
|
-
*
|
|
32
|
+
* MultiRowGuard 组件属性
|
|
41
33
|
* @description 用于 FormItem 的受控组件
|
|
42
34
|
*/
|
|
43
|
-
export interface
|
|
35
|
+
export interface MultiRowGuardProps {
|
|
44
36
|
/** 当前值(规则数组) */
|
|
45
|
-
value?:
|
|
37
|
+
value?: MultiRowGuardValue;
|
|
46
38
|
/** 值变更回调 */
|
|
47
|
-
onChange?: (value:
|
|
39
|
+
onChange?: (value: MultiRowGuardValue) => void;
|
|
48
40
|
/** 是否禁用 */
|
|
49
41
|
disabled?: boolean;
|
|
50
42
|
/** 节点 ID,用于变量选择器 */
|
|
@@ -62,9 +54,9 @@ export interface GuardRuleError {
|
|
|
62
54
|
message: string;
|
|
63
55
|
}
|
|
64
56
|
/**
|
|
65
|
-
*
|
|
57
|
+
* MultiRowGuard 组件 ref 暴露的方法
|
|
66
58
|
*/
|
|
67
|
-
export interface
|
|
59
|
+
export interface MultiRowGuardRef {
|
|
68
60
|
/** 校验所有规则,返回是否通过 */
|
|
69
61
|
validate: () => boolean;
|
|
70
62
|
/** 获取校验错误列表 */
|
|
@@ -88,19 +80,19 @@ export declare const EXPECTED_TYPE_OPTIONS: Array<{
|
|
|
88
80
|
value: GuardExpectedType;
|
|
89
81
|
}>;
|
|
90
82
|
/**
|
|
91
|
-
*
|
|
83
|
+
* MultiRowGuard 校验器
|
|
92
84
|
* @description 用于 Form.Item rules 的校验函数
|
|
93
85
|
* @example
|
|
94
86
|
* <Form.Item
|
|
95
87
|
* name="guardConfig"
|
|
96
|
-
* rules={[{ validator:
|
|
88
|
+
* rules={[{ validator: multiRowGuardValidator }]}
|
|
97
89
|
* >
|
|
98
|
-
* <
|
|
90
|
+
* <MultiRowGuard nodeId={nodeId} />
|
|
99
91
|
* </Form.Item>
|
|
100
92
|
*/
|
|
101
|
-
export declare const
|
|
93
|
+
export declare const multiRowGuardValidator: (_: unknown, value: MultiRowGuardValue | undefined) => Promise<void>;
|
|
102
94
|
/**
|
|
103
|
-
*
|
|
95
|
+
* MultiRowGuard 必填校验器
|
|
104
96
|
* @description 校验是否至少添加了一条规则
|
|
105
97
|
*/
|
|
106
|
-
export declare const
|
|
98
|
+
export declare const multiRowGuardRequiredValidator: (_: unknown, value: MultiRowGuardValue | undefined) => Promise<void>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import { MultiRowGuardProps, MultiRowGuardRef } from '../MultiRowGuard/types';
|
|
1
2
|
import { default as React } from 'react';
|
|
2
|
-
import { MutilRowGuardProps, MutilRowGuardRef } from './types';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* MultiRowGuard 数据校验规则配置组件
|
|
5
5
|
* @description 支持多行规则配置和拖拽排序的表单控件
|
|
6
|
-
* @param {
|
|
7
|
-
* @param {React.Ref<
|
|
6
|
+
* @param {MultiRowGuardProps} props 组件属性
|
|
7
|
+
* @param {React.Ref<MultiRowGuardRef>} ref 组件 ref
|
|
8
8
|
*/
|
|
9
|
-
declare const
|
|
10
|
-
export default
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export
|
|
9
|
+
declare const MultiRowGuard: React.ForwardRefExoticComponent<MultiRowGuardProps & React.RefAttributes<MultiRowGuardRef>>;
|
|
10
|
+
export default MultiRowGuard;
|
|
11
|
+
export type { GuardRule, GuardRuleError, MultiRowGuardProps, MultiRowGuardRef, MultiRowGuardValue, } from '../MultiRowGuard/types';
|
|
12
|
+
export { multiRowGuardRequiredValidator, multiRowGuardValidator, } from '../MultiRowGuard/types';
|
|
13
|
+
export { MultiRowGuard };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const GlobalConfig: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ExecutionControlState } from '../../store/workflowSlice';
|
|
2
|
+
import { GlobalConfigData, TimeUnit, TimeUnitAPI } from './types';
|
|
3
|
+
export declare function timeUnitToAPI(unit: TimeUnit): TimeUnitAPI;
|
|
4
|
+
export declare function timeUnitFromAPI(unit: TimeUnitAPI): TimeUnit;
|
|
5
|
+
export declare function getDefaultGlobalConfigData(): GlobalConfigData;
|
|
6
|
+
export declare function configToAPI(config: GlobalConfigData): ExecutionControlState;
|
|
7
|
+
export declare function configFromAPI(apiConfig: ExecutionControlState): GlobalConfigData;
|
|
8
|
+
export declare function isValidWebhookUrl(value?: string): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare enum TimeUnit {
|
|
2
|
+
SECOND = "second",
|
|
3
|
+
MINUTE = "minute",
|
|
4
|
+
HOUR = "hour"
|
|
5
|
+
}
|
|
6
|
+
export declare enum TimeUnitAPI {
|
|
7
|
+
SECONDS = "SECONDS",
|
|
8
|
+
MINUTES = "MINUTES",
|
|
9
|
+
HOURS = "HOURS"
|
|
10
|
+
}
|
|
11
|
+
export interface GlobalConfigData {
|
|
12
|
+
enableControl: boolean;
|
|
13
|
+
timeoutValue: number;
|
|
14
|
+
timeoutUnit: TimeUnit;
|
|
15
|
+
maxNodeExecutions: number;
|
|
16
|
+
webhookUrl?: string;
|
|
17
|
+
}
|
|
@@ -11,7 +11,7 @@ interface GlobalWorkflowConfig {
|
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* ```typescript
|
|
14
|
-
* import { configureWorkflow } from 'digitalsee-rcs';
|
|
14
|
+
* import { configureWorkflow } from '@digitalsee-ai/rcs';
|
|
15
15
|
* import axios from 'axios';
|
|
16
16
|
* import { useHistory } from 'react-router-dom';
|
|
17
17
|
*
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const NEXT_ERROR_HANDLE_ID = "error";
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 画布(Canvas)相关枚举
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* 引擎模式
|
|
6
|
+
*/
|
|
7
|
+
export declare enum EngineMode {
|
|
8
|
+
/** 经典模式,使用 ACM 后端 */
|
|
9
|
+
CLASSIC = "classic",
|
|
10
|
+
/** Next 模式,使用 DIP 后端 + DynamicForm */
|
|
11
|
+
NEXT = "next"
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* 画布保存状态
|
|
15
|
+
*/
|
|
16
|
+
export declare enum SaveStatus {
|
|
17
|
+
/**
|
|
18
|
+
* 空闲状态
|
|
19
|
+
*/
|
|
20
|
+
IDLE = "idle",
|
|
21
|
+
/**
|
|
22
|
+
* 保存中
|
|
23
|
+
*/
|
|
24
|
+
SAVING = "saving",
|
|
25
|
+
/**
|
|
26
|
+
* 已保存
|
|
27
|
+
*/
|
|
28
|
+
SAVED = "saved",
|
|
29
|
+
/**
|
|
30
|
+
* 保存出错
|
|
31
|
+
*/
|
|
32
|
+
ERROR = "error"
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* 画布布局来源
|
|
36
|
+
*/
|
|
37
|
+
export declare enum CanvasLayoutSource {
|
|
38
|
+
/**
|
|
39
|
+
* 键盘快捷键
|
|
40
|
+
*/
|
|
41
|
+
KEYBOARD_SHORTCUT = "keyboard-shortcut",
|
|
42
|
+
/**
|
|
43
|
+
* 画布按钮
|
|
44
|
+
*/
|
|
45
|
+
CANVAS_BUTTON = "canvas-button",
|
|
46
|
+
/**
|
|
47
|
+
* 右键菜单
|
|
48
|
+
*/
|
|
49
|
+
CONTEXT_MENU = "context-menu"
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* 画布布局目标
|
|
53
|
+
*/
|
|
54
|
+
export declare enum CanvasLayoutTarget {
|
|
55
|
+
/**
|
|
56
|
+
* 选中的节点
|
|
57
|
+
*/
|
|
58
|
+
SELECTION = "selection",
|
|
59
|
+
/**
|
|
60
|
+
* 所有节点
|
|
61
|
+
*/
|
|
62
|
+
ALL = "all"
|
|
63
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Handle(连接点)相关枚举
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Handle ReactFlow 内部类型(source/target 方向)
|
|
6
|
+
*/
|
|
7
|
+
export declare enum HandleType {
|
|
8
|
+
SOURCE = "source",
|
|
9
|
+
TARGET = "target"
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Handle 连线类型(业务层端口语义)
|
|
13
|
+
*/
|
|
14
|
+
export declare enum HandleConnectionType {
|
|
15
|
+
INPUT = "input",
|
|
16
|
+
OUTPUT = "output",
|
|
17
|
+
CHAT_MODEL = "chat_model",
|
|
18
|
+
DONE = "done",
|
|
19
|
+
LOOP = "loop",
|
|
20
|
+
FALSE = "false",
|
|
21
|
+
TRUE = "true",
|
|
22
|
+
MEMORY = "memory",
|
|
23
|
+
TOOLS = "tools",
|
|
24
|
+
BUILTIN_MCP = "builtin_mcp"
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Handle 方向
|
|
28
|
+
*/
|
|
29
|
+
export declare enum HandleDirection {
|
|
30
|
+
INPUT = "input",
|
|
31
|
+
OUTPUT = "output"
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Handle 连接状态
|
|
35
|
+
*/
|
|
36
|
+
export declare enum HandleStatus {
|
|
37
|
+
DEFAULT = "default",
|
|
38
|
+
VALID = "valid",
|
|
39
|
+
INVALID = "invalid",
|
|
40
|
+
CONNECTING = "connecting",
|
|
41
|
+
FULL = "full"
|
|
42
|
+
}
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 节点相关枚举
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* 节点渲染类型(ReactFlow 层概念)
|
|
6
|
+
*/
|
|
7
|
+
export declare enum NodeType {
|
|
8
|
+
/** 开始节点 */
|
|
9
|
+
START = "START",
|
|
10
|
+
/** 触发节点 */
|
|
11
|
+
TRIGGER = "StartEventNode",
|
|
12
|
+
/** 动作节点 */
|
|
13
|
+
ACTION = "ActionNode",
|
|
14
|
+
/** 条件节点 */
|
|
15
|
+
CONDITION = "ConditionNode",
|
|
16
|
+
/** 循环节点 */
|
|
17
|
+
LOOP = "LoopNode",
|
|
18
|
+
/** 自环节点 */
|
|
19
|
+
SELF_LOOP = "SelfLoopNode",
|
|
20
|
+
/** MCP服务节点 */
|
|
21
|
+
MCPServer = "MCPServerNode",
|
|
22
|
+
/** 内置MCP节点 */
|
|
23
|
+
BuiltinMCP = "BuiltinMCPNode",
|
|
24
|
+
/** 向量存储节点 */
|
|
25
|
+
VECTOR_STORE = "VectorStoreNode",
|
|
26
|
+
/** Agent节点 */
|
|
27
|
+
AGENT = "AgentNode",
|
|
28
|
+
/** 浏览器节点 */
|
|
29
|
+
BROWSER = "BrowserNode",
|
|
30
|
+
/** AI配置子节点 */
|
|
31
|
+
AI_SUB_NODE = "AISubNode",
|
|
32
|
+
/** MCP工具节点 */
|
|
33
|
+
MCP_TOOL = "MCPToolNode",
|
|
34
|
+
/** 多分支节点 */
|
|
35
|
+
SWITCH = "SwitchNode",
|
|
36
|
+
/** 便签节点 */
|
|
37
|
+
STICKY = "StickyNoteNode",
|
|
38
|
+
/**
|
|
39
|
+
* 自定义节点类型(内部扩展用)
|
|
40
|
+
*/
|
|
41
|
+
CUSTOM = "custom"
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* 节点运行状态
|
|
45
|
+
*/
|
|
46
|
+
export declare enum NodeStatus {
|
|
47
|
+
/**
|
|
48
|
+
* 未发布 该节点配置不完整
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof NodeStatus
|
|
52
|
+
*/
|
|
53
|
+
INVALID = "INVALID",
|
|
54
|
+
/**
|
|
55
|
+
* 空闲状态
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof NodeStatus
|
|
59
|
+
*/
|
|
60
|
+
IDLE = "IDLE",
|
|
61
|
+
/**
|
|
62
|
+
* 运行中
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof NodeStatus
|
|
66
|
+
*/
|
|
67
|
+
RUNNING = "RUNNING",
|
|
68
|
+
/**
|
|
69
|
+
* 最近一次执行失败
|
|
70
|
+
*
|
|
71
|
+
* @type {string}
|
|
72
|
+
* @memberof NodeStatus
|
|
73
|
+
*/
|
|
74
|
+
FAILED = "FAILED",
|
|
75
|
+
/**
|
|
76
|
+
* 最近一次执行成功
|
|
77
|
+
*
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof NodeStatus
|
|
80
|
+
*/
|
|
81
|
+
SUCCESS = "SUCCESS",
|
|
82
|
+
/**
|
|
83
|
+
* 线上运行
|
|
84
|
+
*
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof NodeStatus
|
|
87
|
+
*/
|
|
88
|
+
RUNNABLE = "RUNNABLE",
|
|
89
|
+
/**
|
|
90
|
+
* 已激活
|
|
91
|
+
*/
|
|
92
|
+
ACTIVE = "ACTIVE",
|
|
93
|
+
/**
|
|
94
|
+
* 已停用
|
|
95
|
+
*/
|
|
96
|
+
DEACTIVATED = "DEACTIVATED",
|
|
97
|
+
/**
|
|
98
|
+
* 警告
|
|
99
|
+
*/
|
|
100
|
+
WARNING = "WARNING"
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* 节点协议类型
|
|
104
|
+
*/
|
|
105
|
+
export declare enum NodeProtocol {
|
|
106
|
+
AI_LANGUAGE_MODEL = "AI_LANGUAGE_MODEL",
|
|
107
|
+
AI_VECTOR_STORE = "AI_VECTORSTORE",
|
|
108
|
+
AI_MEMORY = "AI_MEMORY",
|
|
109
|
+
AI_DOCUMENT = "AI_DOCUMENT",
|
|
110
|
+
AI_TEXT_SPLITTER = "AI_TEXTSPLITTER",
|
|
111
|
+
AI_EMBEDDING = "AI_EMBEDDING",
|
|
112
|
+
AI_TOOL = "AI_TOOL",
|
|
113
|
+
MCP = "MCP",
|
|
114
|
+
BUILTIN_MCP = "BUILTIN_MCP",
|
|
115
|
+
MCP_SERVER = "MCP_SERVER"
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* 节点配置面板动态表单字段类型
|
|
119
|
+
*/
|
|
120
|
+
export declare enum DynamicFormFields {
|
|
121
|
+
HIDDEN = "HIDDEN",
|
|
122
|
+
LABEL = "LABEL",
|
|
123
|
+
TEXT = "TEXT",
|
|
124
|
+
TEXTAREA = "TEXTAREA",
|
|
125
|
+
DATE = "DATE",
|
|
126
|
+
TIME = "TIME",
|
|
127
|
+
DATETIME = "DATETIME",
|
|
128
|
+
SELECT = "SELECT",
|
|
129
|
+
API_SELECT = "API_SELECT",
|
|
130
|
+
FIXED_OBJ = "FIXED_OBJ",
|
|
131
|
+
JSON = "JSON",
|
|
132
|
+
EXTEND_OBJ = "EXTEND_OBJ",
|
|
133
|
+
PASSWORD = "PASSWORD",
|
|
134
|
+
MultiRowAIExtractConfig = "MULTI_ROW_EXTRACT",
|
|
135
|
+
MULTI_SELECT_LIST = "MULTI_SELECT_LIST",
|
|
136
|
+
SYNC_HOUR_MINUTE = "SYNC_HOUR_MINUTE",
|
|
137
|
+
AUTH_TOKEN = "AUTH_TOKEN",
|
|
138
|
+
SECRET_KEY = "SECRET_KEY",
|
|
139
|
+
SELECT_CLIENT = "SELECT_CLIENT"
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Guard 校验规则类型
|
|
143
|
+
*/
|
|
144
|
+
export declare enum GuardRuleType {
|
|
145
|
+
/**
|
|
146
|
+
* 必填校验
|
|
147
|
+
*/
|
|
148
|
+
REQUIRED = "required",
|
|
149
|
+
/**
|
|
150
|
+
* 数据类型校验
|
|
151
|
+
*/
|
|
152
|
+
TYPE = "type",
|
|
153
|
+
/**
|
|
154
|
+
* 枚举校验
|
|
155
|
+
*/
|
|
156
|
+
ENUM = "enum",
|
|
157
|
+
/**
|
|
158
|
+
* 数值范围校验
|
|
159
|
+
*/
|
|
160
|
+
RANGE = "range"
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Guard 失败处理方式
|
|
164
|
+
*/
|
|
165
|
+
export declare enum GuardSeverity {
|
|
166
|
+
/**
|
|
167
|
+
* Error - 终止流程
|
|
168
|
+
*/
|
|
169
|
+
ERROR = "Error",
|
|
170
|
+
/**
|
|
171
|
+
* Warning - 记录告警
|
|
172
|
+
*/
|
|
173
|
+
WARNING = "Warning"
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* Guard 期望数据类型
|
|
177
|
+
*/
|
|
178
|
+
export declare enum GuardExpectedType {
|
|
179
|
+
/**
|
|
180
|
+
* 字符串
|
|
181
|
+
*/
|
|
182
|
+
STRING = "string",
|
|
183
|
+
/**
|
|
184
|
+
* 数字
|
|
185
|
+
*/
|
|
186
|
+
NUMBER = "number",
|
|
187
|
+
/**
|
|
188
|
+
* 布尔值
|
|
189
|
+
*/
|
|
190
|
+
BOOLEAN = "boolean",
|
|
191
|
+
/**
|
|
192
|
+
* 对象
|
|
193
|
+
*/
|
|
194
|
+
OBJECT = "object",
|
|
195
|
+
/**
|
|
196
|
+
* 数组
|
|
197
|
+
*/
|
|
198
|
+
ARRAY = "array"
|
|
199
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 工作流(Workflow)业务状态相关枚举
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* 工作流操作状态
|
|
6
|
+
*/
|
|
7
|
+
export declare enum WorkflowOpStatus {
|
|
8
|
+
/** 未发布 */
|
|
9
|
+
UNPUBLISHED = "UNPUBLISHED",
|
|
10
|
+
/** 已上线 */
|
|
11
|
+
ONLINE = "ONLINE",
|
|
12
|
+
/** 已下线 */
|
|
13
|
+
OFFLINE = "OFFLINE",
|
|
14
|
+
/** 上线告警 */
|
|
15
|
+
ON_WARN = "ON_WARN",
|
|
16
|
+
/** 下线告警 */
|
|
17
|
+
OFF_WARN = "OFF_WARN",
|
|
18
|
+
/** 上线中 */
|
|
19
|
+
ONLINE_ING = "ONLINE_ING"
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* 条件节点比较操作符
|
|
23
|
+
*/
|
|
24
|
+
export declare enum ConditionCompare {
|
|
25
|
+
/**
|
|
26
|
+
* 等于
|
|
27
|
+
*/
|
|
28
|
+
eq = "eq",
|
|
29
|
+
/**
|
|
30
|
+
* 不等于
|
|
31
|
+
*/
|
|
32
|
+
ne = "ne",
|
|
33
|
+
/**
|
|
34
|
+
* 开头等于
|
|
35
|
+
*/
|
|
36
|
+
sw = "sw",
|
|
37
|
+
/**
|
|
38
|
+
* 开头不等于
|
|
39
|
+
*/
|
|
40
|
+
nsw = "nsw",
|
|
41
|
+
/**
|
|
42
|
+
* 结尾等于
|
|
43
|
+
*/
|
|
44
|
+
ew = "ew",
|
|
45
|
+
/**
|
|
46
|
+
* 结尾不等于
|
|
47
|
+
*/
|
|
48
|
+
ewn = "ewn",
|
|
49
|
+
/**
|
|
50
|
+
* 大于
|
|
51
|
+
*/
|
|
52
|
+
gt = "gt",
|
|
53
|
+
/**
|
|
54
|
+
* 大于或等于
|
|
55
|
+
*/
|
|
56
|
+
ge = "ge",
|
|
57
|
+
/**
|
|
58
|
+
* 小于
|
|
59
|
+
*/
|
|
60
|
+
lt = "lt",
|
|
61
|
+
/**
|
|
62
|
+
* 小于或等于
|
|
63
|
+
*/
|
|
64
|
+
le = "le",
|
|
65
|
+
/**
|
|
66
|
+
* 包含
|
|
67
|
+
*/
|
|
68
|
+
co = "co",
|
|
69
|
+
/**
|
|
70
|
+
* 不包含
|
|
71
|
+
*/
|
|
72
|
+
nco = "nco",
|
|
73
|
+
/**
|
|
74
|
+
* 在一个集合内
|
|
75
|
+
*/
|
|
76
|
+
in = "in",
|
|
77
|
+
/**
|
|
78
|
+
* 不在一个集合内
|
|
79
|
+
*/
|
|
80
|
+
nin = "nin",
|
|
81
|
+
/**
|
|
82
|
+
* 为空(null、undefined 或空字符串)
|
|
83
|
+
*/
|
|
84
|
+
is_null = "is_null",
|
|
85
|
+
/**
|
|
86
|
+
* 不为空
|
|
87
|
+
*/
|
|
88
|
+
is_not_null = "is_not_null"
|
|
89
|
+
}
|
|
90
|
+
export { CanvasLayoutSource, CanvasLayoutTarget, EngineMode, SaveStatus, } from './canvas';
|