@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.
Files changed (38) hide show
  1. package/dist/composables/useBasePageRedirectionHelper.cjs +28 -8
  2. package/dist/composables/useBasePageRedirectionHelper.cjs.map +1 -1
  3. package/dist/composables/useBasePageRedirectionHelper.d.cts +7 -0
  4. package/dist/composables/useBasePageRedirectionHelper.d.mts +7 -0
  5. package/dist/composables/useBasePageRedirectionHelper.mjs +28 -8
  6. package/dist/composables/useBasePageRedirectionHelper.mjs.map +1 -1
  7. package/dist/constants2.cjs +1 -0
  8. package/dist/constants2.cjs.map +1 -1
  9. package/dist/constants2.d.cts +1 -0
  10. package/dist/constants2.d.mts +1 -0
  11. package/dist/constants2.mjs +1 -0
  12. package/dist/constants2.mjs.map +1 -1
  13. package/dist/notifications.store.d.cts +2 -2
  14. package/dist/pageRedirection.d.cts +2 -2
  15. package/dist/pageRedirection.d.mts +2 -2
  16. package/dist/rbac.store.cjs +1 -0
  17. package/dist/rbac.store.cjs.map +1 -1
  18. package/dist/rbac.store.d.cts +51 -45
  19. package/dist/rbac.store.d.mts +51 -45
  20. package/dist/rbac.store.mjs +1 -0
  21. package/dist/rbac.store.mjs.map +1 -1
  22. package/dist/roles.store.d.cts +21 -21
  23. package/dist/roles.store.d.mts +21 -21
  24. package/dist/settings.store.d.cts +250 -244
  25. package/dist/settings.store.d.mts +250 -244
  26. package/dist/settings2.store.cjs +9 -0
  27. package/dist/settings2.store.cjs.map +1 -1
  28. package/dist/settings2.store.mjs +9 -0
  29. package/dist/settings2.store.mjs.map +1 -1
  30. package/dist/useAgentRequestStore.d.cts +2 -2
  31. package/dist/useAgentRequestStore.d.mts +2 -2
  32. package/dist/useRootStore.d.cts +75 -75
  33. package/dist/useRootStore.d.mts +75 -75
  34. package/dist/users.store.d.cts +49 -49
  35. package/dist/users.store.d.mts +51 -51
  36. package/dist/versions.store.d.cts +30 -30
  37. package/dist/versions.store.d.mts +30 -30
  38. package/package.json +13 -13
@@ -1,15 +1,15 @@
1
- import * as vue62 from "vue";
2
- import * as pinia1 from "pinia";
1
+ import * as vue419 from "vue";
2
+ import * as pinia6 from "pinia";
3
3
  import { Role } from "@n8n/api-types";
4
4
  import { Resource, Scope, ScopeOptions } from "@n8n/permissions";
5
5
 
6
6
  //#region src/rbac.store.d.ts
