@n8n/stores 2.36.2 → 2.37.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/composables/useBasePageRedirectionHelper.cjs +28 -8
- package/dist/composables/useBasePageRedirectionHelper.cjs.map +1 -1
- package/dist/composables/useBasePageRedirectionHelper.d.cts +7 -0
- package/dist/composables/useBasePageRedirectionHelper.d.mts +7 -0
- package/dist/composables/useBasePageRedirectionHelper.mjs +28 -8
- package/dist/composables/useBasePageRedirectionHelper.mjs.map +1 -1
- package/dist/constants2.cjs +1 -0
- package/dist/constants2.cjs.map +1 -1
- package/dist/constants2.d.cts +1 -0
- package/dist/constants2.d.mts +1 -0
- package/dist/constants2.mjs +1 -0
- package/dist/constants2.mjs.map +1 -1
- package/dist/notifications.store.d.cts +2 -2
- package/dist/pageRedirection.d.cts +2 -2
- package/dist/pageRedirection.d.mts +2 -2
- package/dist/rbac.store.cjs +1 -0
- package/dist/rbac.store.cjs.map +1 -1
- package/dist/rbac.store.d.cts +51 -45
- package/dist/rbac.store.d.mts +51 -45
- package/dist/rbac.store.mjs +1 -0
- package/dist/rbac.store.mjs.map +1 -1
- package/dist/roles.store.d.cts +21 -21
- package/dist/roles.store.d.mts +21 -21
- package/dist/settings.store.d.cts +250 -244
- package/dist/settings.store.d.mts +250 -244
- package/dist/settings2.store.cjs +9 -0
- package/dist/settings2.store.cjs.map +1 -1
- package/dist/settings2.store.mjs +9 -0
- package/dist/settings2.store.mjs.map +1 -1
- package/dist/useAgentRequestStore.d.cts +2 -2
- package/dist/useAgentRequestStore.d.mts +2 -2
- package/dist/useRootStore.d.cts +75 -75
- package/dist/useRootStore.d.mts +75 -75
- package/dist/users.store.d.cts +49 -49
- package/dist/users.store.d.mts +51 -51
- package/dist/versions.store.d.cts +30 -30
- package/dist/versions.store.d.mts +30 -30
- package/package.json +13 -13
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as ModalOpeners } from "./modalOpeners2.mjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as pinia6 from "pinia";
|
|
3
|
+
import * as vue440 from "vue";
|
|
4
4
|
import { IVersionNotificationSettings } from "@n8n/api-types";
|
|
5
5
|
import * as n8n_workflow5 from "n8n-workflow";
|
|
6
6
|
import * as versionsApi from "@n8n/rest-api-client/api/versions";
|
|
@@ -12,9 +12,9 @@ type SetVersionParams = {
|
|
|
12
12
|
currentVersion: string;
|
|
13
13
|
};
|
|
14
14
|
declare const SEMVER_REGEX: RegExp;
|
|
15
|
-
declare const useVersionsStore:
|
|
16
|
-
currentVersion:
|
|
17
|
-
latestVersion:
|
|
15
|
+
declare const useVersionsStore: pinia6.StoreDefinition<"versions", Pick<{
|
|
16
|
+
currentVersion: vue440.Ref<versionsApi.Version | undefined, versionsApi.Version | undefined>;
|
|
17
|
+
latestVersion: vue440.ComputedRef<{
|
|
18
18
|
name: string;
|
|
19
19
|
nodes: {
|
|
20
20
|
name: string;
|
|
@@ -37,7 +37,7 @@ declare const useVersionsStore: pinia7.StoreDefinition<"versions", Pick<{
|
|
|
37
37
|
hasSecurityIssue: boolean;
|
|
38
38
|
securityIssueFixVersion: string;
|
|
39
39
|
}>;
|
|
40
|
-
nextVersions:
|
|
40
|
+
nextVersions: vue440.Ref<{
|
|
41
41
|
name: string;
|
|
42
42
|
nodes: {
|
|
43
43
|
name: string;
|
|
@@ -82,17 +82,17 @@ declare const useVersionsStore: pinia7.StoreDefinition<"versions", Pick<{
|
|
|
82
82
|
hasSecurityIssue: boolean;
|
|
83
83
|
securityIssueFixVersion: string;
|
|
84
84
|
}[]>;
|
|
85
|
-
hasVersionUpdates:
|
|
86
|
-
hasSignificantUpdates:
|
|
87
|
-
areNotificationsEnabled:
|
|
88
|
-
infoUrl:
|
|
85
|
+
hasVersionUpdates: vue440.ComputedRef<boolean>;
|
|
86
|
+
hasSignificantUpdates: vue440.ComputedRef<boolean>;
|
|
87
|
+
areNotificationsEnabled: vue440.ComputedRef<boolean>;
|
|
88
|
+
infoUrl: vue440.ComputedRef<string>;
|
|
89
89
|
fetchVersions: () => Promise<void>;
|
|
90
90
|
setVersions: (params: SetVersionParams) => void;
|
|
91
91
|
initialize: (settings: IVersionNotificationSettings) => void;
|
|
92
92
|
registerModalOpeners: (openers: ModalOpeners) => void;
|
|
93
93
|
checkForNewVersions: () => Promise<void>;
|
|
94
94
|
fetchWhatsNew: () => Promise<void>;
|
|
95
|
-
whatsNew:
|
|
95
|
+
whatsNew: vue440.Ref<{
|
|
96
96
|
title: string;
|
|
97
97
|
calloutText: string;
|
|
98
98
|
footer: string;
|
|
@@ -121,7 +121,7 @@ declare const useVersionsStore: pinia7.StoreDefinition<"versions", Pick<{
|
|
|
121
121
|
createdAt: string;
|
|
122
122
|
updatedAt: string | null;
|
|
123
123
|
}>;
|
|
124
|
-
whatsNewArticles:
|
|
124
|
+
whatsNewArticles: vue440.ComputedRef<{
|
|
125
125
|
id: number;
|
|
126
126
|
createdAt: string;
|
|
127
127
|
updatedAt: string | null;
|
|
@@ -135,8 +135,8 @@ declare const useVersionsStore: pinia7.StoreDefinition<"versions", Pick<{
|
|
|
135
135
|
shouldShowWhatsNewCallout: () => boolean;
|
|
136
136
|
dismissWhatsNewCallout: () => void;
|
|
137
137
|
}, "currentVersion" | "nextVersions" | "whatsNew">, Pick<{
|
|
138
|
-
currentVersion:
|
|
139
|
-
latestVersion:
|
|
138
|
+
currentVersion: vue440.Ref<versionsApi.Version | undefined, versionsApi.Version | undefined>;
|
|
139
|
+
latestVersion: vue440.ComputedRef<{
|
|
140
140
|
name: string;
|
|
141
141
|
nodes: {
|
|
142
142
|
name: string;
|
|
@@ -159,7 +159,7 @@ declare const useVersionsStore: pinia7.StoreDefinition<"versions", Pick<{
|
|
|
159
159
|
hasSecurityIssue: boolean;
|
|
160
160
|
securityIssueFixVersion: string;
|
|
161
161
|
}>;
|
|
162
|
-
nextVersions:
|
|
162
|
+
nextVersions: vue440.Ref<{
|
|
163
163
|
name: string;
|
|
164
164
|
nodes: {
|
|
165
165
|
name: string;
|
|
@@ -204,17 +204,17 @@ declare const useVersionsStore: pinia7.StoreDefinition<"versions", Pick<{
|
|
|
204
204
|
hasSecurityIssue: boolean;
|
|
205
205
|
securityIssueFixVersion: string;
|
|
206
206
|
}[]>;
|
|
207
|
-
hasVersionUpdates:
|
|
208
|
-
hasSignificantUpdates:
|
|
209
|
-
areNotificationsEnabled:
|
|
210
|
-
infoUrl:
|
|
207
|
+
hasVersionUpdates: vue440.ComputedRef<boolean>;
|
|
208
|
+
hasSignificantUpdates: vue440.ComputedRef<boolean>;
|
|
209
|
+
areNotificationsEnabled: vue440.ComputedRef<boolean>;
|
|
210
|
+
infoUrl: vue440.ComputedRef<string>;
|
|
211
211
|
fetchVersions: () => Promise<void>;
|
|
212
212
|
setVersions: (params: SetVersionParams) => void;
|
|
213
213
|
initialize: (settings: IVersionNotificationSettings) => void;
|
|
214
214
|
registerModalOpeners: (openers: ModalOpeners) => void;
|
|
215
215
|
checkForNewVersions: () => Promise<void>;
|
|
216
216
|
fetchWhatsNew: () => Promise<void>;
|
|
217
|
-
whatsNew:
|
|
217
|
+
whatsNew: vue440.Ref<{
|
|
218
218
|
title: string;
|
|
219
219
|
calloutText: string;
|
|
220
220
|
footer: string;
|
|
@@ -243,7 +243,7 @@ declare const useVersionsStore: pinia7.StoreDefinition<"versions", Pick<{
|
|
|
243
243
|
createdAt: string;
|
|
244
244
|
updatedAt: string | null;
|
|
245
245
|
}>;
|
|
246
|
-
whatsNewArticles:
|
|
246
|
+
whatsNewArticles: vue440.ComputedRef<{
|
|
247
247
|
id: number;
|
|
248
248
|
createdAt: string;
|
|
249
249
|
updatedAt: string | null;
|
|
@@ -257,8 +257,8 @@ declare const useVersionsStore: pinia7.StoreDefinition<"versions", Pick<{
|
|
|
257
257
|
shouldShowWhatsNewCallout: () => boolean;
|
|
258
258
|
dismissWhatsNewCallout: () => void;
|
|
259
259
|
}, "latestVersion" | "infoUrl" | "hasVersionUpdates" | "hasSignificantUpdates" | "areNotificationsEnabled" | "whatsNewArticles">, Pick<{
|
|
260
|
-
currentVersion:
|
|
261
|
-
latestVersion:
|
|
260
|
+
currentVersion: vue440.Ref<versionsApi.Version | undefined, versionsApi.Version | undefined>;
|
|
261
|
+
latestVersion: vue440.ComputedRef<{
|
|
262
262
|
name: string;
|
|
263
263
|
nodes: {
|
|
264
264
|
name: string;
|
|
@@ -281,7 +281,7 @@ declare const useVersionsStore: pinia7.StoreDefinition<"versions", Pick<{
|
|
|
281
281
|
hasSecurityIssue: boolean;
|
|
282
282
|
securityIssueFixVersion: string;
|
|
283
283
|
}>;
|
|
284
|
-
nextVersions:
|
|
284
|
+
nextVersions: vue440.Ref<{
|
|
285
285
|
name: string;
|
|
286
286
|
nodes: {
|
|
287
287
|
name: string;
|
|
@@ -326,17 +326,17 @@ declare const useVersionsStore: pinia7.StoreDefinition<"versions", Pick<{
|
|
|
326
326
|
hasSecurityIssue: boolean;
|
|
327
327
|
securityIssueFixVersion: string;
|
|
328
328
|
}[]>;
|
|
329
|
-
hasVersionUpdates:
|
|
330
|
-
hasSignificantUpdates:
|
|
331
|
-
areNotificationsEnabled:
|
|
332
|
-
infoUrl:
|
|
329
|
+
hasVersionUpdates: vue440.ComputedRef<boolean>;
|
|
330
|
+
hasSignificantUpdates: vue440.ComputedRef<boolean>;
|
|
331
|
+
areNotificationsEnabled: vue440.ComputedRef<boolean>;
|
|
332
|
+
infoUrl: vue440.ComputedRef<string>;
|
|
333
333
|
fetchVersions: () => Promise<void>;
|
|
334
334
|
setVersions: (params: SetVersionParams) => void;
|
|
335
335
|
initialize: (settings: IVersionNotificationSettings) => void;
|
|
336
336
|
registerModalOpeners: (openers: ModalOpeners) => void;
|
|
337
337
|
checkForNewVersions: () => Promise<void>;
|
|
338
338
|
fetchWhatsNew: () => Promise<void>;
|
|
339
|
-
whatsNew:
|
|
339
|
+
whatsNew: vue440.Ref<{
|
|
340
340
|
title: string;
|
|
341
341
|
calloutText: string;
|
|
342
342
|
footer: string;
|
|
@@ -365,7 +365,7 @@ declare const useVersionsStore: pinia7.StoreDefinition<"versions", Pick<{
|
|
|
365
365
|
createdAt: string;
|
|
366
366
|
updatedAt: string | null;
|
|
367
367
|
}>;
|
|
368
|
-
whatsNewArticles:
|
|
368
|
+
whatsNewArticles: vue440.ComputedRef<{
|
|
369
369
|
id: number;
|
|
370
370
|
createdAt: string;
|
|
371
371
|
updatedAt: string | null;
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@n8n/stores",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.37.0",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
7
|
-
"
|
|
8
|
-
"
|
|
7
|
+
"LICENSE.md",
|
|
8
|
+
"LICENSE_EE.md"
|
|
9
9
|
],
|
|
10
10
|
"main": "dist/index.cjs",
|
|
11
11
|
"module": "dist/index.mjs",
|
|
@@ -27,20 +27,20 @@
|
|
|
27
27
|
"bowser": "2.11.0",
|
|
28
28
|
"pinia": "^2.2.4",
|
|
29
29
|
"vue": "^3.5.13",
|
|
30
|
-
"@n8n/api-types": "1.
|
|
31
|
-
"@n8n/
|
|
32
|
-
"@n8n/
|
|
33
|
-
"@n8n/constants": "0.
|
|
34
|
-
"@n8n/
|
|
35
|
-
"@n8n/
|
|
36
|
-
"n8n-workflow": "2.
|
|
37
|
-
"@n8n/rest-api-client": "2.
|
|
30
|
+
"@n8n/api-types": "1.37.0",
|
|
31
|
+
"@n8n/composables": "1.27.0",
|
|
32
|
+
"@n8n/constants": "0.36.0",
|
|
33
|
+
"@n8n/frontend-constants": "0.5.0",
|
|
34
|
+
"@n8n/permissions": "0.74.0",
|
|
35
|
+
"@n8n/i18n": "2.37.0",
|
|
36
|
+
"n8n-workflow": "2.37.0",
|
|
37
|
+
"@n8n/rest-api-client": "2.37.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@testing-library/jest-dom": "^6.6.3",
|
|
41
41
|
"@testing-library/user-event": "^14.6.1",
|
|
42
42
|
"@testing-library/vue": "^8.1.0",
|
|
43
|
-
"@vitejs/plugin-vue": "^
|
|
43
|
+
"@vitejs/plugin-vue": "^6.0.8",
|
|
44
44
|
"@vue/tsconfig": "^0.7.0",
|
|
45
45
|
"@vueuse/core": "^14.3.0",
|
|
46
46
|
"tsdown": "^0.16.5",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"vitest-mock-extended": "^3.1.0",
|
|
51
51
|
"vue-tsc": "^2.2.8",
|
|
52
52
|
"@n8n/eslint-config": "0.0.1",
|
|
53
|
-
"@n8n/playwright-janitor": "0.1.0",
|
|
54
53
|
"@n8n/vitest-config": "1.21.0",
|
|
54
|
+
"@n8n/playwright-janitor": "0.1.0",
|
|
55
55
|
"@n8n/typescript-config": "1.10.0"
|
|
56
56
|
},
|
|
57
57
|
"license": "SEE LICENSE IN LICENSE.md",
|