@n8n/stores 2.36.1 → 2.36.3

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,43 +1,36 @@
1
- import * as pinia2 from "pinia";
2
- import * as vue296 from "vue";
1
+ import * as pinia0 from "pinia";
2
+ import * as vue0 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: pinia2.StoreDefinition<"rbac", Pick<{
8
- globalRoles: vue296.Ref<Role[], Role[]>;
9
- rolesByProjectId: vue296.Ref<Record<string, string[]>, Record<string, string[]>>;
10
- globalScopes: vue296.Ref<Scope[], Scope[]>;
11
- scopesByProjectId: vue296.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
12
- scopesByResourceId: vue296.Ref<{
7
+ declare const useRBACStore: pinia0.StoreDefinition<"rbac", Pick<{
8
+ globalRoles: vue0.Ref<Role[], Role[]>;
9
+ rolesByProjectId: vue0.Ref<Record<string, string[]>, Record<string, string[]>>;
10
+ globalScopes: vue0.Ref<Scope[], Scope[]>;
11
+ scopesByProjectId: vue0.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
12
+ scopesByResourceId: vue0.Ref<{
13
13
  chatHub: Record<string, Scope[]>;
14
- logStreaming: Record<string, Scope[]>;
15
- aiAssistant: Record<string, Scope[]>;
16
- license: Record<string, Scope[]>;
17
- ldap: Record<string, Scope[]>;
18
- saml: Record<string, Scope[]>;
19
- oidc: Record<string, Scope[]>;
20
- sourceControl: Record<string, Scope[]>;
21
- auditLogs: Record<string, Scope[]>;
22
- provisioning: Record<string, Scope[]>;
23
- community: Record<string, Scope[]>;
24
- insights: Record<string, Scope[]>;
25
- mcp: Record<string, Scope[]>;
26
- otel: Record<string, Scope[]>;
27
- role: Record<string, Scope[]>;
28
- apiKey: Record<string, Scope[]>;
29
14
  agent: Record<string, Scope[]>;
15
+ aiAssistant: Record<string, Scope[]>;
30
16
  annotationTag: Record<string, Scope[]>;
17
+ auditLogs: Record<string, Scope[]>;
31
18
  banner: Record<string, Scope[]>;
19
+ community: Record<string, Scope[]>;
32
20
  communityPackage: Record<string, Scope[]>;
33
21
  credential: Record<string, Scope[]>;
34
22
  externalSecretsProvider: Record<string, Scope[]>;
35
23
  externalSecret: Record<string, Scope[]>;
36
24
  eventBusDestination: Record<string, Scope[]>;
25
+ ldap: Record<string, Scope[]>;
26
+ license: Record<string, Scope[]>;
27
+ logStreaming: Record<string, Scope[]>;
37
28
  orchestration: Record<string, Scope[]>;
38
29
  project: Record<string, Scope[]>;
30
+ saml: Record<string, Scope[]>;
39
31
  securityAudit: Record<string, Scope[]>;
40
32
  securitySettings: Record<string, Scope[]>;
33
+ sourceControl: Record<string, Scope[]>;
41
34
  tag: Record<string, Scope[]>;
42
35
  user: Record<string, Scope[]>;
43
36
  variable: Record<string, Scope[]>;
@@ -45,46 +38,46 @@ declare const useRBACStore: pinia2.StoreDefinition<"rbac", Pick<{
45
38
  workersView: Record<string, Scope[]>;
46
39
  workflow: Record<string, Scope[]>;
47
40
  folder: Record<string, Scope[]>;
41
+ insights: Record<string, Scope[]>;
42
+ oidc: Record<string, Scope[]>;
43
+ provisioning: Record<string, Scope[]>;
48
44
  dataTable: Record<string, Scope[]>;
49
45
  execution: Record<string, Scope[]>;
50
46
  testRun: Record<string, Scope[]>;
51
47
  workflowTags: Record<string, Scope[]>;
48
+ role: Record<string, Scope[]>;
49
+ mcp: Record<string, Scope[]>;
52
50
  mcpApiKey: Record<string, Scope[]>;
53
51
  chatHubAgent: Record<string, Scope[]>;
54
52
  breakingChanges: Record<string, Scope[]>;
53
+ apiKey: Record<string, Scope[]>;
55
54
  encryptionKey: Record<string, Scope[]>;
56
55
  credentialResolver: Record<string, Scope[]>;
57
56
  instanceAi: Record<string, Scope[]>;
58
57
  roleMappingRule: Record<string, Scope[]>;
59
- }, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "apiKey" | "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" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule", Record<string, Scope[]>> | {
60
- chatHub: Record<string, Scope[]>;
61
- logStreaming: Record<string, Scope[]>;
62
- aiAssistant: Record<string, Scope[]>;
63
- license: Record<string, Scope[]>;
64
- ldap: Record<string, Scope[]>;
65
- saml: Record<string, Scope[]>;
66
- oidc: Record<string, Scope[]>;
67
- sourceControl: Record<string, Scope[]>;
68
- auditLogs: Record<string, Scope[]>;
69
- provisioning: Record<string, Scope[]>;
70
- community: Record<string, Scope[]>;
71
- insights: Record<string, Scope[]>;
72
- mcp: Record<string, Scope[]>;
73
58
  otel: Record<string, Scope[]>;
74
- role: Record<string, Scope[]>;
75
- apiKey: Record<string, Scope[]>;
59
+ }, Record<"chatHub" | "agent" | "aiAssistant" | "annotationTag" | "auditLogs" | "banner" | "community" | "communityPackage" | "credential" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "ldap" | "license" | "logStreaming" | "orchestration" | "project" | "saml" | "securityAudit" | "securitySettings" | "sourceControl" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "workflow" | "folder" | "insights" | "oidc" | "provisioning" | "dataTable" | "execution" | "testRun" | "workflowTags" | "role" | "mcp" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "apiKey" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule" | "otel", Record<string, Scope[]>> | {
60
+ chatHub: Record<string, Scope[]>;
76
61
  agent: Record<string, Scope[]>;
62
+ aiAssistant: Record<string, Scope[]>;
77
63
  annotationTag: Record<string, Scope[]>;
64
+ auditLogs: Record<string, Scope[]>;
78
65
  banner: Record<string, Scope[]>;
66
+ community: Record<string, Scope[]>;
79
67
  communityPackage: Record<string, Scope[]>;
80
68
  credential: Record<string, Scope[]>;
81
69
  externalSecretsProvider: Record<string, Scope[]>;
82
70
  externalSecret: Record<string, Scope[]>;
83
71
  eventBusDestination: Record<string, Scope[]>;
72
+ ldap: Record<string, Scope[]>;
73
+ license: Record<string, Scope[]>;
74
+ logStreaming: Record<string, Scope[]>;
84
75
  orchestration: Record<string, Scope[]>;
85
76
  project: Record<string, Scope[]>;
77
+ saml: Record<string, Scope[]>;
86
78
  securityAudit: Record<string, Scope[]>;
87
79
  securitySettings: Record<string, Scope[]>;
80
+ sourceControl: Record<string, Scope[]>;
88
81
  tag: Record<string, Scope[]>;
89
82
  user: Record<string, Scope[]>;
90
83
  variable: Record<string, Scope[]>;
@@ -92,17 +85,24 @@ declare const useRBACStore: pinia2.StoreDefinition<"rbac", Pick<{
92
85
  workersView: Record<string, Scope[]>;
93
86
  workflow: Record<string, Scope[]>;
94
87
  folder: Record<string, Scope[]>;
88
+ insights: Record<string, Scope[]>;
89
+ oidc: Record<string, Scope[]>;
90
+ provisioning: Record<string, Scope[]>;
95
91
  dataTable: Record<string, Scope[]>;
96
92
  execution: Record<string, Scope[]>;
97
93
  testRun: Record<string, Scope[]>;
98
94
  workflowTags: Record<string, Scope[]>;
95
+ role: Record<string, Scope[]>;
96
+ mcp: Record<string, Scope[]>;
99
97
  mcpApiKey: Record<string, Scope[]>;
100
98
  chatHubAgent: Record<string, Scope[]>;
101
99
  breakingChanges: Record<string, Scope[]>;
100
+ apiKey: Record<string, Scope[]>;
102
101
  encryptionKey: Record<string, Scope[]>;
103
102
  credentialResolver: Record<string, Scope[]>;
104
103
  instanceAi: Record<string, Scope[]>;
105
104
  roleMappingRule: Record<string, Scope[]>;
105
+ otel: Record<string, Scope[]>;
106
106
  }>;
107
107
  addGlobalRole: (role: Role) => void;
108
108
  hasRole: (role: Role) => boolean;
@@ -121,39 +121,32 @@ declare const useRBACStore: pinia2.StoreDefinition<"rbac", Pick<{
121
121
  projectId?: string;
122
122
  }, options?: ScopeOptions) => boolean;
123
123
  }, "globalRoles" | "rolesByProjectId" | "globalScopes" | "scopesByProjectId" | "scopesByResourceId">, Pick<{
124
- globalRoles: vue296.Ref<Role[], Role[]>;
125
- rolesByProjectId: vue296.Ref<Record<string, string[]>, Record<string, string[]>>;
126
- globalScopes: vue296.Ref<Scope[], Scope[]>;
127
- scopesByProjectId: vue296.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
128
- scopesByResourceId: vue296.Ref<{
124
+ globalRoles: vue0.Ref<Role[], Role[]>;
125
+ rolesByProjectId: vue0.Ref<Record<string, string[]>, Record<string, string[]>>;
126
+ globalScopes: vue0.Ref<Scope[], Scope[]>;
127
+ scopesByProjectId: vue0.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
128
+ scopesByResourceId: vue0.Ref<{
129
129
  chatHub: Record<string, Scope[]>;
130
- logStreaming: Record<string, Scope[]>;
131
- aiAssistant: Record<string, Scope[]>;
132
- license: Record<string, Scope[]>;
133
- ldap: Record<string, Scope[]>;
134
- saml: Record<string, Scope[]>;
135
- oidc: Record<string, Scope[]>;
136
- sourceControl: Record<string, Scope[]>;
137
- auditLogs: Record<string, Scope[]>;
138
- provisioning: Record<string, Scope[]>;
139
- community: Record<string, Scope[]>;
140
- insights: Record<string, Scope[]>;
141
- mcp: Record<string, Scope[]>;
142
- otel: Record<string, Scope[]>;
143
- role: Record<string, Scope[]>;
144
- apiKey: Record<string, Scope[]>;
145
130
  agent: Record<string, Scope[]>;
131
+ aiAssistant: Record<string, Scope[]>;
146
132
  annotationTag: Record<string, Scope[]>;
133
+ auditLogs: Record<string, Scope[]>;
147
134
  banner: Record<string, Scope[]>;
135
+ community: Record<string, Scope[]>;
148
136
  communityPackage: Record<string, Scope[]>;
149
137
  credential: Record<string, Scope[]>;
150
138
  externalSecretsProvider: Record<string, Scope[]>;
151
139
  externalSecret: Record<string, Scope[]>;
152
140
  eventBusDestination: Record<string, Scope[]>;
141
+ ldap: Record<string, Scope[]>;
142
+ license: Record<string, Scope[]>;
143
+ logStreaming: Record<string, Scope[]>;
153
144
  orchestration: Record<string, Scope[]>;
154
145
  project: Record<string, Scope[]>;
146
+ saml: Record<string, Scope[]>;
155
147
  securityAudit: Record<string, Scope[]>;
156
148
  securitySettings: Record<string, Scope[]>;
149
+ sourceControl: Record<string, Scope[]>;
157
150
  tag: Record<string, Scope[]>;
158
151
  user: Record<string, Scope[]>;
159
152
  variable: Record<string, Scope[]>;
@@ -161,46 +154,46 @@ declare const useRBACStore: pinia2.StoreDefinition<"rbac", Pick<{
161
154
  workersView: Record<string, Scope[]>;
162
155
  workflow: Record<string, Scope[]>;
163
156
  folder: Record<string, Scope[]>;
157
+ insights: Record<string, Scope[]>;
158
+ oidc: Record<string, Scope[]>;
159
+ provisioning: Record<string, Scope[]>;
164
160
  dataTable: Record<string, Scope[]>;
165
161
  execution: Record<string, Scope[]>;
166
162
  testRun: Record<string, Scope[]>;
167
163
  workflowTags: Record<string, Scope[]>;
164
+ role: Record<string, Scope[]>;
165
+ mcp: Record<string, Scope[]>;
168
166
  mcpApiKey: Record<string, Scope[]>;
169
167
  chatHubAgent: Record<string, Scope[]>;
170
168
  breakingChanges: Record<string, Scope[]>;
169
+ apiKey: Record<string, Scope[]>;
171
170
  encryptionKey: Record<string, Scope[]>;
172
171
  credentialResolver: Record<string, Scope[]>;
173
172
  instanceAi: Record<string, Scope[]>;
174
173
  roleMappingRule: Record<string, Scope[]>;
175
- }, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "apiKey" | "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" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule", Record<string, Scope[]>> | {
176
- chatHub: Record<string, Scope[]>;
177
- logStreaming: Record<string, Scope[]>;
178
- aiAssistant: Record<string, Scope[]>;
179
- license: Record<string, Scope[]>;
180
- ldap: Record<string, Scope[]>;
181
- saml: Record<string, Scope[]>;
182
- oidc: Record<string, Scope[]>;
183
- sourceControl: Record<string, Scope[]>;
184
- auditLogs: Record<string, Scope[]>;
185
- provisioning: Record<string, Scope[]>;
186
- community: Record<string, Scope[]>;
187
- insights: Record<string, Scope[]>;
188
- mcp: Record<string, Scope[]>;
189
174
  otel: Record<string, Scope[]>;
190
- role: Record<string, Scope[]>;
191
- apiKey: Record<string, Scope[]>;
175
+ }, Record<"chatHub" | "agent" | "aiAssistant" | "annotationTag" | "auditLogs" | "banner" | "community" | "communityPackage" | "credential" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "ldap" | "license" | "logStreaming" | "orchestration" | "project" | "saml" | "securityAudit" | "securitySettings" | "sourceControl" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "workflow" | "folder" | "insights" | "oidc" | "provisioning" | "dataTable" | "execution" | "testRun" | "workflowTags" | "role" | "mcp" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "apiKey" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule" | "otel", Record<string, Scope[]>> | {
176
+ chatHub: Record<string, Scope[]>;
192
177
  agent: Record<string, Scope[]>;
178
+ aiAssistant: Record<string, Scope[]>;
193
179
  annotationTag: Record<string, Scope[]>;
180
+ auditLogs: Record<string, Scope[]>;
194
181
  banner: Record<string, Scope[]>;
182
+ community: Record<string, Scope[]>;
195
183
  communityPackage: Record<string, Scope[]>;
196
184
  credential: Record<string, Scope[]>;
197
185
  externalSecretsProvider: Record<string, Scope[]>;
198
186
  externalSecret: Record<string, Scope[]>;
199
187
  eventBusDestination: Record<string, Scope[]>;
188
+ ldap: Record<string, Scope[]>;
189
+ license: Record<string, Scope[]>;
190
+ logStreaming: Record<string, Scope[]>;
200
191
  orchestration: Record<string, Scope[]>;
201
192
  project: Record<string, Scope[]>;
193
+ saml: Record<string, Scope[]>;
202
194
  securityAudit: Record<string, Scope[]>;
203
195
  securitySettings: Record<string, Scope[]>;
196
+ sourceControl: Record<string, Scope[]>;
204
197
  tag: Record<string, Scope[]>;
205
198
  user: Record<string, Scope[]>;
206
199
  variable: Record<string, Scope[]>;
@@ -208,17 +201,24 @@ declare const useRBACStore: pinia2.StoreDefinition<"rbac", Pick<{
208
201
  workersView: Record<string, Scope[]>;
209
202
  workflow: Record<string, Scope[]>;
210
203
  folder: Record<string, Scope[]>;
204
+ insights: Record<string, Scope[]>;
205
+ oidc: Record<string, Scope[]>;
206
+ provisioning: Record<string, Scope[]>;
211
207
  dataTable: Record<string, Scope[]>;
212
208
  execution: Record<string, Scope[]>;
213
209
  testRun: Record<string, Scope[]>;
214
210
  workflowTags: Record<string, Scope[]>;
211
+ role: Record<string, Scope[]>;
212
+ mcp: Record<string, Scope[]>;
215
213
  mcpApiKey: Record<string, Scope[]>;
216
214
  chatHubAgent: Record<string, Scope[]>;
217
215
  breakingChanges: Record<string, Scope[]>;
216
+ apiKey: Record<string, Scope[]>;
218
217
  encryptionKey: Record<string, Scope[]>;
219
218
  credentialResolver: Record<string, Scope[]>;
220
219
  instanceAi: Record<string, Scope[]>;
221
220
  roleMappingRule: Record<string, Scope[]>;
221
+ otel: Record<string, Scope[]>;
222
222
  }>;
223
223
  addGlobalRole: (role: Role) => void;
224
224
  hasRole: (role: Role) => boolean;
@@ -237,39 +237,32 @@ declare const useRBACStore: pinia2.StoreDefinition<"rbac", Pick<{
237
237
  projectId?: string;
238
238
  }, options?: ScopeOptions) => boolean;
239
239
  }, never>, Pick<{
240
- globalRoles: vue296.Ref<Role[], Role[]>;
241
- rolesByProjectId: vue296.Ref<Record<string, string[]>, Record<string, string[]>>;
242
- globalScopes: vue296.Ref<Scope[], Scope[]>;
243
- scopesByProjectId: vue296.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
244
- scopesByResourceId: vue296.Ref<{
240
+ globalRoles: vue0.Ref<Role[], Role[]>;
241
+ rolesByProjectId: vue0.Ref<Record<string, string[]>, Record<string, string[]>>;
242
+ globalScopes: vue0.Ref<Scope[], Scope[]>;
243
+ scopesByProjectId: vue0.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
244
+ scopesByResourceId: vue0.Ref<{
245
245
  chatHub: Record<string, Scope[]>;
246
- logStreaming: Record<string, Scope[]>;
247
- aiAssistant: Record<string, Scope[]>;
248
- license: Record<string, Scope[]>;
249
- ldap: Record<string, Scope[]>;
250
- saml: Record<string, Scope[]>;
251
- oidc: Record<string, Scope[]>;
252
- sourceControl: Record<string, Scope[]>;
253
- auditLogs: Record<string, Scope[]>;
254
- provisioning: Record<string, Scope[]>;
255
- community: Record<string, Scope[]>;
256
- insights: Record<string, Scope[]>;
257
- mcp: Record<string, Scope[]>;
258
- otel: Record<string, Scope[]>;
259
- role: Record<string, Scope[]>;
260
- apiKey: Record<string, Scope[]>;
261
246
  agent: Record<string, Scope[]>;
247
+ aiAssistant: Record<string, Scope[]>;
262
248
  annotationTag: Record<string, Scope[]>;
249
+ auditLogs: Record<string, Scope[]>;
263
250
  banner: Record<string, Scope[]>;
251
+ community: Record<string, Scope[]>;
264
252
  communityPackage: Record<string, Scope[]>;
265
253
  credential: Record<string, Scope[]>;
266
254
  externalSecretsProvider: Record<string, Scope[]>;
267
255
  externalSecret: Record<string, Scope[]>;
268
256
  eventBusDestination: Record<string, Scope[]>;
257
+ ldap: Record<string, Scope[]>;
258
+ license: Record<string, Scope[]>;
259
+ logStreaming: Record<string, Scope[]>;
269
260
  orchestration: Record<string, Scope[]>;
270
261
  project: Record<string, Scope[]>;
262
+ saml: Record<string, Scope[]>;
271
263
  securityAudit: Record<string, Scope[]>;
272
264
  securitySettings: Record<string, Scope[]>;
265
+ sourceControl: Record<string, Scope[]>;
273
266
  tag: Record<string, Scope[]>;
274
267
  user: Record<string, Scope[]>;
275
268
  variable: Record<string, Scope[]>;
@@ -277,46 +270,46 @@ declare const useRBACStore: pinia2.StoreDefinition<"rbac", Pick<{
277
270
  workersView: Record<string, Scope[]>;
278
271
  workflow: Record<string, Scope[]>;
279
272
  folder: Record<string, Scope[]>;
273
+ insights: Record<string, Scope[]>;
274
+ oidc: Record<string, Scope[]>;
275
+ provisioning: Record<string, Scope[]>;
280
276
  dataTable: Record<string, Scope[]>;
281
277
  execution: Record<string, Scope[]>;
282
278
  testRun: Record<string, Scope[]>;
283
279
  workflowTags: Record<string, Scope[]>;
280
+ role: Record<string, Scope[]>;
281
+ mcp: Record<string, Scope[]>;
284
282
  mcpApiKey: Record<string, Scope[]>;
285
283
  chatHubAgent: Record<string, Scope[]>;
286
284
  breakingChanges: Record<string, Scope[]>;
285
+ apiKey: Record<string, Scope[]>;
287
286
  encryptionKey: Record<string, Scope[]>;
288
287
  credentialResolver: Record<string, Scope[]>;
289
288
  instanceAi: Record<string, Scope[]>;
290
289
  roleMappingRule: Record<string, Scope[]>;
291
- }, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "apiKey" | "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" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule", Record<string, Scope[]>> | {
292
- chatHub: Record<string, Scope[]>;
293
- logStreaming: Record<string, Scope[]>;
294
- aiAssistant: Record<string, Scope[]>;
295
- license: Record<string, Scope[]>;
296
- ldap: Record<string, Scope[]>;
297
- saml: Record<string, Scope[]>;
298
- oidc: Record<string, Scope[]>;
299
- sourceControl: Record<string, Scope[]>;
300
- auditLogs: Record<string, Scope[]>;
301
- provisioning: Record<string, Scope[]>;
302
- community: Record<string, Scope[]>;
303
- insights: Record<string, Scope[]>;
304
- mcp: Record<string, Scope[]>;
305
290
  otel: Record<string, Scope[]>;
306
- role: Record<string, Scope[]>;
307
- apiKey: Record<string, Scope[]>;
291
+ }, Record<"chatHub" | "agent" | "aiAssistant" | "annotationTag" | "auditLogs" | "banner" | "community" | "communityPackage" | "credential" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "ldap" | "license" | "logStreaming" | "orchestration" | "project" | "saml" | "securityAudit" | "securitySettings" | "sourceControl" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "workflow" | "folder" | "insights" | "oidc" | "provisioning" | "dataTable" | "execution" | "testRun" | "workflowTags" | "role" | "mcp" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "apiKey" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule" | "otel", Record<string, Scope[]>> | {
292
+ chatHub: Record<string, Scope[]>;
308
293
  agent: Record<string, Scope[]>;
294
+ aiAssistant: Record<string, Scope[]>;
309
295
  annotationTag: Record<string, Scope[]>;
296
+ auditLogs: Record<string, Scope[]>;
310
297
  banner: Record<string, Scope[]>;
298
+ community: Record<string, Scope[]>;
311
299
  communityPackage: Record<string, Scope[]>;
312
300
  credential: Record<string, Scope[]>;
313
301
  externalSecretsProvider: Record<string, Scope[]>;
314
302
  externalSecret: Record<string, Scope[]>;
315
303
  eventBusDestination: Record<string, Scope[]>;
304
+ ldap: Record<string, Scope[]>;
305
+ license: Record<string, Scope[]>;
306
+ logStreaming: Record<string, Scope[]>;
316
307
  orchestration: Record<string, Scope[]>;
317
308
  project: Record<string, Scope[]>;
309
+ saml: Record<string, Scope[]>;
318
310
  securityAudit: Record<string, Scope[]>;
319
311
  securitySettings: Record<string, Scope[]>;
312
+ sourceControl: Record<string, Scope[]>;
320
313
  tag: Record<string, Scope[]>;
321
314
  user: Record<string, Scope[]>;
322
315
  variable: Record<string, Scope[]>;
@@ -324,17 +317,24 @@ declare const useRBACStore: pinia2.StoreDefinition<"rbac", Pick<{
324
317
  workersView: Record<string, Scope[]>;
325
318
  workflow: Record<string, Scope[]>;
326
319
  folder: Record<string, Scope[]>;
320
+ insights: Record<string, Scope[]>;
321
+ oidc: Record<string, Scope[]>;
322
+ provisioning: Record<string, Scope[]>;
327
323
  dataTable: Record<string, Scope[]>;
328
324
  execution: Record<string, Scope[]>;
329
325
  testRun: Record<string, Scope[]>;
330
326
  workflowTags: Record<string, Scope[]>;
327
+ role: Record<string, Scope[]>;
328
+ mcp: Record<string, Scope[]>;
331
329
  mcpApiKey: Record<string, Scope[]>;
332
330
  chatHubAgent: Record<string, Scope[]>;
333
331
  breakingChanges: Record<string, Scope[]>;
332
+ apiKey: Record<string, Scope[]>;
334
333
  encryptionKey: Record<string, Scope[]>;
335
334
  credentialResolver: Record<string, Scope[]>;
336
335
  instanceAi: Record<string, Scope[]>;
337
336
  roleMappingRule: Record<string, Scope[]>;
337
+ otel: Record<string, Scope[]>;
338
338
  }>;
339
339
  addGlobalRole: (role: Role) => void;
340
340
  hasRole: (role: Role) => boolean;
@@ -1,11 +1,11 @@
1
- import * as vue77 from "vue";
2
- import * as pinia2 from "pinia";
1
+ import * as vue62 from "vue";
2
+ import * as pinia1 from "pinia";
3
3
  import { CreateRoleDto, RoleAssignmentsResponse, RoleMembersResponse, RoleProjectMembersResponse, UpdateRoleDto } from "@n8n/api-types";
4
4
  import { AllRolesMap, Role as Role$1 } from "@n8n/permissions";
5
5
 
6
6
  //#region src/roles.store.d.ts
7
- declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
8
- roles: vue77.Ref<{
7
+ declare const useRolesStore: pinia1.StoreDefinition<"roles", Pick<{
8
+ roles: vue62.Ref<{
9
9
  global: {
10
10
  slug: string;
11
11
  displayName: string;
@@ -138,7 +138,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
138
138
  usedByProjects?: number | undefined | undefined;
139
139
  }[];
140
140
  }>;
141
- processedProjectRoles: vue77.ComputedRef<{
141
+ processedProjectRoles: vue62.ComputedRef<{
142
142
  slug: string;
143
143
  displayName: string;
144
144
  description: string | null;
@@ -151,7 +151,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
151
151
  usedByUsers?: number | undefined;
152
152
  usedByProjects?: number | undefined;
153
153
  }[]>;
154
- processedInstanceRoles: vue77.ComputedRef<{
154
+ processedInstanceRoles: vue62.ComputedRef<{
155
155
  slug: string;
156
156
  displayName: string;
157
157
  description: string | null;
@@ -164,7 +164,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
164
164
  usedByUsers?: number | undefined;
165
165
  usedByProjects?: number | undefined;
166
166
  }[]>;
167
- customInstanceRoles: vue77.ComputedRef<{
167
+ customInstanceRoles: vue62.ComputedRef<{
168
168
  slug: string;
169
169
  displayName: string;
170
170
  description: string | null;
@@ -177,7 +177,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
177
177
  usedByUsers?: number | undefined;
178
178
  usedByProjects?: number | undefined;
179
179
  }[]>;
180
- processedCredentialRoles: vue77.ComputedRef<{
180
+ processedCredentialRoles: vue62.ComputedRef<{
181
181
  slug: string;
182
182
  displayName: string;
183
183
  description: string | null;
@@ -190,7 +190,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
190
190
  usedByUsers?: number | undefined;
191
191
  usedByProjects?: number | undefined;
192
192
  }[]>;
193
- processedWorkflowRoles: vue77.ComputedRef<{
193
+ processedWorkflowRoles: vue62.ComputedRef<{
194
194
  slug: string;
195
195
  displayName: string;
196
196
  description: string | null;
@@ -214,7 +214,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
214
214
  fetchRoleProjectMembers: (slug: string, projectId: string) => Promise<RoleProjectMembersResponse>;
215
215
  fetchRoleMembers: (slug: string) => Promise<RoleMembersResponse>;
216
216
  }, "roles">, Pick<{
217
- roles: vue77.Ref<{
217
+ roles: vue62.Ref<{
218
218
  global: {
219
219
  slug: string;
220
220
  displayName: string;
@@ -347,7 +347,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
347
347
  usedByProjects?: number | undefined | undefined;
348
348
  }[];
349
349
  }>;
350
- processedProjectRoles: vue77.ComputedRef<{
350
+ processedProjectRoles: vue62.ComputedRef<{
351
351
  slug: string;
352
352
  displayName: string;
353
353
  description: string | null;
@@ -360,7 +360,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
360
360
  usedByUsers?: number | undefined;
361
361
  usedByProjects?: number | undefined;
362
362
  }[]>;
363
- processedInstanceRoles: vue77.ComputedRef<{
363
+ processedInstanceRoles: vue62.ComputedRef<{
364
364
  slug: string;
365
365
  displayName: string;
366
366
  description: string | null;
@@ -373,7 +373,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
373
373
  usedByUsers?: number | undefined;
374
374
  usedByProjects?: number | undefined;
375
375
  }[]>;
376
- customInstanceRoles: vue77.ComputedRef<{
376
+ customInstanceRoles: vue62.ComputedRef<{
377
377
  slug: string;
378
378
  displayName: string;
379
379
  description: string | null;
@@ -386,7 +386,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
386
386
  usedByUsers?: number | undefined;
387
387
  usedByProjects?: number | undefined;
388
388
  }[]>;
389
- processedCredentialRoles: vue77.ComputedRef<{
389
+ processedCredentialRoles: vue62.ComputedRef<{
390
390
  slug: string;
391
391
  displayName: string;
392
392
  description: string | null;
@@ -399,7 +399,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
399
399
  usedByUsers?: number | undefined;
400
400
  usedByProjects?: number | undefined;
401
401
  }[]>;
402
- processedWorkflowRoles: vue77.ComputedRef<{
402
+ processedWorkflowRoles: vue62.ComputedRef<{
403
403
  slug: string;
404
404
  displayName: string;
405
405
  description: string | null;
@@ -423,7 +423,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
423
423
  fetchRoleProjectMembers: (slug: string, projectId: string) => Promise<RoleProjectMembersResponse>;
424
424
  fetchRoleMembers: (slug: string) => Promise<RoleMembersResponse>;
425
425
  }, "processedProjectRoles" | "processedInstanceRoles" | "customInstanceRoles" | "processedCredentialRoles" | "processedWorkflowRoles">, Pick<{
426
- roles: vue77.Ref<{
426
+ roles: vue62.Ref<{
427
427
  global: {
428
428
  slug: string;
429
429
  displayName: string;
@@ -556,7 +556,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
556
556
  usedByProjects?: number | undefined | undefined;
557
557
  }[];
558
558
  }>;
559
- processedProjectRoles: vue77.ComputedRef<{
559
+ processedProjectRoles: vue62.ComputedRef<{
560
560
  slug: string;
561
561
  displayName: string;
562
562
  description: string | null;
@@ -569,7 +569,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
569
569
  usedByUsers?: number | undefined;
570
570
  usedByProjects?: number | undefined;
571
571
  }[]>;
572
- processedInstanceRoles: vue77.ComputedRef<{
572
+ processedInstanceRoles: vue62.ComputedRef<{
573
573
  slug: string;
574
574
  displayName: string;
575
575
  description: string | null;
@@ -582,7 +582,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
582
582
  usedByUsers?: number | undefined;
583
583
  usedByProjects?: number | undefined;
584
584
  }[]>;
585
- customInstanceRoles: vue77.ComputedRef<{
585
+ customInstanceRoles: vue62.ComputedRef<{
586
586
  slug: string;
587
587
  displayName: string;
588
588
  description: string | null;
@@ -595,7 +595,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
595
595
  usedByUsers?: number | undefined;
596
596
  usedByProjects?: number | undefined;
597
597
  }[]>;
598
- processedCredentialRoles: vue77.ComputedRef<{
598
+ processedCredentialRoles: vue62.ComputedRef<{
599
599
  slug: string;
600
600
  displayName: string;
601
601
  description: string | null;
@@ -608,7 +608,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
608
608
  usedByUsers?: number | undefined;
609
609
  usedByProjects?: number | undefined;
610
610
  }[]>;
611
- processedWorkflowRoles: vue77.ComputedRef<{
611
+ processedWorkflowRoles: vue62.ComputedRef<{
612
612
  slug: string;
613
613
  displayName: string;
614
614
  description: string | null;