@n8n/stores 1.24.0 → 1.25.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.
- package/dist/{constants-BJ-tXiwj.d.cts → constants-C9J2fW5t.d.ts} +2 -2
- package/dist/{constants-BcqRYAbr.js → constants-DuYkHX7y.js} +2 -2
- package/dist/{constants-BcqRYAbr.js.map → constants-DuYkHX7y.js.map} +1 -1
- package/dist/{constants-GzFkR8Mu.d.ts → constants-DwkrkpBX.d.cts} +2 -2
- package/dist/constants.d.cts +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/{metaTagConfig-DHiZO9w0.js → metaTagConfig-DwSO4X1O.js} +2 -2
- package/dist/{metaTagConfig-DHiZO9w0.js.map → metaTagConfig-DwSO4X1O.js.map} +1 -1
- package/dist/metaTagConfig.js +1 -1
- package/dist/useRootStore.js +2 -2
- package/package.json +4 -4
|
@@ -43,5 +43,5 @@ declare const STORES: {
|
|
|
43
43
|
readonly PERSONALIZED_TEMPLATES_V3: "personalizedTemplatesV3";
|
|
44
44
|
};
|
|
45
45
|
//#endregion
|
|
46
|
-
export { STORES };
|
|
47
|
-
//# sourceMappingURL=constants-
|
|
46
|
+
export { STORES as t };
|
|
47
|
+
//# sourceMappingURL=constants-C9J2fW5t.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants-
|
|
1
|
+
{"version":3,"file":"constants-DuYkHX7y.js","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} 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"}
|
|
@@ -43,5 +43,5 @@ declare const STORES: {
|
|
|
43
43
|
readonly PERSONALIZED_TEMPLATES_V3: "personalizedTemplatesV3";
|
|
44
44
|
};
|
|
45
45
|
//#endregion
|
|
46
|
-
export { STORES };
|
|
47
|
-
//# sourceMappingURL=constants-
|
|
46
|
+
export { STORES as t };
|
|
47
|
+
//# sourceMappingURL=constants-DwkrkpBX.d.cts.map
|
package/dist/constants.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { STORES } from "./constants-
|
|
1
|
+
import { t as STORES } from "./constants-DwkrkpBX.cjs";
|
|
2
2
|
export { STORES };
|
package/dist/constants.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { STORES } from "./constants-
|
|
1
|
+
import { t as STORES } from "./constants-C9J2fW5t.js";
|
|
2
2
|
export { STORES };
|
package/dist/constants.js
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { STORES } from "./constants-
|
|
1
|
+
import { t as STORES } from "./constants-DwkrkpBX.cjs";
|
|
2
2
|
export { STORES };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { STORES } from "./constants-
|
|
1
|
+
import { t as STORES } from "./constants-C9J2fW5t.js";
|
|
2
2
|
export { STORES };
|
package/dist/index.js
CHANGED
|
@@ -33,5 +33,5 @@ function getAndParseConfigFromMetaTag(configName) {
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
//#endregion
|
|
36
|
-
export {
|
|
37
|
-
//# sourceMappingURL=metaTagConfig-
|
|
36
|
+
export { getConfigFromMetaTag as n, getAndParseConfigFromMetaTag as t };
|
|
37
|
+
//# sourceMappingURL=metaTagConfig-DwSO4X1O.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metaTagConfig-
|
|
1
|
+
{"version":3,"file":"metaTagConfig-DwSO4X1O.js","names":[],"sources":["../src/metaTagConfig.ts"],"sourcesContent":["function getTagName(configName: string): string {\n\treturn `n8n:config:${configName}`;\n}\n\n/**\n * Utility function to read and decode base64-encoded configuration values from meta tags\n */\nexport function getConfigFromMetaTag(configName: string): string | null {\n\tconst tagName = getTagName(configName);\n\n\ttry {\n\t\tconst metaTag = document.querySelector(`meta[name=\"${tagName}\"]`);\n\t\tif (!metaTag) {\n\t\t\treturn null;\n\t\t}\n\n\t\tconst encodedContent = metaTag.getAttribute('content');\n\t\tif (!encodedContent) {\n\t\t\treturn null;\n\t\t}\n\n\t\t// Decode base64 content\n\t\tconst content = atob(encodedContent);\n\t\treturn content;\n\t} catch (error) {\n\t\tconsole.warn(`Failed to read n8n config for \"${tagName}\":`, error);\n\t\treturn null;\n\t}\n}\n\n/**\n * Utility function to read and parse configuration values from meta tags\n */\nexport function getAndParseConfigFromMetaTag<T>(configName: string): T | null {\n\tconst config = getConfigFromMetaTag(configName);\n\tif (!config) {\n\t\treturn null;\n\t}\n\n\ttry {\n\t\treturn JSON.parse(config) as T;\n\t} catch (error) {\n\t\tconsole.warn(`Failed to parse n8n config for \"${getTagName(configName)}\":`, error);\n\t\treturn null;\n\t}\n}\n"],"mappings":";AAAA,SAAS,WAAW,YAA4B;AAC/C,QAAO,cAAc;;;;;AAMtB,SAAgB,qBAAqB,YAAmC;CACvE,MAAM,UAAU,WAAW,WAAW;AAEtC,KAAI;EACH,MAAM,UAAU,SAAS,cAAc,cAAc,QAAQ,IAAI;AACjE,MAAI,CAAC,QACJ,QAAO;EAGR,MAAM,iBAAiB,QAAQ,aAAa,UAAU;AACtD,MAAI,CAAC,eACJ,QAAO;AAKR,SADgB,KAAK,eAAe;UAE5B,OAAO;AACf,UAAQ,KAAK,kCAAkC,QAAQ,KAAK,MAAM;AAClE,SAAO;;;;;;AAOT,SAAgB,6BAAgC,YAA8B;CAC7E,MAAM,SAAS,qBAAqB,WAAW;AAC/C,KAAI,CAAC,OACJ,QAAO;AAGR,KAAI;AACH,SAAO,KAAK,MAAM,OAAO;UACjB,OAAO;AACf,UAAQ,KAAK,mCAAmC,WAAW,WAAW,CAAC,KAAK,MAAM;AAClF,SAAO"}
|
package/dist/metaTagConfig.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as getConfigFromMetaTag, t as getAndParseConfigFromMetaTag } from "./metaTagConfig-DwSO4X1O.js";
|
|
2
2
|
|
|
3
3
|
export { getAndParseConfigFromMetaTag, getConfigFromMetaTag };
|
package/dist/useRootStore.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { STORES } from "./constants-
|
|
2
|
-
import { getConfigFromMetaTag } from "./metaTagConfig-
|
|
1
|
+
import { t as STORES } from "./constants-DuYkHX7y.js";
|
|
2
|
+
import { n as getConfigFromMetaTag } from "./metaTagConfig-DwSO4X1O.js";
|
|
3
3
|
import { defineStore } from "pinia";
|
|
4
4
|
import { randomString, setGlobalState } from "n8n-workflow";
|
|
5
5
|
import { computed, ref } from "vue";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@n8n/stores",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.25.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": "1.
|
|
26
|
+
"n8n-workflow": "1.115.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@testing-library/jest-dom": "^6.6.3",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"vite": "npm:rolldown-vite@latest",
|
|
40
40
|
"vitest": "^3.1.3",
|
|
41
41
|
"vue-tsc": "^2.2.8",
|
|
42
|
-
"@n8n/
|
|
42
|
+
"@n8n/typescript-config": "1.3.0",
|
|
43
43
|
"@n8n/vitest-config": "1.5.0",
|
|
44
|
-
"@n8n/
|
|
44
|
+
"@n8n/eslint-config": "0.0.1"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"@vueuse/core": "^10.11.0",
|