@n8n/stores 2.32.2 → 2.34.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.
Files changed (106) hide show
  1. package/dist/cloudPlan.store.cjs +7 -0
  2. package/dist/cloudPlan.store.d.cts +534 -0
  3. package/dist/cloudPlan.store.d.mts +534 -0
  4. package/dist/cloudPlan.store.mjs +7 -0
  5. package/dist/cloudPlan2.store.cjs +247 -0
  6. package/dist/cloudPlan2.store.cjs.map +1 -0
  7. package/dist/cloudPlan2.store.mjs +242 -0
  8. package/dist/cloudPlan2.store.mjs.map +1 -0
  9. package/dist/composables/useBasePageRedirectionHelper.cjs +87 -0
  10. package/dist/composables/useBasePageRedirectionHelper.cjs.map +1 -0
  11. package/dist/composables/useBasePageRedirectionHelper.d.cts +16 -0
  12. package/dist/composables/useBasePageRedirectionHelper.d.mts +16 -0
  13. package/dist/composables/useBasePageRedirectionHelper.mjs +87 -0
  14. package/dist/composables/useBasePageRedirectionHelper.mjs.map +1 -0
  15. package/dist/constants2.cjs +2 -0
  16. package/dist/constants2.cjs.map +1 -1
  17. package/dist/constants2.d.cts +2 -0
  18. package/dist/constants2.d.mts +2 -0
  19. package/dist/constants2.mjs +2 -0
  20. package/dist/constants2.mjs.map +1 -1
  21. package/dist/invitation.api.cjs +4 -0
  22. package/dist/invitation.api.d.cts +2 -0
  23. package/dist/invitation.api.d.mts +2 -0
  24. package/dist/invitation.api.mjs +3 -0
  25. package/dist/invitation2.api.cjs +26 -0
  26. package/dist/invitation2.api.cjs.map +1 -0
  27. package/dist/invitation2.api.d.cts +30 -0
  28. package/dist/invitation2.api.d.mts +30 -0
  29. package/dist/invitation2.api.mjs +14 -0
  30. package/dist/invitation2.api.mjs.map +1 -0
  31. package/dist/modalOpeners.cjs +0 -0
  32. package/dist/modalOpeners.d.cts +2 -0
  33. package/dist/modalOpeners.d.mts +2 -0
  34. package/dist/modalOpeners.mjs +1 -0
  35. package/dist/modalOpeners2.d.cts +11 -0
  36. package/dist/modalOpeners2.d.mts +11 -0
  37. package/dist/notifications.store.cjs +27 -0
  38. package/dist/notifications.store.cjs.map +1 -0
  39. package/dist/notifications.store.d.cts +15 -0
  40. package/dist/notifications.store.d.mts +15 -0
  41. package/dist/notifications.store.mjs +26 -0
  42. package/dist/notifications.store.mjs.map +1 -0
  43. package/dist/onboarding.api.cjs +3 -0
  44. package/dist/onboarding.api.d.cts +7 -0
  45. package/dist/onboarding.api.d.mts +7 -0
  46. package/dist/onboarding.api.mjs +3 -0
  47. package/dist/onboarding2.api.cjs +24 -0
  48. package/dist/onboarding2.api.cjs.map +1 -0
  49. package/dist/onboarding2.api.mjs +18 -0
  50. package/dist/onboarding2.api.mjs.map +1 -0
  51. package/dist/pageRedirection.d.cts +6 -0
  52. package/dist/pageRedirection.d.mts +6 -0
  53. package/dist/rbac.store.cjs +2 -1
  54. package/dist/rbac.store.cjs.map +1 -1
  55. package/dist/rbac.store.d.cts +123 -123
  56. package/dist/rbac.store.d.mts +124 -124
  57. package/dist/rbac.store.mjs +1 -1
  58. package/dist/roles.store.cjs +88 -0
  59. package/dist/roles.store.cjs.map +1 -0
  60. package/dist/roles.store.d.cts +637 -0
  61. package/dist/roles.store.d.mts +637 -0
  62. package/dist/roles.store.mjs +87 -0
  63. package/dist/roles.store.mjs.map +1 -0
  64. package/dist/settings.store.cjs +6 -0
  65. package/dist/settings.store.d.cts +3801 -0
  66. package/dist/settings.store.d.mts +3801 -0
  67. package/dist/settings.store.mjs +6 -0
  68. package/dist/settings2.store.cjs +387 -0
  69. package/dist/settings2.store.cjs.map +1 -0
  70. package/dist/settings2.store.mjs +348 -0
  71. package/dist/settings2.store.mjs.map +1 -0
  72. package/dist/types/pageRedirection.cjs +0 -0
  73. package/dist/types/pageRedirection.d.cts +2 -0
  74. package/dist/types/pageRedirection.d.mts +2 -0
  75. package/dist/types/pageRedirection.mjs +1 -0
  76. package/dist/useAgentRequestStore.cjs +1 -0
  77. package/dist/useAgentRequestStore.cjs.map +1 -1
  78. package/dist/useAgentRequestStore.d.cts +1 -1
  79. package/dist/useAgentRequestStore.d.mts +6 -6
  80. package/dist/useRootStore.cjs +4 -182
  81. package/dist/useRootStore.d.cts +73 -73
  82. package/dist/useRootStore.d.mts +73 -73
  83. package/dist/useRootStore.mjs +4 -182
  84. package/dist/useRootStore2.cjs +189 -0
  85. package/dist/useRootStore2.cjs.map +1 -0
  86. package/dist/useRootStore2.mjs +183 -0
  87. package/dist/useRootStore2.mjs.map +1 -0
  88. package/dist/users.store.cjs +9 -0
  89. package/dist/users.store.d.cts +552 -0
  90. package/dist/users.store.d.mts +552 -0
  91. package/dist/users.store.mjs +9 -0
  92. package/dist/users2.store.cjs +362 -0
  93. package/dist/users2.store.cjs.map +1 -0
  94. package/dist/users2.store.mjs +353 -0
  95. package/dist/users2.store.mjs.map +1 -0
  96. package/dist/versions.store.cjs +11 -0
  97. package/dist/versions.store.d.cts +384 -0
  98. package/dist/versions.store.d.mts +384 -0
  99. package/dist/versions.store.mjs +10 -0
  100. package/dist/versions2.store.cjs +230 -0
  101. package/dist/versions2.store.cjs.map +1 -0
  102. package/dist/versions2.store.mjs +218 -0
  103. package/dist/versions2.store.mjs.map +1 -0
  104. package/package.json +13 -6
  105. package/dist/useRootStore.cjs.map +0 -1
  106. package/dist/useRootStore.mjs.map +0 -1
