@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.
- package/dist/cloudPlan.store.d.mts +66 -66
- package/dist/notifications.store.d.mts +2 -2
- package/dist/rbac.store.d.cts +105 -105
- package/dist/rbac.store.d.mts +105 -105
- package/dist/roles.store.d.cts +21 -21
- package/dist/roles.store.d.mts +21 -21
- package/dist/settings.store.d.cts +8 -8
- package/dist/settings.store.d.mts +243 -243
- package/dist/useAgentRequestStore.d.cts +2 -2
- package/dist/useAgentRequestStore.d.mts +2 -2
- package/dist/useRootStore.d.cts +75 -75
- package/dist/useRootStore.d.mts +75 -75
- package/dist/users.store.d.cts +52 -52
- package/dist/users.store.d.mts +52 -52
- package/dist/versions.store.d.cts +30 -30
- package/dist/versions.store.d.mts +30 -30
- package/package.json +7 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Cloud, InstanceUsage } from "@n8n/rest-api-client/api/cloudPlans";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as pinia6 from "pinia";
|
|
3
|
+
import * as vue413 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/cloudPlan.store.d.ts
|
|
6
6
|
interface CloudPlanState {
|
|
@@ -9,7 +9,7 @@ interface CloudPlanState {
|
|
|
9
9
|
usage: InstanceUsage | null;
|
|
10
10
|
loadingPlan: boolean;
|
|
11
11
|
}
|
|
12
|
-
declare const useCloudPlanStore:
|
|
12
|
+
declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
|
|
13
13
|
state: {
|
|
14
14
|
initialized: boolean;
|
|
15
15
|
data: {
|
|
@@ -56,17 +56,17 @@ declare const useCloudPlanStore: pinia0.StoreDefinition<"cloudPlan", Pick<{
|
|
|
56
56
|
} | null;
|
|
57
57
|
loadingPlan: boolean;
|
|
58
58
|
};
|
|
59
|
-
usageLeft:
|
|
59
|
+
usageLeft: vue413.ComputedRef<{
|
|
60
60
|
workflowsLeft: number;
|
|
61
61
|
executionsLeft: number;
|
|
62
62
|
}>;
|
|
63
|
-
trialDaysLeft:
|
|
64
|
-
trialTimeLeft:
|
|
63
|
+
trialDaysLeft: vue413.ComputedRef<number>;
|
|
64
|
+
trialTimeLeft: vue413.ComputedRef<{
|
|
65
65
|
count: number;
|
|
66
66
|
unit: "days" | "hours" | "minutes";
|
|
67
67
|
}>;
|
|
68
|
-
userIsTrialing:
|
|
69
|
-
currentPlanData:
|
|
68
|
+
userIsTrialing: vue413.ComputedRef<boolean>;
|
|
69
|
+
currentPlanData: vue413.ComputedRef<{
|
|
70
70
|
planId: number;
|
|
71
71
|
monthlyExecutionsLimit: number;
|
|
72
72
|
activeWorkflowsLimit: number;
|
|
@@ -103,15 +103,15 @@ declare const useCloudPlanStore: pinia0.StoreDefinition<"cloudPlan", Pick<{
|
|
|
103
103
|
} | undefined;
|
|
104
104
|
licenseFeatures?: Record<string, number> | undefined;
|
|
105
105
|
} | null>;
|
|
106
|
-
currentUsageData:
|
|
106
|
+
currentUsageData: vue413.ComputedRef<{
|
|
107
107
|
timeframe?: string | undefined;
|
|
108
108
|
executions: number;
|
|
109
109
|
activeWorkflows: number;
|
|
110
110
|
} | null>;
|
|
111
|
-
trialExpired:
|
|
112
|
-
allExecutionsUsed:
|
|
113
|
-
hasCloudPlan:
|
|
114
|
-
currentUserCloudInfo:
|
|
111
|
+
trialExpired: vue413.ComputedRef<boolean | undefined>;
|
|
112
|
+
allExecutionsUsed: vue413.ComputedRef<boolean>;
|
|
113
|
+
hasCloudPlan: vue413.ComputedRef<boolean>;
|
|
114
|
+
currentUserCloudInfo: vue413.Ref<{
|
|
115
115
|
confirmed: boolean;
|
|
116
116
|
username: string;
|
|
117
117
|
email: string;
|
|
@@ -144,10 +144,10 @@ declare const useCloudPlanStore: pinia0.StoreDefinition<"cloudPlan", Pick<{
|
|
|
144
144
|
getAutoLoginCode: () => Promise<{
|
|
145
145
|
code: string;
|
|
146
146
|
}>;
|
|
147
|
-
selectedApps:
|
|
148
|
-
codingSkill:
|
|
149
|
-
shouldShowBanner:
|
|
150
|
-
bannerConfig:
|
|
147
|
+
selectedApps: vue413.ComputedRef<string[] | undefined>;
|
|
148
|
+
codingSkill: vue413.ComputedRef<number>;
|
|
149
|
+
shouldShowBanner: vue413.ComputedRef<boolean>;
|
|
150
|
+
bannerConfig: vue413.ComputedRef<{
|
|
151
151
|
timeLeft?: {
|
|
152
152
|
text?: string | undefined;
|
|
153
153
|
} | undefined;
|
|
@@ -164,14 +164,14 @@ declare const useCloudPlanStore: pinia0.StoreDefinition<"cloudPlan", Pick<{
|
|
|
164
164
|
dismissible?: boolean | undefined;
|
|
165
165
|
forceShow?: boolean | undefined;
|
|
166
166
|
} | undefined>;
|
|
167
|
-
bannerForceShow:
|
|
168
|
-
isBannerDismissed:
|
|
169
|
-
bannerTimeLeft:
|
|
167
|
+
bannerForceShow: vue413.ComputedRef<boolean>;
|
|
168
|
+
isBannerDismissed: vue413.ComputedRef<boolean>;
|
|
169
|
+
bannerTimeLeft: vue413.ComputedRef<{
|
|
170
170
|
show: boolean;
|
|
171
171
|
text: string | undefined;
|
|
172
172
|
}>;
|
|
173
|
-
showExecutions:
|
|
174
|
-
bannerCta:
|
|
173
|
+
showExecutions: vue413.ComputedRef<boolean>;
|
|
174
|
+
bannerCta: vue413.ComputedRef<{
|
|
175
175
|
text: string;
|
|
176
176
|
icon: string;
|
|
177
177
|
size: "small" | "medium";
|
|
@@ -179,8 +179,8 @@ declare const useCloudPlanStore: pinia0.StoreDefinition<"cloudPlan", Pick<{
|
|
|
179
179
|
variant: "success" | "solid" | "subtle" | "ghost" | "outline" | "destructive" | undefined;
|
|
180
180
|
href: string | undefined;
|
|
181
181
|
}>;
|
|
182
|
-
bannerIcon:
|
|
183
|
-
bannerDismissible:
|
|
182
|
+
bannerIcon: vue413.ComputedRef<string | undefined>;
|
|
183
|
+
bannerDismissible: vue413.ComputedRef<boolean>;
|
|
184
184
|
setIsInstanceOwner: (getter: () => boolean) => void;
|
|
185
185
|
}, "state" | "currentUserCloudInfo">, Pick<{
|
|
186
186
|
state: {
|
|
@@ -229,17 +229,17 @@ declare const useCloudPlanStore: pinia0.StoreDefinition<"cloudPlan", Pick<{
|
|
|
229
229
|
} | null;
|
|
230
230
|
loadingPlan: boolean;
|
|
231
231
|
};
|
|
232
|
-
usageLeft:
|
|
232
|
+
usageLeft: vue413.ComputedRef<{
|
|
233
233
|
workflowsLeft: number;
|
|
234
234
|
executionsLeft: number;
|
|
235
235
|
}>;
|
|
236
|
-
trialDaysLeft:
|
|
237
|
-
trialTimeLeft:
|
|
236
|
+
trialDaysLeft: vue413.ComputedRef<number>;
|
|
237
|
+
trialTimeLeft: vue413.ComputedRef<{
|
|
238
238
|
count: number;
|
|
239
239
|
unit: "days" | "hours" | "minutes";
|
|
240
240
|
}>;
|
|
241
|
-
userIsTrialing:
|
|
242
|
-
currentPlanData:
|
|
241
|
+
userIsTrialing: vue413.ComputedRef<boolean>;
|
|
242
|
+
currentPlanData: vue413.ComputedRef<{
|
|
243
243
|
planId: number;
|
|
244
244
|
monthlyExecutionsLimit: number;
|
|
245
245
|
activeWorkflowsLimit: number;
|
|
@@ -276,15 +276,15 @@ declare const useCloudPlanStore: pinia0.StoreDefinition<"cloudPlan", Pick<{
|
|
|
276
276
|
} | undefined;
|
|
277
277
|
licenseFeatures?: Record<string, number> | undefined;
|
|
278
278
|
} | null>;
|
|
279
|
-
currentUsageData:
|
|
279
|
+
currentUsageData: vue413.ComputedRef<{
|
|
280
280
|
timeframe?: string | undefined;
|
|
281
281
|
executions: number;
|
|
282
282
|
activeWorkflows: number;
|
|
283
283
|
} | null>;
|
|
284
|
-
trialExpired:
|
|
285
|
-
allExecutionsUsed:
|
|
286
|
-
hasCloudPlan:
|
|
287
|
-
currentUserCloudInfo:
|
|
284
|
+
trialExpired: vue413.ComputedRef<boolean | undefined>;
|
|
285
|
+
allExecutionsUsed: vue413.ComputedRef<boolean>;
|
|
286
|
+
hasCloudPlan: vue413.ComputedRef<boolean>;
|
|
287
|
+
currentUserCloudInfo: vue413.Ref<{
|
|
288
288
|
confirmed: boolean;
|
|
289
289
|
username: string;
|
|
290
290
|
email: string;
|
|
@@ -317,10 +317,10 @@ declare const useCloudPlanStore: pinia0.StoreDefinition<"cloudPlan", Pick<{
|
|
|
317
317
|
getAutoLoginCode: () => Promise<{
|
|
318
318
|
code: string;
|
|
319
319
|
}>;
|
|
320
|
-
selectedApps:
|
|
321
|
-
codingSkill:
|
|
322
|
-
shouldShowBanner:
|
|
323
|
-
bannerConfig:
|
|
320
|
+
selectedApps: vue413.ComputedRef<string[] | undefined>;
|
|
321
|
+
codingSkill: vue413.ComputedRef<number>;
|
|
322
|
+
shouldShowBanner: vue413.ComputedRef<boolean>;
|
|
323
|
+
bannerConfig: vue413.ComputedRef<{
|
|
324
324
|
timeLeft?: {
|
|
325
325
|
text?: string | undefined;
|
|
326
326
|
} | undefined;
|
|
@@ -337,14 +337,14 @@ declare const useCloudPlanStore: pinia0.StoreDefinition<"cloudPlan", Pick<{
|
|
|
337
337
|
dismissible?: boolean | undefined;
|
|
338
338
|
forceShow?: boolean | undefined;
|
|
339
339
|
} | undefined>;
|
|
340
|
-
bannerForceShow:
|
|
341
|
-
isBannerDismissed:
|
|
342
|
-
bannerTimeLeft:
|
|
340
|
+
bannerForceShow: vue413.ComputedRef<boolean>;
|
|
341
|
+
isBannerDismissed: vue413.ComputedRef<boolean>;
|
|
342
|
+
bannerTimeLeft: vue413.ComputedRef<{
|
|
343
343
|
show: boolean;
|
|
344
344
|
text: string | undefined;
|
|
345
345
|
}>;
|
|
346
|
-
showExecutions:
|
|
347
|
-
bannerCta:
|
|
346
|
+
showExecutions: vue413.ComputedRef<boolean>;
|
|
347
|
+
bannerCta: vue413.ComputedRef<{
|
|
348
348
|
text: string;
|
|
349
349
|
icon: string;
|
|
350
350
|
size: "small" | "medium";
|
|
@@ -352,8 +352,8 @@ declare const useCloudPlanStore: pinia0.StoreDefinition<"cloudPlan", Pick<{
|
|
|
352
352
|
variant: "success" | "solid" | "subtle" | "ghost" | "outline" | "destructive" | undefined;
|
|
353
353
|
href: string | undefined;
|
|
354
354
|
}>;
|
|
355
|
-
bannerIcon:
|
|
356
|
-
bannerDismissible:
|
|
355
|
+
bannerIcon: vue413.ComputedRef<string | undefined>;
|
|
356
|
+
bannerDismissible: vue413.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: pinia0.StoreDefinition<"cloudPlan", Pick<{
|
|
|
402
402
|
} | null;
|
|
403
403
|
loadingPlan: boolean;
|
|
404
404
|
};
|
|
405
|
-
usageLeft:
|
|
405
|
+
usageLeft: vue413.ComputedRef<{
|
|
406
406
|
workflowsLeft: number;
|
|
407
407
|
executionsLeft: number;
|
|
408
408
|
}>;
|
|
409
|
-
trialDaysLeft:
|
|
410
|
-
trialTimeLeft:
|
|
409
|
+
trialDaysLeft: vue413.ComputedRef<number>;
|
|
410
|
+
trialTimeLeft: vue413.ComputedRef<{
|
|
411
411
|
count: number;
|
|
412
412
|
unit: "days" | "hours" | "minutes";
|
|
413
413
|
}>;
|
|
414
|
-
userIsTrialing:
|
|
415
|
-
currentPlanData:
|
|
414
|
+
userIsTrialing: vue413.ComputedRef<boolean>;
|
|
415
|
+
currentPlanData: vue413.ComputedRef<{
|
|
416
416
|
planId: number;
|
|
417
417
|
monthlyExecutionsLimit: number;
|
|
418
418
|
activeWorkflowsLimit: number;
|
|
@@ -449,15 +449,15 @@ declare const useCloudPlanStore: pinia0.StoreDefinition<"cloudPlan", Pick<{
|
|
|
449
449
|
} | undefined;
|
|
450
450
|
licenseFeatures?: Record<string, number> | undefined;
|
|
451
451
|
} | null>;
|
|
452
|
-
currentUsageData:
|
|
452
|
+
currentUsageData: vue413.ComputedRef<{
|
|
453
453
|
timeframe?: string | undefined;
|
|
454
454
|
executions: number;
|
|
455
455
|
activeWorkflows: number;
|
|
456
456
|
} | null>;
|
|
457
|
-
trialExpired:
|
|
458
|
-
allExecutionsUsed:
|
|
459
|
-
hasCloudPlan:
|
|
460
|
-
currentUserCloudInfo:
|
|
457
|
+
trialExpired: vue413.ComputedRef<boolean | undefined>;
|
|
458
|
+
allExecutionsUsed: vue413.ComputedRef<boolean>;
|
|
459
|
+
hasCloudPlan: vue413.ComputedRef<boolean>;
|
|
460
|
+
currentUserCloudInfo: vue413.Ref<{
|
|
461
461
|
confirmed: boolean;
|
|
462
462
|
username: string;
|
|
463
463
|
email: string;
|
|
@@ -490,10 +490,10 @@ declare const useCloudPlanStore: pinia0.StoreDefinition<"cloudPlan", Pick<{
|
|
|
490
490
|
getAutoLoginCode: () => Promise<{
|
|
491
491
|
code: string;
|
|
492
492
|
}>;
|
|
493
|
-
selectedApps:
|
|
494
|
-
codingSkill:
|
|
495
|
-
shouldShowBanner:
|
|
496
|
-
bannerConfig:
|
|
493
|
+
selectedApps: vue413.ComputedRef<string[] | undefined>;
|
|
494
|
+
codingSkill: vue413.ComputedRef<number>;
|
|
495
|
+
shouldShowBanner: vue413.ComputedRef<boolean>;
|
|
496
|
+
bannerConfig: vue413.ComputedRef<{
|
|
497
497
|
timeLeft?: {
|
|
498
498
|
text?: string | undefined;
|
|
499
499
|
} | undefined;
|
|
@@ -510,14 +510,14 @@ declare const useCloudPlanStore: pinia0.StoreDefinition<"cloudPlan", Pick<{
|
|
|
510
510
|
dismissible?: boolean | undefined;
|
|
511
511
|
forceShow?: boolean | undefined;
|
|
512
512
|
} | undefined>;
|
|
513
|
-
bannerForceShow:
|
|
514
|
-
isBannerDismissed:
|
|
515
|
-
bannerTimeLeft:
|
|
513
|
+
bannerForceShow: vue413.ComputedRef<boolean>;
|
|
514
|
+
isBannerDismissed: vue413.ComputedRef<boolean>;
|
|
515
|
+
bannerTimeLeft: vue413.ComputedRef<{
|
|
516
516
|
show: boolean;
|
|
517
517
|
text: string | undefined;
|
|
518
518
|
}>;
|
|
519
|
-
showExecutions:
|
|
520
|
-
bannerCta:
|
|
519
|
+
showExecutions: vue413.ComputedRef<boolean>;
|
|
520
|
+
bannerCta: vue413.ComputedRef<{
|
|
521
521
|
text: string;
|
|
522
522
|
icon: string;
|
|
523
523
|
size: "small" | "medium";
|
|
@@ -525,8 +525,8 @@ declare const useCloudPlanStore: pinia0.StoreDefinition<"cloudPlan", Pick<{
|
|
|
525
525
|
variant: "success" | "solid" | "subtle" | "ghost" | "outline" | "destructive" | undefined;
|
|
526
526
|
href: string | undefined;
|
|
527
527
|
}>;
|
|
528
|
-
bannerIcon:
|
|
529
|
-
bannerDismissible:
|
|
528
|
+
bannerIcon: vue413.ComputedRef<string | undefined>;
|
|
529
|
+
bannerDismissible: vue413.ComputedRef<boolean>;
|
|
530
530
|
setIsInstanceOwner: (getter: () => boolean) => void;
|
|
531
531
|
}, "reset" | "initialize" | "generateCloudDashboardAutoLoginLink" | "getOwnerCurrentPlan" | "getInstanceCurrentUsage" | "checkForCloudPlanData" | "fetchUserCloudAccount" | "getAutoLoginCode" | "setIsInstanceOwner">>;
|
|
532
532
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as pinia7 from "pinia";
|
|
2
2
|
import { Ref } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/notifications.store.d.ts
|
|
@@ -9,7 +9,7 @@ interface NotificationsStore {
|
|
|
9
9
|
allowErrors?: boolean;
|
|
10
10
|
}) => void;
|
|
11
11
|
}
|
|
12
|
-
declare const useNotificationsStore:
|
|
12
|
+
declare const useNotificationsStore: pinia7.StoreDefinition<"notifications", Pick<NotificationsStore, "areNotificationsSuppressed" | "allowErrorNotificationsWhenSuppressed">, Pick<NotificationsStore, never>, Pick<NotificationsStore, "setNotificationsSuppressed">>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { NotificationsStore, useNotificationsStore };
|
|
15
15
|
//# sourceMappingURL=notifications.store.d.mts.map
|