@n8n/stores 2.34.0 → 2.34.1

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,15 +1,15 @@
1
- import * as pinia2 from "pinia";
2
- import * as vue80 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: pinia2.StoreDefinition<"rbac", Pick<{
8
- globalRoles: vue80.Ref<Role[], Role[]>;
9
- rolesByProjectId: vue80.Ref<Record<string, string[]>, Record<string, string[]>>;
10
- globalScopes: vue80.Ref<Scope[], Scope[]>;
11
- scopesByProjectId: vue80.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
12
- scopesByResourceId: vue80.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,17 +25,16 @@ declare const useRBACStore: pinia2.StoreDefinition<"rbac", Pick<{
25
25
  mcp: Record<string, Scope[]>;
26
26
  otel: Record<string, Scope[]>;
27
27
  role: Record<string, Scope[]>;
28
- project: Record<string, Scope[]>;
29
- credential: Record<string, Scope[]>;
30
- workflow: Record<string, Scope[]>;
31
28
  agent: Record<string, Scope[]>;
32
29
  annotationTag: Record<string, Scope[]>;
33
30
  banner: Record<string, Scope[]>;
34
31
  communityPackage: Record<string, Scope[]>;
32
+ credential: Record<string, Scope[]>;
35
33
  externalSecretsProvider: Record<string, Scope[]>;
36
34
  externalSecret: Record<string, Scope[]>;
37
35
  eventBusDestination: Record<string, Scope[]>;
38
36
  orchestration: Record<string, Scope[]>;
37
+ project: Record<string, Scope[]>;
39
38
  securityAudit: Record<string, Scope[]>;
40
39
  securitySettings: Record<string, Scope[]>;
41
40
  tag: Record<string, Scope[]>;
@@ -43,6 +42,7 @@ declare const useRBACStore: pinia2.StoreDefinition<"rbac", Pick<{
43
42
  variable: Record<string, Scope[]>;
44
43
  projectVariable: Record<string, Scope[]>;
45
44
  workersView: Record<string, Scope[]>;
45
+ workflow: Record<string, Scope[]>;
46
46
  folder: Record<string, Scope[]>;
47
47
  dataTable: Record<string, Scope[]>;
48
48
  execution: Record<string, Scope[]>;
@@ -56,7 +56,7 @@ declare const useRBACStore: pinia2.StoreDefinition<"rbac", Pick<{
56
56
  credentialResolver: Record<string, Scope[]>;
57
57
  instanceAi: Record<string, Scope[]>;
58
58
  roleMappingRule: Record<string, Scope[]>;
59
- }, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "project" | "credential" | "workflow" | "agent" | "annotationTag" | "banner" | "communityPackage" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "securityAudit" | "securitySettings" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "apiKey" | "encryptionKey" | "credentialResolver" | "instanceAi" | "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
60
  chatHub: Record<string, Scope[]>;
61
61
  logStreaming: Record<string, Scope[]>;
62
62
  aiAssistant: Record<string, Scope[]>;
@@ -72,17 +72,16 @@ declare const useRBACStore: pinia2.StoreDefinition<"rbac", Pick<{
72
72
  mcp: Record<string, Scope[]>;
73
73
  otel: Record<string, Scope[]>;
74
74
  role: Record<string, Scope[]>;
75
- project: Record<string, Scope[]>;
76
- credential: Record<string, Scope[]>;
77
- workflow: Record<string, Scope[]>;
78
75
  agent: Record<string, Scope[]>;
79
76
  annotationTag: Record<string, Scope[]>;
80
77
  banner: Record<string, Scope[]>;
81
78
  communityPackage: Record<string, Scope[]>;
79
+ credential: Record<string, Scope[]>;
82
80
  externalSecretsProvider: Record<string, Scope[]>;
83
81
  externalSecret: Record<string, Scope[]>;
84
82
  eventBusDestination: Record<string, Scope[]>;
85
83
  orchestration: Record<string, Scope[]>;
84
+ project: Record<string, Scope[]>;
86
85
  securityAudit: Record<string, Scope[]>;
87
86
  securitySettings: Record<string, Scope[]>;
88
87
  tag: Record<string, Scope[]>;
@@ -90,6 +89,7 @@ declare const useRBACStore: pinia2.StoreDefinition<"rbac", Pick<{
90
89
  variable: Record<string, Scope[]>;
91
90
  projectVariable: Record<string, Scope[]>;
92
91
  workersView: Record<string, Scope[]>;
92
+ workflow: Record<string, Scope[]>;
93
93
  folder: Record<string, Scope[]>;
94
94
  dataTable: Record<string, Scope[]>;
95
95
  execution: Record<string, Scope[]>;
@@ -121,11 +121,11 @@ 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: vue80.Ref<Role[], Role[]>;
125
- rolesByProjectId: vue80.Ref<Record<string, string[]>, Record<string, string[]>>;
126
- globalScopes: vue80.Ref<Scope[], Scope[]>;
127
- scopesByProjectId: vue80.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
128
- scopesByResourceId: vue80.Ref<{
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<{
129
129
  chatHub: Record<string, Scope[]>;
130
130
  logStreaming: Record<string, Scope[]>;
131
131
  aiAssistant: Record<string, Scope[]>;
@@ -141,17 +141,16 @@ declare const useRBACStore: pinia2.StoreDefinition<"rbac", Pick<{
141
141
  mcp: Record<string, Scope[]>;
142
142
  otel: Record<string, Scope[]>;
143
143
  role: Record<string, Scope[]>;
144
- project: Record<string, Scope[]>;
145
- credential: Record<string, Scope[]>;
146
- workflow: Record<string, Scope[]>;
147
144
  agent: Record<string, Scope[]>;
148
145
  annotationTag: Record<string, Scope[]>;
149
146
  banner: Record<string, Scope[]>;
150
147
  communityPackage: Record<string, Scope[]>;
148
+ credential: Record<string, Scope[]>;
151
149
  externalSecretsProvider: Record<string, Scope[]>;
152
150
  externalSecret: Record<string, Scope[]>;
153
151
  eventBusDestination: Record<string, Scope[]>;
154
152
  orchestration: Record<string, Scope[]>;
153
+ project: Record<string, Scope[]>;
155
154
  securityAudit: Record<string, Scope[]>;
156
155
  securitySettings: Record<string, Scope[]>;
157
156
  tag: Record<string, Scope[]>;
@@ -159,6 +158,7 @@ declare const useRBACStore: pinia2.StoreDefinition<"rbac", Pick<{
159
158
  variable: Record<string, Scope[]>;
160
159
  projectVariable: Record<string, Scope[]>;
161
160
  workersView: Record<string, Scope[]>;
161
+ workflow: Record<string, Scope[]>;
162
162
  folder: Record<string, Scope[]>;
163
163
  dataTable: Record<string, Scope[]>;
164
164
  execution: Record<string, Scope[]>;
@@ -172,7 +172,7 @@ declare const useRBACStore: pinia2.StoreDefinition<"rbac", Pick<{
172
172
  credentialResolver: Record<string, Scope[]>;
173
173
  instanceAi: Record<string, Scope[]>;
174
174
  roleMappingRule: Record<string, Scope[]>;
175
- }, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "project" | "credential" | "workflow" | "agent" | "annotationTag" | "banner" | "communityPackage" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "securityAudit" | "securitySettings" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "apiKey" | "encryptionKey" | "credentialResolver" | "instanceAi" | "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
176
  chatHub: Record<string, Scope[]>;
177
177
  logStreaming: Record<string, Scope[]>;
178
178
  aiAssistant: Record<string, Scope[]>;
@@ -188,17 +188,16 @@ declare const useRBACStore: pinia2.StoreDefinition<"rbac", Pick<{
188
188
  mcp: Record<string, Scope[]>;
189
189
  otel: Record<string, Scope[]>;
190
190
  role: Record<string, Scope[]>;
191
- project: Record<string, Scope[]>;
192
- credential: Record<string, Scope[]>;
193
- workflow: Record<string, Scope[]>;
194
191
  agent: Record<string, Scope[]>;
195
192
  annotationTag: Record<string, Scope[]>;
196
193
  banner: Record<string, Scope[]>;
197
194
  communityPackage: Record<string, Scope[]>;
195
+ credential: Record<string, Scope[]>;
198
196
  externalSecretsProvider: Record<string, Scope[]>;
199
197
  externalSecret: Record<string, Scope[]>;
200
198
  eventBusDestination: Record<string, Scope[]>;
201
199
  orchestration: Record<string, Scope[]>;
200
+ project: Record<string, Scope[]>;
202
201
  securityAudit: Record<string, Scope[]>;
203
202
  securitySettings: Record<string, Scope[]>;
204
203
  tag: Record<string, Scope[]>;
@@ -206,6 +205,7 @@ declare const useRBACStore: pinia2.StoreDefinition<"rbac", Pick<{
206
205
  variable: Record<string, Scope[]>;
207
206
  projectVariable: Record<string, Scope[]>;
208
207
  workersView: Record<string, Scope[]>;
208
+ workflow: Record<string, Scope[]>;
209
209
  folder: Record<string, Scope[]>;
210
210
  dataTable: Record<string, Scope[]>;
211
211
  execution: Record<string, Scope[]>;
@@ -237,11 +237,11 @@ declare const useRBACStore: pinia2.StoreDefinition<"rbac", Pick<{
237
237
  projectId?: string;
238
238
  }, options?: ScopeOptions) => boolean;
239
239
  }, never>, Pick<{
240
- globalRoles: vue80.Ref<Role[], Role[]>;
241
- rolesByProjectId: vue80.Ref<Record<string, string[]>, Record<string, string[]>>;
242
- globalScopes: vue80.Ref<Scope[], Scope[]>;
243
- scopesByProjectId: vue80.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
244
- scopesByResourceId: vue80.Ref<{
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<{
245
245
  chatHub: Record<string, Scope[]>;
246
246
  logStreaming: Record<string, Scope[]>;
247
247
  aiAssistant: Record<string, Scope[]>;
@@ -257,17 +257,16 @@ declare const useRBACStore: pinia2.StoreDefinition<"rbac", Pick<{
257
257
  mcp: Record<string, Scope[]>;
258
258
  otel: Record<string, Scope[]>;
259
259
  role: Record<string, Scope[]>;
260
- project: Record<string, Scope[]>;
261
- credential: Record<string, Scope[]>;
262
- workflow: Record<string, Scope[]>;
263
260
  agent: Record<string, Scope[]>;
264
261
  annotationTag: Record<string, Scope[]>;
265
262
  banner: Record<string, Scope[]>;
266
263
  communityPackage: Record<string, Scope[]>;
264
+ credential: Record<string, Scope[]>;
267
265
  externalSecretsProvider: Record<string, Scope[]>;
268
266
  externalSecret: Record<string, Scope[]>;
269
267
  eventBusDestination: Record<string, Scope[]>;
270
268
  orchestration: Record<string, Scope[]>;
269
+ project: Record<string, Scope[]>;
271
270
  securityAudit: Record<string, Scope[]>;
272
271
  securitySettings: Record<string, Scope[]>;
273
272
  tag: Record<string, Scope[]>;
@@ -275,6 +274,7 @@ declare const useRBACStore: pinia2.StoreDefinition<"rbac", Pick<{
275
274
  variable: Record<string, Scope[]>;
276
275
  projectVariable: Record<string, Scope[]>;
277
276
  workersView: Record<string, Scope[]>;
277
+ workflow: Record<string, Scope[]>;
278
278
  folder: Record<string, Scope[]>;
279
279
  dataTable: Record<string, Scope[]>;
280
280
  execution: Record<string, Scope[]>;
@@ -288,7 +288,7 @@ declare const useRBACStore: pinia2.StoreDefinition<"rbac", Pick<{
288
288
  credentialResolver: Record<string, Scope[]>;
289
289
  instanceAi: Record<string, Scope[]>;
290
290
  roleMappingRule: Record<string, Scope[]>;
291
- }, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "project" | "credential" | "workflow" | "agent" | "annotationTag" | "banner" | "communityPackage" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "securityAudit" | "securitySettings" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "apiKey" | "encryptionKey" | "credentialResolver" | "instanceAi" | "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
292
  chatHub: Record<string, Scope[]>;
293
293
  logStreaming: Record<string, Scope[]>;
294
294
  aiAssistant: Record<string, Scope[]>;
@@ -304,17 +304,16 @@ declare const useRBACStore: pinia2.StoreDefinition<"rbac", Pick<{
304
304
  mcp: Record<string, Scope[]>;
305
305
  otel: Record<string, Scope[]>;
306
306
  role: Record<string, Scope[]>;
307
- project: Record<string, Scope[]>;
308
- credential: Record<string, Scope[]>;
309
- workflow: Record<string, Scope[]>;
310
307
  agent: Record<string, Scope[]>;
311
308
  annotationTag: Record<string, Scope[]>;
312
309
  banner: Record<string, Scope[]>;
313
310
  communityPackage: Record<string, Scope[]>;
311
+ credential: Record<string, Scope[]>;
314
312
  externalSecretsProvider: Record<string, Scope[]>;
315
313
  externalSecret: Record<string, Scope[]>;
316
314
  eventBusDestination: Record<string, Scope[]>;
317
315
  orchestration: Record<string, Scope[]>;
316
+ project: Record<string, Scope[]>;
318
317
  securityAudit: Record<string, Scope[]>;
319
318
  securitySettings: Record<string, Scope[]>;
320
319
  tag: Record<string, Scope[]>;
@@ -322,6 +321,7 @@ declare const useRBACStore: pinia2.StoreDefinition<"rbac", Pick<{
322
321
  variable: Record<string, Scope[]>;
323
322
  projectVariable: Record<string, Scope[]>;
324
323
  workersView: Record<string, Scope[]>;
324
+ workflow: Record<string, Scope[]>;
325
325
  folder: Record<string, Scope[]>;
326
326
  dataTable: Record<string, Scope[]>;
327
327
  execution: Record<string, Scope[]>;
@@ -1,11 +1,11 @@
1
- import * as vue305 from "vue";
1
+ import * as vue407 from "vue";
2
2
  import * as pinia4 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
7
  declare const useRolesStore: pinia4.StoreDefinition<"roles", Pick<{
8
- roles: vue305.Ref<{
8
+ roles: vue407.Ref<{
9
9
  global: {
10
10
  slug: string;
11
11
  displayName: string;
@@ -138,7 +138,7 @@ declare const useRolesStore: pinia4.StoreDefinition<"roles", Pick<{
138
138
  usedByProjects?: number | undefined | undefined;
139
139
  }[];
140
140
  }>;
141
- processedProjectRoles: vue305.ComputedRef<{
141
+ processedProjectRoles: vue407.ComputedRef<{
142
142
  slug: string;
143
143
  displayName: string;
144
144
  description: string | null;
@@ -151,7 +151,7 @@ declare const useRolesStore: pinia4.StoreDefinition<"roles", Pick<{
151
151
  usedByUsers?: number | undefined;
152
152
  usedByProjects?: number | undefined;
153
153
  }[]>;
154
- processedInstanceRoles: vue305.ComputedRef<{
154
+ processedInstanceRoles: vue407.ComputedRef<{
155
155
  slug: string;
156
156
  displayName: string;
157
157
  description: string | null;
@@ -164,7 +164,7 @@ declare const useRolesStore: pinia4.StoreDefinition<"roles", Pick<{
164
164
  usedByUsers?: number | undefined;
165
165
  usedByProjects?: number | undefined;
166
166
  }[]>;
167
- customInstanceRoles: vue305.ComputedRef<{
167
+ customInstanceRoles: vue407.ComputedRef<{
168
168
  slug: string;
169
169
  displayName: string;
170
170
  description: string | null;
@@ -177,7 +177,7 @@ declare const useRolesStore: pinia4.StoreDefinition<"roles", Pick<{
177
177
  usedByUsers?: number | undefined;
178
178
  usedByProjects?: number | undefined;
179
179
  }[]>;
180
- processedCredentialRoles: vue305.ComputedRef<{
180
+ processedCredentialRoles: vue407.ComputedRef<{
181
181
  slug: string;
182
182
  displayName: string;
183
183
  description: string | null;
@@ -190,7 +190,7 @@ declare const useRolesStore: pinia4.StoreDefinition<"roles", Pick<{
190
190
  usedByUsers?: number | undefined;
191
191
  usedByProjects?: number | undefined;
192
192
  }[]>;
193
- processedWorkflowRoles: vue305.ComputedRef<{
193
+ processedWorkflowRoles: vue407.ComputedRef<{
194
194
  slug: string;
195
195
  displayName: string;
196
196
  description: string | null;
@@ -214,7 +214,7 @@ declare const useRolesStore: pinia4.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: vue305.Ref<{
217
+ roles: vue407.Ref<{
218
218
  global: {
219
219
  slug: string;
220
220
  displayName: string;
@@ -347,7 +347,7 @@ declare const useRolesStore: pinia4.StoreDefinition<"roles", Pick<{
347
347
  usedByProjects?: number | undefined | undefined;
348
348
  }[];
349
349
  }>;
350
- processedProjectRoles: vue305.ComputedRef<{
350
+ processedProjectRoles: vue407.ComputedRef<{
351
351
  slug: string;
352
352
  displayName: string;
353
353
  description: string | null;
@@ -360,7 +360,7 @@ declare const useRolesStore: pinia4.StoreDefinition<"roles", Pick<{
360
360
  usedByUsers?: number | undefined;
361
361
  usedByProjects?: number | undefined;
362
362
  }[]>;
363
- processedInstanceRoles: vue305.ComputedRef<{
363
+ processedInstanceRoles: vue407.ComputedRef<{
364
364
  slug: string;
365
365
  displayName: string;
366
366
  description: string | null;
@@ -373,7 +373,7 @@ declare const useRolesStore: pinia4.StoreDefinition<"roles", Pick<{
373
373
  usedByUsers?: number | undefined;
374
374
  usedByProjects?: number | undefined;
375
375
  }[]>;
376
- customInstanceRoles: vue305.ComputedRef<{
376
+ customInstanceRoles: vue407.ComputedRef<{
377
377
  slug: string;
378
378
  displayName: string;
379
379
  description: string | null;
@@ -386,7 +386,7 @@ declare const useRolesStore: pinia4.StoreDefinition<"roles", Pick<{
386
386
  usedByUsers?: number | undefined;
387
387
  usedByProjects?: number | undefined;
388
388
  }[]>;
389
- processedCredentialRoles: vue305.ComputedRef<{
389
+ processedCredentialRoles: vue407.ComputedRef<{
390
390
  slug: string;
391
391
  displayName: string;
392
392
  description: string | null;
@@ -399,7 +399,7 @@ declare const useRolesStore: pinia4.StoreDefinition<"roles", Pick<{
399
399
  usedByUsers?: number | undefined;
400
400
  usedByProjects?: number | undefined;
401
401
  }[]>;
402
- processedWorkflowRoles: vue305.ComputedRef<{
402
+ processedWorkflowRoles: vue407.ComputedRef<{
403
403
  slug: string;
404
404
  displayName: string;
405
405
  description: string | null;
@@ -423,7 +423,7 @@ declare const useRolesStore: pinia4.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: vue305.Ref<{
426
+ roles: vue407.Ref<{
427
427
  global: {
428
428
  slug: string;
429
429
  displayName: string;
@@ -556,7 +556,7 @@ declare const useRolesStore: pinia4.StoreDefinition<"roles", Pick<{
556
556
  usedByProjects?: number | undefined | undefined;
557
557
  }[];
558
558
  }>;
559
- processedProjectRoles: vue305.ComputedRef<{
559
+ processedProjectRoles: vue407.ComputedRef<{
560
560
  slug: string;
561
561
  displayName: string;
562
562
  description: string | null;
@@ -569,7 +569,7 @@ declare const useRolesStore: pinia4.StoreDefinition<"roles", Pick<{
569
569
  usedByUsers?: number | undefined;
570
570
  usedByProjects?: number | undefined;
571
571
  }[]>;
572
- processedInstanceRoles: vue305.ComputedRef<{
572
+ processedInstanceRoles: vue407.ComputedRef<{
573
573
  slug: string;
574
574
  displayName: string;
575
575
  description: string | null;
@@ -582,7 +582,7 @@ declare const useRolesStore: pinia4.StoreDefinition<"roles", Pick<{
582
582
  usedByUsers?: number | undefined;
583
583
  usedByProjects?: number | undefined;
584
584
  }[]>;
585
- customInstanceRoles: vue305.ComputedRef<{
585
+ customInstanceRoles: vue407.ComputedRef<{
586
586
  slug: string;
587
587
  displayName: string;
588
588
  description: string | null;
@@ -595,7 +595,7 @@ declare const useRolesStore: pinia4.StoreDefinition<"roles", Pick<{
595
595
  usedByUsers?: number | undefined;
596
596
  usedByProjects?: number | undefined;
597
597
  }[]>;
598
- processedCredentialRoles: vue305.ComputedRef<{
598
+ processedCredentialRoles: vue407.ComputedRef<{
599
599
  slug: string;
600
600
  displayName: string;
601
601
  description: string | null;
@@ -608,7 +608,7 @@ declare const useRolesStore: pinia4.StoreDefinition<"roles", Pick<{
608
608
  usedByUsers?: number | undefined;
609
609
  usedByProjects?: number | undefined;
610
610
  }[]>;
611
- processedWorkflowRoles: vue305.ComputedRef<{
611
+ processedWorkflowRoles: vue407.ComputedRef<{
612
612
  slug: string;
613
613
  displayName: string;
614
614
  description: string | null;
@@ -1,11 +1,11 @@
1
- import * as pinia1 from "pinia";
2
- import * as vue62 from "vue";
1
+ import * as pinia2 from "pinia";
2
+ import * as vue77 from "vue";
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: pinia1.StoreDefinition<"roles", Pick<{
8
- roles: vue62.Ref<{
7
+ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
8
+ roles: vue77.Ref<{
9
9
  global: {
10
10
  slug: string;
11
11
  displayName: string;
@@ -138,7 +138,7 @@ declare const useRolesStore: pinia1.StoreDefinition<"roles", Pick<{
138
138
  usedByProjects?: number | undefined | undefined;
139
139
  }[];
140
140
  }>;
141
- processedProjectRoles: vue62.ComputedRef<{
141
+ processedProjectRoles: vue77.ComputedRef<{
142
142
  slug: string;
143
143
  displayName: string;
144
144
  description: string | null;
@@ -151,7 +151,7 @@ declare const useRolesStore: pinia1.StoreDefinition<"roles", Pick<{
151
151
  usedByUsers?: number | undefined;
152
152
  usedByProjects?: number | undefined;
153
153
  }[]>;
154
- processedInstanceRoles: vue62.ComputedRef<{
154
+ processedInstanceRoles: vue77.ComputedRef<{
155
155
  slug: string;
156
156
  displayName: string;
157
157
  description: string | null;
@@ -164,7 +164,7 @@ declare const useRolesStore: pinia1.StoreDefinition<"roles", Pick<{
164
164
  usedByUsers?: number | undefined;
165
165
  usedByProjects?: number | undefined;
166
166
  }[]>;
167
- customInstanceRoles: vue62.ComputedRef<{
167
+ customInstanceRoles: vue77.ComputedRef<{
168
168
  slug: string;
169
169
  displayName: string;
170
170
  description: string | null;
@@ -177,7 +177,7 @@ declare const useRolesStore: pinia1.StoreDefinition<"roles", Pick<{
177
177
  usedByUsers?: number | undefined;
178
178
  usedByProjects?: number | undefined;
179
179
  }[]>;
180
- processedCredentialRoles: vue62.ComputedRef<{
180
+ processedCredentialRoles: vue77.ComputedRef<{
181
181
  slug: string;
182
182
  displayName: string;
183
183
  description: string | null;
@@ -190,7 +190,7 @@ declare const useRolesStore: pinia1.StoreDefinition<"roles", Pick<{
190
190
  usedByUsers?: number | undefined;
191
191
  usedByProjects?: number | undefined;
192
192
  }[]>;
193
- processedWorkflowRoles: vue62.ComputedRef<{
193
+ processedWorkflowRoles: vue77.ComputedRef<{
194
194
  slug: string;
195
195
  displayName: string;
196
196
  description: string | null;
@@ -214,7 +214,7 @@ declare const useRolesStore: pinia1.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: vue62.Ref<{
217
+ roles: vue77.Ref<{
218
218
  global: {
219
219
  slug: string;
220
220
  displayName: string;
@@ -347,7 +347,7 @@ declare const useRolesStore: pinia1.StoreDefinition<"roles", Pick<{
347
347
  usedByProjects?: number | undefined | undefined;
348
348
  }[];
349
349
  }>;
350
- processedProjectRoles: vue62.ComputedRef<{
350
+ processedProjectRoles: vue77.ComputedRef<{
351
351
  slug: string;
352
352
  displayName: string;
353
353
  description: string | null;
@@ -360,7 +360,7 @@ declare const useRolesStore: pinia1.StoreDefinition<"roles", Pick<{
360
360
  usedByUsers?: number | undefined;
361
361
  usedByProjects?: number | undefined;
362
362
  }[]>;
363
- processedInstanceRoles: vue62.ComputedRef<{
363
+ processedInstanceRoles: vue77.ComputedRef<{
364
364
  slug: string;
365
365
  displayName: string;
366
366
  description: string | null;
@@ -373,7 +373,7 @@ declare const useRolesStore: pinia1.StoreDefinition<"roles", Pick<{
373
373
  usedByUsers?: number | undefined;
374
374
  usedByProjects?: number | undefined;
375
375
  }[]>;
376
- customInstanceRoles: vue62.ComputedRef<{
376
+ customInstanceRoles: vue77.ComputedRef<{
377
377
  slug: string;
378
378
  displayName: string;
379
379
  description: string | null;
@@ -386,7 +386,7 @@ declare const useRolesStore: pinia1.StoreDefinition<"roles", Pick<{
386
386
  usedByUsers?: number | undefined;
387
387
  usedByProjects?: number | undefined;
388
388
  }[]>;
389
- processedCredentialRoles: vue62.ComputedRef<{
389
+ processedCredentialRoles: vue77.ComputedRef<{
390
390
  slug: string;
391
391
  displayName: string;
392
392
  description: string | null;
@@ -399,7 +399,7 @@ declare const useRolesStore: pinia1.StoreDefinition<"roles", Pick<{
399
399
  usedByUsers?: number | undefined;
400
400
  usedByProjects?: number | undefined;
401
401
  }[]>;
402
- processedWorkflowRoles: vue62.ComputedRef<{
402
+ processedWorkflowRoles: vue77.ComputedRef<{
403
403
  slug: string;
404
404
  displayName: string;
405
405
  description: string | null;
@@ -423,7 +423,7 @@ declare const useRolesStore: pinia1.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: vue62.Ref<{
426
+ roles: vue77.Ref<{
427
427
  global: {
428
428
  slug: string;
429
429
  displayName: string;
@@ -556,7 +556,7 @@ declare const useRolesStore: pinia1.StoreDefinition<"roles", Pick<{
556
556
  usedByProjects?: number | undefined | undefined;
557
557
  }[];
558
558
  }>;
559
- processedProjectRoles: vue62.ComputedRef<{
559
+ processedProjectRoles: vue77.ComputedRef<{
560
560
  slug: string;
561
561
  displayName: string;
562
562
  description: string | null;
@@ -569,7 +569,7 @@ declare const useRolesStore: pinia1.StoreDefinition<"roles", Pick<{
569
569
  usedByUsers?: number | undefined;
570
570
  usedByProjects?: number | undefined;
571
571
  }[]>;
572
- processedInstanceRoles: vue62.ComputedRef<{
572
+ processedInstanceRoles: vue77.ComputedRef<{
573
573
  slug: string;
574
574
  displayName: string;
575
575
  description: string | null;
@@ -582,7 +582,7 @@ declare const useRolesStore: pinia1.StoreDefinition<"roles", Pick<{
582
582
  usedByUsers?: number | undefined;
583
583
  usedByProjects?: number | undefined;
584
584
  }[]>;
585
- customInstanceRoles: vue62.ComputedRef<{
585
+ customInstanceRoles: vue77.ComputedRef<{
586
586
  slug: string;
587
587
  displayName: string;
588
588
  description: string | null;
@@ -595,7 +595,7 @@ declare const useRolesStore: pinia1.StoreDefinition<"roles", Pick<{
595
595
  usedByUsers?: number | undefined;
596
596
  usedByProjects?: number | undefined;
597
597
  }[]>;
598
- processedCredentialRoles: vue62.ComputedRef<{
598
+ processedCredentialRoles: vue77.ComputedRef<{
599
599
  slug: string;
600
600
  displayName: string;
601
601
  description: string | null;
@@ -608,7 +608,7 @@ declare const useRolesStore: pinia1.StoreDefinition<"roles", Pick<{
608
608
  usedByUsers?: number | undefined;
609
609
  usedByProjects?: number | undefined;
610
610
  }[]>;
611
- processedWorkflowRoles: vue62.ComputedRef<{
611
+ processedWorkflowRoles: vue77.ComputedRef<{
612
612
  slug: string;
613
613
  displayName: string;
614
614
  description: string | null;