7
- declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
8
- globalRoles: vue62.Ref<Role[], Role[]>;
9
- rolesByProjectId: vue62.Ref<Record<string, string[]>, Record<string, string[]>>;
10
- globalScopes: vue62.Ref<Scope[], Scope[]>;
11
- scopesByProjectId: vue62.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
12
- scopesByResourceId: vue62.Ref<{
7
+ declare const useRBACStore: pinia6.StoreDefinition<"rbac", Pick<{
8
+ globalRoles: vue419.Ref<Role[], Role[]>;
9
+ rolesByProjectId: vue419.Ref<Record<string, string[]>, Record<string, string[]>>;
10
+ globalScopes: vue419.Ref<Scope[], Scope[]>;
11
+ scopesByProjectId: vue419.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
12
+ scopesByResourceId: vue419.Ref<{
13
13
  chatHub: Record<string, Scope[]>;
14
14
  logStreaming: Record<string, Scope[]>;
15
15
  aiAssistant: Record<string, Scope[]>;
@@ -25,24 +25,26 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
25
25
  mcp: Record<string, Scope[]>;
26
26
  otel: Record<string, Scope[]>;
27
27
  role: Record<string, Scope[]>;
28
+ apiKey: Record<string, Scope[]>;
29
+ project: Record<string, Scope[]>;
30
+ credential: Record<string, Scope[]>;
31
+ workflow: Record<string, Scope[]>;
28
32
  agent: Record<string, Scope[]>;
29
33
  annotationTag: Record<string, Scope[]>;
30
34
  banner: Record<string, Scope[]>;
31
35
  communityPackage: Record<string, Scope[]>;
32
- credential: Record<string, Scope[]>;
33
36
  externalSecretsProvider: Record<string, Scope[]>;
34
37
  externalSecret: Record<string, Scope[]>;
35
38
  eventBusDestination: Record<string, Scope[]>;
36
39
  orchestration: Record<string, Scope[]>;
37
- project: Record<string, Scope[]>;
38
40
  securityAudit: Record<string, Scope[]>;
39
41
  securitySettings: Record<string, Scope[]>;
42
+ gitConnection: Record<string, Scope[]>;
40
43
  tag: Record<string, Scope[]>;
41
44
  user: Record<string, Scope[]>;
42
45
  variable: Record<string, Scope[]>;
43
46
  projectVariable: Record<string, Scope[]>;
44
47
  workersView: Record<string, Scope[]>;
45
- workflow: Record<string, Scope[]>;
46
48
  folder: Record<string, Scope[]>;
47
49
  dataTable: Record<string, Scope[]>;
48
50
  execution: Record<string, Scope[]>;
@@ -51,12 +53,11 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
51
53
  mcpApiKey: Record<string, Scope[]>;
52
54
  chatHubAgent: Record<string, Scope[]>;
53
55
  breakingChanges: Record<string, Scope[]>;
54
- apiKey: Record<string, Scope[]>;
55
56
  encryptionKey: Record<string, Scope[]>;
56
57
  credentialResolver: Record<string, Scope[]>;
57
58
  instanceAi: Record<string, Scope[]>;
58
59
  roleMappingRule: Record<string, Scope[]>;
59
- }, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "agent" | "annotationTag" | "banner" | "communityPackage" | "credential" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "project" | "securityAudit" | "securitySettings" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "workflow" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "apiKey" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule", Record<string, Scope[]>> | {
60
+ }, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "apiKey" | "project" | "credential" | "workflow" | "agent" | "annotationTag" | "banner" | "communityPackage" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "securityAudit" | "securitySettings" | "gitConnection" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule", Record<string, Scope[]>> | {
60
61
  chatHub: Record<string, Scope[]>;
61
62
  logStreaming: Record<string, Scope[]>;
62
63
  aiAssistant: Record<string, Scope[]>;
@@ -72,24 +73,26 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
72
73
  mcp: Record<string, Scope[]>;
73
74
  otel: Record<string, Scope[]>;
74
75
  role: Record<string, Scope[]>;
76
+ apiKey: Record<string, Scope[]>;
77
+ project: Record<string, Scope[]>;
78
+ credential: Record<string, Scope[]>;
79
+ workflow: Record<string, Scope[]>;
75
80
  agent: Record<string, Scope[]>;
76
81
  annotationTag: Record<string, Scope[]>;
77
82
  banner: Record<string, Scope[]>;
78
83
  communityPackage: Record<string, Scope[]>;
79
- credential: Record<string, Scope[]>;
80
84
  externalSecretsProvider: Record<string, Scope[]>;
81
85
  externalSecret: Record<string, Scope[]>;
82
86
  eventBusDestination: Record<string, Scope[]>;
83
87
  orchestration: Record<string, Scope[]>;
84
- project: Record<string, Scope[]>;
85
88
  securityAudit: Record<string, Scope[]>;
86
89
  securitySettings: Record<string, Scope[]>;
90
+ gitConnection: Record<string, Scope[]>;
87
91
  tag: Record<string, Scope[]>;
88
92
  user: Record<string, Scope[]>;
89
93
  variable: Record<string, Scope[]>;
90
94
  projectVariable: Record<string, Scope[]>;
91
95
  workersView: Record<string, Scope[]>;
92
- workflow: Record<string, Scope[]>;
93
96
  folder: Record<string, Scope[]>;
94
97
  dataTable: Record<string, Scope[]>;
95
98
  execution: Record<string, Scope[]>;
@@ -98,7 +101,6 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
98
101
  mcpApiKey: Record<string, Scope[]>;
99
102
  chatHubAgent: Record<string, Scope[]>;
100
103
  breakingChanges: Record<string, Scope[]>;
101
- apiKey: Record<string, Scope[]>;
102
104
  encryptionKey: Record<string, Scope[]>;
103
105
  credentialResolver: Record<string, Scope[]>;
104
106
  instanceAi: Record<string, Scope[]>;
@@ -121,11 +123,11 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
121
123
  projectId?: string;
122
124
  }, options?: ScopeOptions) => boolean;
