@n8n/stores 2.37.0 → 2.37.2

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.
@@ -1,5 +1,5 @@
1
1
  import { Ref } from "vue";
2
- import * as pinia4 from "pinia";
2
+ import * as pinia0 from "pinia";
3
3
 
4
4
  //#region src/notifications.store.d.ts
5
5
  interface NotificationsStore {
@@ -9,7 +9,7 @@ interface NotificationsStore {
9
9
  allowErrors?: boolean;
10
10
  }) => void;
11
11
  }
12
- declare const useNotificationsStore: pinia4.StoreDefinition<"notifications", Pick<NotificationsStore, "areNotificationsSuppressed" | "allowErrorNotificationsWhenSuppressed">, Pick<NotificationsStore, never>, Pick<NotificationsStore, "setNotificationsSuppressed">>;
12
+ declare const useNotificationsStore: pinia0.StoreDefinition<"notifications", Pick<NotificationsStore, "areNotificationsSuppressed" | "allowErrorNotificationsWhenSuppressed">, Pick<NotificationsStore, never>, Pick<NotificationsStore, "setNotificationsSuppressed">>;
13
13
  //#endregion
14
14
  export { NotificationsStore, useNotificationsStore };
15
15
  //# sourceMappingURL=notifications.store.d.cts.map
