@n8n/stores 2.5.1 → 2.7.0

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.
@@ -7,6 +7,7 @@ const STORES = {
7
7
  UI: "ui",
8
8
  USERS: "users",
9
9
  WORKFLOWS: "workflows",
10
+ WORKFLOWS_LIST: "workflowsList",
10
11
  WORKFLOWS_V2: "workflowsV2",
11
12
  WORKFLOWS_EE: "workflowsEE",
12
13
  EXECUTIONS: "executions",
@@ -46,7 +47,8 @@ const STORES = {
46
47
  TEMPLATES_DATA_QUALITY: "templatesDataQuality",
47
48
  BANNERS: "banners",
48
49
  CONSENT: "consent",
49
- CHAT_HUB: "chatHub"
50
+ CHAT_HUB: "chatHub",
51
+ EXPERIMENT_EMPTY_STATE_BUILDER_PROMPT: "emptyStateBuilderPrompt"
50
52
  };
51
53
 
52
54
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"constants2.cjs","names":[],"sources":["../src/constants.ts"],"sourcesContent":["export const STORES = {\n\tCOMMUNITY_NODES: 'communityNodes',\n\tROOT: 'root',\n\tSETTINGS: 'settings',\n\tUI: 'ui',\n\tUSERS: 'users',\n\tWORKFLOWS: 'workflows',\n\tWORKFLOWS_V2: 'workflowsV2',\n\tWORKFLOWS_EE: 'workflowsEE',\n\tEXECUTIONS: 'executions',\n\tNDV: 'ndv',\n\tTEMPLATES: 'templates',\n\tNODE_TYPES: 'nodeTypes',\n\tCREDENTIALS: 'credentials',\n\tTAGS: 'tags',\n\tANNOTATION_TAGS: 'annotationTags',\n\tVERSIONS: 'versions',\n\tNODE_CREATOR: 'nodeCreator',\n\tWEBHOOKS: 'webhooks',\n\tHISTORY: 'history',\n\tCLOUD_PLAN: 'cloudPlan',\n\tRBAC: 'rbac',\n\tPUSH: 'push',\n\tCOLLABORATION: 'collaboration',\n\tASSISTANT: 'assistant',\n\tBUILDER: 'builder',\n\tCHAT_PANEL: 'chatPanel',\n\tCHAT_PANEL_STATE: 'chatPanelState',\n\tBECOME_TEMPLATE_CREATOR: 'becomeTemplateCreator',\n\tPROJECTS: 'projects',\n\tAPI_KEYS: 'apiKeys',\n\tEVALUATION: 'evaluation',\n\tFOLDERS: 'folders',\n\tMODULES: 'modules',\n\tFOCUS_PANEL: 'focusPanel',\n\tWORKFLOW_STATE: 'workflowState',\n\tAI_TEMPLATES_STARTER_COLLECTION: 'aiTemplatesStarterCollection',\n\tPERSONALIZED_TEMPLATES: 'personalizedTemplates',\n\tEXPERIMENT_READY_TO_RUN_WORKFLOWS: 'readyToRunWorkflows',\n\tEXPERIMENT_READY_TO_RUN_WORKFLOWS_V2: 'readyToRunWorkflowsV2',\n\tEXPERIMENT_TEMPLATE_RECO_V2: 'templateRecoV2',\n\tPERSONALIZED_TEMPLATES_V3: 'personalizedTemplatesV3',\n\tREADY_TO_RUN: 'readyToRun',\n\tTEMPLATES_DATA_QUALITY: 'templatesDataQuality',\n\tBANNERS: 'banners',\n\tCONSENT: 'consent',\n\tCHAT_HUB: 'chatHub',\n} as const;\n"],"mappings":";;AAAA,MAAa,SAAS;CACrB,iBAAiB;CACjB,MAAM;CACN,UAAU;CACV,IAAI;CACJ,OAAO;CACP,WAAW;CACX,cAAc;CACd,cAAc;CACd,YAAY;CACZ,KAAK;CACL,WAAW;CACX,YAAY;CACZ,aAAa;CACb,MAAM;CACN,iBAAiB;CACjB,UAAU;CACV,cAAc;CACd,UAAU;CACV,SAAS;CACT,YAAY;CACZ,MAAM;CACN,MAAM;CACN,eAAe;CACf,WAAW;CACX,SAAS;CACT,YAAY;CACZ,kBAAkB;CAClB,yBAAyB;CACzB,UAAU;CACV,UAAU;CACV,YAAY;CACZ,SAAS;CACT,SAAS;CACT,aAAa;CACb,gBAAgB;CAChB,iCAAiC;CACjC,wBAAwB;CACxB,mCAAmC;CACnC,sCAAsC;CACtC,6BAA6B;CAC7B,2BAA2B;CAC3B,cAAc;CACd,wBAAwB;CACxB,SAAS;CACT,SAAS;CACT,UAAU;CACV"}
1
+ {"version":3,"file":"constants2.cjs","names":[],"sources":["../src/constants.ts"],"sourcesContent":["export const STORES = {\n\tCOMMUNITY_NODES: 'communityNodes',\n\tROOT: 'root',\n\tSETTINGS: 'settings',\n\tUI: 'ui',\n\tUSERS: 'users',\n\tWORKFLOWS: 'workflows',\n\tWORKFLOWS_LIST: 'workflowsList',\n\tWORKFLOWS_V2: 'workflowsV2',\n\tWORKFLOWS_EE: 'workflowsEE',\n\tEXECUTIONS: 'executions',\n\tNDV: 'ndv',\n\tTEMPLATES: 'templates',\n\tNODE_TYPES: 'nodeTypes',\n\tCREDENTIALS: 'credentials',\n\tTAGS: 'tags',\n\tANNOTATION_TAGS: 'annotationTags',\n\tVERSIONS: 'versions',\n\tNODE_CREATOR: 'nodeCreator',\n\tWEBHOOKS: 'webhooks',\n\tHISTORY: 'history',\n\tCLOUD_PLAN: 'cloudPlan',\n\tRBAC: 'rbac',\n\tPUSH: 'push',\n\tCOLLABORATION: 'collaboration',\n\tASSISTANT: 'assistant',\n\tBUILDER: 'builder',\n\tCHAT_PANEL: 'chatPanel',\n\tCHAT_PANEL_STATE: 'chatPanelState',\n\tBECOME_TEMPLATE_CREATOR: 'becomeTemplateCreator',\n\tPROJECTS: 'projects',\n\tAPI_KEYS: 'apiKeys',\n\tEVALUATION: 'evaluation',\n\tFOLDERS: 'folders',\n\tMODULES: 'modules',\n\tFOCUS_PANEL: 'focusPanel',\n\tWORKFLOW_STATE: 'workflowState',\n\tAI_TEMPLATES_STARTER_COLLECTION: 'aiTemplatesStarterCollection',\n\tPERSONALIZED_TEMPLATES: 'personalizedTemplates',\n\tEXPERIMENT_READY_TO_RUN_WORKFLOWS: 'readyToRunWorkflows',\n\tEXPERIMENT_READY_TO_RUN_WORKFLOWS_V2: 'readyToRunWorkflowsV2',\n\tEXPERIMENT_TEMPLATE_RECO_V2: 'templateRecoV2',\n\tPERSONALIZED_TEMPLATES_V3: 'personalizedTemplatesV3',\n\tREADY_TO_RUN: 'readyToRun',\n\tTEMPLATES_DATA_QUALITY: 'templatesDataQuality',\n\tBANNERS: 'banners',\n\tCONSENT: 'consent',\n\tCHAT_HUB: 'chatHub',\n\tEXPERIMENT_EMPTY_STATE_BUILDER_PROMPT: 'emptyStateBuilderPrompt',\n} as const;\n"],"mappings":";;AAAA,MAAa,SAAS;CACrB,iBAAiB;CACjB,MAAM;CACN,UAAU;CACV,IAAI;CACJ,OAAO;CACP,WAAW;CACX,gBAAgB;CAChB,cAAc;CACd,cAAc;CACd,YAAY;CACZ,KAAK;CACL,WAAW;CACX,YAAY;CACZ,aAAa;CACb,MAAM;CACN,iBAAiB;CACjB,UAAU;CACV,cAAc;CACd,UAAU;CACV,SAAS;CACT,YAAY;CACZ,MAAM;CACN,MAAM;CACN,eAAe;CACf,WAAW;CACX,SAAS;CACT,YAAY;CACZ,kBAAkB;CAClB,yBAAyB;CACzB,UAAU;CACV,UAAU;CACV,YAAY;CACZ,SAAS;CACT,SAAS;CACT,aAAa;CACb,gBAAgB;CAChB,iCAAiC;CACjC,wBAAwB;CACxB,mCAAmC;CACnC,sCAAsC;CACtC,6BAA6B;CAC7B,2BAA2B;CAC3B,cAAc;CACd,wBAAwB;CACxB,SAAS;CACT,SAAS;CACT,UAAU;CACV,uCAAuC;CACvC"}
@@ -6,6 +6,7 @@ declare const STORES: {
6
6
  readonly UI: "ui";
7
7
  readonly USERS: "users";
8
8
  readonly WORKFLOWS: "workflows";
9
+ readonly WORKFLOWS_LIST: "workflowsList";
9
10
  readonly WORKFLOWS_V2: "workflowsV2";
10
11
  readonly WORKFLOWS_EE: "workflowsEE";
11
12
  readonly EXECUTIONS: "executions";
@@ -46,6 +47,7 @@ declare const STORES: {
46
47
  readonly BANNERS: "banners";
47
48
  readonly CONSENT: "consent";
48
49
  readonly CHAT_HUB: "chatHub";
50
+ readonly EXPERIMENT_EMPTY_STATE_BUILDER_PROMPT: "emptyStateBuilderPrompt";
49
51
  };
50
52
  //#endregion
51
53
  export { STORES as t };
@@ -6,6 +6,7 @@ declare const STORES: {
6
6
  readonly UI: "ui";
7
7
  readonly USERS: "users";
8
8
  readonly WORKFLOWS: "workflows";
9
+ readonly WORKFLOWS_LIST: "workflowsList";
9
10
  readonly WORKFLOWS_V2: "workflowsV2";
10
11
  readonly WORKFLOWS_EE: "workflowsEE";
11
12
  readonly EXECUTIONS: "executions";
@@ -46,6 +47,7 @@ declare const STORES: {
46
47
  readonly BANNERS: "banners";
47
48
  readonly CONSENT: "consent";
48
49
  readonly CHAT_HUB: "chatHub";
50
+ readonly EXPERIMENT_EMPTY_STATE_BUILDER_PROMPT: "emptyStateBuilderPrompt";
49
51
  };
50
52
  //#endregion
51
53
  export { STORES as t };
@@ -6,6 +6,7 @@ const STORES = {
6
6
  UI: "ui",
7
7
  USERS: "users",
8
8
  WORKFLOWS: "workflows",
9
+ WORKFLOWS_LIST: "workflowsList",
9
10
  WORKFLOWS_V2: "workflowsV2",
10
11
  WORKFLOWS_EE: "workflowsEE",
11
12
  EXECUTIONS: "executions",
@@ -45,7 +46,8 @@ const STORES = {
45
46
  TEMPLATES_DATA_QUALITY: "templatesDataQuality",
46
47
  BANNERS: "banners",
47
48
  CONSENT: "consent",
48
- CHAT_HUB: "chatHub"
49
+ CHAT_HUB: "chatHub",
50
+ EXPERIMENT_EMPTY_STATE_BUILDER_PROMPT: "emptyStateBuilderPrompt"
49
51
  };
50
52
 
51
53
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"constants2.mjs","names":[],"sources":["../src/constants.ts"],"sourcesContent":["export const STORES = {\n\tCOMMUNITY_NODES: 'communityNodes',\n\tROOT: 'root',\n\tSETTINGS: 'settings',\n\tUI: 'ui',\n\tUSERS: 'users',\n\tWORKFLOWS: 'workflows',\n\tWORKFLOWS_V2: 'workflowsV2',\n\tWORKFLOWS_EE: 'workflowsEE',\n\tEXECUTIONS: 'executions',\n\tNDV: 'ndv',\n\tTEMPLATES: 'templates',\n\tNODE_TYPES: 'nodeTypes',\n\tCREDENTIALS: 'credentials',\n\tTAGS: 'tags',\n\tANNOTATION_TAGS: 'annotationTags',\n\tVERSIONS: 'versions',\n\tNODE_CREATOR: 'nodeCreator',\n\tWEBHOOKS: 'webhooks',\n\tHISTORY: 'history',\n\tCLOUD_PLAN: 'cloudPlan',\n\tRBAC: 'rbac',\n\tPUSH: 'push',\n\tCOLLABORATION: 'collaboration',\n\tASSISTANT: 'assistant',\n\tBUILDER: 'builder',\n\tCHAT_PANEL: 'chatPanel',\n\tCHAT_PANEL_STATE: 'chatPanelState',\n\tBECOME_TEMPLATE_CREATOR: 'becomeTemplateCreator',\n\tPROJECTS: 'projects',\n\tAPI_KEYS: 'apiKeys',\n\tEVALUATION: 'evaluation',\n\tFOLDERS: 'folders',\n\tMODULES: 'modules',\n\tFOCUS_PANEL: 'focusPanel',\n\tWORKFLOW_STATE: 'workflowState',\n\tAI_TEMPLATES_STARTER_COLLECTION: 'aiTemplatesStarterCollection',\n\tPERSONALIZED_TEMPLATES: 'personalizedTemplates',\n\tEXPERIMENT_READY_TO_RUN_WORKFLOWS: 'readyToRunWorkflows',\n\tEXPERIMENT_READY_TO_RUN_WORKFLOWS_V2: 'readyToRunWorkflowsV2',\n\tEXPERIMENT_TEMPLATE_RECO_V2: 'templateRecoV2',\n\tPERSONALIZED_TEMPLATES_V3: 'personalizedTemplatesV3',\n\tREADY_TO_RUN: 'readyToRun',\n\tTEMPLATES_DATA_QUALITY: 'templatesDataQuality',\n\tBANNERS: 'banners',\n\tCONSENT: 'consent',\n\tCHAT_HUB: 'chatHub',\n} as const;\n"],"mappings":";AAAA,MAAa,SAAS;CACrB,iBAAiB;CACjB,MAAM;CACN,UAAU;CACV,IAAI;CACJ,OAAO;CACP,WAAW;CACX,cAAc;CACd,cAAc;CACd,YAAY;CACZ,KAAK;CACL,WAAW;CACX,YAAY;CACZ,aAAa;CACb,MAAM;CACN,iBAAiB;CACjB,UAAU;CACV,cAAc;CACd,UAAU;CACV,SAAS;CACT,YAAY;CACZ,MAAM;CACN,MAAM;CACN,eAAe;CACf,WAAW;CACX,SAAS;CACT,YAAY;CACZ,kBAAkB;CAClB,yBAAyB;CACzB,UAAU;CACV,UAAU;CACV,YAAY;CACZ,SAAS;CACT,SAAS;CACT,aAAa;CACb,gBAAgB;CAChB,iCAAiC;CACjC,wBAAwB;CACxB,mCAAmC;CACnC,sCAAsC;CACtC,6BAA6B;CAC7B,2BAA2B;CAC3B,cAAc;CACd,wBAAwB;CACxB,SAAS;CACT,SAAS;CACT,UAAU;CACV"}
1
+ {"version":3,"file":"constants2.mjs","names":[],"sources":["../src/constants.ts"],"sourcesContent":["export const STORES = {\n\tCOMMUNITY_NODES: 'communityNodes',\n\tROOT: 'root',\n\tSETTINGS: 'settings',\n\tUI: 'ui',\n\tUSERS: 'users',\n\tWORKFLOWS: 'workflows',\n\tWORKFLOWS_LIST: 'workflowsList',\n\tWORKFLOWS_V2: 'workflowsV2',\n\tWORKFLOWS_EE: 'workflowsEE',\n\tEXECUTIONS: 'executions',\n\tNDV: 'ndv',\n\tTEMPLATES: 'templates',\n\tNODE_TYPES: 'nodeTypes',\n\tCREDENTIALS: 'credentials',\n\tTAGS: 'tags',\n\tANNOTATION_TAGS: 'annotationTags',\n\tVERSIONS: 'versions',\n\tNODE_CREATOR: 'nodeCreator',\n\tWEBHOOKS: 'webhooks',\n\tHISTORY: 'history',\n\tCLOUD_PLAN: 'cloudPlan',\n\tRBAC: 'rbac',\n\tPUSH: 'push',\n\tCOLLABORATION: 'collaboration',\n\tASSISTANT: 'assistant',\n\tBUILDER: 'builder',\n\tCHAT_PANEL: 'chatPanel',\n\tCHAT_PANEL_STATE: 'chatPanelState',\n\tBECOME_TEMPLATE_CREATOR: 'becomeTemplateCreator',\n\tPROJECTS: 'projects',\n\tAPI_KEYS: 'apiKeys',\n\tEVALUATION: 'evaluation',\n\tFOLDERS: 'folders',\n\tMODULES: 'modules',\n\tFOCUS_PANEL: 'focusPanel',\n\tWORKFLOW_STATE: 'workflowState',\n\tAI_TEMPLATES_STARTER_COLLECTION: 'aiTemplatesStarterCollection',\n\tPERSONALIZED_TEMPLATES: 'personalizedTemplates',\n\tEXPERIMENT_READY_TO_RUN_WORKFLOWS: 'readyToRunWorkflows',\n\tEXPERIMENT_READY_TO_RUN_WORKFLOWS_V2: 'readyToRunWorkflowsV2',\n\tEXPERIMENT_TEMPLATE_RECO_V2: 'templateRecoV2',\n\tPERSONALIZED_TEMPLATES_V3: 'personalizedTemplatesV3',\n\tREADY_TO_RUN: 'readyToRun',\n\tTEMPLATES_DATA_QUALITY: 'templatesDataQuality',\n\tBANNERS: 'banners',\n\tCONSENT: 'consent',\n\tCHAT_HUB: 'chatHub',\n\tEXPERIMENT_EMPTY_STATE_BUILDER_PROMPT: 'emptyStateBuilderPrompt',\n} as const;\n"],"mappings":";AAAA,MAAa,SAAS;CACrB,iBAAiB;CACjB,MAAM;CACN,UAAU;CACV,IAAI;CACJ,OAAO;CACP,WAAW;CACX,gBAAgB;CAChB,cAAc;CACd,cAAc;CACd,YAAY;CACZ,KAAK;CACL,WAAW;CACX,YAAY;CACZ,aAAa;CACb,MAAM;CACN,iBAAiB;CACjB,UAAU;CACV,cAAc;CACd,UAAU;CACV,SAAS;CACT,YAAY;CACZ,MAAM;CACN,MAAM;CACN,eAAe;CACf,WAAW;CACX,SAAS;CACT,YAAY;CACZ,kBAAkB;CAClB,yBAAyB;CACzB,UAAU;CACV,UAAU;CACV,YAAY;CACZ,SAAS;CACT,SAAS;CACT,aAAa;CACb,gBAAgB;CAChB,iCAAiC;CACjC,wBAAwB;CACxB,mCAAmC;CACnC,sCAAsC;CACtC,6BAA6B;CAC7B,2BAA2B;CAC3B,cAAc;CACd,wBAAwB;CACxB,SAAS;CACT,SAAS;CACT,UAAU;CACV,uCAAuC;CACvC"}
@@ -12,16 +12,16 @@ const useAgentRequestStore = (0, pinia.defineStore)("agentRequest", () => {
12
12
  const getAgentRequests = (workflowId, nodeId) => {
13
13
  return agentRequests.value[workflowId]?.[nodeId]?.query || {};
14
14
  };
15
- const getQueryValue = (workflowId, nodeId, paramName) => {
16
- const query = agentRequests.value[workflowId]?.[nodeId]?.query;
17
- if (typeof query === "string") return;
15
+ const getQueryValue = (workflowId, nodeId, nodeName, paramName) => {
16
+ const query = agentRequests.value[workflowId]?.[nodeId]?.query?.[nodeName];
17
+ if (typeof query === "string" || !paramName) return query;
18
18
  return query?.[paramName];
19
19
  };
20
20
  const setAgentRequestForNode = (workflowId, nodeId, request) => {
21
21
  ensureWorkflowAndNodeExist(workflowId, nodeId);
22
22
  agentRequests.value[workflowId][nodeId] = {
23
23
  ...request,
24
- query: typeof request.query === "string" ? request.query : { ...request.query }
24
+ query: { ...request.query }
25
25
  };
26
26
  };
27
27
  const clearAgentRequests = (workflowId, nodeId) => {
@@ -1 +1 @@
1
- {"version":3,"file":"useAgentRequestStore.cjs","names":[],"sources":["../src/useAgentRequestStore.ts"],"sourcesContent":["import { useLocalStorage } from '@vueuse/core';\nimport type { INodeParameters, NodeParameterValueType } from 'n8n-workflow';\nimport { defineStore } from 'pinia';\n\nconst LOCAL_STORAGE_AGENT_REQUESTS = 'N8N_AGENT_REQUESTS';\n\nexport interface IAgentRequest {\n\tquery: INodeParameters | string;\n\ttoolName?: string;\n}\n\nexport interface IAgentRequestStoreState {\n\t[workflowId: string]: {\n\t\t[nodeName: string]: IAgentRequest;\n\t};\n}\n\nexport const useAgentRequestStore = defineStore('agentRequest', () => {\n\t// State\n\tconst agentRequests = useLocalStorage<IAgentRequestStoreState>(LOCAL_STORAGE_AGENT_REQUESTS, {});\n\n\t// Helper function to ensure workflow and node entries exist\n\tconst ensureWorkflowAndNodeExist = (workflowId: string, nodeId: string): void => {\n\t\tif (!agentRequests.value[workflowId]) {\n\t\t\tagentRequests.value[workflowId] = {};\n\t\t}\n\n\t\tif (!agentRequests.value[workflowId][nodeId]) {\n\t\t\tagentRequests.value[workflowId][nodeId] = { query: {} };\n\t\t}\n\t};\n\n\t// Getters\n\tconst getAgentRequests = (workflowId: string, nodeId: string): INodeParameters | string => {\n\t\treturn agentRequests.value[workflowId]?.[nodeId]?.query || {};\n\t};\n\n\tconst getQueryValue = (\n\t\tworkflowId: string,\n\t\tnodeId: string,\n\t\tparamName: string,\n\t): NodeParameterValueType | undefined => {\n\t\tconst query = agentRequests.value[workflowId]?.[nodeId]?.query;\n\t\tif (typeof query === 'string') {\n\t\t\treturn undefined;\n\t\t}\n\t\treturn query?.[paramName];\n\t};\n\n\tconst setAgentRequestForNode = (\n\t\tworkflowId: string,\n\t\tnodeId: string,\n\t\trequest: IAgentRequest,\n\t): void => {\n\t\tensureWorkflowAndNodeExist(workflowId, nodeId);\n\n\t\tagentRequests.value[workflowId][nodeId] = {\n\t\t\t...request,\n\t\t\tquery: typeof request.query === 'string' ? request.query : { ...request.query },\n\t\t};\n\t};\n\n\tconst clearAgentRequests = (workflowId: string, nodeId: string): void => {\n\t\tif (agentRequests.value[workflowId]) {\n\t\t\tagentRequests.value[workflowId][nodeId] = { query: {} };\n\t\t}\n\t};\n\n\tconst clearAllAgentRequests = (workflowId?: string): void => {\n\t\tif (workflowId) {\n\t\t\tagentRequests.value[workflowId] = {};\n\t\t} else {\n\t\t\tagentRequests.value = {};\n\t\t}\n\t};\n\n\tconst getAgentRequest = (workflowId: string, nodeId: string): IAgentRequest | undefined => {\n\t\tif (agentRequests.value[workflowId]) return agentRequests.value[workflowId]?.[nodeId];\n\t\treturn undefined;\n\t};\n\n\treturn {\n\t\tagentRequests,\n\t\tgetAgentRequests,\n\t\tgetQueryValue,\n\t\tsetAgentRequestForNode,\n\t\tclearAgentRequests,\n\t\tclearAllAgentRequests,\n\t\tgetAgentRequest,\n\t};\n});\n"],"mappings":";;;;AAIA,MAAM,+BAA+B;AAarC,MAAa,8CAAmC,sBAAsB;CAErE,MAAM,mDAAyD,8BAA8B,EAAE,CAAC;CAGhG,MAAM,8BAA8B,YAAoB,WAAyB;AAChF,MAAI,CAAC,cAAc,MAAM,YACxB,eAAc,MAAM,cAAc,EAAE;AAGrC,MAAI,CAAC,cAAc,MAAM,YAAY,QACpC,eAAc,MAAM,YAAY,UAAU,EAAE,OAAO,EAAE,EAAE;;CAKzD,MAAM,oBAAoB,YAAoB,WAA6C;AAC1F,SAAO,cAAc,MAAM,cAAc,SAAS,SAAS,EAAE;;CAG9D,MAAM,iBACL,YACA,QACA,cACwC;EACxC,MAAM,QAAQ,cAAc,MAAM,cAAc,SAAS;AACzD,MAAI,OAAO,UAAU,SACpB;AAED,SAAO,QAAQ;;CAGhB,MAAM,0BACL,YACA,QACA,YACU;AACV,6BAA2B,YAAY,OAAO;AAE9C,gBAAc,MAAM,YAAY,UAAU;GACzC,GAAG;GACH,OAAO,OAAO,QAAQ,UAAU,WAAW,QAAQ,QAAQ,EAAE,GAAG,QAAQ,OAAO;GAC/E;;CAGF,MAAM,sBAAsB,YAAoB,WAAyB;AACxE,MAAI,cAAc,MAAM,YACvB,eAAc,MAAM,YAAY,UAAU,EAAE,OAAO,EAAE,EAAE;;CAIzD,MAAM,yBAAyB,eAA8B;AAC5D,MAAI,WACH,eAAc,MAAM,cAAc,EAAE;MAEpC,eAAc,QAAQ,EAAE;;CAI1B,MAAM,mBAAmB,YAAoB,WAA8C;AAC1F,MAAI,cAAc,MAAM,YAAa,QAAO,cAAc,MAAM,cAAc;;AAI/E,QAAO;EACN;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA"}
1
+ {"version":3,"file":"useAgentRequestStore.cjs","names":[],"sources":["../src/useAgentRequestStore.ts"],"sourcesContent":["import { useLocalStorage } from '@vueuse/core';\nimport type { AgentRequestQuery } from 'n8n-workflow';\nimport { defineStore } from 'pinia';\n\nconst LOCAL_STORAGE_AGENT_REQUESTS = 'N8N_AGENT_REQUESTS';\n\nexport interface IAgentRequest {\n\tquery: AgentRequestQuery;\n\ttoolName?: string;\n}\n\nexport interface IAgentRequestStoreState {\n\t[workflowId: string]: {\n\t\t[nodeName: string]: IAgentRequest;\n\t};\n}\n\nexport const useAgentRequestStore = defineStore('agentRequest', () => {\n\t// State\n\tconst agentRequests = useLocalStorage<IAgentRequestStoreState>(LOCAL_STORAGE_AGENT_REQUESTS, {});\n\n\t// Helper function to ensure workflow and node entries exist\n\tconst ensureWorkflowAndNodeExist = (workflowId: string, nodeId: string): void => {\n\t\tif (!agentRequests.value[workflowId]) {\n\t\t\tagentRequests.value[workflowId] = {};\n\t\t}\n\n\t\tif (!agentRequests.value[workflowId][nodeId]) {\n\t\t\tagentRequests.value[workflowId][nodeId] = { query: {} };\n\t\t}\n\t};\n\n\t// Getters\n\tconst getAgentRequests = (workflowId: string, nodeId: string): IAgentRequest['query'] => {\n\t\treturn agentRequests.value[workflowId]?.[nodeId]?.query || {};\n\t};\n\n\tconst getQueryValue = (\n\t\tworkflowId: string,\n\t\tnodeId: string,\n\t\tnodeName: string,\n\t\tparamName?: string,\n\t): unknown => {\n\t\tconst query = agentRequests.value[workflowId]?.[nodeId]?.query?.[nodeName];\n\t\tif (typeof query === 'string' || !paramName) {\n\t\t\treturn query;\n\t\t}\n\t\treturn query?.[paramName];\n\t};\n\n\tconst setAgentRequestForNode = (\n\t\tworkflowId: string,\n\t\tnodeId: string,\n\t\trequest: IAgentRequest,\n\t): void => {\n\t\tensureWorkflowAndNodeExist(workflowId, nodeId);\n\n\t\tagentRequests.value[workflowId][nodeId] = {\n\t\t\t...request,\n\t\t\tquery: { ...request.query },\n\t\t};\n\t};\n\n\tconst clearAgentRequests = (workflowId: string, nodeId: string): void => {\n\t\tif (agentRequests.value[workflowId]) {\n\t\t\tagentRequests.value[workflowId][nodeId] = { query: {} };\n\t\t}\n\t};\n\n\tconst clearAllAgentRequests = (workflowId?: string): void => {\n\t\tif (workflowId) {\n\t\t\tagentRequests.value[workflowId] = {};\n\t\t} else {\n\t\t\tagentRequests.value = {};\n\t\t}\n\t};\n\n\tconst getAgentRequest = (workflowId: string, nodeId: string): IAgentRequest | undefined => {\n\t\tif (agentRequests.value[workflowId]) return agentRequests.value[workflowId]?.[nodeId];\n\t\treturn undefined;\n\t};\n\n\treturn {\n\t\tagentRequests,\n\t\tgetAgentRequests,\n\t\tgetQueryValue,\n\t\tsetAgentRequestForNode,\n\t\tclearAgentRequests,\n\t\tclearAllAgentRequests,\n\t\tgetAgentRequest,\n\t};\n});\n"],"mappings":";;;;AAIA,MAAM,+BAA+B;AAarC,MAAa,8CAAmC,sBAAsB;CAErE,MAAM,mDAAyD,8BAA8B,EAAE,CAAC;CAGhG,MAAM,8BAA8B,YAAoB,WAAyB;AAChF,MAAI,CAAC,cAAc,MAAM,YACxB,eAAc,MAAM,cAAc,EAAE;AAGrC,MAAI,CAAC,cAAc,MAAM,YAAY,QACpC,eAAc,MAAM,YAAY,UAAU,EAAE,OAAO,EAAE,EAAE;;CAKzD,MAAM,oBAAoB,YAAoB,WAA2C;AACxF,SAAO,cAAc,MAAM,cAAc,SAAS,SAAS,EAAE;;CAG9D,MAAM,iBACL,YACA,QACA,UACA,cACa;EACb,MAAM,QAAQ,cAAc,MAAM,cAAc,SAAS,QAAQ;AACjE,MAAI,OAAO,UAAU,YAAY,CAAC,UACjC,QAAO;AAER,SAAO,QAAQ;;CAGhB,MAAM,0BACL,YACA,QACA,YACU;AACV,6BAA2B,YAAY,OAAO;AAE9C,gBAAc,MAAM,YAAY,UAAU;GACzC,GAAG;GACH,OAAO,EAAE,GAAG,QAAQ,OAAO;GAC3B;;CAGF,MAAM,sBAAsB,YAAoB,WAAyB;AACxE,MAAI,cAAc,MAAM,YACvB,eAAc,MAAM,YAAY,UAAU,EAAE,OAAO,EAAE,EAAE;;CAIzD,MAAM,yBAAyB,eAA8B;AAC5D,MAAI,WACH,eAAc,MAAM,cAAc,EAAE;MAEpC,eAAc,QAAQ,EAAE;;CAI1B,MAAM,mBAAmB,YAAoB,WAA8C;AAC1F,MAAI,cAAc,MAAM,YAAa,QAAO,cAAc,MAAM,cAAc;;AAI/E,QAAO;EACN;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA"}
@@ -1,10 +1,10 @@
1
1
  import * as _vueuse_core0 from "@vueuse/core";
2
2
  import * as pinia0 from "pinia";
3
- import { INodeParameters, NodeParameterValueType } from "n8n-workflow";
3
+ import { AgentRequestQuery } from "n8n-workflow";
4
4
 
5
5
  //#region src/useAgentRequestStore.d.ts
6
6
  interface IAgentRequest {
7
- query: INodeParameters | string;
7
+ query: AgentRequestQuery;
8
8
  toolName?: string;
9
9
  }
10
10
  interface IAgentRequestStoreState {
@@ -14,24 +14,24 @@ interface IAgentRequestStoreState {
14
14
  }
15
15
  declare const useAgentRequestStore: pinia0.StoreDefinition<"agentRequest", Pick<{
16
16
  agentRequests: _vueuse_core0.RemovableRef<IAgentRequestStoreState>;
17
- getAgentRequests: (workflowId: string, nodeId: string) => INodeParameters | string;
18
- getQueryValue: (workflowId: string, nodeId: string, paramName: string) => NodeParameterValueType | undefined;
17
+ getAgentRequests: (workflowId: string, nodeId: string) => IAgentRequest["query"];
18
+ getQueryValue: (workflowId: string, nodeId: string, nodeName: string, paramName?: string) => unknown;
19
19
  setAgentRequestForNode: (workflowId: string, nodeId: string, request: IAgentRequest) => void;
20
20
  clearAgentRequests: (workflowId: string, nodeId: string) => void;
21
21
  clearAllAgentRequests: (workflowId?: string) => void;
22
22
  getAgentRequest: (workflowId: string, nodeId: string) => IAgentRequest | undefined;
23
23
  }, "agentRequests">, Pick<{
24
24
  agentRequests: _vueuse_core0.RemovableRef<IAgentRequestStoreState>;
25
- getAgentRequests: (workflowId: string, nodeId: string) => INodeParameters | string;
26
- getQueryValue: (workflowId: string, nodeId: string, paramName: string) => NodeParameterValueType | undefined;
25
+ getAgentRequests: (workflowId: string, nodeId: string) => IAgentRequest["query"];
26
+ getQueryValue: (workflowId: string, nodeId: string, nodeName: string, paramName?: string) => unknown;
27
27
  setAgentRequestForNode: (workflowId: string, nodeId: string, request: IAgentRequest) => void;
28
28
  clearAgentRequests: (workflowId: string, nodeId: string) => void;
29
29
  clearAllAgentRequests: (workflowId?: string) => void;
30
30
  getAgentRequest: (workflowId: string, nodeId: string) => IAgentRequest | undefined;
31
31
  }, never>, Pick<{
32
32
  agentRequests: _vueuse_core0.RemovableRef<IAgentRequestStoreState>;
33
- getAgentRequests: (workflowId: string, nodeId: string) => INodeParameters | string;
34
- getQueryValue: (workflowId: string, nodeId: string, paramName: string) => NodeParameterValueType | undefined;
33
+ getAgentRequests: (workflowId: string, nodeId: string) => IAgentRequest["query"];
34
+ getQueryValue: (workflowId: string, nodeId: string, nodeName: string, paramName?: string) => unknown;
35
35
  setAgentRequestForNode: (workflowId: string, nodeId: string, request: IAgentRequest) => void;
36
36
  clearAgentRequests: (workflowId: string, nodeId: string) => void;
37
37
  clearAllAgentRequests: (workflowId?: string) => void;
@@ -1,10 +1,10 @@
1
1
  import * as _vueuse_core0 from "@vueuse/core";
2
2
  import * as pinia0 from "pinia";
3
- import { INodeParameters, NodeParameterValueType } from "n8n-workflow";
3
+ import { AgentRequestQuery } from "n8n-workflow";
4
4
 
5
5
  //#region src/useAgentRequestStore.d.ts
6
6
  interface IAgentRequest {
7
- query: INodeParameters | string;
7
+ query: AgentRequestQuery;
8
8
  toolName?: string;
9
9
  }
10
10
  interface IAgentRequestStoreState {
@@ -14,24 +14,24 @@ interface IAgentRequestStoreState {
14
14
  }
15
15
  declare const useAgentRequestStore: pinia0.StoreDefinition<"agentRequest", Pick<{
16
16
  agentRequests: _vueuse_core0.RemovableRef<IAgentRequestStoreState>;
17
- getAgentRequests: (workflowId: string, nodeId: string) => INodeParameters | string;
18
- getQueryValue: (workflowId: string, nodeId: string, paramName: string) => NodeParameterValueType | undefined;
17
+ getAgentRequests: (workflowId: string, nodeId: string) => IAgentRequest["query"];
18
+ getQueryValue: (workflowId: string, nodeId: string, nodeName: string, paramName?: string) => unknown;
19
19
  setAgentRequestForNode: (workflowId: string, nodeId: string, request: IAgentRequest) => void;
20
20
  clearAgentRequests: (workflowId: string, nodeId: string) => void;
21
21
  clearAllAgentRequests: (workflowId?: string) => void;
22
22
  getAgentRequest: (workflowId: string, nodeId: string) => IAgentRequest | undefined;
23
23
  }, "agentRequests">, Pick<{
24
24
  agentRequests: _vueuse_core0.RemovableRef<IAgentRequestStoreState>;
25
- getAgentRequests: (workflowId: string, nodeId: string) => INodeParameters | string;
26
- getQueryValue: (workflowId: string, nodeId: string, paramName: string) => NodeParameterValueType | undefined;
25
+ getAgentRequests: (workflowId: string, nodeId: string) => IAgentRequest["query"];
26
+ getQueryValue: (workflowId: string, nodeId: string, nodeName: string, paramName?: string) => unknown;
27
27
  setAgentRequestForNode: (workflowId: string, nodeId: string, request: IAgentRequest) => void;
28
28
  clearAgentRequests: (workflowId: string, nodeId: string) => void;
29
29
  clearAllAgentRequests: (workflowId?: string) => void;
30
30
  getAgentRequest: (workflowId: string, nodeId: string) => IAgentRequest | undefined;
31
31
  }, never>, Pick<{
32
32
  agentRequests: _vueuse_core0.RemovableRef<IAgentRequestStoreState>;
33
- getAgentRequests: (workflowId: string, nodeId: string) => INodeParameters | string;
34
- getQueryValue: (workflowId: string, nodeId: string, paramName: string) => NodeParameterValueType | undefined;
33
+ getAgentRequests: (workflowId: string, nodeId: string) => IAgentRequest["query"];
34
+ getQueryValue: (workflowId: string, nodeId: string, nodeName: string, paramName?: string) => unknown;
35
35
  setAgentRequestForNode: (workflowId: string, nodeId: string, request: IAgentRequest) => void;
36
36
  clearAgentRequests: (workflowId: string, nodeId: string) => void;
37
37
  clearAllAgentRequests: (workflowId?: string) => void;
@@ -12,16 +12,16 @@ const useAgentRequestStore = defineStore("agentRequest", () => {
12
12
  const getAgentRequests = (workflowId, nodeId) => {
13
13
  return agentRequests.value[workflowId]?.[nodeId]?.query || {};
14
14
  };
15
- const getQueryValue = (workflowId, nodeId, paramName) => {
16
- const query = agentRequests.value[workflowId]?.[nodeId]?.query;
17
- if (typeof query === "string") return;
15
+ const getQueryValue = (workflowId, nodeId, nodeName, paramName) => {
16
+ const query = agentRequests.value[workflowId]?.[nodeId]?.query?.[nodeName];
17
+ if (typeof query === "string" || !paramName) return query;
18
18
  return query?.[paramName];
19
19
  };
20
20
  const setAgentRequestForNode = (workflowId, nodeId, request) => {
21
21
  ensureWorkflowAndNodeExist(workflowId, nodeId);
22
22
  agentRequests.value[workflowId][nodeId] = {
23
23
  ...request,
24
- query: typeof request.query === "string" ? request.query : { ...request.query }
24
+ query: { ...request.query }
25
25
  };
26
26
  };
27
27
  const clearAgentRequests = (workflowId, nodeId) => {
@@ -1 +1 @@
1
- {"version":3,"file":"useAgentRequestStore.mjs","names":[],"sources":["../src/useAgentRequestStore.ts"],"sourcesContent":["import { useLocalStorage } from '@vueuse/core';\nimport type { INodeParameters, NodeParameterValueType } from 'n8n-workflow';\nimport { defineStore } from 'pinia';\n\nconst LOCAL_STORAGE_AGENT_REQUESTS = 'N8N_AGENT_REQUESTS';\n\nexport interface IAgentRequest {\n\tquery: INodeParameters | string;\n\ttoolName?: string;\n}\n\nexport interface IAgentRequestStoreState {\n\t[workflowId: string]: {\n\t\t[nodeName: string]: IAgentRequest;\n\t};\n}\n\nexport const useAgentRequestStore = defineStore('agentRequest', () => {\n\t// State\n\tconst agentRequests = useLocalStorage<IAgentRequestStoreState>(LOCAL_STORAGE_AGENT_REQUESTS, {});\n\n\t// Helper function to ensure workflow and node entries exist\n\tconst ensureWorkflowAndNodeExist = (workflowId: string, nodeId: string): void => {\n\t\tif (!agentRequests.value[workflowId]) {\n\t\t\tagentRequests.value[workflowId] = {};\n\t\t}\n\n\t\tif (!agentRequests.value[workflowId][nodeId]) {\n\t\t\tagentRequests.value[workflowId][nodeId] = { query: {} };\n\t\t}\n\t};\n\n\t// Getters\n\tconst getAgentRequests = (workflowId: string, nodeId: string): INodeParameters | string => {\n\t\treturn agentRequests.value[workflowId]?.[nodeId]?.query || {};\n\t};\n\n\tconst getQueryValue = (\n\t\tworkflowId: string,\n\t\tnodeId: string,\n\t\tparamName: string,\n\t): NodeParameterValueType | undefined => {\n\t\tconst query = agentRequests.value[workflowId]?.[nodeId]?.query;\n\t\tif (typeof query === 'string') {\n\t\t\treturn undefined;\n\t\t}\n\t\treturn query?.[paramName];\n\t};\n\n\tconst setAgentRequestForNode = (\n\t\tworkflowId: string,\n\t\tnodeId: string,\n\t\trequest: IAgentRequest,\n\t): void => {\n\t\tensureWorkflowAndNodeExist(workflowId, nodeId);\n\n\t\tagentRequests.value[workflowId][nodeId] = {\n\t\t\t...request,\n\t\t\tquery: typeof request.query === 'string' ? request.query : { ...request.query },\n\t\t};\n\t};\n\n\tconst clearAgentRequests = (workflowId: string, nodeId: string): void => {\n\t\tif (agentRequests.value[workflowId]) {\n\t\t\tagentRequests.value[workflowId][nodeId] = { query: {} };\n\t\t}\n\t};\n\n\tconst clearAllAgentRequests = (workflowId?: string): void => {\n\t\tif (workflowId) {\n\t\t\tagentRequests.value[workflowId] = {};\n\t\t} else {\n\t\t\tagentRequests.value = {};\n\t\t}\n\t};\n\n\tconst getAgentRequest = (workflowId: string, nodeId: string): IAgentRequest | undefined => {\n\t\tif (agentRequests.value[workflowId]) return agentRequests.value[workflowId]?.[nodeId];\n\t\treturn undefined;\n\t};\n\n\treturn {\n\t\tagentRequests,\n\t\tgetAgentRequests,\n\t\tgetQueryValue,\n\t\tsetAgentRequestForNode,\n\t\tclearAgentRequests,\n\t\tclearAllAgentRequests,\n\t\tgetAgentRequest,\n\t};\n});\n"],"mappings":";;;;AAIA,MAAM,+BAA+B;AAarC,MAAa,uBAAuB,YAAY,sBAAsB;CAErE,MAAM,gBAAgB,gBAAyC,8BAA8B,EAAE,CAAC;CAGhG,MAAM,8BAA8B,YAAoB,WAAyB;AAChF,MAAI,CAAC,cAAc,MAAM,YACxB,eAAc,MAAM,cAAc,EAAE;AAGrC,MAAI,CAAC,cAAc,MAAM,YAAY,QACpC,eAAc,MAAM,YAAY,UAAU,EAAE,OAAO,EAAE,EAAE;;CAKzD,MAAM,oBAAoB,YAAoB,WAA6C;AAC1F,SAAO,cAAc,MAAM,cAAc,SAAS,SAAS,EAAE;;CAG9D,MAAM,iBACL,YACA,QACA,cACwC;EACxC,MAAM,QAAQ,cAAc,MAAM,cAAc,SAAS;AACzD,MAAI,OAAO,UAAU,SACpB;AAED,SAAO,QAAQ;;CAGhB,MAAM,0BACL,YACA,QACA,YACU;AACV,6BAA2B,YAAY,OAAO;AAE9C,gBAAc,MAAM,YAAY,UAAU;GACzC,GAAG;GACH,OAAO,OAAO,QAAQ,UAAU,WAAW,QAAQ,QAAQ,EAAE,GAAG,QAAQ,OAAO;GAC/E;;CAGF,MAAM,sBAAsB,YAAoB,WAAyB;AACxE,MAAI,cAAc,MAAM,YACvB,eAAc,MAAM,YAAY,UAAU,EAAE,OAAO,EAAE,EAAE;;CAIzD,MAAM,yBAAyB,eAA8B;AAC5D,MAAI,WACH,eAAc,MAAM,cAAc,EAAE;MAEpC,eAAc,QAAQ,EAAE;;CAI1B,MAAM,mBAAmB,YAAoB,WAA8C;AAC1F,MAAI,cAAc,MAAM,YAAa,QAAO,cAAc,MAAM,cAAc;;AAI/E,QAAO;EACN;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA"}
1
+ {"version":3,"file":"useAgentRequestStore.mjs","names":[],"sources":["../src/useAgentRequestStore.ts"],"sourcesContent":["import { useLocalStorage } from '@vueuse/core';\nimport type { AgentRequestQuery } from 'n8n-workflow';\nimport { defineStore } from 'pinia';\n\nconst LOCAL_STORAGE_AGENT_REQUESTS = 'N8N_AGENT_REQUESTS';\n\nexport interface IAgentRequest {\n\tquery: AgentRequestQuery;\n\ttoolName?: string;\n}\n\nexport interface IAgentRequestStoreState {\n\t[workflowId: string]: {\n\t\t[nodeName: string]: IAgentRequest;\n\t};\n}\n\nexport const useAgentRequestStore = defineStore('agentRequest', () => {\n\t// State\n\tconst agentRequests = useLocalStorage<IAgentRequestStoreState>(LOCAL_STORAGE_AGENT_REQUESTS, {});\n\n\t// Helper function to ensure workflow and node entries exist\n\tconst ensureWorkflowAndNodeExist = (workflowId: string, nodeId: string): void => {\n\t\tif (!agentRequests.value[workflowId]) {\n\t\t\tagentRequests.value[workflowId] = {};\n\t\t}\n\n\t\tif (!agentRequests.value[workflowId][nodeId]) {\n\t\t\tagentRequests.value[workflowId][nodeId] = { query: {} };\n\t\t}\n\t};\n\n\t// Getters\n\tconst getAgentRequests = (workflowId: string, nodeId: string): IAgentRequest['query'] => {\n\t\treturn agentRequests.value[workflowId]?.[nodeId]?.query || {};\n\t};\n\n\tconst getQueryValue = (\n\t\tworkflowId: string,\n\t\tnodeId: string,\n\t\tnodeName: string,\n\t\tparamName?: string,\n\t): unknown => {\n\t\tconst query = agentRequests.value[workflowId]?.[nodeId]?.query?.[nodeName];\n\t\tif (typeof query === 'string' || !paramName) {\n\t\t\treturn query;\n\t\t}\n\t\treturn query?.[paramName];\n\t};\n\n\tconst setAgentRequestForNode = (\n\t\tworkflowId: string,\n\t\tnodeId: string,\n\t\trequest: IAgentRequest,\n\t): void => {\n\t\tensureWorkflowAndNodeExist(workflowId, nodeId);\n\n\t\tagentRequests.value[workflowId][nodeId] = {\n\t\t\t...request,\n\t\t\tquery: { ...request.query },\n\t\t};\n\t};\n\n\tconst clearAgentRequests = (workflowId: string, nodeId: string): void => {\n\t\tif (agentRequests.value[workflowId]) {\n\t\t\tagentRequests.value[workflowId][nodeId] = { query: {} };\n\t\t}\n\t};\n\n\tconst clearAllAgentRequests = (workflowId?: string): void => {\n\t\tif (workflowId) {\n\t\t\tagentRequests.value[workflowId] = {};\n\t\t} else {\n\t\t\tagentRequests.value = {};\n\t\t}\n\t};\n\n\tconst getAgentRequest = (workflowId: string, nodeId: string): IAgentRequest | undefined => {\n\t\tif (agentRequests.value[workflowId]) return agentRequests.value[workflowId]?.[nodeId];\n\t\treturn undefined;\n\t};\n\n\treturn {\n\t\tagentRequests,\n\t\tgetAgentRequests,\n\t\tgetQueryValue,\n\t\tsetAgentRequestForNode,\n\t\tclearAgentRequests,\n\t\tclearAllAgentRequests,\n\t\tgetAgentRequest,\n\t};\n});\n"],"mappings":";;;;AAIA,MAAM,+BAA+B;AAarC,MAAa,uBAAuB,YAAY,sBAAsB;CAErE,MAAM,gBAAgB,gBAAyC,8BAA8B,EAAE,CAAC;CAGhG,MAAM,8BAA8B,YAAoB,WAAyB;AAChF,MAAI,CAAC,cAAc,MAAM,YACxB,eAAc,MAAM,cAAc,EAAE;AAGrC,MAAI,CAAC,cAAc,MAAM,YAAY,QACpC,eAAc,MAAM,YAAY,UAAU,EAAE,OAAO,EAAE,EAAE;;CAKzD,MAAM,oBAAoB,YAAoB,WAA2C;AACxF,SAAO,cAAc,MAAM,cAAc,SAAS,SAAS,EAAE;;CAG9D,MAAM,iBACL,YACA,QACA,UACA,cACa;EACb,MAAM,QAAQ,cAAc,MAAM,cAAc,SAAS,QAAQ;AACjE,MAAI,OAAO,UAAU,YAAY,CAAC,UACjC,QAAO;AAER,SAAO,QAAQ;;CAGhB,MAAM,0BACL,YACA,QACA,YACU;AACV,6BAA2B,YAAY,OAAO;AAE9C,gBAAc,MAAM,YAAY,UAAU;GACzC,GAAG;GACH,OAAO,EAAE,GAAG,QAAQ,OAAO;GAC3B;;CAGF,MAAM,sBAAsB,YAAoB,WAAyB;AACxE,MAAI,cAAc,MAAM,YACvB,eAAc,MAAM,YAAY,UAAU,EAAE,OAAO,EAAE,EAAE;;CAIzD,MAAM,yBAAyB,eAA8B;AAC5D,MAAI,WACH,eAAc,MAAM,cAAc,EAAE;MAEpC,eAAc,QAAQ,EAAE;;CAI1B,MAAM,mBAAmB,YAAoB,WAA8C;AAC1F,MAAI,cAAc,MAAM,YAAa,QAAO,cAAc,MAAM,cAAc;;AAI/E,QAAO;EACN;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@n8n/stores",
3
3
  "type": "module",
4
- "version": "2.5.1",
4
+ "version": "2.7.0",
5
5
  "files": [
6
6
  "dist",
7
7
  "LICENSE.md",
@@ -23,7 +23,7 @@
23
23
  }
24
24
  },
25
25
  "dependencies": {
26
- "n8n-workflow": "2.5.1"
26
+ "n8n-workflow": "2.7.0"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@testing-library/jest-dom": "^6.6.3",
@@ -41,7 +41,7 @@
41
41
  "vue-tsc": "^2.2.8",
42
42
  "@n8n/eslint-config": "0.0.1",
43
43
  "@n8n/typescript-config": "1.3.0",
44
- "@n8n/vitest-config": "1.5.0"
44
+ "@n8n/vitest-config": "1.6.0"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@vueuse/core": "^10.11.0",