@n8n/stores 2.36.0 → 2.36.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,5 +1,5 @@
1
- import * as vue179 from "vue";
2
- import * as pinia6 from "pinia";
1
+ import * as vue0 from "vue";
2
+ import * as pinia0 from "pinia";
3
3
  import { Cloud, InstanceUsage } from "@n8n/rest-api-client/api/cloudPlans";
4
4
 
5
5
  //#region src/cloudPlan.store.d.ts
@@ -9,7 +9,7 @@ interface CloudPlanState {
9
9
  usage: InstanceUsage | null;
10
10
  loadingPlan: boolean;
11
11
  }
12
- declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
12
+ declare const useCloudPlanStore: pinia0.StoreDefinition<"cloudPlan", Pick<{
13
13
  state: {
14
14
  initialized: boolean;
15
15
  data: {
@@ -56,17 +56,17 @@ declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
56
56
  } | null;
57
57
  loadingPlan: boolean;
58
58
  };
59
- usageLeft: vue179.ComputedRef<{
59
+ usageLeft: vue0.ComputedRef<{
60
60
  workflowsLeft: number;
61
61
  executionsLeft: number;
62
62
  }>;
63
- trialDaysLeft: vue179.ComputedRef<number>;
64
- trialTimeLeft: vue179.ComputedRef<{
63
+ trialDaysLeft: vue0.ComputedRef<number>;
64
+ trialTimeLeft: vue0.ComputedRef<{
65
65
  count: number;
66
66
  unit: "days" | "hours" | "minutes";
67
67
  }>;
68
- userIsTrialing: vue179.ComputedRef<boolean>;
69
- currentPlanData: vue179.ComputedRef<{
68
+ userIsTrialing: vue0.ComputedRef<boolean>;
69
+ currentPlanData: vue0.ComputedRef<{
70
70
  planId: number;
71
71
  monthlyExecutionsLimit: number;
72
72
  activeWorkflowsLimit: number;
@@ -103,15 +103,15 @@ declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
103
103
  } | undefined;
104
104
  licenseFeatures?: Record<string, number> | undefined;
105
105
  } | null>;
106
- currentUsageData: vue179.ComputedRef<{
106
+ currentUsageData: vue0.ComputedRef<{
107
107
  timeframe?: string | undefined;
108
108
  executions: number;
109
109
  activeWorkflows: number;
110
110
  } | null>;
111
- trialExpired: vue179.ComputedRef<boolean | undefined>;
112
- allExecutionsUsed: vue179.ComputedRef<boolean>;
113
- hasCloudPlan: vue179.ComputedRef<boolean>;
114
- currentUserCloudInfo: vue179.Ref<{
111
+ trialExpired: vue0.ComputedRef<boolean | undefined>;
112
+ allExecutionsUsed: vue0.ComputedRef<boolean>;
113
+ hasCloudPlan: vue0.ComputedRef<boolean>;
114
+ currentUserCloudInfo: vue0.Ref<{
115
115
  confirmed: boolean;
116
116
  username: string;
117
117
  email: string;
@@ -144,10 +144,10 @@ declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
144
144
  getAutoLoginCode: () => Promise<{
145
145
  code: string;
146
146
  }>;
147
- selectedApps: vue179.ComputedRef<string[] | undefined>;
148
- codingSkill: vue179.ComputedRef<number>;
149
- shouldShowBanner: vue179.ComputedRef<boolean>;
150
- bannerConfig: vue179.ComputedRef<{
147
+ selectedApps: vue0.ComputedRef<string[] | undefined>;
148
+ codingSkill: vue0.ComputedRef<number>;
149
+ shouldShowBanner: vue0.ComputedRef<boolean>;
150
+ bannerConfig: vue0.ComputedRef<{
151
151
  timeLeft?: {
152
152
  text?: string | undefined;
153
153
  } | undefined;
@@ -164,14 +164,14 @@ declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
164
164
  dismissible?: boolean | undefined;
165
165
  forceShow?: boolean | undefined;
166
166
  } | undefined>;
167
- bannerForceShow: vue179.ComputedRef<boolean>;
168
- isBannerDismissed: vue179.ComputedRef<boolean>;
169
- bannerTimeLeft: vue179.ComputedRef<{
167
+ bannerForceShow: vue0.ComputedRef<boolean>;
168
+ isBannerDismissed: vue0.ComputedRef<boolean>;
169
+ bannerTimeLeft: vue0.ComputedRef<{
170
170
  show: boolean;
171
171
  text: string | undefined;
172
172
  }>;
173
- showExecutions: vue179.ComputedRef<boolean>;
174
- bannerCta: vue179.ComputedRef<{
173
+ showExecutions: vue0.ComputedRef<boolean>;
174
+ bannerCta: vue0.ComputedRef<{
175
175
  text: string;
176
176
  icon: string;
177
177
  size: "small" | "medium";
@@ -179,8 +179,8 @@ declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
179
179
  variant: "success" | "solid" | "subtle" | "ghost" | "outline" | "destructive" | undefined;
180
180
  href: string | undefined;
181
181
  }>;
182
- bannerIcon: vue179.ComputedRef<string | undefined>;
183
- bannerDismissible: vue179.ComputedRef<boolean>;
182
+ bannerIcon: vue0.ComputedRef<string | undefined>;
183
+ bannerDismissible: vue0.ComputedRef<boolean>;
184
184
  setIsInstanceOwner: (getter: () => boolean) => void;
185
185
  }, "state" | "currentUserCloudInfo">, Pick<{
186
186
  state: {
@@ -229,17 +229,17 @@ declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
229
229
  } | null;
230
230
  loadingPlan: boolean;
231
231
  };
232
- usageLeft: vue179.ComputedRef<{
232
+ usageLeft: vue0.ComputedRef<{
233
233
  workflowsLeft: number;
234
234
  executionsLeft: number;
235
235
  }>;
236
- trialDaysLeft: vue179.ComputedRef<number>;
237
- trialTimeLeft: vue179.ComputedRef<{
236
+ trialDaysLeft: vue0.ComputedRef<number>;
237
+ trialTimeLeft: vue0.ComputedRef<{
238
238
  count: number;
239
239
  unit: "days" | "hours" | "minutes";
240
240
  }>;
241
- userIsTrialing: vue179.ComputedRef<boolean>;
242
- currentPlanData: vue179.ComputedRef<{
241
+ userIsTrialing: vue0.ComputedRef<boolean>;
242
+ currentPlanData: vue0.ComputedRef<{
243
243
  planId: number;
244
244
  monthlyExecutionsLimit: number;
245
245
  activeWorkflowsLimit: number;
@@ -276,15 +276,15 @@ declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
276
276
  } | undefined;
277
277
  licenseFeatures?: Record<string, number> | undefined;
278
278
  } | null>;
279
- currentUsageData: vue179.ComputedRef<{
279
+ currentUsageData: vue0.ComputedRef<{
280
280
  timeframe?: string | undefined;
281
281
  executions: number;
282
282
  activeWorkflows: number;
283
283
  } | null>;
284
- trialExpired: vue179.ComputedRef<boolean | undefined>;
285
- allExecutionsUsed: vue179.ComputedRef<boolean>;
286
- hasCloudPlan: vue179.ComputedRef<boolean>;
287
- currentUserCloudInfo: vue179.Ref<{
284
+ trialExpired: vue0.ComputedRef<boolean | undefined>;
285
+ allExecutionsUsed: vue0.ComputedRef<boolean>;
286
+ hasCloudPlan: vue0.ComputedRef<boolean>;
287
+ currentUserCloudInfo: vue0.Ref<{
288
288
  confirmed: boolean;
289
289
  username: string;
290
290
  email: string;
@@ -317,10 +317,10 @@ declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
317
317
  getAutoLoginCode: () => Promise<{
318
318
  code: string;
319
319
  }>;
320
- selectedApps: vue179.ComputedRef<string[] | undefined>;
321
- codingSkill: vue179.ComputedRef<number>;
322
- shouldShowBanner: vue179.ComputedRef<boolean>;
323
- bannerConfig: vue179.ComputedRef<{
320
+ selectedApps: vue0.ComputedRef<string[] | undefined>;
321
+ codingSkill: vue0.ComputedRef<number>;
322
+ shouldShowBanner: vue0.ComputedRef<boolean>;
323
+ bannerConfig: vue0.ComputedRef<{
324
324
  timeLeft?: {
325
325
  text?: string | undefined;
326
326
  } | undefined;
@@ -337,14 +337,14 @@ declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
337
337
  dismissible?: boolean | undefined;
338
338
  forceShow?: boolean | undefined;
339
339
  } | undefined>;
340
- bannerForceShow: vue179.ComputedRef<boolean>;
341
- isBannerDismissed: vue179.ComputedRef<boolean>;
342
- bannerTimeLeft: vue179.ComputedRef<{
340
+ bannerForceShow: vue0.ComputedRef<boolean>;
341
+ isBannerDismissed: vue0.ComputedRef<boolean>;
342
+ bannerTimeLeft: vue0.ComputedRef<{
343
343
  show: boolean;
344
344
  text: string | undefined;
345
345
  }>;
346
- showExecutions: vue179.ComputedRef<boolean>;
347
- bannerCta: vue179.ComputedRef<{
346
+ showExecutions: vue0.ComputedRef<boolean>;
347
+ bannerCta: vue0.ComputedRef<{
348
348
  text: string;
349
349
  icon: string;
350
350
  size: "small" | "medium";
@@ -352,8 +352,8 @@ declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
352
352
  variant: "success" | "solid" | "subtle" | "ghost" | "outline" | "destructive" | undefined;
353
353
  href: string | undefined;
354
354
  }>;
355
- bannerIcon: vue179.ComputedRef<string | undefined>;
356
- bannerDismissible: vue179.ComputedRef<boolean>;
355
+ bannerIcon: vue0.ComputedRef<string | undefined>;
356
+ bannerDismissible: vue0.ComputedRef<boolean>;
357
357
  setIsInstanceOwner: (getter: () => boolean) => void;
358
358
  }, "userIsTrialing" | "bannerConfig" | "selectedApps" | "showExecutions" | "usageLeft" | "trialDaysLeft" | "trialTimeLeft" | "currentPlanData" | "currentUsageData" | "trialExpired" | "allExecutionsUsed" | "hasCloudPlan" | "codingSkill" | "shouldShowBanner" | "bannerForceShow" | "isBannerDismissed" | "bannerTimeLeft" | "bannerCta" | "bannerIcon" | "bannerDismissible">, Pick<{
359
359
  state: {
@@ -402,17 +402,17 @@ declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
402
402
  } | null;
403
403
  loadingPlan: boolean;
404
404
  };
405
- usageLeft: vue179.ComputedRef<{
405
+ usageLeft: vue0.ComputedRef<{
406
406
  workflowsLeft: number;
407
407
  executionsLeft: number;
408
408
  }>;
409
- trialDaysLeft: vue179.ComputedRef<number>;
410
- trialTimeLeft: vue179.ComputedRef<{
409
+ trialDaysLeft: vue0.ComputedRef<number>;
410
+ trialTimeLeft: vue0.ComputedRef<{
411
411
  count: number;
412
412
  unit: "days" | "hours" | "minutes";
413
413
  }>;
414
- userIsTrialing: vue179.ComputedRef<boolean>;
415
- currentPlanData: vue179.ComputedRef<{
414
+ userIsTrialing: vue0.ComputedRef<boolean>;
415
+ currentPlanData: vue0.ComputedRef<{
416
416
  planId: number;
417
417
  monthlyExecutionsLimit: number;
418
418
  activeWorkflowsLimit: number;
@@ -449,15 +449,15 @@ declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
449
449
  } | undefined;
450
450
  licenseFeatures?: Record<string, number> | undefined;
451
451
  } | null>;
452
- currentUsageData: vue179.ComputedRef<{
452
+ currentUsageData: vue0.ComputedRef<{
453
453
  timeframe?: string | undefined;
454
454
  executions: number;
455
455
  activeWorkflows: number;
456
456
  } | null>;
457
- trialExpired: vue179.ComputedRef<boolean | undefined>;
458
- allExecutionsUsed: vue179.ComputedRef<boolean>;
459
- hasCloudPlan: vue179.ComputedRef<boolean>;
460
- currentUserCloudInfo: vue179.Ref<{
457
+ trialExpired: vue0.ComputedRef<boolean | undefined>;
458
+ allExecutionsUsed: vue0.ComputedRef<boolean>;
459
+ hasCloudPlan: vue0.ComputedRef<boolean>;
460
+ currentUserCloudInfo: vue0.Ref<{
461
461
  confirmed: boolean;
462
462
  username: string;
463
463
  email: string;
@@ -490,10 +490,10 @@ declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
490
490
  getAutoLoginCode: () => Promise<{
491
491
  code: string;
492
492
  }>;
493
- selectedApps: vue179.ComputedRef<string[] | undefined>;
494
- codingSkill: vue179.ComputedRef<number>;
495
- shouldShowBanner: vue179.ComputedRef<boolean>;
496
- bannerConfig: vue179.ComputedRef<{
493
+ selectedApps: vue0.ComputedRef<string[] | undefined>;
494
+ codingSkill: vue0.ComputedRef<number>;
495
+ shouldShowBanner: vue0.ComputedRef<boolean>;
496
+ bannerConfig: vue0.ComputedRef<{
497
497
  timeLeft?: {
498
498
  text?: string | undefined;
499
499
  } | undefined;
@@ -510,14 +510,14 @@ declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
510
510
  dismissible?: boolean | undefined;
511
511
  forceShow?: boolean | undefined;
512
512
  } | undefined>;
513
- bannerForceShow: vue179.ComputedRef<boolean>;
514
- isBannerDismissed: vue179.ComputedRef<boolean>;
515
- bannerTimeLeft: vue179.ComputedRef<{
513
+ bannerForceShow: vue0.ComputedRef<boolean>;
514
+ isBannerDismissed: vue0.ComputedRef<boolean>;
515
+ bannerTimeLeft: vue0.ComputedRef<{
516
516
  show: boolean;
517
517
  text: string | undefined;
518
518
  }>;
519
- showExecutions: vue179.ComputedRef<boolean>;
520
- bannerCta: vue179.ComputedRef<{
519
+ showExecutions: vue0.ComputedRef<boolean>;
520
+ bannerCta: vue0.ComputedRef<{
521
521
  text: string;
522
522
  icon: string;
523
523
  size: "small" | "medium";
@@ -525,8 +525,8 @@ declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
525
525
  variant: "success" | "solid" | "subtle" | "ghost" | "outline" | "destructive" | undefined;
526
526
  href: string | undefined;
527
527
  }>;
528
- bannerIcon: vue179.ComputedRef<string | undefined>;
529
- bannerDismissible: vue179.ComputedRef<boolean>;
528
+ bannerIcon: vue0.ComputedRef<string | undefined>;
529
+ bannerDismissible: vue0.ComputedRef<boolean>;
530
530
  setIsInstanceOwner: (getter: () => boolean) => void;
531
531
  }, "reset" | "initialize" | "generateCloudDashboardAutoLoginLink" | "getOwnerCurrentPlan" | "getInstanceCurrentUsage" | "checkForCloudPlanData" | "fetchUserCloudAccount" | "getAutoLoginCode" | "setIsInstanceOwner">>;
532
532
  //#endregion
@@ -1,15 +1,15 @@
1
- import * as vue0 from "vue";
2
- import * as pinia0 from "pinia";
1
+ import * as vue62 from "vue";
2
+ import * as pinia1 from "pinia";
3
3
  import { Role } from "@n8n/api-types";
4
4
  import { Resource, Scope, ScopeOptions } from "@n8n/permissions";
5
5
 
6
6
  //#region src/rbac.store.d.ts
7
- declare const useRBACStore: 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<{
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,6 +25,7 @@ declare const useRBACStore: pinia0.StoreDefinition<"rbac", Pick<{
25
25
  mcp: Record<string, Scope[]>;
26
26
  otel: Record<string, Scope[]>;
27
27
  role: Record<string, Scope[]>;
28
+ apiKey: Record<string, Scope[]>;
28
29
  agent: Record<string, Scope[]>;
29
30
  annotationTag: Record<string, Scope[]>;
30
31
  banner: Record<string, Scope[]>;
@@ -51,12 +52,11 @@ declare const useRBACStore: pinia0.StoreDefinition<"rbac", Pick<{
51
52
  mcpApiKey: Record<string, Scope[]>;
52
53
  chatHubAgent: Record<string, Scope[]>;
53
54
  breakingChanges: Record<string, Scope[]>;
54
- apiKey: Record<string, Scope[]>;
55
55
  encryptionKey: Record<string, Scope[]>;
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" | "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[]>> | {
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
60
  chatHub: Record<string, Scope[]>;
61
61
  logStreaming: Record<string, Scope[]>;
62
62
  aiAssistant: Record<string, Scope[]>;
@@ -72,6 +72,7 @@ declare const useRBACStore: pinia0.StoreDefinition<"rbac", Pick<{
72
72
  mcp: Record<string, Scope[]>;
73
73
  otel: Record<string, Scope[]>;
74
74
  role: Record<string, Scope[]>;
75
+ apiKey: Record<string, Scope[]>;
75
76
  agent: Record<string, Scope[]>;
76
77
  annotationTag: Record<string, Scope[]>;
77
78
  banner: Record<string, Scope[]>;
@@ -98,7 +99,6 @@ declare const useRBACStore: pinia0.StoreDefinition<"rbac", Pick<{
98
99
  mcpApiKey: Record<string, Scope[]>;
99
100
  chatHubAgent: Record<string, Scope[]>;
100
101
  breakingChanges: Record<string, Scope[]>;
101
- apiKey: Record<string, Scope[]>;
102
102
  encryptionKey: Record<string, Scope[]>;
103
103
  credentialResolver: Record<string, Scope[]>;
104
104
  instanceAi: Record<string, Scope[]>;
@@ -121,11 +121,11 @@ declare const useRBACStore: pinia0.StoreDefinition<"rbac", Pick<{
121
121
  projectId?: string;
122
122
  }, options?: ScopeOptions) => boolean;
123
123
  }, "globalRoles" | "rolesByProjectId" | "globalScopes" | "scopesByProjectId" | "scopesByResourceId">, Pick<{
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<{
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,6 +141,7 @@ declare const useRBACStore: pinia0.StoreDefinition<"rbac", Pick<{
141
141
  mcp: Record<string, Scope[]>;
142
142
  otel: Record<string, Scope[]>;
143
143
  role: Record<string, Scope[]>;
144
+ apiKey: Record<string, Scope[]>;
144
145
  agent: Record<string, Scope[]>;
145
146
  annotationTag: Record<string, Scope[]>;
146
147
  banner: Record<string, Scope[]>;
@@ -167,12 +168,11 @@ declare const useRBACStore: pinia0.StoreDefinition<"rbac", Pick<{
167
168
  mcpApiKey: Record<string, Scope[]>;
168
169
  chatHubAgent: Record<string, Scope[]>;
169
170
  breakingChanges: Record<string, Scope[]>;
170
- apiKey: Record<string, Scope[]>;
171
171
  encryptionKey: Record<string, Scope[]>;
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" | "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[]>> | {
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
176
  chatHub: Record<string, Scope[]>;
177
177
  logStreaming: Record<string, Scope[]>;
178
178
  aiAssistant: Record<string, Scope[]>;
@@ -188,6 +188,7 @@ declare const useRBACStore: pinia0.StoreDefinition<"rbac", Pick<{
188
188
  mcp: Record<string, Scope[]>;
189
189
  otel: Record<string, Scope[]>;
190
190
  role: Record<string, Scope[]>;
191
+ apiKey: Record<string, Scope[]>;
191
192
  agent: Record<string, Scope[]>;
192
193
  annotationTag: Record<string, Scope[]>;
193
194
  banner: Record<string, Scope[]>;
@@ -214,7 +215,6 @@ declare const useRBACStore: pinia0.StoreDefinition<"rbac", Pick<{
214
215
  mcpApiKey: Record<string, Scope[]>;
215
216
  chatHubAgent: Record<string, Scope[]>;
216
217
  breakingChanges: Record<string, Scope[]>;
217
- apiKey: Record<string, Scope[]>;
218
218
  encryptionKey: Record<string, Scope[]>;
219
219
  credentialResolver: Record<string, Scope[]>;
220
220
  instanceAi: Record<string, Scope[]>;
@@ -237,11 +237,11 @@ declare const useRBACStore: pinia0.StoreDefinition<"rbac", Pick<{
237
237
  projectId?: string;
238
238
  }, options?: ScopeOptions) => boolean;
239
239
  }, never>, Pick<{
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<{
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,6 +257,7 @@ declare const useRBACStore: pinia0.StoreDefinition<"rbac", Pick<{
257
257
  mcp: Record<string, Scope[]>;
258
258
  otel: Record<string, Scope[]>;
259
259
  role: Record<string, Scope[]>;
260
+ apiKey: Record<string, Scope[]>;
260
261
  agent: Record<string, Scope[]>;
261
262
  annotationTag: Record<string, Scope[]>;
262
263
  banner: Record<string, Scope[]>;
@@ -283,12 +284,11 @@ declare const useRBACStore: pinia0.StoreDefinition<"rbac", Pick<{
283
284
  mcpApiKey: Record<string, Scope[]>;
284
285
  chatHubAgent: Record<string, Scope[]>;
285
286
  breakingChanges: Record<string, Scope[]>;
286
- apiKey: Record<string, Scope[]>;
287
287
  encryptionKey: Record<string, Scope[]>;
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" | "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[]>> | {
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
292
  chatHub: Record<string, Scope[]>;
293
293
  logStreaming: Record<string, Scope[]>;
294
294
  aiAssistant: Record<string, Scope[]>;
@@ -304,6 +304,7 @@ declare const useRBACStore: pinia0.StoreDefinition<"rbac", Pick<{
304
304
  mcp: Record<string, Scope[]>;
305
305
  otel: Record<string, Scope[]>;
306
306
  role: Record<string, Scope[]>;
307
+ apiKey: Record<string, Scope[]>;
307
308
  agent: Record<string, Scope[]>;
308
309
  annotationTag: Record<string, Scope[]>;
309
310
  banner: Record<string, Scope[]>;
@@ -330,7 +331,6 @@ declare const useRBACStore: pinia0.StoreDefinition<"rbac", Pick<{
330
331
  mcpApiKey: Record<string, Scope[]>;
331
332
  chatHubAgent: Record<string, Scope[]>;
332
333
  breakingChanges: Record<string, Scope[]>;
333
- apiKey: Record<string, Scope[]>;
334
334
  encryptionKey: Record<string, Scope[]>;
335
335
  credentialResolver: Record<string, Scope[]>;
336
336
  instanceAi: Record<string, Scope[]>;
@@ -1,15 +1,15 @@
1
- import * as pinia1 from "pinia";
2
- import * as vue62 from "vue";
1
+ import * as pinia2 from "pinia";
2
+ import * as vue296 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: 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<{
13
13
  chatHub: Record<string, Scope[]>;
14
14
  logStreaming: Record<string, Scope[]>;
15
15
  aiAssistant: Record<string, Scope[]>;
@@ -25,6 +25,7 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
25
25
  mcp: Record<string, Scope[]>;
26
26
  otel: Record<string, Scope[]>;
27
27
  role: Record<string, Scope[]>;
28
+ apiKey: Record<string, Scope[]>;
28
29
  agent: Record<string, Scope[]>;
29
30
  annotationTag: Record<string, Scope[]>;
30
31
  banner: Record<string, Scope[]>;
@@ -51,12 +52,11 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
51
52
  mcpApiKey: Record<string, Scope[]>;
52
53
  chatHubAgent: Record<string, Scope[]>;
53
54
  breakingChanges: Record<string, Scope[]>;
54
- apiKey: Record<string, Scope[]>;
55
55
  encryptionKey: Record<string, Scope[]>;
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" | "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[]>> | {
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
60
  chatHub: Record<string, Scope[]>;
61
61
  logStreaming: Record<string, Scope[]>;
62
62
  aiAssistant: Record<string, Scope[]>;
@@ -72,6 +72,7 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
72
72
  mcp: Record<string, Scope[]>;
73
73
  otel: Record<string, Scope[]>;
74
74
  role: Record<string, Scope[]>;
75
+ apiKey: Record<string, Scope[]>;
75
76
  agent: Record<string, Scope[]>;
76
77
  annotationTag: Record<string, Scope[]>;
77
78
  banner: Record<string, Scope[]>;
@@ -98,7 +99,6 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
98
99
  mcpApiKey: Record<string, Scope[]>;
99
100
  chatHubAgent: Record<string, Scope[]>;
100
101
  breakingChanges: Record<string, Scope[]>;
101
- apiKey: Record<string, Scope[]>;
102
102
  encryptionKey: Record<string, Scope[]>;
103
103
  credentialResolver: Record<string, Scope[]>;
104
104
  instanceAi: Record<string, Scope[]>;
@@ -121,11 +121,11 @@ 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: 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<{
129
129
  chatHub: Record<string, Scope[]>;
130
130
  logStreaming: Record<string, Scope[]>;
131
131
  aiAssistant: Record<string, Scope[]>;
@@ -141,6 +141,7 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
141
141
  mcp: Record<string, Scope[]>;
142
142
  otel: Record<string, Scope[]>;
143
143
  role: Record<string, Scope[]>;
144
+ apiKey: Record<string, Scope[]>;
144
145
  agent: Record<string, Scope[]>;
145
146
  annotationTag: Record<string, Scope[]>;
146
147
  banner: Record<string, Scope[]>;
@@ -167,12 +168,11 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
167
168
  mcpApiKey: Record<string, Scope[]>;
168
169
  chatHubAgent: Record<string, Scope[]>;
169
170
  breakingChanges: Record<string, Scope[]>;
170
- apiKey: Record<string, Scope[]>;
171
171
  encryptionKey: Record<string, Scope[]>;
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" | "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[]>> | {
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
176
  chatHub: Record<string, Scope[]>;
177
177
  logStreaming: Record<string, Scope[]>;
178
178
  aiAssistant: Record<string, Scope[]>;
@@ -188,6 +188,7 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
188
188
  mcp: Record<string, Scope[]>;
189
189
  otel: Record<string, Scope[]>;
190
190
  role: Record<string, Scope[]>;
191
+ apiKey: Record<string, Scope[]>;
191
192
  agent: Record<string, Scope[]>;
192
193
  annotationTag: Record<string, Scope[]>;
193
194
  banner: Record<string, Scope[]>;
@@ -214,7 +215,6 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
214
215
  mcpApiKey: Record<string, Scope[]>;
215
216
  chatHubAgent: Record<string, Scope[]>;
216
217
  breakingChanges: Record<string, Scope[]>;
217
- apiKey: Record<string, Scope[]>;
218
218
  encryptionKey: Record<string, Scope[]>;
219
219
  credentialResolver: Record<string, Scope[]>;
220
220
  instanceAi: Record<string, Scope[]>;
@@ -237,11 +237,11 @@ 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: 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<{
245
245
  chatHub: Record<string, Scope[]>;
246
246
  logStreaming: Record<string, Scope[]>;
247
247
  aiAssistant: Record<string, Scope[]>;
@@ -257,6 +257,7 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
257
257
  mcp: Record<string, Scope[]>;
258
258
  otel: Record<string, Scope[]>;
259
259
  role: Record<string, Scope[]>;
260
+ apiKey: Record<string, Scope[]>;
260
261
  agent: Record<string, Scope[]>;
261
262
  annotationTag: Record<string, Scope[]>;
262
263
  banner: Record<string, Scope[]>;
@@ -283,12 +284,11 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
283
284
  mcpApiKey: Record<string, Scope[]>;
284
285
  chatHubAgent: Record<string, Scope[]>;
285
286
  breakingChanges: Record<string, Scope[]>;
286
- apiKey: Record<string, Scope[]>;
287
287
  encryptionKey: Record<string, Scope[]>;
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" | "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[]>> | {
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
292
  chatHub: Record<string, Scope[]>;
293
293
  logStreaming: Record<string, Scope[]>;
294
294
  aiAssistant: Record<string, Scope[]>;
@@ -304,6 +304,7 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
304
304
  mcp: Record<string, Scope[]>;
305
305
  otel: Record<string, Scope[]>;
306
306
  role: Record<string, Scope[]>;
307
+ apiKey: Record<string, Scope[]>;
307
308
  agent: Record<string, Scope[]>;
308
309
  annotationTag: Record<string, Scope[]>;
309
310
  banner: Record<string, Scope[]>;
@@ -330,7 +331,6 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
330
331
  mcpApiKey: Record<string, Scope[]>;
331
332
  chatHubAgent: Record<string, Scope[]>;
332
333
  breakingChanges: Record<string, Scope[]>;
333
- apiKey: Record<string, Scope[]>;
334
334
  encryptionKey: Record<string, Scope[]>;
335
335
  credentialResolver: Record<string, Scope[]>;
336
336
  instanceAi: Record<string, Scope[]>;