@n8n/stores 2.36.2 → 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,42 +1,36 @@
1
- import * as pinia1 from "pinia";
2
- import * as vue62 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: 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: 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
14
  agent: Record<string, Scope[]>;
15
+ aiAssistant: Record<string, Scope[]>;
29
16
  annotationTag: Record<string, Scope[]>;
17
+ auditLogs: Record<string, Scope[]>;
30
18
  banner: Record<string, Scope[]>;
19
+ community: Record<string, Scope[]>;
31
20
  communityPackage: Record<string, Scope[]>;
32
21
  credential: Record<string, Scope[]>;
33
22
  externalSecretsProvider: Record<string, Scope[]>;
34
23
  externalSecret: Record<string, Scope[]>;
35
24
  eventBusDestination: Record<string, Scope[]>;
25
+ ldap: Record<string, Scope[]>;
26
+ license: Record<string, Scope[]>;
27
+ logStreaming: Record<string, Scope[]>;
36
28
  orchestration: Record<string, Scope[]>;
37
29
  project: Record<string, Scope[]>;
30
+ saml: Record<string, Scope[]>;
38
31
  securityAudit: Record<string, Scope[]>;
39
32
  securitySettings: Record<string, Scope[]>;
33
+ sourceControl: Record<string, Scope[]>;
40
34
  tag: Record<string, Scope[]>;
41
35
  user: Record<string, Scope[]>;
42
36
  variable: Record<string, Scope[]>;
@@ -44,10 +38,15 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
44
38
  workersView: Record<string, Scope[]>;
45
39
  workflow: Record<string, Scope[]>;
46
40
  folder: Record<string, Scope[]>;
41
+ insights: Record<string, Scope[]>;
42
+ oidc: Record<string, Scope[]>;
43
+ provisioning: Record<string, Scope[]>;
47
44
  dataTable: Record<string, Scope[]>;
48
45
  execution: Record<string, Scope[]>;
49
46
  testRun: Record<string, Scope[]>;
50
47
  workflowTags: Record<string, Scope[]>;
48
+ role: Record<string, Scope[]>;
49
+ mcp: Record<string, Scope[]>;
51
50
  mcpApiKey: Record<string, Scope[]>;
52
51
  chatHubAgent: Record<string, Scope[]>;
53
52
  breakingChanges: Record<string, Scope[]>;
@@ -56,34 +55,29 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
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" | "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
- 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[]>;
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[]>;
75
61
  agent: Record<string, Scope[]>;
62
+ aiAssistant: Record<string, Scope[]>;
76
63
  annotationTag: Record<string, Scope[]>;
64
+ auditLogs: Record<string, Scope[]>;
77
65
  banner: Record<string, Scope[]>;
66
+ community: Record<string, Scope[]>;
78
67
  communityPackage: Record<string, Scope[]>;
79
68
  credential: Record<string, Scope[]>;
80
69
  externalSecretsProvider: Record<string, Scope[]>;
81
70
  externalSecret: Record<string, Scope[]>;
82
71
  eventBusDestination: Record<string, Scope[]>;
72
+ ldap: Record<string, Scope[]>;
73
+ license: Record<string, Scope[]>;
74
+ logStreaming: Record<string, Scope[]>;
83
75
  orchestration: Record<string, Scope[]>;
84
76
  project: Record<string, Scope[]>;
77
+ saml: Record<string, Scope[]>;
85
78
  securityAudit: Record<string, Scope[]>;
86
79
  securitySettings: Record<string, Scope[]>;
80
+ sourceControl: Record<string, Scope[]>;
87
81
  tag: Record<string, Scope[]>;
88
82
  user: Record<string, Scope[]>;
89
83
  variable: Record<string, Scope[]>;
@@ -91,10 +85,15 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
91
85
  workersView: Record<string, Scope[]>;
92
86
  workflow: Record<string, Scope[]>;
93
87
  folder: Record<string, Scope[]>;
88
+ insights: Record<string, Scope[]>;
89
+ oidc: Record<string, Scope[]>;
90
+ provisioning: Record<string, Scope[]>;
94
91
  dataTable: Record<string, Scope[]>;
95
92
  execution: Record<string, Scope[]>;
96
93
  testRun: Record<string, Scope[]>;
97
94
  workflowTags: Record<string, Scope[]>;
95
+ role: Record<string, Scope[]>;
96
+ mcp: Record<string, Scope[]>;
98
97
  mcpApiKey: Record<string, Scope[]>;
99
98
  chatHubAgent: Record<string, Scope[]>;
100
99
  breakingChanges: Record<string, Scope[]>;
