work-workflow-test 0.0.21 → 0.0.23

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "work-workflow-test",
3
- "version": "0.0.21",
3
+ "version": "0.0.23",
4
4
  "type": "module",
5
5
  "main": "./dist/workflow.cjs.js",
6
6
  "module": "./dist/workflow.es.js",
@@ -1,3 +1,3 @@
1
1
  import type { ConfigAutoSectionType } from "./types";
2
- declare const ConfigAutoSection: ({ selectedId, editEdgeData, updateEdgeData, setSelectedId, }: ConfigAutoSectionType) => import("react/jsx-runtime").JSX.Element;
2
+ declare const ConfigAutoSection: ({ selectedId, editEdgeData, updateEdgeData, setSelectedId, callBackFunc, }: ConfigAutoSectionType) => import("react/jsx-runtime").JSX.Element;
3
3
  export default ConfigAutoSection;
@@ -1,7 +1,8 @@
1
1
  import type { Edge } from "reactflow";
2
2
  import type { EdgeData, SelectIdType } from "../WorkflowModal/types";
3
- declare const ConfigurationComp: ({ edges, setSelectedId, saveToBackend, }: {
3
+ declare const ConfigurationComp: ({ edges, setSelectedId, saveToBackend, setEdges, }: {
4
4
  edges: Edge<EdgeData>[];
5
+ setEdges: any;
5
6
  setSelectedId: React.Dispatch<React.SetStateAction<SelectIdType>>;
6
7
  saveToBackend: () => Promise<void>;
7
8
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import type { ConfigDrawerType } from "./types";
2
- declare const ConfigDrawer: ({ edges, updateEdgeData, saveToBackend, }: ConfigDrawerType) => import("react/jsx-runtime").JSX.Element;
2
+ declare const ConfigDrawer: ({ edges, updateEdgeData, saveToBackend, setEdges, callBackFunc, }: ConfigDrawerType) => import("react/jsx-runtime").JSX.Element;
3
3
  export default ConfigDrawer;
@@ -2,11 +2,13 @@ import type { Edge } from "reactflow";
2
2
  import type { CustomEdgeType, SelectIdType } from "../WorkflowModal/types";
3
3
  export type ConfigDrawerType = {
4
4
  edges: Edge<any>[];
5
+ setEdges: any;
5
6
  updateEdgeData: ({ id, data }: {
6
7
  id: string;
7
8
  data: any;
8
9
  }) => void;
9
10
  saveToBackend: () => Promise<void>;
11
+ callBackFunc: any;
10
12
  };
11
13
  export type ConfigAutoSectionType = {
12
14
  selectedId: SelectIdType;
@@ -16,4 +18,5 @@ export type ConfigAutoSectionType = {
16
18
  }) => void;
17
19
  editEdgeData: CustomEdgeType | null;
18
20
  setSelectedId: React.Dispatch<React.SetStateAction<SelectIdType>>;
21
+ callBackFunc: any;
19
22
  };
@@ -1,5 +1,6 @@
1
1
  export declare const apiClient: import("axios").AxiosInstance;
2
2
  export declare const createworkflow: (payload: any) => Promise<any>;
3
+ export declare const workflowActive: (payload: any) => Promise<any>;
3
4
  export declare const createAutomation: (payload: any) => Promise<any>;
4
5
  export declare const updateAutomationActions: (payload: any) => Promise<any>;
5
6
  export declare const getAutomationDetails: (id: string, workspaceId: string) => Promise<any>;