123
125
  }, "globalRoles" | "rolesByProjectId" | "globalScopes" | "scopesByProjectId" | "scopesByResourceId">, Pick<{
124
- globalRoles: vue62.Ref<Role[], Role[]>;
125
- rolesByProjectId: vue62.Ref<Record<string, string[]>, Record<string, string[]>>;
126
- globalScopes: vue62.Ref<Scope[], Scope[]>;
127
- scopesByProjectId: vue62.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
128
- scopesByResourceId: vue62.Ref<{
126
+ globalRoles: vue419.Ref<Role[], Role[]>;
127
+ rolesByProjectId: vue419.Ref<Record<string, string[]>, Record<string, string[]>>;
128
+ globalScopes: vue419.Ref<Scope[], Scope[]>;
129
+ scopesByProjectId: vue419.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
130
+ scopesByResourceId: vue419.Ref<{
129
131
  chatHub: Record<string, Scope[]>;
130
132
  logStreaming: Record<string, Scope[]>;
131
133
  aiAssistant: Record<string, Scope[]>;
@@ -141,24 +143,26 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
141
143
  mcp: Record<string, Scope[]>;
142
144
  otel: Record<string, Scope[]>;
143
145
  role: Record<string, Scope[]>;
146
+ apiKey: Record<string, Scope[]>;
147
+ project: Record<string, Scope[]>;
148
+ credential: Record<string, Scope[]>;
149
+ workflow: Record<string, Scope[]>;
144
150
  agent: Record<string, Scope[]>;
145
151
  annotationTag: Record<string, Scope[]>;
146
152
  banner: Record<string, Scope[]>;
147
153
  communityPackage: Record<string, Scope[]>;
148
- credential: Record<string, Scope[]>;
149
154
  externalSecretsProvider: Record<string, Scope[]>;
150
155
  externalSecret: Record<string, Scope[]>;
151
156
  eventBusDestination: Record<string, Scope[]>;
152
157
  orchestration: Record<string, Scope[]>;
153
- project: Record<string, Scope[]>;
154
158
  securityAudit: Record<string, Scope[]>;
155
159
  securitySettings: Record<string, Scope[]>;
160
+ gitConnection: Record<string, Scope[]>;
156
161
  tag: Record<string, Scope[]>;
157
162
  user: Record<string, Scope[]>;
158
163
  variable: Record<string, Scope[]>;
159
164
  projectVariable: Record<string, Scope[]>;
160
165
  workersView: Record<string, Scope[]>;
161
- workflow: Record<string, Scope[]>;
162
166
  folder: Record<string, Scope[]>;
163
167
  dataTable: Record<string, Scope[]>;
164
168
  execution: Record<string, Scope[]>;
@@ -167,12 +171,11 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
167
171
  mcpApiKey: Record<string, Scope[]>;
168
172
  chatHubAgent: Record<string, Scope[]>;
169
173
  breakingChanges: Record<string, Scope[]>;
170
- apiKey: Record<string, Scope[]>;
171
174
  encryptionKey: Record<string, Scope[]>;
172
175
  credentialResolver: Record<string, Scope[]>;
173
176
  instanceAi: Record<string, Scope[]>;
174
177
  roleMappingRule: Record<string, Scope[]>;
175
- }, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "agent" | "annotationTag" | "banner" | "communityPackage" | "credential" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "project" | "securityAudit" | "securitySettings" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "workflow" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "apiKey" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule", Record<string, Scope[]>> | {
178
+ }, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "apiKey" | "project" | "credential" | "workflow" | "agent" | "annotationTag" | "banner" | "communityPackage" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "securityAudit" | "securitySettings" | "gitConnection" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule", Record<string, Scope[]>> | {
176
179
  chatHub: Record<string, Scope[]>;
177
180
  logStreaming: Record<string, Scope[]>;
178
181
  aiAssistant: Record<string, Scope[]>;
@@ -188,24 +191,26 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
188
191
  mcp: Record<string, Scope[]>;
189
192
  otel: Record<string, Scope[]>;
190
193
  role: Record<string, Scope[]>;
194
+ apiKey: Record<string, Scope[]>;
195
+ project: Record<string, Scope[]>;
196
+ credential: Record<string, Scope[]>;
197
+ workflow: Record<string, Scope[]>;
191
198
  agent: Record<string, Scope[]>;
192
199
  annotationTag: Record<string, Scope[]>;
193
200
  banner: Record<string, Scope[]>;
194
201
  communityPackage: Record<string, Scope[]>;
195
- credential: Record<string, Scope[]>;
196
202
  externalSecretsProvider: Record<string, Scope[]>;
197
203
  externalSecret: Record<string, Scope[]>;
198
204
  eventBusDestination: Record<string, Scope[]>;
199
205
  orchestration: Record<string, Scope[]>;
200
- project: Record<string, Scope[]>;
201
206
  securityAudit: Record<string, Scope[]>;
202
207
  securitySettings: Record<string, Scope[]>;
208
+ gitConnection: Record<string, Scope[]>;
203
209
  tag: Record<string, Scope[]>;
204
210
  user: Record<string, Scope[]>;
205
211
  variable: Record<string, Scope[]>;
206
212
  projectVariable: Record<string, Scope[]>;
207
213
  workersView: Record<string, Scope[]>;
208
- workflow: Record<string, Scope[]>;
209
214
  folder: Record<string, Scope[]>;
210
215
  dataTable: Record<string, Scope[]>;
211
216
  execution: Record<string, Scope[]>;
@@ -214,7 +219,6 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
214
219
  mcpApiKey: Record<string, Scope[]>;
215
220
  chatHubAgent: Record<string, Scope[]>;
216
221
  breakingChanges: Record<string, Scope[]>;
217
- apiKey: Record<string, Scope[]>;
218
222
  encryptionKey: Record<string, Scope[]>;
219
223
  credentialResolver: Record<string, Scope[]>;
220
224
  instanceAi: Record<string, Scope[]>;
@@ -237,11 +241,11 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
237
241
  projectId?: string;
238
242
  }, options?: ScopeOptions) => boolean;