@@ -103,6 +102,7 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
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,38 +121,32 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
121
121
  projectId?: string;
122
122
  }, options?: ScopeOptions) => boolean;
123
123
  }, "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<{
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
130
  agent: Record<string, Scope[]>;
131
+ aiAssistant: Record<string, Scope[]>;
145
132
  annotationTag: Record<string, Scope[]>;
133
+ auditLogs: Record<string, Scope[]>;
146
134
  banner: Record<string, Scope[]>;
135
+ community: Record<string, Scope[]>;
147
136
  communityPackage: Record<string, Scope[]>;
148
137
  credential: Record<string, Scope[]>;
149
138
  externalSecretsProvider: Record<string, Scope[]>;
150
139
  externalSecret: Record<string, Scope[]>;
151
140
  eventBusDestination: Record<string, Scope[]>;
141
+ ldap: Record<string, Scope[]>;
142
+ license: Record<string, Scope[]>;
143
+ logStreaming: Record<string, Scope[]>;
152
144
  orchestration: Record<string, Scope[]>;
153
145
  project: Record<string, Scope[]>;
146
+ saml: Record<string, Scope[]>;
154
147
  securityAudit: Record<string, Scope[]>;
155
148
  securitySettings: Record<string, Scope[]>;
149
+ sourceControl: Record<string, Scope[]>;
156
150
  tag: Record<string, Scope[]>;
157
151
  user: Record<string, Scope[]>;
158
152
  variable: Record<string, Scope[]>;
@@ -160,10 +154,15 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
160
154
  workersView: Record<string, Scope[]>;
161
155
  workflow: Record<string, Scope[]>;
162
156
  folder: Record<string, Scope[]>;
157
+ insights: Record<string, Scope[]>;
158
+ oidc: Record<string, Scope[]>;
159
+ provisioning: Record<string, Scope[]>;
163
160
  dataTable: Record<string, Scope[]>;
164
161
  execution: Record<string, Scope[]>;
165
162
  testRun: Record<string, Scope[]>;
166
163
  workflowTags: Record<string, Scope[]>;
164
+ role: Record<string, Scope[]>;
165
+ mcp: Record<string, Scope[]>;
167
166
  mcpApiKey: Record<string, Scope[]>;
168
167
  chatHubAgent: Record<string, Scope[]>;
169
168
  breakingChanges: Record<string, Scope[]>;
@@ -172,34 +171,29 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
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" | "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[]>> | {
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[]>;
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[]>;
191
177
  agent: Record<string, Scope[]>;
178
+ aiAssistant: Record<string, Scope[]>;
192
179
  annotationTag: Record<string, Scope[]>;
180
+ auditLogs: Record<string, Scope[]>;
193
181
  banner: Record<string, Scope[]>;
182
+ community: Record<string, Scope[]>;
194
183
  communityPackage: Record<string, Scope[]>;
195
184
  credential: Record<string, Scope[]>;
196
185
  externalSecretsProvider: Record<string, Scope[]>;
197
186
  externalSecret: Record<string, Scope[]>;
198
187
  eventBusDestination: Record<string, Scope[]>;
188
+ ldap: Record<string, Scope[]>;
189
+ license: Record<string, Scope[]>;
190
+ logStreaming: Record<string, Scope[]>;
199
191
  orchestration: Record<string, Scope[]>;
200
192
  project: Record<string, Scope[]>;
193
+ saml: Record<string, Scope[]>;
201
194
  securityAudit: Record<string, Scope[]>;
202
195
  securitySettings: Record<string, Scope[]>;
196
+ sourceControl: Record<string, Scope[]>;
203
197
  tag: Record<string, Scope[]>;
204
198
  user: Record<string, Scope[]>;
205
199
  variable: Record<string, Scope[]>;
@@ -207,10 +201,15 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
207
201
  workersView: Record<string, Scope[]>;
208
202
  workflow: Record<string, Scope[]>;
209
203
  folder: Record<string, Scope[]>;
204
+ insights: Record<string, Scope[]>;
205
+ oidc: Record<string, Scope[]>;
206
+ provisioning: Record<string, Scope[]>;
210
207
  dataTable: Record<string, Scope[]>;
211
208
  execution: Record<string, Scope[]>;
212
209
  testRun: Record<string, Scope[]>;
213
210
  workflowTags: Record<string, Scope[]>;
211
+ role: Record<string, Scope[]>;
212
+ mcp: Record<string, Scope[]>;
214
213
  mcpApiKey: Record<string, Scope[]>;
215
214
  chatHubAgent: Record<string, Scope[]>;
216
215
  breakingChanges: Record<string, Scope[]>;
@@ -219,6 +218,7 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
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,38 +237,32 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
237
237
  projectId?: string;
238
238
  }, options?: ScopeOptions) => boolean;
