@oneclick.dev/cms-kit 0.0.37 → 0.0.38

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/cms-kit.js CHANGED
@@ -54324,7 +54324,7 @@ function getCmsComposable(key) {
54324
54324
  }
54325
54325
  const useIntegrationActionBuilder = () => getCmsComposable("cms-useIntegrationActionBuilder")();
54326
54326
  const useIntegrations = () => getCmsComposable("cms-useIntegrations")();
54327
- const useIntegrationActions$1 = () => getCmsComposable("cms-useIntegrationActions")();
54327
+ const useIntegrationActions$1 = (integrationId) => getCmsComposable("cms-useIntegrationActions")(integrationId);
54328
54328
  const useMediaLibrary = () => getCmsComposable("cms-useMediaLibrary")();
54329
54329
  const useProjectService = () => getCmsComposable("cms-useProjectService")();
54330
54330
  const useBreadcrumbs$1 = () => getCmsComposable("cms-useBreadcrumbs")();
@@ -67991,16 +67991,12 @@ function useRunProcess({
67991
67991
  const { updateNodeData, getConnectedEdges: getConnectedEdges2, findNode } = useVueFlow();
67992
67992
  const nodeOutputs = /* @__PURE__ */ new Map();
67993
67993
  const nodeMap = new Map(nodes.map((node) => [node.id, node]));
67994
- console.log("dagreGraph", dagreGraph);
67995
67994
  const graph2 = toRef(() => toValue$2(dagreGraph));
67996
- console.log("graph", graph2.value);
67997
67995
  const isRunning = ref(false);
67998
67996
  const runningTasks = /* @__PURE__ */ new Map();
67999
67997
  const executedNodes = /* @__PURE__ */ new Set();
68000
67998
  const upcomingTasks = /* @__PURE__ */ new Set();
68001
- console.log("variables", variables);
68002
67999
  const localVariables = ref(variables ? JSON.parse(JSON.stringify(variables.map((v) => ({ ...v, value: Object.keys(v).includes("defaultValue") ? v.defaultValue : v.value ?? null })))) : []);
68003
- console.log("localVariables", localVariables.value);
68004
68000
  async function runNode(nodeId, isStart = false) {
68005
68001
  var _a2, _b, _c, _d;
68006
68002
  if (executedNodes.has(nodeId)) {
@@ -80202,7 +80198,6 @@ const _sfc_main$2U = /* @__PURE__ */ defineComponent({
80202
80198
  provide("createNewNode", createNewNode);
80203
80199
  const getState = () => {
80204
80200
  let state = toObject();
80205
- console.log("getting state", variables.value, computedVariables.value);
80206
80201
  return {
80207
80202
  ...state,
80208
80203
  variables: JSON.parse(JSON.stringify(variables.value)),
package/dist/index.d.ts CHANGED
@@ -86,7 +86,7 @@ export declare const useIntegrationActionBuilder: () => {
86
86
  builderState: Ref<BuilderState>;
87
87
  };
88
88
 
89
- export declare const useIntegrationActions: () => {
89
+ export declare const useIntegrationActions: (integrationId: string) => {
90
90
  fireAction: (action: any, variableContext: Variable[]) => Promise<any>;
91
91
  };
92
92
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oneclick.dev/cms-kit",
3
- "version": "0.0.37",
3
+ "version": "0.0.38",
4
4
  "type": "module",
5
5
  "main": "./dist/cms-kit.cjs",
6
6
  "module": "./dist/cms-kit.js",