239
243
  }, never>, Pick<{
240
- globalRoles: vue62.Ref<Role[], Role[]>;
241
- rolesByProjectId: vue62.Ref<Record<string, string[]>, Record<string, string[]>>;
242
- globalScopes: vue62.Ref<Scope[], Scope[]>;
243
- scopesByProjectId: vue62.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
244
- scopesByResourceId: vue62.Ref<{
244
+ globalRoles: vue419.Ref<Role[], Role[]>;
245
+ rolesByProjectId: vue419.Ref<Record<string, string[]>, Record<string, string[]>>;
246
+ globalScopes: vue419.Ref<Scope[], Scope[]>;
247
+ scopesByProjectId: vue419.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
248
+ scopesByResourceId: vue419.Ref<{
245
249
  chatHub: Record<string, Scope[]>;
246
250
  logStreaming: Record<string, Scope[]>;
247
251
  aiAssistant: Record<string, Scope[]>;
@@ -257,24 +261,26 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
257
261
  mcp: Record<string, Scope[]>;
258
262
  otel: Record<string, Scope[]>;
259
263
  role: Record<string, Scope[]>;
264
+ apiKey: Record<string, Scope[]>;
265
+ project: Record<string, Scope[]>;
266
+ credential: Record<string, Scope[]>;
267
+ workflow: Record<string, Scope[]>;
260
268
  agent: Record<string, Scope[]>;
261
269
  annotationTag: Record<string, Scope[]>;
262
270
  banner: Record<string, Scope[]>;
263
271
  communityPackage: Record<string, Scope[]>;
264
- credential: Record<string, Scope[]>;
265
272
  externalSecretsProvider: Record<string, Scope[]>;
266
273
  externalSecret: Record<string, Scope[]>;
267
274
  eventBusDestination: Record<string, Scope[]>;
268
275
  orchestration: Record<string, Scope[]>;
269
- project: Record<string, Scope[]>;
270
276
  securityAudit: Record<string, Scope[]>;
271
277
  securitySettings: Record<string, Scope[]>;
278
+ gitConnection: Record<string, Scope[]>;
272
279
  tag: Record<string, Scope[]>;
273
280
  user: Record<string, Scope[]>;
274
281
  variable: Record<string, Scope[]>;
275
282
  projectVariable: Record<string, Scope[]>;
276
283
  workersView: Record<string, Scope[]>;
277
- workflow: Record<string, Scope[]>;
278
284
  folder: Record<string, Scope[]>;
279
285
  dataTable: Record<string, Scope[]>;
280
286
  execution: Record<string, Scope[]>;
@@ -283,12 +289,11 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
283
289
  mcpApiKey: Record<string, Scope[]>;
284
290
  chatHubAgent: Record<string, Scope[]>;
285
291
  breakingChanges: Record<string, Scope[]>;
286
- apiKey: Record<string, Scope[]>;
287
292
  encryptionKey: Record<string, Scope[]>;
288
293
  credentialResolver: Record<string, Scope[]>;
289
294
  instanceAi: Record<string, Scope[]>;
290
295
  roleMappingRule: Record<string, Scope[]>;
291
- }, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "agent" | "annotationTag" | "banner" | "communityPackage" | "credential" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "project" | "securityAudit" | "securitySettings" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "workflow" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "apiKey" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule", Record<string, Scope[]>> | {
296
+ }, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "apiKey" | "project" | "credential" | "workflow" | "agent" | "annotationTag" | "banner" | "communityPackage" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "securityAudit" | "securitySettings" | "gitConnection" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule", Record<string, Scope[]>> | {
292
297
  chatHub: Record<string, Scope[]>;
293
298
  logStreaming: Record<string, Scope[]>;
294
299
  aiAssistant: Record<string, Scope[]>;
@@ -304,24 +309,26 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
304
309
  mcp: Record<string, Scope[]>;
305
310
  otel: Record<string, Scope[]>;
306
311
  role: Record<string, Scope[]>;
312
+ apiKey: Record<string, Scope[]>;
313
+ project: Record<string, Scope[]>;
314
+ credential: Record<string, Scope[]>;
315
+ workflow: Record<string, Scope[]>;
307
316
  agent: Record<string, Scope[]>;
308
317
  annotationTag: Record<string, Scope[]>;
309
318
  banner: Record<string, Scope[]>;
310
319
  communityPackage: Record<string, Scope[]>;
311
- credential: Record<string, Scope[]>;
312
320
  externalSecretsProvider: Record<string, Scope[]>;
313
321
  externalSecret: Record<string, Scope[]>;
314
322
  eventBusDestination: Record<string, Scope[]>;
315
323
  orchestration: Record<string, Scope[]>;
316
- project: Record<string, Scope[]>;
317
324
  securityAudit: Record<string, Scope[]>;
318
325
  securitySettings: Record<string, Scope[]>;
326
+ gitConnection: Record<string, Scope[]>;
319
327
  tag: Record<string, Scope[]>;
320
328
  user: Record<string, Scope[]>;
321
329
  variable: Record<string, Scope[]>;
322
330
  projectVariable: Record<string, Scope[]>;
323
331
  workersView: Record<string, Scope[]>;
324
- workflow: Record<string, Scope[]>;
325
332
  folder: Record<string, Scope[]>;
326
333
  dataTable: Record<string, Scope[]>;
327
334
  execution: Record<string, Scope[]>;
@@ -330,7 +337,6 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
330
337
  mcpApiKey: Record<string, Scope[]>;
331
338
  chatHubAgent: Record<string, Scope[]>;
332
339
  breakingChanges: Record<string, Scope[]>;
333
- apiKey: Record<string, Scope[]>;
334
340
  encryptionKey: Record<string, Scope[]>;
335
341
  credentialResolver: Record<string, Scope[]>;
336
342
  instanceAi: Record<string, Scope[]>;
@@ -1,15 +1,15 @@
1
- import * as pinia1 from "pinia";
2
- import * as vue62 from "vue";
1
+ import * as pinia7 from "pinia";
2
+ import * as vue467 from "vue";
3
3
  import { Role } from "@n8n/api-types";
4
4
  import { Resource, Scope, ScopeOptions } from "@n8n/permissions";
5
5
 
6
6
  //#region src/rbac.store.d.ts
7
- declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
8
- globalRoles: vue62.Ref<Role[], Role[]>;
9
- rolesByProjectId: vue62.Ref<Record<string, string[]>, Record<string, string[]>>;
10
- globalScopes: vue62.Ref<Scope[], Scope[]>;
11
- scopesByProjectId: vue62.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
12
- scopesByResourceId: vue62.Ref<{
7
+ declare const useRBACStore: pinia7.StoreDefinition<"rbac", Pick<{
8
+ globalRoles: vue467.Ref<Role[], Role[]>;
9
+ rolesByProjectId: vue467.Ref<Record<string, string[]>, Record<string, string[]>>;
10
+ globalScopes: vue467.Ref<Scope[], Scope[]>;
11
+ scopesByProjectId: vue467.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
12
+ scopesByResourceId: vue467.Ref<{
13
13
  chatHub: Record<string, Scope[]>;
14
14
  logStreaming: Record<string, Scope[]>;
15
15
  aiAssistant: Record<string, Scope[]>;
@@ -25,24 +25,26 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
25
25
  mcp: Record<string, Scope[]>;
26
26
  otel: Record<string, Scope[]>;
27
27
  role: Record<string, Scope[]>;
28
+ apiKey: Record<string, Scope[]>;
29
+ project: Record<string, Scope[]>;
30
+ credential: Record<string, Scope[]>;
31
+ workflow: Record<string, Scope[]>;
28
32
  agent: Record<string, Scope[]>;
29
33
  annotationTag: Record<string, Scope[]>;
30
34
  banner: Record<string, Scope[]>;
31
35
  communityPackage: Record<string, Scope[]>;
32
- credential: Record<string, Scope[]>;
33
36
  externalSecretsProvider: Record<string, Scope[]>;
34
37
  externalSecret: Record<string, Scope[]>;
35
38
  eventBusDestination: Record<string, Scope[]>;
36
39
  orchestration: Record<string, Scope[]>;
37
- project: Record<string, Scope[]>;
38
40
  securityAudit: Record<string, Scope[]>;
39
41
  securitySettings: Record<string, Scope[]>;
42
+ gitConnection: Record<string, Scope[]>;
40
43
  tag: Record<string, Scope[]>;
41
44
  user: Record<string, Scope[]>;
42
45
  variable: Record<string, Scope[]>;
43
46
  projectVariable: Record<string, Scope[]>;
44
47
  workersView: Record<string, Scope[]>;
45
- workflow: Record<string, Scope[]>;
46
48
  folder: Record<string, Scope[]>;
47
49
  dataTable: Record<string, Scope[]>;
48
50
  execution: Record<string, Scope[]>;
@@ -51,12 +53,11 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
51
53
  mcpApiKey: Record<string, Scope[]>;
52
54
  chatHubAgent: Record<string, Scope[]>;
53
55
  breakingChanges: Record<string, Scope[]>;
54
- apiKey: Record<string, Scope[]>;
55
56
  encryptionKey: Record<string, Scope[]>;
56
57
  credentialResolver: Record<string, Scope[]>;
57
58
  instanceAi: Record<string, Scope[]>;
58
59
  roleMappingRule: Record<string, Scope[]>;
59
- }, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "agent" | "annotationTag" | "banner" | "communityPackage" | "credential" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "project" | "securityAudit" | "securitySettings" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "workflow" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "apiKey" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule", Record<string, Scope[]>> | {
60
+ }, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "apiKey" | "project" | "credential" | "workflow" | "agent" | "annotationTag" | "banner" | "communityPackage" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "securityAudit" | "securitySettings" | "gitConnection" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule", Record<string, Scope[]>> | {
60
61
  chatHub: Record<string, Scope[]>;
61
62
  logStreaming: Record<string, Scope[]>;
62
63
  aiAssistant: Record<string, Scope[]>;
@@ -72,24 +73,26 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
72
73
  mcp: Record<string, Scope[]>;
73
74
  otel: Record<string, Scope[]>;
74
75
  role: Record<string, Scope[]>;
76
+ apiKey: Record<string, Scope[]>;
77
+ project: Record<string, Scope[]>;
78
+ credential: Record<string, Scope[]>;
79
+ workflow: Record<string, Scope[]>;
75
80
  agent: Record<string, Scope[]>;
76
81
  annotationTag: Record<string, Scope[]>;
77
82
  banner: Record<string, Scope[]>;
78
83
  communityPackage: Record<string, Scope[]>;
79
- credential: Record<string, Scope[]>;
80
84
  externalSecretsProvider: Record<string, Scope[]>;
81
85
  externalSecret: Record<string, Scope[]>;
82
86
  eventBusDestination: Record<string, Scope[]>;
83
87
  orchestration: Record<string, Scope[]>;
84
- project: Record<string, Scope[]>;
85
88
  securityAudit: Record<string, Scope[]>;
86
89
  securitySettings: Record<string, Scope[]>;
90
+ gitConnection: Record<string, Scope[]>;
87
91
  tag: Record<string, Scope[]>;
88
92
  user: Record<string, Scope[]>;
89
93
  variable: Record<string, Scope[]>;
90
94
  projectVariable: Record<string, Scope[]>;
91
95
  workersView: Record<string, Scope[]>;
92
- workflow: Record<string, Scope[]>;
93
96
  folder: Record<string, Scope[]>;
94
97
  dataTable: Record<string, Scope[]>;
95
98
  execution: Record<string, Scope[]>;
@@ -98,7 +101,6 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
98
101
  mcpApiKey: Record<string, Scope[]>;
99
102
  chatHubAgent: Record<string, Scope[]>;
100
103
  breakingChanges: Record<string, Scope[]>;
101
- apiKey: Record<string, Scope[]>;
102
104
  encryptionKey: Record<string, Scope[]>;
103
105
  credentialResolver: Record<string, Scope[]>;
104
106
  instanceAi: Record<string, Scope[]>;
@@ -121,11 +123,11 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
121
123
  projectId?: string;
122
124
  }, options?: ScopeOptions) => boolean;