239
239
  }, 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<{
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
246
  agent: Record<string, Scope[]>;
247
+ aiAssistant: Record<string, Scope[]>;
261
248
  annotationTag: Record<string, Scope[]>;
249
+ auditLogs: Record<string, Scope[]>;
262
250
  banner: Record<string, Scope[]>;
251
+ community: Record<string, Scope[]>;
263
252
  communityPackage: Record<string, Scope[]>;
264
253
  credential: Record<string, Scope[]>;
265
254
  externalSecretsProvider: Record<string, Scope[]>;
266
255
  externalSecret: Record<string, Scope[]>;
267
256
  eventBusDestination: Record<string, Scope[]>;
257
+ ldap: Record<string, Scope[]>;
258
+ license: Record<string, Scope[]>;
259
+ logStreaming: Record<string, Scope[]>;
268
260
  orchestration: Record<string, Scope[]>;
269
261
  project: Record<string, Scope[]>;
262
+ saml: Record<string, Scope[]>;
270
263
  securityAudit: Record<string, Scope[]>;
271
264
  securitySettings: Record<string, Scope[]>;
265
+ sourceControl: Record<string, Scope[]>;
272
266
  tag: Record<string, Scope[]>;
273
267
  user: Record<string, Scope[]>;
274
268
  variable: Record<string, Scope[]>;
@@ -276,10 +270,15 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
276
270
  workersView: Record<string, Scope[]>;
277
271
  workflow: Record<string, Scope[]>;
278
272
  folder: Record<string, Scope[]>;
273
+ insights: Record<string, Scope[]>;
274
+ oidc: Record<string, Scope[]>;
275
+ provisioning: Record<string, Scope[]>;
279
276
  dataTable: Record<string, Scope[]>;
280
277
  execution: Record<string, Scope[]>;
281
278
  testRun: Record<string, Scope[]>;
282
279
  workflowTags: Record<string, Scope[]>;
280
+ role: Record<string, Scope[]>;
281
+ mcp: Record<string, Scope[]>;
283
282
  mcpApiKey: Record<string, Scope[]>;
284
283
  chatHubAgent: Record<string, Scope[]>;
285
284
  breakingChanges: Record<string, Scope[]>;
@@ -288,34 +287,29 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
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" | "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[]>> | {
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[]>;
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[]>;
307
293
  agent: Record<string, Scope[]>;
294
+ aiAssistant: Record<string, Scope[]>;
308
295
  annotationTag: Record<string, Scope[]>;
296
+ auditLogs: Record<string, Scope[]>;
309
297
  banner: Record<string, Scope[]>;
298
+ community: Record<string, Scope[]>;
310
299
  communityPackage: Record<string, Scope[]>;
311
300
  credential: Record<string, Scope[]>;
312
301
  externalSecretsProvider: Record<string, Scope[]>;
313
302
  externalSecret: Record<string, Scope[]>;
314
303
  eventBusDestination: Record<string, Scope[]>;
304
+ ldap: Record<string, Scope[]>;
305
+ license: Record<string, Scope[]>;
306
+ logStreaming: Record<string, Scope[]>;
315
307
  orchestration: Record<string, Scope[]>;
316
308
  project: Record<string, Scope[]>;
309
+ saml: Record<string, Scope[]>;
317
310
  securityAudit: Record<string, Scope[]>;
318
311
  securitySettings: Record<string, Scope[]>;
312
+ sourceControl: Record<string, Scope[]>;
319
313
  tag: Record<string, Scope[]>;
320
314
  user: Record<string, Scope[]>;
321
315
  variable: Record<string, Scope[]>;
@@ -323,10 +317,15 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
323
317
  workersView: Record<string, Scope[]>;
324
318
  workflow: Record<string, Scope[]>;
325
319
  folder: Record<string, Scope[]>;
320
+ insights: Record<string, Scope[]>;
321
+ oidc: Record<string, Scope[]>;
322
+ provisioning: Record<string, Scope[]>;
326
323
  dataTable: Record<string, Scope[]>;
327
324
  execution: Record<string, Scope[]>;
328
325
  testRun: Record<string, Scope[]>;
329
326
  workflowTags: Record<string, Scope[]>;
327
+ role: Record<string, Scope[]>;
328
+ mcp: Record<string, Scope[]>;
330
329
  mcpApiKey: Record<string, Scope[]>;
331
330
  chatHubAgent: Record<string, Scope[]>;
332
331
  breakingChanges: Record<string, Scope[]>;
@@ -335,6 +334,7 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
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;