@@ -0,0 +1,384 @@
1
+ import { t as ModalOpeners } from "./modalOpeners2.cjs";
2
+ import * as vue371 from "vue";
3
+ import * as pinia6 from "pinia";
4
+ import { IVersionNotificationSettings } from "@n8n/api-types";
5
+ import * as n8n_workflow5 from "n8n-workflow";
6
+ import * as versionsApi from "@n8n/rest-api-client/api/versions";
7
+ import { Version } from "@n8n/rest-api-client/api/versions";
8
+
9
+ //#region src/versions.store.d.ts
10
+ type SetVersionParams = {
11
+ versions: Version[];
12
+ currentVersion: string;
13
+ };
14
+ declare const SEMVER_REGEX: RegExp;
15
+ declare const useVersionsStore: pinia6.StoreDefinition<"versions", Pick<{
16
+ currentVersion: vue371.Ref<versionsApi.Version | undefined, versionsApi.Version | undefined>;
17
+ latestVersion: vue371.ComputedRef<{
18
+ name: string;
19
+ nodes: {
20
+ name: string;
21
+ displayName: string;
22
+ icon: string;
23
+ iconUrl?: string | undefined;
24
+ defaults: n8n_workflow5.INodeParameters;
25
+ iconData: {
26
+ type: string;
27
+ icon?: string | undefined;
28
+ fileBuffer?: string | undefined;
29
+ };
30
+ typeVersion?: number | undefined;
31
+ }[];
32
+ createdAt: string;
33
+ description: string;
34
+ documentationUrl: string;
35
+ hasBreakingChange: boolean;
36
+ hasSecurityFix: boolean;
37
+ hasSecurityIssue: boolean;
38
+ securityIssueFixVersion: string;
39
+ }>;
40
+ nextVersions: vue371.Ref<{
41
+ name: string;
42
+ nodes: {
43
+ name: string;
44
+ displayName: string;
45
+ icon: string;
46
+ iconUrl?: string | undefined;
47
+ defaults: n8n_workflow5.INodeParameters;
48
+ iconData: {
49
+ type: string;
50
+ icon?: string | undefined;
51
+ fileBuffer?: string | undefined;
52
+ };
53
+ typeVersion?: number | undefined;
54
+ }[];
55
+ createdAt: string;
56
+ description: string;
57
+ documentationUrl: string;
58
+ hasBreakingChange: boolean;
59
+ hasSecurityFix: boolean;
60
+ hasSecurityIssue: boolean;
61
+ securityIssueFixVersion: string;
62
+ }[], versionsApi.Version[] | {
63
+ name: string;
64
+ nodes: {
65
+ name: string;
66
+ displayName: string;
67
+ icon: string;
68
+ iconUrl?: string | undefined;
69
+ defaults: n8n_workflow5.INodeParameters;
70
+ iconData: {
71
+ type: string;
72
+ icon?: string | undefined;
73
+ fileBuffer?: string | undefined;
74
+ };
75
+ typeVersion?: number | undefined;
76
+ }[];
77
+ createdAt: string;
78
+ description: string;
79
+ documentationUrl: string;
80
+ hasBreakingChange: boolean;
81
+ hasSecurityFix: boolean;
82
+ hasSecurityIssue: boolean;
83
+ securityIssueFixVersion: string;
84
+ }[]>;
85
+ hasVersionUpdates: vue371.ComputedRef<boolean>;
86
+ hasSignificantUpdates: vue371.ComputedRef<boolean>;
87
+ areNotificationsEnabled: vue371.ComputedRef<boolean>;
88
+ infoUrl: vue371.ComputedRef<string>;
89
+ fetchVersions: () => Promise<void>;
90
+ setVersions: (params: SetVersionParams) => void;
91
+ initialize: (settings: IVersionNotificationSettings) => void;
92
+ registerModalOpeners: (openers: ModalOpeners) => void;
93
+ checkForNewVersions: () => Promise<void>;
94
+ fetchWhatsNew: () => Promise<void>;
95
+ whatsNew: vue371.Ref<{
96
+ title: string;
97
+ calloutText: string;
98
+ footer: string;
99
+ items: {
100
+ id: number;
101
+ createdAt: string;
102
+ updatedAt: string | null;
103
+ publishedAt: string;
104
+ title: string;
105
+ content: string;
106
+ }[];
107
+ createdAt: string;
108
+ updatedAt: string | null;
109
+ }, versionsApi.WhatsNewSection | {
110
+ title: string;
111
+ calloutText: string;
112
+ footer: string;
113
+ items: {
114
+ id: number;
115
+ createdAt: string;
116
+ updatedAt: string | null;
117
+ publishedAt: string;
118
+ title: string;
119
+ content: string;
120
+ }[];
121
+ createdAt: string;
122
+ updatedAt: string | null;
123
+ }>;
124
+ whatsNewArticles: vue371.ComputedRef<{
125
+ id: number;
126
+ createdAt: string;
127
+ updatedAt: string | null;
128
+ publishedAt: string;
129
+ title: string;
130
+ content: string;
131
+ }[]>;
132
+ isWhatsNewArticleRead: (articleId: number) => boolean;
133
+ setWhatsNewArticleRead: (articleId: number) => void;
134
+ closeWhatsNewCallout: () => void;
135
+ shouldShowWhatsNewCallout: () => boolean;
136
+ dismissWhatsNewCallout: () => void;
137
+ }, "currentVersion" | "nextVersions" | "whatsNew">, Pick<{
138
+ currentVersion: vue371.Ref<versionsApi.Version | undefined, versionsApi.Version | undefined>;
139
+ latestVersion: vue371.ComputedRef<{
140
+ name: string;
141
+ nodes: {
142
+ name: string;
143
+ displayName: string;
144
+ icon: string;
145
+ iconUrl?: string | undefined;
146
+ defaults: n8n_workflow5.INodeParameters;
147
+ iconData: {
148
+ type: string;
149
+ icon?: string | undefined;
150
+ fileBuffer?: string | undefined;
151
+ };
152
+ typeVersion?: number | undefined;
153
+ }[];
154
+ createdAt: string;
155
+ description: string;
156
+ documentationUrl: string;
157
+ hasBreakingChange: boolean;
158
+ hasSecurityFix: boolean;
159
+ hasSecurityIssue: boolean;
160
+ securityIssueFixVersion: string;
161
+ }>;
162
+ nextVersions: vue371.Ref<{
163
+ name: string;
164
+ nodes: {
165
+ name: string;
166
+ displayName: string;
167
+ icon: string;
168
+ iconUrl?: string | undefined;
169
+ defaults: n8n_workflow5.INodeParameters;
170
+ iconData: {
171
+ type: string;
172
+ icon?: string | undefined;
173
+ fileBuffer?: string | undefined;
174
+ };
175
+ typeVersion?: number | undefined;
176
+ }[];
177
+ createdAt: string;
178
+ description: string;
179
+ documentationUrl: string;
180
+ hasBreakingChange: boolean;
181
+ hasSecurityFix: boolean;
182
+ hasSecurityIssue: boolean;
183
+ securityIssueFixVersion: string;
184
+ }[], versionsApi.Version[] | {
185
+ name: string;
186
+ nodes: {
187
+ name: string;
188
+ displayName: string;
189
+ icon: string;
190
+ iconUrl?: string | undefined;
191
+ defaults: n8n_workflow5.INodeParameters;
192
+ iconData: {
193
+ type: string;
194
+ icon?: string | undefined;
195
+ fileBuffer?: string | undefined;
196
+ };
197
+ typeVersion?: number | undefined;
198
+ }[];
199
+ createdAt: string;
200
+ description: string;
201
+ documentationUrl: string;
202
+ hasBreakingChange: boolean;
203
+ hasSecurityFix: boolean;
204
+ hasSecurityIssue: boolean;
205
+ securityIssueFixVersion: string;
206
+ }[]>;
207
+ hasVersionUpdates: vue371.ComputedRef<boolean>;
208
+ hasSignificantUpdates: vue371.ComputedRef<boolean>;
209
+ areNotificationsEnabled: vue371.ComputedRef<boolean>;
210
+ infoUrl: vue371.ComputedRef<string>;
211
+ fetchVersions: () => Promise<void>;
212
+ setVersions: (params: SetVersionParams) => void;
213
+ initialize: (settings: IVersionNotificationSettings) => void;
214
+ registerModalOpeners: (openers: ModalOpeners) => void;
215
+ checkForNewVersions: () => Promise<void>;
216
+ fetchWhatsNew: () => Promise<void>;
217
+ whatsNew: vue371.Ref<{
218
+ title: string;
219
+ calloutText: string;
220
+ footer: string;
221
+ items: {
222
+ id: number;
223
+ createdAt: string;
224
+ updatedAt: string | null;
225
+ publishedAt: string;
226
+ title: string;
227
+ content: string;
228
+ }[];
229
+ createdAt: string;
230
+ updatedAt: string | null;
231
+ }, versionsApi.WhatsNewSection | {
232
+ title: string;
233
+ calloutText: string;
234
+ footer: string;
235
+ items: {
236
+ id: number;
237
+ createdAt: string;
238
+ updatedAt: string | null;
239
+ publishedAt: string;
240
+ title: string;
241
+ content: string;
242
+ }[];
243
+ createdAt: string;
244
+ updatedAt: string | null;
245
+ }>;
246
+ whatsNewArticles: vue371.ComputedRef<{
247
+ id: number;
248
+ createdAt: string;
249
+ updatedAt: string | null;
250
+ publishedAt: string;
251
+ title: string;
252
+ content: string;
253
+ }[]>;
254
+ isWhatsNewArticleRead: (articleId: number) => boolean;
255
+ setWhatsNewArticleRead: (articleId: number) => void;
256
+ closeWhatsNewCallout: () => void;
257
+ shouldShowWhatsNewCallout: () => boolean;
258
+ dismissWhatsNewCallout: () => void;
259
+ }, "latestVersion" | "infoUrl" | "hasVersionUpdates" | "hasSignificantUpdates" | "areNotificationsEnabled" | "whatsNewArticles">, Pick<{
260
+ currentVersion: vue371.Ref<versionsApi.Version | undefined, versionsApi.Version | undefined>;
261
+ latestVersion: vue371.ComputedRef<{
262
+ name: string;
263
+ nodes: {
264
+ name: string;
265
+ displayName: string;
266
+ icon: string;
267
+ iconUrl?: string | undefined;
268
+ defaults: n8n_workflow5.INodeParameters;
269
+ iconData: {
270
+ type: string;
271
+ icon?: string | undefined;
272
+ fileBuffer?: string | undefined;
273
+ };
274
+ typeVersion?: number | undefined;
275
+ }[];
276
+ createdAt: string;
277
+ description: string;
278
+ documentationUrl: string;
279
+ hasBreakingChange: boolean;
280
+ hasSecurityFix: boolean;
281
+ hasSecurityIssue: boolean;
282
+ securityIssueFixVersion: string;
283
+ }>;
284
+ nextVersions: vue371.Ref<{
285
+ name: string;
286
+ nodes: {
287
+ name: string;
288
+ displayName: string;
289
+ icon: string;
290
+ iconUrl?: string | undefined;
291
+ defaults: n8n_workflow5.INodeParameters;
292
+ iconData: {
293
+ type: string;
294
+ icon?: string | undefined;
295
+ fileBuffer?: string | undefined;
296
+ };
297
+ typeVersion?: number | undefined;
298
+ }[];
299
+ createdAt: string;
300
+ description: string;
301
+ documentationUrl: string;
302
+ hasBreakingChange: boolean;
303
+ hasSecurityFix: boolean;
304
+ hasSecurityIssue: boolean;
305
+ securityIssueFixVersion: string;
306
+ }[], versionsApi.Version[] | {
307
+ name: string;
308
+ nodes: {
309
+ name: string;
310
+ displayName: string;
311
+ icon: string;
312
+ iconUrl?: string | undefined;
313
+ defaults: n8n_workflow5.INodeParameters;
314
+ iconData: {
315
+ type: string;
316
+ icon?: string | undefined;
317
+ fileBuffer?: string | undefined;
318
+ };
319
+ typeVersion?: number | undefined;
320
+ }[];
321
+ createdAt: string;
322
+ description: string;
323
+ documentationUrl: string;
324
+ hasBreakingChange: boolean;
325
+ hasSecurityFix: boolean;
326
+ hasSecurityIssue: boolean;
327
+ securityIssueFixVersion: string;
328
+ }[]>;
329
+ hasVersionUpdates: vue371.ComputedRef<boolean>;
330
+ hasSignificantUpdates: vue371.ComputedRef<boolean>;
331
+ areNotificationsEnabled: vue371.ComputedRef<boolean>;
332
+ infoUrl: vue371.ComputedRef<string>;
333
+ fetchVersions: () => Promise<void>;
334
+ setVersions: (params: SetVersionParams) => void;
335
+ initialize: (settings: IVersionNotificationSettings) => void;
336
+ registerModalOpeners: (openers: ModalOpeners) => void;
337
+ checkForNewVersions: () => Promise<void>;
338
+ fetchWhatsNew: () => Promise<void>;
339
+ whatsNew: vue371.Ref<{
340
+ title: string;
341
+ calloutText: string;
342
+ footer: string;
343
+ items: {
344
+ id: number;
345
+ createdAt: string;
346
+ updatedAt: string | null;
347
+ publishedAt: string;
348
+ title: string;
349
+ content: string;
350
+ }[];
351
+ createdAt: string;
352
+ updatedAt: string | null;
353
+ }, versionsApi.WhatsNewSection | {
354
+ title: string;
355
+ calloutText: string;
356
+ footer: string;
357
+ items: {
358
+ id: number;
359
+ createdAt: string;
360
+ updatedAt: string | null;
361
+ publishedAt: string;
362
+ title: string;
363
+ content: string;
364
+ }[];
365
+ createdAt: string;
366
+ updatedAt: string | null;
367
+ }>;
368
+ whatsNewArticles: vue371.ComputedRef<{
369
+ id: number;
370
+ createdAt: string;
371
+ updatedAt: string | null;
372
+ publishedAt: string;
373
+ title: string;
374
+ content: string;
375
+ }[]>;
376
+ isWhatsNewArticleRead: (articleId: number) => boolean;
377
+ setWhatsNewArticleRead: (articleId: number) => void;
378
+ closeWhatsNewCallout: () => void;
379
+ shouldShowWhatsNewCallout: () => boolean;
380
+ dismissWhatsNewCallout: () => void;
381
+ }, "initialize" | "registerModalOpeners" | "fetchVersions" | "setVersions" | "checkForNewVersions" | "fetchWhatsNew" | "isWhatsNewArticleRead" | "setWhatsNewArticleRead" | "closeWhatsNewCallout" | "shouldShowWhatsNewCallout" | "dismissWhatsNewCallout">>;
382
+ //#endregion
383
+ export { SEMVER_REGEX, useVersionsStore };
384
+ //# sourceMappingURL=versions.store.d.cts.map