123
125
  }, "globalRoles" | "rolesByProjectId" | "globalScopes" | "scopesByProjectId" | "scopesByResourceId">, Pick<{
124
- globalRoles: vue62.Ref<Role[], Role[]>;
125
- rolesByProjectId: vue62.Ref<Record<string, string[]>, Record<string, string[]>>;
126
- globalScopes: vue62.Ref<Scope[], Scope[]>;
127
- scopesByProjectId: vue62.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
128
- scopesByResourceId: vue62.Ref<{
126
+ globalRoles: vue467.Ref<Role[], Role[]>;
127
+ rolesByProjectId: vue467.Ref<Record<string, string[]>, Record<string, string[]>>;
128
+ globalScopes: vue467.Ref<Scope[], Scope[]>;
129
+ scopesByProjectId: vue467.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
130
+ scopesByResourceId: vue467.Ref<{
129
131
  chatHub: Record<string, Scope[]>;
130
132
  logStreaming: Record<string, Scope[]>;
131
133
  aiAssistant: Record<string, Scope[]>;
@@ -141,24 +143,26 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
141
143
  mcp: Record<string, Scope[]>;
142
144
  otel: Record<string, Scope[]>;
143
145
  role: Record<string, Scope[]>;
146
+ apiKey: Record<string, Scope[]>;
147
+ project: Record<string, Scope[]>;
148
+ credential: Record<string, Scope[]>;
149
+ workflow: Record<string, Scope[]>;
144
150
  agent: Record<string, Scope[]>;
145
151
  annotationTag: Record<string, Scope[]>;
146
152
  banner: Record<string, Scope[]>;
147
153
  communityPackage: Record<string, Scope[]>;
148
- credential: Record<string, Scope[]>;
149
154
  externalSecretsProvider: Record<string, Scope[]>;
150
155
  externalSecret: Record<string, Scope[]>;
151
156
  eventBusDestination: Record<string, Scope[]>;
152
157
  orchestration: Record<string, Scope[]>;
153
- project: Record<string, Scope[]>;
154
158
  securityAudit: Record<string, Scope[]>;
155
159
  securitySettings: Record<string, Scope[]>;
160
+ gitConnection: Record<string, Scope[]>;
156
161
  tag: Record<string, Scope[]>;
157
162
  user: Record<string, Scope[]>;
158
163
  variable: Record<string, Scope[]>;
159
164
  projectVariable: Record<string, Scope[]>;
160
165
  workersView: Record<string, Scope[]>;
161
- workflow: Record<string, Scope[]>;
162
166
  folder: Record<string, Scope[]>;
163
167
  dataTable: Record<string, Scope[]>;
164
168
  execution: Record<string, Scope[]>;
@@ -167,12 +171,11 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
167
171
  mcpApiKey: Record<string, Scope[]>;
168
172
  chatHubAgent: Record<string, Scope[]>;
169
173
  breakingChanges: Record<string, Scope[]>;
170
- apiKey: Record<string, Scope[]>;
171
174
  encryptionKey: Record<string, Scope[]>;
172
175
  credentialResolver: Record<string, Scope[]>;
173
176
  instanceAi: Record<string, Scope[]>;
174
177
  roleMappingRule: Record<string, Scope[]>;
175
- }, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "agent" | "annotationTag" | "banner" | "communityPackage" | "credential" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "project" | "securityAudit" | "securitySettings" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "workflow" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "apiKey" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule", Record<string, Scope[]>> | {
178
+ }, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "apiKey" | "project" | "credential" | "workflow" | "agent" | "annotationTag" | "banner" | "communityPackage" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "securityAudit" | "securitySettings" | "gitConnection" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule", Record<string, Scope[]>> | {
176
179
  chatHub: Record<string, Scope[]>;
177
180
  logStreaming: Record<string, Scope[]>;
178
181
  aiAssistant: Record<string, Scope[]>;
@@ -188,24 +191,26 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
188
191
  mcp: Record<string, Scope[]>;
189
192
  otel: Record<string, Scope[]>;
190
193
  role: Record<string, Scope[]>;
194
+ apiKey: Record<string, Scope[]>;
195
+ project: Record<string, Scope[]>;
196
+ credential: Record<string, Scope[]>;
197
+ workflow: Record<string, Scope[]>;
191
198
  agent: Record<string, Scope[]>;
192
199
  annotationTag: Record<string, Scope[]>;
193
200
  banner: Record<string, Scope[]>;
194
201
  communityPackage: Record<string, Scope[]>;
195
- credential: Record<string, Scope[]>;
196
202
  externalSecretsProvider: Record<string, Scope[]>;
197
203
  externalSecret: Record<string, Scope[]>;
198
204
  eventBusDestination: Record<string, Scope[]>;
199
205
  orchestration: Record<string, Scope[]>;
200
- project: Record<string, Scope[]>;
201
206
  securityAudit: Record<string, Scope[]>;
202
207
  securitySettings: Record<string, Scope[]>;
208
+ gitConnection: Record<string, Scope[]>;
203
209
  tag: Record<string, Scope[]>;
204
210
  user: Record<string, Scope[]>;
205
211
  variable: Record<string, Scope[]>;
206
212
  projectVariable: Record<string, Scope[]>;
207
213
  workersView: Record<string, Scope[]>;
208
- workflow: Record<string, Scope[]>;
209
214
  folder: Record<string, Scope[]>;
210
215
  dataTable: Record<string, Scope[]>;
211
216
  execution: Record<string, Scope[]>;
@@ -214,7 +219,6 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
214
219
  mcpApiKey: Record<string, Scope[]>;
215
220
  chatHubAgent: Record<string, Scope[]>;
216
221
  breakingChanges: Record<string, Scope[]>;
217
- apiKey: Record<string, Scope[]>;
218
222
  encryptionKey: Record<string, Scope[]>;
219
223
  credentialResolver: Record<string, Scope[]>;
220
224
  instanceAi: Record<string, Scope[]>;
@@ -237,11 +241,11 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
237
241
  projectId?: string;
238
242
  }, options?: ScopeOptions) => boolean;