@@ -1,15 +1,15 @@
1
- import * as vue419 from "vue";
2
- import * as pinia6 from "pinia";
1
+ import * as vue62 from "vue";
2
+ import * as pinia1 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: 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<{
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<{
13
13
  chatHub: Record<string, Scope[]>;
14
14
  logStreaming: Record<string, Scope[]>;
15
15
  aiAssistant: Record<string, Scope[]>;
@@ -25,18 +25,16 @@ declare const useRBACStore: pinia6.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[]>;
32
28
  agent: Record<string, Scope[]>;
33
29
  annotationTag: Record<string, Scope[]>;
34
30
  banner: Record<string, Scope[]>;
35
31
  communityPackage: Record<string, Scope[]>;
32
+ credential: Record<string, Scope[]>;
36
33
  externalSecretsProvider: Record<string, Scope[]>;
37
34
  externalSecret: Record<string, Scope[]>;
38
35
  eventBusDestination: Record<string, Scope[]>;
39
36
  orchestration: Record<string, Scope[]>;
37
+ project: Record<string, Scope[]>;
40
38
  securityAudit: Record<string, Scope[]>;
41
39
  securitySettings: Record<string, Scope[]>;
42
40
  gitConnection: Record<string, Scope[]>;
@@ -45,6 +43,7 @@ declare const useRBACStore: pinia6.StoreDefinition<"rbac", Pick<{
45
43
  variable: Record<string, Scope[]>;
46
44
  projectVariable: Record<string, Scope[]>;
47
45
  workersView: Record<string, Scope[]>;
46
+ workflow: Record<string, Scope[]>;
48
47
  folder: Record<string, Scope[]>;
49
48
  dataTable: Record<string, Scope[]>;
50
49
  execution: Record<string, Scope[]>;
@@ -53,11 +52,12 @@ declare const useRBACStore: pinia6.StoreDefinition<"rbac", Pick<{
53
52
  mcpApiKey: Record<string, Scope[]>;
54
53
  chatHubAgent: Record<string, Scope[]>;
55
54
  breakingChanges: Record<string, Scope[]>;
55
+ apiKey: Record<string, Scope[]>;
56
56
  encryptionKey: Record<string, Scope[]>;
57
57
  credentialResolver: Record<string, Scope[]>;
58
58
  instanceAi: Record<string, Scope[]>;
59
59
  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
+ }, 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" | "gitConnection" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "workflow" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "apiKey" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule", Record<string, Scope[]>> | {
61
61
  chatHub: Record<string, Scope[]>;
62
62
  logStreaming: Record<string, Scope[]>;
63
63
  aiAssistant: Record<string, Scope[]>;
@@ -73,18 +73,16 @@ declare const useRBACStore: pinia6.StoreDefinition<"rbac", Pick<{
73
73
  mcp: Record<string, Scope[]>;
74
74
  otel: Record<string, Scope[]>;
75
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[]>;
80
76
  agent: Record<string, Scope[]>;
81
77
  annotationTag: Record<string, Scope[]>;
82
78
  banner: Record<string, Scope[]>;
83
79
  communityPackage: Record<string, Scope[]>;
80
+ credential: Record<string, Scope[]>;
84
81
  externalSecretsProvider: Record<string, Scope[]>;
85
82
  externalSecret: Record<string, Scope[]>;
86
83
  eventBusDestination: Record<string, Scope[]>;
87
84
  orchestration: Record<string, Scope[]>;
85
+ project: Record<string, Scope[]>;
88
86
  securityAudit: Record<string, Scope[]>;
89
87
  securitySettings: Record<string, Scope[]>;
90
88
  gitConnection: Record<string, Scope[]>;
@@ -93,6 +91,7 @@ declare const useRBACStore: pinia6.StoreDefinition<"rbac", Pick<{
93
91
  variable: Record<string, Scope[]>;
94
92
  projectVariable: Record<string, Scope[]>;
95
93
  workersView: Record<string, Scope[]>;
94
+ workflow: Record<string, Scope[]>;
96
95
  folder: Record<string, Scope[]>;
97
96
  dataTable: Record<string, Scope[]>;
98
97
  execution: Record<string, Scope[]>;
@@ -101,6 +100,7 @@ declare const useRBACStore: pinia6.StoreDefinition<"rbac", Pick<{
101
100
  mcpApiKey: Record<string, Scope[]>;
102
101
  chatHubAgent: Record<string, Scope[]>;
103
102
  breakingChanges: Record<string, Scope[]>;
103
+ apiKey: Record<string, Scope[]>;
104
104
  encryptionKey: Record<string, Scope[]>;
105
105
  credentialResolver: Record<string, Scope[]>;
106
106
  instanceAi: Record<string, Scope[]>;
@@ -123,11 +123,11 @@ declare const useRBACStore: pinia6.StoreDefinition<"rbac", Pick<{
123
123
  projectId?: string;
124
124
  }, options?: ScopeOptions) => boolean;
125
125
  }, "globalRoles" | "rolesByProjectId" | "globalScopes" | "scopesByProjectId" | "scopesByResourceId">, Pick<{
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<{
126
+ globalRoles: vue62.Ref<Role[], Role[]>;
127
+ rolesByProjectId: vue62.Ref<Record<string, string[]>, Record<string, string[]>>;
128
+ globalScopes: vue62.Ref<Scope[], Scope[]>;
129
+ scopesByProjectId: vue62.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
130
+ scopesByResourceId: vue62.Ref<{
131
131
  chatHub: Record<string, Scope[]>;
132
132
  logStreaming: Record<string, Scope[]>;
133
133
  aiAssistant: Record<string, Scope[]>;
@@ -143,18 +143,16 @@ declare const useRBACStore: pinia6.StoreDefinition<"rbac", Pick<{
143
143
  mcp: Record<string, Scope[]>;
144
144
  otel: Record<string, Scope[]>;
145
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[]>;
150
146
  agent: Record<string, Scope[]>;
151
147
  annotationTag: Record<string, Scope[]>;
152
148
  banner: Record<string, Scope[]>;
153
149
  communityPackage: Record<string, Scope[]>;
150
+ credential: Record<string, Scope[]>;
154
151
  externalSecretsProvider: Record<string, Scope[]>;
155
152
  externalSecret: Record<string, Scope[]>;
156
153
  eventBusDestination: Record<string, Scope[]>;
157
154
  orchestration: Record<string, Scope[]>;
155
+ project: Record<string, Scope[]>;
158
156
  securityAudit: Record<string, Scope[]>;
159
157
  securitySettings: Record<string, Scope[]>;
160
158
  gitConnection: Record<string, Scope[]>;
@@ -163,6 +161,7 @@ declare const useRBACStore: pinia6.StoreDefinition<"rbac", Pick<{
163
161
  variable: Record<string, Scope[]>;
164
162
  projectVariable: Record<string, Scope[]>;
165
163
  workersView: Record<string, Scope[]>;
164
+ workflow: Record<string, Scope[]>;
166
165
  folder: Record<string, Scope[]>;
167
166
  dataTable: Record<string, Scope[]>;
168
167
  execution: Record<string, Scope[]>;
@@ -171,11 +170,12 @@ declare const useRBACStore: pinia6.StoreDefinition<"rbac", Pick<{
171
170
  mcpApiKey: Record<string, Scope[]>;
172
171
  chatHubAgent: Record<string, Scope[]>;
173
172
  breakingChanges: Record<string, Scope[]>;
173
+ apiKey: Record<string, Scope[]>;
174
174
  encryptionKey: Record<string, Scope[]>;
175
175
  credentialResolver: Record<string, Scope[]>;
176
176
  instanceAi: Record<string, Scope[]>;
177
177
  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[]>> | {
178
+ }, 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" | "gitConnection" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "workflow" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "apiKey" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule", Record<string, Scope[]>> | {
179
179
  chatHub: Record<string, Scope[]>;
180
180
  logStreaming: Record<string, Scope[]>;
181
181
  aiAssistant: Record<string, Scope[]>;
@@ -191,18 +191,16 @@ declare const useRBACStore: pinia6.StoreDefinition<"rbac", Pick<{
191
191
  mcp: Record<string, Scope[]>;
192
192
  otel: Record<string, Scope[]>;
193
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[]>;
198
194
  agent: Record<string, Scope[]>;
199
195
  annotationTag: Record<string, Scope[]>;
200
196
  banner: Record<string, Scope[]>;
201
197
  communityPackage: Record<string, Scope[]>;
198
+ credential: Record<string, Scope[]>;
202
199
  externalSecretsProvider: Record<string, Scope[]>;
203
200
  externalSecret: Record<string, Scope[]>;
204
201
  eventBusDestination: Record<string, Scope[]>;
205
202
  orchestration: Record<string, Scope[]>;
203
+ project: Record<string, Scope[]>;
206
204
  securityAudit: Record<string, Scope[]>;
207
205
  securitySettings: Record<string, Scope[]>;
208
206
  gitConnection: Record<string, Scope[]>;
@@ -211,6 +209,7 @@ declare const useRBACStore: pinia6.StoreDefinition<"rbac", Pick<{
211
209
  variable: Record<string, Scope[]>;
212
210
  projectVariable: Record<string, Scope[]>;
213
211
  workersView: Record<string, Scope[]>;
212
+ workflow: Record<string, Scope[]>;
214
213
  folder: Record<string, Scope[]>;
215
214
  dataTable: Record<string, Scope[]>;
216
215
  execution: Record<string, Scope[]>;
@@ -219,6 +218,7 @@ declare const useRBACStore: pinia6.StoreDefinition<"rbac", Pick<{
219
218
  mcpApiKey: Record<string, Scope[]>;
220
219
  chatHubAgent: Record<string, Scope[]>;
221
220
  breakingChanges: Record<string, Scope[]>;
221
+ apiKey: Record<string, Scope[]>;
222
222
  encryptionKey: Record<string, Scope[]>;
223
223
  credentialResolver: Record<string, Scope[]>;
224
224
  instanceAi: Record<string, Scope[]>;
@@ -241,11 +241,11 @@ declare const useRBACStore: pinia6.StoreDefinition<"rbac", Pick<{
241
241
  projectId?: string;
242
242
  }, options?: ScopeOptions) => boolean;
243
243
  }, never>, Pick<{
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<{
244
+ globalRoles: vue62.Ref<Role[], Role[]>;
245
+ rolesByProjectId: vue62.Ref<Record<string, string[]>, Record<string, string[]>>;
246
+ globalScopes: vue62.Ref<Scope[], Scope[]>;
247
+ scopesByProjectId: vue62.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
248
+ scopesByResourceId: vue62.Ref<{
249
249
  chatHub: Record<string, Scope[]>;
250
250
  logStreaming: Record<string, Scope[]>;
251
251
  aiAssistant: Record<string, Scope[]>;
@@ -261,18 +261,16 @@ declare const useRBACStore: pinia6.StoreDefinition<"rbac", Pick<{
261
261
  mcp: Record<string, Scope[]>;
262
262
  otel: Record<string, Scope[]>;
263
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[]>;
268
264
  agent: Record<string, Scope[]>;
269
265
  annotationTag: Record<string, Scope[]>;
270
266
  banner: Record<string, Scope[]>;
271
267
  communityPackage: Record<string, Scope[]>;
268
+ credential: Record<string, Scope[]>;
272
269
  externalSecretsProvider: Record<string, Scope[]>;
273
270
  externalSecret: Record<string, Scope[]>;
274
271
  eventBusDestination: Record<string, Scope[]>;
275
272
  orchestration: Record<string, Scope[]>;
273
+ project: Record<string, Scope[]>;
276
274
  securityAudit: Record<string, Scope[]>;
277
275
  securitySettings: Record<string, Scope[]>;
278
276
  gitConnection: Record<string, Scope[]>;
@@ -281,6 +279,7 @@ declare const useRBACStore: pinia6.StoreDefinition<"rbac", Pick<{
281
279
  variable: Record<string, Scope[]>;
282
280
  projectVariable: Record<string, Scope[]>;
283
281
  workersView: Record<string, Scope[]>;
282
+ workflow: Record<string, Scope[]>;
284
283
  folder: Record<string, Scope[]>;
285
284
  dataTable: Record<string, Scope[]>;
286
285
  execution: Record<string, Scope[]>;
@@ -289,11 +288,12 @@ declare const useRBACStore: pinia6.StoreDefinition<"rbac", Pick<{
289
288
  mcpApiKey: Record<string, Scope[]>;
290
289
  chatHubAgent: Record<string, Scope[]>;
291
290
  breakingChanges: Record<string, Scope[]>;
291
+ apiKey: Record<string, Scope[]>;
292
292
  encryptionKey: Record<string, Scope[]>;
293
293
  credentialResolver: Record<string, Scope[]>;
294
294
  instanceAi: Record<string, Scope[]>;
295
295
  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[]>> | {
296
+ }, 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" | "gitConnection" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "workflow" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "apiKey" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule", Record<string, Scope[]>> | {
297
297
  chatHub: Record<string, Scope[]>;
298
298
  logStreaming: Record<string, Scope[]>;
299
299
  aiAssistant: Record<string, Scope[]>;
@@ -309,18 +309,16 @@ declare const useRBACStore: pinia6.StoreDefinition<"rbac", Pick<{
309
309
  mcp: Record<string, Scope[]>;
310
310
  otel: Record<string, Scope[]>;
311
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[]>;
316
312
  agent: Record<string, Scope[]>;
317
313
  annotationTag: Record<string, Scope[]>;
318
314
  banner: Record<string, Scope[]>;
319
315
  communityPackage: Record<string, Scope[]>;
316
+ credential: Record<string, Scope[]>;
320
317
  externalSecretsProvider: Record<string, Scope[]>;
321
318
  externalSecret: Record<string, Scope[]>;
322
319
  eventBusDestination: Record<string, Scope[]>;
323
320
  orchestration: Record<string, Scope[]>;
321
+ project: Record<string, Scope[]>;
324
322
  securityAudit: Record<string, Scope[]>;
325
323
  securitySettings: Record<string, Scope[]>;
326
324
  gitConnection: Record<string, Scope[]>;
@@ -329,6 +327,7 @@ declare const useRBACStore: pinia6.StoreDefinition<"rbac", Pick<{
329
327
  variable: Record<string, Scope[]>;
330
328
  projectVariable: Record<string, Scope[]>;
331
329
  workersView: Record<string, Scope[]>;
330
+ workflow: Record<string, Scope[]>;
332
331
  folder: Record<string, Scope[]>;
333
332
  dataTable: Record<string, Scope[]>;
334
333
  execution: Record<string, Scope[]>;
@@ -337,6 +336,7 @@ declare const useRBACStore: pinia6.StoreDefinition<"rbac", Pick<{
337
336
  mcpApiKey: Record<string, Scope[]>;
338
337
  chatHubAgent: Record<string, Scope[]>;
339
338
  breakingChanges: Record<string, Scope[]>;
339
+ apiKey: Record<string, Scope[]>;
340
340
  encryptionKey: Record<string, Scope[]>;
341
341
  credentialResolver: Record<string, Scope[]>;
342
342
  instanceAi: Record<string, Scope[]>;
@@ -1,15 +1,15 @@
1
- import * as pinia7 from "pinia";
2
- import * as vue467 from "vue";
1
+ import * as pinia1 from "pinia";
2
+ import * as vue62 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: 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<{
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<{
13
13
  chatHub: Record<string, Scope[]>;
14
14
  logStreaming: Record<string, Scope[]>;
15
15
  aiAssistant: Record<string, Scope[]>;
@@ -25,18 +25,16 @@ declare const useRBACStore: pinia7.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[]>;
32
28
  agent: Record<string, Scope[]>;
33
29
  annotationTag: Record<string, Scope[]>;
34
30
  banner: Record<string, Scope[]>;
35
31
  communityPackage: Record<string, Scope[]>;
32
+ credential: Record<string, Scope[]>;
36
33
  externalSecretsProvider: Record<string, Scope[]>;
37
34
  externalSecret: Record<string, Scope[]>;
38
35
  eventBusDestination: Record<string, Scope[]>;
39
36
  orchestration: Record<string, Scope[]>;
37
+ project: Record<string, Scope[]>;
40
38
  securityAudit: Record<string, Scope[]>;
41
39
  securitySettings: Record<string, Scope[]>;
42
40
  gitConnection: Record<string, Scope[]>;
@@ -45,6 +43,7 @@ declare const useRBACStore: pinia7.StoreDefinition<"rbac", Pick<{
45
43
  variable: Record<string, Scope[]>;
46
44
  projectVariable: Record<string, Scope[]>;
47
45
  workersView: Record<string, Scope[]>;
46
+ workflow: Record<string, Scope[]>;
48
47
  folder: Record<string, Scope[]>;
49
48
  dataTable: Record<string, Scope[]>;
50
49
  execution: Record<string, Scope[]>;
@@ -53,11 +52,12 @@ declare const useRBACStore: pinia7.StoreDefinition<"rbac", Pick<{
53
52
  mcpApiKey: Record<string, Scope[]>;
54
53
  chatHubAgent: Record<string, Scope[]>;
55
54
  breakingChanges: Record<string, Scope[]>;
55
+ apiKey: Record<string, Scope[]>;
56
56
  encryptionKey: Record<string, Scope[]>;
57
57
  credentialResolver: Record<string, Scope[]>;
58
58
  instanceAi: Record<string, Scope[]>;
59
59
  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
+ }, 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" | "gitConnection" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "workflow" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "apiKey" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule", Record<string, Scope[]>> | {
61
61
  chatHub: Record<string, Scope[]>;
62
62
  logStreaming: Record<string, Scope[]>;
63
63
  aiAssistant: Record<string, Scope[]>;
@@ -73,18 +73,16 @@ declare const useRBACStore: pinia7.StoreDefinition<"rbac", Pick<{
73
73
  mcp: Record<string, Scope[]>;
74
74
  otel: Record<string, Scope[]>;
75
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[]>;
80
76
  agent: Record<string, Scope[]>;
81
77
  annotationTag: Record<string, Scope[]>;
82
78
  banner: Record<string, Scope[]>;
83
79
  communityPackage: Record<string, Scope[]>;
80
+ credential: Record<string, Scope[]>;
84
81
  externalSecretsProvider: Record<string, Scope[]>;
85
82
  externalSecret: Record<string, Scope[]>;
86
83
  eventBusDestination: Record<string, Scope[]>;
87
84
  orchestration: Record<string, Scope[]>;
85
+ project: Record<string, Scope[]>;
88
86
  securityAudit: Record<string, Scope[]>;
89
87
  securitySettings: Record<string, Scope[]>;
90
88
  gitConnection: Record<string, Scope[]>;
@@ -93,6 +91,7 @@ declare const useRBACStore: pinia7.StoreDefinition<"rbac", Pick<{
93
91
  variable: Record<string, Scope[]>;
94
92
  projectVariable: Record<string, Scope[]>;
95
93
  workersView: Record<string, Scope[]>;
94
+ workflow: Record<string, Scope[]>;
96
95
  folder: Record<string, Scope[]>;
97
96
  dataTable: Record<string, Scope[]>;
98
97
  execution: Record<string, Scope[]>;
@@ -101,6 +100,7 @@ declare const useRBACStore: pinia7.StoreDefinition<"rbac", Pick<{
101
100
  mcpApiKey: Record<string, Scope[]>;
102
101
  chatHubAgent: Record<string, Scope[]>;
103
102
  breakingChanges: Record<string, Scope[]>;
103
+ apiKey: Record<string, Scope[]>;
104
104
  encryptionKey: Record<string, Scope[]>;
105
105
  credentialResolver: Record<string, Scope[]>;
106
106
  instanceAi: Record<string, Scope[]>;
@@ -123,11 +123,11 @@ declare const useRBACStore: pinia7.StoreDefinition<"rbac", Pick<{
123
123
  projectId?: string;
124
124
  }, options?: ScopeOptions) => boolean;
125
125
  }, "globalRoles" | "rolesByProjectId" | "globalScopes" | "scopesByProjectId" | "scopesByResourceId">, Pick<{
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<{
126
+ globalRoles: vue62.Ref<Role[], Role[]>;
127
+ rolesByProjectId: vue62.Ref<Record<string, string[]>, Record<string, string[]>>;
128
+ globalScopes: vue62.Ref<Scope[], Scope[]>;
129
+ scopesByProjectId: vue62.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
130
+ scopesByResourceId: vue62.Ref<{
131
131
  chatHub: Record<string, Scope[]>;
132
132
  logStreaming: Record<string, Scope[]>;
133
133
  aiAssistant: Record<string, Scope[]>;
@@ -143,18 +143,16 @@ declare const useRBACStore: pinia7.StoreDefinition<"rbac", Pick<{
143
143
  mcp: Record<string, Scope[]>;
144
144
  otel: Record<string, Scope[]>;
145
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[]>;
150
146
  agent: Record<string, Scope[]>;
151
147
  annotationTag: Record<string, Scope[]>;
152
148
  banner: Record<string, Scope[]>;
153
149
  communityPackage: Record<string, Scope[]>;
150
+ credential: Record<string, Scope[]>;
154
151
  externalSecretsProvider: Record<string, Scope[]>;
155
152
  externalSecret: Record<string, Scope[]>;
156
153
  eventBusDestination: Record<string, Scope[]>;
157
154
  orchestration: Record<string, Scope[]>;
155
+ project: Record<string, Scope[]>;
158
156
  securityAudit: Record<string, Scope[]>;
159
157
  securitySettings: Record<string, Scope[]>;
160
158
  gitConnection: Record<string, Scope[]>;
@@ -163,6 +161,7 @@ declare const useRBACStore: pinia7.StoreDefinition<"rbac", Pick<{
163
161
  variable: Record<string, Scope[]>;
164
162
  projectVariable: Record<string, Scope[]>;
165
163
  workersView: Record<string, Scope[]>;
164
+ workflow: Record<string, Scope[]>;
166
165
  folder: Record<string, Scope[]>;
167
166
  dataTable: Record<string, Scope[]>;
168
167
  execution: Record<string, Scope[]>;
@@ -171,11 +170,12 @@ declare const useRBACStore: pinia7.StoreDefinition<"rbac", Pick<{
171
170
  mcpApiKey: Record<string, Scope[]>;
172
171
  chatHubAgent: Record<string, Scope[]>;
173
172
  breakingChanges: Record<string, Scope[]>;
173
+ apiKey: Record<string, Scope[]>;
174
174
  encryptionKey: Record<string, Scope[]>;
175
175
  credentialResolver: Record<string, Scope[]>;
176
176
  instanceAi: Record<string, Scope[]>;
177
177
  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[]>> | {
178
+ }, 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" | "gitConnection" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "workflow" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "apiKey" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule", Record<string, Scope[]>> | {
179
179
  chatHub: Record<string, Scope[]>;
180
180
  logStreaming: Record<string, Scope[]>;
181
181
  aiAssistant: Record<string, Scope[]>;
@@ -191,18 +191,16 @@ declare const useRBACStore: pinia7.StoreDefinition<"rbac", Pick<{
191
191
  mcp: Record<string, Scope[]>;
192
192
  otel: Record<string, Scope[]>;
193
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[]>;
198
194
  agent: Record<string, Scope[]>;
199
195
  annotationTag: Record<string, Scope[]>;
200
196
  banner: Record<string, Scope[]>;
201
197
  communityPackage: Record<string, Scope[]>;
198
+ credential: Record<string, Scope[]>;
202
199
  externalSecretsProvider: Record<string, Scope[]>;
203
200
  externalSecret: Record<string, Scope[]>;
204
201
  eventBusDestination: Record<string, Scope[]>;
205
202
  orchestration: Record<string, Scope[]>;
203
+ project: Record<string, Scope[]>;
206
204
  securityAudit: Record<string, Scope[]>;
207
205
  securitySettings: Record<string, Scope[]>;
208
206
  gitConnection: Record<string, Scope[]>;
@@ -211,6 +209,7 @@ declare const useRBACStore: pinia7.StoreDefinition<"rbac", Pick<{
211
209
  variable: Record<string, Scope[]>;
212
210
  projectVariable: Record<string, Scope[]>;
213
211
  workersView: Record<string, Scope[]>;
212
+ workflow: Record<string, Scope[]>;
214
213
  folder: Record<string, Scope[]>;
215
214
  dataTable: Record<string, Scope[]>;
216
215
  execution: Record<string, Scope[]>;
@@ -219,6 +218,7 @@ declare const useRBACStore: pinia7.StoreDefinition<"rbac", Pick<{
219
218
  mcpApiKey: Record<string, Scope[]>;
220
219
  chatHubAgent: Record<string, Scope[]>;
221
220
  breakingChanges: Record<string, Scope[]>;
221
+ apiKey: Record<string, Scope[]>;
222
222
  encryptionKey: Record<string, Scope[]>;
223
223
  credentialResolver: Record<string, Scope[]>;
224
224
  instanceAi: Record<string, Scope[]>;
@@ -241,11 +241,11 @@ declare const useRBACStore: pinia7.StoreDefinition<"rbac", Pick<{
241
241
  projectId?: string;
242
242
  }, options?: ScopeOptions) => boolean;
243
243
  }, never>, Pick<{
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<{
244
+ globalRoles: vue62.Ref<Role[], Role[]>;
245
+ rolesByProjectId: vue62.Ref<Record<string, string[]>, Record<string, string[]>>;
246
+ globalScopes: vue62.Ref<Scope[], Scope[]>;
247
+ scopesByProjectId: vue62.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
248
+ scopesByResourceId: vue62.Ref<{
249
249
  chatHub: Record<string, Scope[]>;
250
250
  logStreaming: Record<string, Scope[]>;
251
251
  aiAssistant: Record<string, Scope[]>;
@@ -261,18 +261,16 @@ declare const useRBACStore: pinia7.StoreDefinition<"rbac", Pick<{
261
261
  mcp: Record<string, Scope[]>;
262
262
  otel: Record<string, Scope[]>;
263
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[]>;
268
264
  agent: Record<string, Scope[]>;
269
265
  annotationTag: Record<string, Scope[]>;
270
266
  banner: Record<string, Scope[]>;
271
267
  communityPackage: Record<string, Scope[]>;
268
+ credential: Record<string, Scope[]>;
272
269
  externalSecretsProvider: Record<string, Scope[]>;
273
270
  externalSecret: Record<string, Scope[]>;
274
271
  eventBusDestination: Record<string, Scope[]>;
275
272
  orchestration: Record<string, Scope[]>;
273
+ project: Record<string, Scope[]>;
276
274
  securityAudit: Record<string, Scope[]>;
277
275
  securitySettings: Record<string, Scope[]>;
278
276
  gitConnection: Record<string, Scope[]>;
@@ -281,6 +279,7 @@ declare const useRBACStore: pinia7.StoreDefinition<"rbac", Pick<{
281
279
  variable: Record<string, Scope[]>;
282
280
  projectVariable: Record<string, Scope[]>;
283
281
  workersView: Record<string, Scope[]>;
282
+ workflow: Record<string, Scope[]>;
284
283
  folder: Record<string, Scope[]>;
285
284
  dataTable: Record<string, Scope[]>;
286
285
  execution: Record<string, Scope[]>;
@@ -289,11 +288,12 @@ declare const useRBACStore: pinia7.StoreDefinition<"rbac", Pick<{
289
288
  mcpApiKey: Record<string, Scope[]>;
290
289
  chatHubAgent: Record<string, Scope[]>;
291
290
  breakingChanges: Record<string, Scope[]>;
291
+ apiKey: Record<string, Scope[]>;
292
292
  encryptionKey: Record<string, Scope[]>;
293
293
  credentialResolver: Record<string, Scope[]>;
294
294
  instanceAi: Record<string, Scope[]>;
295
295
  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[]>> | {
296
+ }, 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" | "gitConnection" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "workflow" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "apiKey" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule", Record<string, Scope[]>> | {
297
297
  chatHub: Record<string, Scope[]>;
298
298
  logStreaming: Record<string, Scope[]>;
299
299
  aiAssistant: Record<string, Scope[]>;
@@ -309,18 +309,16 @@ declare const useRBACStore: pinia7.StoreDefinition<"rbac", Pick<{
309
309
  mcp: Record<string, Scope[]>;
310
310
  otel: Record<string, Scope[]>;
311
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[]>;
316
312
  agent: Record<string, Scope[]>;
317
313
  annotationTag: Record<string, Scope[]>;
318
314
  banner: Record<string, Scope[]>;
319
315
  communityPackage: Record<string, Scope[]>;
316
+ credential: Record<string, Scope[]>;
320
317
  externalSecretsProvider: Record<string, Scope[]>;
321
318
  externalSecret: Record<string, Scope[]>;
322
319
  eventBusDestination: Record<string, Scope[]>;
323
320
  orchestration: Record<string, Scope[]>;
321
+ project: Record<string, Scope[]>;
324
322
  securityAudit: Record<string, Scope[]>;
325
323
  securitySettings: Record<string, Scope[]>;
326
324
  gitConnection: Record<string, Scope[]>;
@@ -329,6 +327,7 @@ declare const useRBACStore: pinia7.StoreDefinition<"rbac", Pick<{
329
327
  variable: Record<string, Scope[]>;
330
328
  projectVariable: Record<string, Scope[]>;
331
329
  workersView: Record<string, Scope[]>;
330
+ workflow: Record<string, Scope[]>;
332
331
  folder: Record<string, Scope[]>;
333
332
  dataTable: Record<string, Scope[]>;
334
333
  execution: Record<string, Scope[]>;
@@ -337,6 +336,7 @@ declare const useRBACStore: pinia7.StoreDefinition<"rbac", Pick<{
337
336
  mcpApiKey: Record<string, Scope[]>;
338
337
  chatHubAgent: Record<string, Scope[]>;
339
338
  breakingChanges: Record<string, Scope[]>;
339
+ apiKey: Record<string, Scope[]>;
340
340
  encryptionKey: Record<string, Scope[]>;
341
341
  credentialResolver: Record<string, Scope[]>;
342
342
  instanceAi: Record<string, Scope[]>;