239
243
  }, never>, Pick<{
240
- globalRoles: vue62.Ref<Role[], Role[]>;
241
- rolesByProjectId: vue62.Ref<Record<string, string[]>, Record<string, string[]>>;
242
- globalScopes: vue62.Ref<Scope[], Scope[]>;
243
- scopesByProjectId: vue62.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
244
- scopesByResourceId: vue62.Ref<{
244
+ globalRoles: vue467.Ref<Role[], Role[]>;
245
+ rolesByProjectId: vue467.Ref<Record<string, string[]>, Record<string, string[]>>;
246
+ globalScopes: vue467.Ref<Scope[], Scope[]>;
247
+ scopesByProjectId: vue467.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
248
+ scopesByResourceId: vue467.Ref<{
245
249
  chatHub: Record<string, Scope[]>;
246
250
  logStreaming: Record<string, Scope[]>;
247
251
  aiAssistant: Record<string, Scope[]>;
@@ -257,24 +261,26 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
257
261
  mcp: Record<string, Scope[]>;
258
262
  otel: Record<string, Scope[]>;
259
263
  role: Record<string, Scope[]>;
264
+ apiKey: Record<string, Scope[]>;
265
+ project: Record<string, Scope[]>;
266
+ credential: Record<string, Scope[]>;
267
+ workflow: Record<string, Scope[]>;
260
268
  agent: Record<string, Scope[]>;
261
269
  annotationTag: Record<string, Scope[]>;
262
270
  banner: Record<string, Scope[]>;
263
271
  communityPackage: Record<string, Scope[]>;
264
- credential: Record<string, Scope[]>;
265
272
  externalSecretsProvider: Record<string, Scope[]>;
266
273
  externalSecret: Record<string, Scope[]>;
267
274
  eventBusDestination: Record<string, Scope[]>;
268
275
  orchestration: Record<string, Scope[]>;
269
- project: Record<string, Scope[]>;
270
276
  securityAudit: Record<string, Scope[]>;
271
277
  securitySettings: Record<string, Scope[]>;
278
+ gitConnection: Record<string, Scope[]>;
272
279
  tag: Record<string, Scope[]>;
273
280
  user: Record<string, Scope[]>;
274
281
  variable: Record<string, Scope[]>;
275
282
  projectVariable: Record<string, Scope[]>;
276
283
  workersView: Record<string, Scope[]>;
277
- workflow: Record<string, Scope[]>;
278
284
  folder: Record<string, Scope[]>;
279
285
  dataTable: Record<string, Scope[]>;
280
286
  execution: Record<string, Scope[]>;
@@ -283,12 +289,11 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
283
289
  mcpApiKey: Record<string, Scope[]>;
284
290
  chatHubAgent: Record<string, Scope[]>;
285
291
  breakingChanges: Record<string, Scope[]>;
286
- apiKey: Record<string, Scope[]>;
287
292
  encryptionKey: Record<string, Scope[]>;
288
293
  credentialResolver: Record<string, Scope[]>;
289
294
  instanceAi: Record<string, Scope[]>;
290
295
  roleMappingRule: Record<string, Scope[]>;
291
- }, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "agent" | "annotationTag" | "banner" | "communityPackage" | "credential" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "project" | "securityAudit" | "securitySettings" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "workflow" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "apiKey" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule", Record<string, Scope[]>> | {
296
+ }, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "apiKey" | "project" | "credential" | "workflow" | "agent" | "annotationTag" | "banner" | "communityPackage" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "securityAudit" | "securitySettings" | "gitConnection" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule", Record<string, Scope[]>> | {
292
297
  chatHub: Record<string, Scope[]>;
293
298
  logStreaming: Record<string, Scope[]>;
294
299
  aiAssistant: Record<string, Scope[]>;
@@ -304,24 +309,26 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
304
309
  mcp: Record<string, Scope[]>;
305
310
  otel: Record<string, Scope[]>;
306
311
  role: Record<string, Scope[]>;
312
+ apiKey: Record<string, Scope[]>;
313
+ project: Record<string, Scope[]>;
314
+ credential: Record<string, Scope[]>;
315
+ workflow: Record<string, Scope[]>;
307
316
  agent: Record<string, Scope[]>;
308
317
  annotationTag: Record<string, Scope[]>;
309
318
  banner: Record<string, Scope[]>;
310
319
  communityPackage: Record<string, Scope[]>;
311
- credential: Record<string, Scope[]>;
312
320
  externalSecretsProvider: Record<string, Scope[]>;
313
321
  externalSecret: Record<string, Scope[]>;
314
322
  eventBusDestination: Record<string, Scope[]>;
315
323
  orchestration: Record<string, Scope[]>;
316
- project: Record<string, Scope[]>;
317
324
  securityAudit: Record<string, Scope[]>;
318
325
  securitySettings: Record<string, Scope[]>;
326
+ gitConnection: Record<string, Scope[]>;
319
327
  tag: Record<string, Scope[]>;
320
328
  user: Record<string, Scope[]>;
321
329
  variable: Record<string, Scope[]>;
322
330
  projectVariable: Record<string, Scope[]>;
323
331
  workersView: Record<string, Scope[]>;
324
- workflow: Record<string, Scope[]>;
325
332
  folder: Record<string, Scope[]>;
326
333
  dataTable: Record<string, Scope[]>;
327
334
  execution: Record<string, Scope[]>;
@@ -330,7 +337,6 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
330
337
  mcpApiKey: Record<string, Scope[]>;
331
338
  chatHubAgent: Record<string, Scope[]>;
332
339
  breakingChanges: Record<string, Scope[]>;
333
- apiKey: Record<string, Scope[]>;
334
340
  encryptionKey: Record<string, Scope[]>;
335
341
  credentialResolver: Record<string, Scope[]>;
336
342
  instanceAi: Record<string, Scope[]>;
@@ -20,6 +20,7 @@ const useRBACStore = defineStore(STORES.RBAC, () => {
20
20
  variable: {},
21
21
  projectVariable: {},
22
22
  sourceControl: {},
23
+ gitConnection: {},
23
24
  externalSecretsProvider: {},
24
25
  externalSecret: {},
25
26
  project: {},