@n8n/stores 2.33.0 → 2.33.2
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.cts +66 -66
- package/dist/cloudPlan.store.d.mts +66 -66
- package/dist/notifications.store.d.cts +2 -2
- package/dist/rbac.store.d.cts +105 -105
- package/dist/rbac.store.d.mts +105 -105
- package/dist/roles.store.d.cts +19 -19
- package/dist/roles.store.d.mts +21 -21
- package/dist/settings.store.d.cts +237 -237
- package/dist/settings.store.d.mts +237 -237
- package/dist/useAgentRequestStore.d.mts +2 -2
- package/dist/useRootStore.d.cts +72 -72
- package/dist/useRootStore.d.mts +72 -72
- package/dist/users.store.d.cts +52 -52
- package/dist/users.store.d.mts +52 -52
- package/package.json +9 -9
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as vue377 from "vue";
|
|
2
|
+
import * as pinia6 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:
|
|
12
|
+
declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
|
|
13
13
|
state: {
|
|
14
14
|
initialized: boolean;
|
|
15
15
|
data: {
|
|
@@ -55,17 +55,17 @@ declare const useCloudPlanStore: pinia0.StoreDefinition<"cloudPlan", Pick<{
|
|
|
55
55
|
} | null;
|
|
56
56
|
loadingPlan: boolean;
|
|
57
57
|
};
|
|
58
|
-
usageLeft:
|
|
58
|
+
usageLeft: vue377.ComputedRef<{
|
|
59
59
|
workflowsLeft: number;
|
|
60
60
|
executionsLeft: number;
|
|
61
61
|
}>;
|
|
62
|
-
trialDaysLeft:
|
|
63
|
-
trialTimeLeft:
|
|
62
|
+
trialDaysLeft: vue377.ComputedRef<number>;
|
|
63
|
+
trialTimeLeft: vue377.ComputedRef<{
|
|
64
64
|
count: number;
|
|
65
65
|
unit: "days" | "hours" | "minutes";
|
|
66
66
|
}>;
|
|
67
|
-
userIsTrialing:
|
|
68
|
-
currentPlanData:
|
|
67
|
+
userIsTrialing: vue377.ComputedRef<boolean>;
|
|
68
|
+
currentPlanData: vue377.ComputedRef<{
|
|
69
69
|
planId: number;
|
|
70
70
|
monthlyExecutionsLimit: number;
|
|
71
71
|
activeWorkflowsLimit: number;
|
|
@@ -101,15 +101,15 @@ declare const useCloudPlanStore: pinia0.StoreDefinition<"cloudPlan", Pick<{
|
|
|
101
101
|
forceShow?: boolean | undefined;
|
|
102
102
|
} | undefined;
|
|
103
103
|
} | null>;
|
|
104
|
-
currentUsageData:
|
|
104
|
+
currentUsageData: vue377.ComputedRef<{
|
|
105
105
|
timeframe?: string | undefined;
|
|
106
106
|
executions: number;
|
|
107
107
|
activeWorkflows: number;
|
|
108
108
|
} | null>;
|
|
109
|
-
trialExpired:
|
|
110
|
-
allExecutionsUsed:
|
|
111
|
-
hasCloudPlan:
|
|
112
|
-
currentUserCloudInfo:
|
|
109
|
+
trialExpired: vue377.ComputedRef<boolean | undefined>;
|
|
110
|
+
allExecutionsUsed: vue377.ComputedRef<boolean>;
|
|
111
|
+
hasCloudPlan: vue377.ComputedRef<boolean>;
|
|
112
|
+
currentUserCloudInfo: vue377.Ref<{
|
|
113
113
|
confirmed: boolean;
|
|
114
114
|
username: string;
|
|
115
115
|
email: string;
|
|
@@ -142,10 +142,10 @@ declare const useCloudPlanStore: pinia0.StoreDefinition<"cloudPlan", Pick<{
|
|
|
142
142
|
getAutoLoginCode: () => Promise<{
|
|
143
143
|
code: string;
|
|
144
144
|
}>;
|
|
145
|
-
selectedApps:
|
|
146
|
-
codingSkill:
|
|
147
|
-
shouldShowBanner:
|
|
148
|
-
bannerConfig:
|
|
145
|
+
selectedApps: vue377.ComputedRef<string[] | undefined>;
|
|
146
|
+
codingSkill: vue377.ComputedRef<number>;
|
|
147
|
+
shouldShowBanner: vue377.ComputedRef<boolean>;
|
|
148
|
+
bannerConfig: vue377.ComputedRef<{
|
|
149
149
|
timeLeft?: {
|
|
150
150
|
text?: string | undefined;
|
|
151
151
|
} | undefined;
|
|
@@ -162,14 +162,14 @@ declare const useCloudPlanStore: pinia0.StoreDefinition<"cloudPlan", Pick<{
|
|
|
162
162
|
dismissible?: boolean | undefined;
|
|
163
163
|
forceShow?: boolean | undefined;
|
|
164
164
|
} | undefined>;
|
|
165
|
-
bannerForceShow:
|
|
166
|
-
isBannerDismissed:
|
|
167
|
-
bannerTimeLeft:
|
|
165
|
+
bannerForceShow: vue377.ComputedRef<boolean>;
|
|
166
|
+
isBannerDismissed: vue377.ComputedRef<boolean>;
|
|
167
|
+
bannerTimeLeft: vue377.ComputedRef<{
|
|
168
168
|
show: boolean;
|
|
169
169
|
text: string | undefined;
|
|
170
170
|
}>;
|
|
171
|
-
showExecutions:
|
|
172
|
-
bannerCta:
|
|
171
|
+
showExecutions: vue377.ComputedRef<boolean>;
|
|
172
|
+
bannerCta: vue377.ComputedRef<{
|
|
173
173
|
text: string;
|
|
174
174
|
icon: string;
|
|
175
175
|
size: "small" | "medium";
|
|
@@ -177,8 +177,8 @@ declare const useCloudPlanStore: pinia0.StoreDefinition<"cloudPlan", Pick<{
|
|
|
177
177
|
variant: "success" | "solid" | "subtle" | "ghost" | "outline" | "destructive" | undefined;
|
|
178
178
|
href: string | undefined;
|
|
179
179
|
}>;
|
|
180
|
-
bannerIcon:
|
|
181
|
-
bannerDismissible:
|
|
180
|
+
bannerIcon: vue377.ComputedRef<string | undefined>;
|
|
181
|
+
bannerDismissible: vue377.ComputedRef<boolean>;
|
|
182
182
|
setIsInstanceOwner: (getter: () => boolean) => void;
|
|
183
183
|
}, "state" | "currentUserCloudInfo">, Pick<{
|
|
184
184
|
state: {
|
|
@@ -226,17 +226,17 @@ declare const useCloudPlanStore: pinia0.StoreDefinition<"cloudPlan", Pick<{
|
|
|
226
226
|
} | null;
|
|
227
227
|
loadingPlan: boolean;
|
|
228
228
|
};
|
|
229
|
-
usageLeft:
|
|
229
|
+
usageLeft: vue377.ComputedRef<{
|
|
230
230
|
workflowsLeft: number;
|
|
231
231
|
executionsLeft: number;
|
|
232
232
|
}>;
|
|
233
|
-
trialDaysLeft:
|
|
234
|
-
trialTimeLeft:
|
|
233
|
+
trialDaysLeft: vue377.ComputedRef<number>;
|
|
234
|
+
trialTimeLeft: vue377.ComputedRef<{
|
|
235
235
|
count: number;
|
|
236
236
|
unit: "days" | "hours" | "minutes";
|
|
237
237
|
}>;
|
|
238
|
-
userIsTrialing:
|
|
239
|
-
currentPlanData:
|
|
238
|
+
userIsTrialing: vue377.ComputedRef<boolean>;
|
|
239
|
+
currentPlanData: vue377.ComputedRef<{
|
|
240
240
|
planId: number;
|
|
241
241
|
monthlyExecutionsLimit: number;
|
|
242
242
|
activeWorkflowsLimit: number;
|
|
@@ -272,15 +272,15 @@ declare const useCloudPlanStore: pinia0.StoreDefinition<"cloudPlan", Pick<{
|
|
|
272
272
|
forceShow?: boolean | undefined;
|
|
273
273
|
} | undefined;
|
|
274
274
|
} | null>;
|
|
275
|
-
currentUsageData:
|
|
275
|
+
currentUsageData: vue377.ComputedRef<{
|
|
276
276
|
timeframe?: string | undefined;
|
|
277
277
|
executions: number;
|
|
278
278
|
activeWorkflows: number;
|
|
279
279
|
} | null>;
|
|
280
|
-
trialExpired:
|
|
281
|
-
allExecutionsUsed:
|
|
282
|
-
hasCloudPlan:
|
|
283
|
-
currentUserCloudInfo:
|
|
280
|
+
trialExpired: vue377.ComputedRef<boolean | undefined>;
|
|
281
|
+
allExecutionsUsed: vue377.ComputedRef<boolean>;
|
|
282
|
+
hasCloudPlan: vue377.ComputedRef<boolean>;
|
|
283
|
+
currentUserCloudInfo: vue377.Ref<{
|
|
284
284
|
confirmed: boolean;
|
|
285
285
|
username: string;
|
|
286
286
|
email: string;
|
|
@@ -313,10 +313,10 @@ declare const useCloudPlanStore: pinia0.StoreDefinition<"cloudPlan", Pick<{
|
|
|
313
313
|
getAutoLoginCode: () => Promise<{
|
|
314
314
|
code: string;
|
|
315
315
|
}>;
|
|
316
|
-
selectedApps:
|
|
317
|
-
codingSkill:
|
|
318
|
-
shouldShowBanner:
|
|
319
|
-
bannerConfig:
|
|
316
|
+
selectedApps: vue377.ComputedRef<string[] | undefined>;
|
|
317
|
+
codingSkill: vue377.ComputedRef<number>;
|
|
318
|
+
shouldShowBanner: vue377.ComputedRef<boolean>;
|
|
319
|
+
bannerConfig: vue377.ComputedRef<{
|
|
320
320
|
timeLeft?: {
|
|
321
321
|
text?: string | undefined;
|
|
322
322
|
} | undefined;
|
|
@@ -333,14 +333,14 @@ declare const useCloudPlanStore: pinia0.StoreDefinition<"cloudPlan", Pick<{
|
|
|
333
333
|
dismissible?: boolean | undefined;
|
|
334
334
|
forceShow?: boolean | undefined;
|
|
335
335
|
} | undefined>;
|
|
336
|
-
bannerForceShow:
|
|
337
|
-
isBannerDismissed:
|
|
338
|
-
bannerTimeLeft:
|
|
336
|
+
bannerForceShow: vue377.ComputedRef<boolean>;
|
|
337
|
+
isBannerDismissed: vue377.ComputedRef<boolean>;
|
|
338
|
+
bannerTimeLeft: vue377.ComputedRef<{
|
|
339
339
|
show: boolean;
|
|
340
340
|
text: string | undefined;
|
|
341
341
|
}>;
|
|
342
|
-
showExecutions:
|
|
343
|
-
bannerCta:
|
|
342
|
+
showExecutions: vue377.ComputedRef<boolean>;
|
|
343
|
+
bannerCta: vue377.ComputedRef<{
|
|
344
344
|
text: string;
|
|
345
345
|
icon: string;
|
|
346
346
|
size: "small" | "medium";
|
|
@@ -348,8 +348,8 @@ declare const useCloudPlanStore: pinia0.StoreDefinition<"cloudPlan", Pick<{
|
|
|
348
348
|
variant: "success" | "solid" | "subtle" | "ghost" | "outline" | "destructive" | undefined;
|
|
349
349
|
href: string | undefined;
|
|
350
350
|
}>;
|
|
351
|
-
bannerIcon:
|
|
352
|
-
bannerDismissible:
|
|
351
|
+
bannerIcon: vue377.ComputedRef<string | undefined>;
|
|
352
|
+
bannerDismissible: vue377.ComputedRef<boolean>;
|
|
353
353
|
setIsInstanceOwner: (getter: () => boolean) => void;
|
|
354
354
|
}, "userIsTrialing" | "bannerConfig" | "selectedApps" | "showExecutions" | "usageLeft" | "trialDaysLeft" | "trialTimeLeft" | "currentPlanData" | "currentUsageData" | "trialExpired" | "allExecutionsUsed" | "hasCloudPlan" | "codingSkill" | "shouldShowBanner" | "bannerForceShow" | "isBannerDismissed" | "bannerTimeLeft" | "bannerCta" | "bannerIcon" | "bannerDismissible">, Pick<{
|
|
355
355
|
state: {
|
|
@@ -397,17 +397,17 @@ declare const useCloudPlanStore: pinia0.StoreDefinition<"cloudPlan", Pick<{
|
|
|
397
397
|
} | null;
|
|
398
398
|
loadingPlan: boolean;
|
|
399
399
|
};
|
|
400
|
-
usageLeft:
|
|
400
|
+
usageLeft: vue377.ComputedRef<{
|
|
401
401
|
workflowsLeft: number;
|
|
402
402
|
executionsLeft: number;
|
|
403
403
|
}>;
|
|
404
|
-
trialDaysLeft:
|
|
405
|
-
trialTimeLeft:
|
|
404
|
+
trialDaysLeft: vue377.ComputedRef<number>;
|
|
405
|
+
trialTimeLeft: vue377.ComputedRef<{
|
|
406
406
|
count: number;
|
|
407
407
|
unit: "days" | "hours" | "minutes";
|
|
408
408
|
}>;
|
|
409
|
-
userIsTrialing:
|
|
410
|
-
currentPlanData:
|
|
409
|
+
userIsTrialing: vue377.ComputedRef<boolean>;
|
|
410
|
+
currentPlanData: vue377.ComputedRef<{
|
|
411
411
|
planId: number;
|
|
412
412
|
monthlyExecutionsLimit: number;
|
|
413
413
|
activeWorkflowsLimit: number;
|
|
@@ -443,15 +443,15 @@ declare const useCloudPlanStore: pinia0.StoreDefinition<"cloudPlan", Pick<{
|
|
|
443
443
|
forceShow?: boolean | undefined;
|
|
444
444
|
} | undefined;
|
|
445
445
|
} | null>;
|
|
446
|
-
currentUsageData:
|
|
446
|
+
currentUsageData: vue377.ComputedRef<{
|
|
447
447
|
timeframe?: string | undefined;
|
|
448
448
|
executions: number;
|
|
449
449
|
activeWorkflows: number;
|
|
450
450
|
} | null>;
|
|
451
|
-
trialExpired:
|
|
452
|
-
allExecutionsUsed:
|
|
453
|
-
hasCloudPlan:
|
|
454
|
-
currentUserCloudInfo:
|
|
451
|
+
trialExpired: vue377.ComputedRef<boolean | undefined>;
|
|
452
|
+
allExecutionsUsed: vue377.ComputedRef<boolean>;
|
|
453
|
+
hasCloudPlan: vue377.ComputedRef<boolean>;
|
|
454
|
+
currentUserCloudInfo: vue377.Ref<{
|
|
455
455
|
confirmed: boolean;
|
|
456
456
|
username: string;
|
|
457
457
|
email: string;
|
|
@@ -484,10 +484,10 @@ declare const useCloudPlanStore: pinia0.StoreDefinition<"cloudPlan", Pick<{
|
|
|
484
484
|
getAutoLoginCode: () => Promise<{
|
|
485
485
|
code: string;
|
|
486
486
|
}>;
|
|
487
|
-
selectedApps:
|
|
488
|
-
codingSkill:
|
|
489
|
-
shouldShowBanner:
|
|
490
|
-
bannerConfig:
|
|
487
|
+
selectedApps: vue377.ComputedRef<string[] | undefined>;
|
|
488
|
+
codingSkill: vue377.ComputedRef<number>;
|
|
489
|
+
shouldShowBanner: vue377.ComputedRef<boolean>;
|
|
490
|
+
bannerConfig: vue377.ComputedRef<{
|
|
491
491
|
timeLeft?: {
|
|
492
492
|
text?: string | undefined;
|
|
493
493
|
} | undefined;
|
|
@@ -504,14 +504,14 @@ declare const useCloudPlanStore: pinia0.StoreDefinition<"cloudPlan", Pick<{
|
|
|
504
504
|
dismissible?: boolean | undefined;
|
|
505
505
|
forceShow?: boolean | undefined;
|
|
506
506
|
} | undefined>;
|
|
507
|
-
bannerForceShow:
|
|
508
|
-
isBannerDismissed:
|
|
509
|
-
bannerTimeLeft:
|
|
507
|
+
bannerForceShow: vue377.ComputedRef<boolean>;
|
|
508
|
+
isBannerDismissed: vue377.ComputedRef<boolean>;
|
|
509
|
+
bannerTimeLeft: vue377.ComputedRef<{
|
|
510
510
|
show: boolean;
|
|
511
511
|
text: string | undefined;
|
|
512
512
|
}>;
|
|
513
|
-
showExecutions:
|
|
514
|
-
bannerCta:
|
|
513
|
+
showExecutions: vue377.ComputedRef<boolean>;
|
|
514
|
+
bannerCta: vue377.ComputedRef<{
|
|
515
515
|
text: string;
|
|
516
516
|
icon: string;
|
|
517
517
|
size: "small" | "medium";
|
|
@@ -519,8 +519,8 @@ declare const useCloudPlanStore: pinia0.StoreDefinition<"cloudPlan", Pick<{
|
|
|
519
519
|
variant: "success" | "solid" | "subtle" | "ghost" | "outline" | "destructive" | undefined;
|
|
520
520
|
href: string | undefined;
|
|
521
521
|
}>;
|
|
522
|
-
bannerIcon:
|
|
523
|
-
bannerDismissible:
|
|
522
|
+
bannerIcon: vue377.ComputedRef<string | undefined>;
|
|
523
|
+
bannerDismissible: vue377.ComputedRef<boolean>;
|
|
524
524
|
setIsInstanceOwner: (getter: () => boolean) => void;
|
|
525
525
|
}, "reset" | "initialize" | "generateCloudDashboardAutoLoginLink" | "getOwnerCurrentPlan" | "getInstanceCurrentUsage" | "checkForCloudPlanData" | "fetchUserCloudAccount" | "getAutoLoginCode" | "setIsInstanceOwner">>;
|
|
526
526
|
//#endregion
|
|
@@ -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 pinia0 from "pinia";
|
|
3
|
+
import * as vue0 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: pinia0.StoreDefinition<"cloudPlan", Pick<{
|
|
13
13
|
state: {
|
|
14
14
|
initialized: boolean;
|
|
15
15
|
data: {
|
|
@@ -55,17 +55,17 @@ declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
|
|
|
55
55
|
} | null;
|
|
56
56
|
loadingPlan: boolean;
|
|
57
57
|
};
|
|
58
|
-
usageLeft:
|
|
58
|
+
usageLeft: vue0.ComputedRef<{
|
|
59
59
|
workflowsLeft: number;
|
|
60
60
|
executionsLeft: number;
|
|
61
61
|
}>;
|
|
62
|
-
trialDaysLeft:
|
|
63
|
-
trialTimeLeft:
|
|
62
|
+
trialDaysLeft: vue0.ComputedRef<number>;
|
|
63
|
+
trialTimeLeft: vue0.ComputedRef<{
|
|
64
64
|
count: number;
|
|
65
65
|
unit: "days" | "hours" | "minutes";
|
|
66
66
|
}>;
|
|
67
|
-
userIsTrialing:
|
|
68
|
-
currentPlanData:
|
|
67
|
+
userIsTrialing: vue0.ComputedRef<boolean>;
|
|
68
|
+
currentPlanData: vue0.ComputedRef<{
|
|
69
69
|
planId: number;
|
|
70
70
|
monthlyExecutionsLimit: number;
|
|
71
71
|
activeWorkflowsLimit: number;
|
|
@@ -101,15 +101,15 @@ declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
|
|
|
101
101
|
forceShow?: boolean | undefined;
|
|
102
102
|
} | undefined;
|
|
103
103
|
} | null>;
|
|
104
|
-
currentUsageData:
|
|
104
|
+
currentUsageData: vue0.ComputedRef<{
|
|
105
105
|
timeframe?: string | undefined;
|
|
106
106
|
executions: number;
|
|
107
107
|
activeWorkflows: number;
|
|
108
108
|
} | null>;
|
|
109
|
-
trialExpired:
|
|
110
|
-
allExecutionsUsed:
|
|
111
|
-
hasCloudPlan:
|
|
112
|
-
currentUserCloudInfo:
|
|
109
|
+
trialExpired: vue0.ComputedRef<boolean | undefined>;
|
|
110
|
+
allExecutionsUsed: vue0.ComputedRef<boolean>;
|
|
111
|
+
hasCloudPlan: vue0.ComputedRef<boolean>;
|
|
112
|
+
currentUserCloudInfo: vue0.Ref<{
|
|
113
113
|
confirmed: boolean;
|
|
114
114
|
username: string;
|
|
115
115
|
email: string;
|
|
@@ -142,10 +142,10 @@ declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
|
|
|
142
142
|
getAutoLoginCode: () => Promise<{
|
|
143
143
|
code: string;
|
|
144
144
|
}>;
|
|
145
|
-
selectedApps:
|
|
146
|
-
codingSkill:
|
|
147
|
-
shouldShowBanner:
|
|
148
|
-
bannerConfig:
|
|
145
|
+
selectedApps: vue0.ComputedRef<string[] | undefined>;
|
|
146
|
+
codingSkill: vue0.ComputedRef<number>;
|
|
147
|
+
shouldShowBanner: vue0.ComputedRef<boolean>;
|
|
148
|
+
bannerConfig: vue0.ComputedRef<{
|
|
149
149
|
timeLeft?: {
|
|
150
150
|
text?: string | undefined;
|
|
151
151
|
} | undefined;
|
|
@@ -162,14 +162,14 @@ declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
|
|
|
162
162
|
dismissible?: boolean | undefined;
|
|
163
163
|
forceShow?: boolean | undefined;
|
|
164
164
|
} | undefined>;
|
|
165
|
-
bannerForceShow:
|
|
166
|
-
isBannerDismissed:
|
|
167
|
-
bannerTimeLeft:
|
|
165
|
+
bannerForceShow: vue0.ComputedRef<boolean>;
|
|
166
|
+
isBannerDismissed: vue0.ComputedRef<boolean>;
|
|
167
|
+
bannerTimeLeft: vue0.ComputedRef<{
|
|
168
168
|
show: boolean;
|
|
169
169
|
text: string | undefined;
|
|
170
170
|
}>;
|
|
171
|
-
showExecutions:
|
|
172
|
-
bannerCta:
|
|
171
|
+
showExecutions: vue0.ComputedRef<boolean>;
|
|
172
|
+
bannerCta: vue0.ComputedRef<{
|
|
173
173
|
text: string;
|
|
174
174
|
icon: string;
|
|
175
175
|
size: "small" | "medium";
|
|
@@ -177,8 +177,8 @@ declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
|
|
|
177
177
|
variant: "success" | "solid" | "subtle" | "ghost" | "outline" | "destructive" | undefined;
|
|
178
178
|
href: string | undefined;
|
|
179
179
|
}>;
|
|
180
|
-
bannerIcon:
|
|
181
|
-
bannerDismissible:
|
|
180
|
+
bannerIcon: vue0.ComputedRef<string | undefined>;
|
|
181
|
+
bannerDismissible: vue0.ComputedRef<boolean>;
|
|
182
182
|
setIsInstanceOwner: (getter: () => boolean) => void;
|
|
183
183
|
}, "state" | "currentUserCloudInfo">, Pick<{
|
|
184
184
|
state: {
|
|
@@ -226,17 +226,17 @@ declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
|
|
|
226
226
|
} | null;
|
|
227
227
|
loadingPlan: boolean;
|
|
228
228
|
};
|
|
229
|
-
usageLeft:
|
|
229
|
+
usageLeft: vue0.ComputedRef<{
|
|
230
230
|
workflowsLeft: number;
|
|
231
231
|
executionsLeft: number;
|
|
232
232
|
}>;
|
|
233
|
-
trialDaysLeft:
|
|
234
|
-
trialTimeLeft:
|
|
233
|
+
trialDaysLeft: vue0.ComputedRef<number>;
|
|
234
|
+
trialTimeLeft: vue0.ComputedRef<{
|
|
235
235
|
count: number;
|
|
236
236
|
unit: "days" | "hours" | "minutes";
|
|
237
237
|
}>;
|
|
238
|
-
userIsTrialing:
|
|
239
|
-
currentPlanData:
|
|
238
|
+
userIsTrialing: vue0.ComputedRef<boolean>;
|
|
239
|
+
currentPlanData: vue0.ComputedRef<{
|
|
240
240
|
planId: number;
|
|
241
241
|
monthlyExecutionsLimit: number;
|
|
242
242
|
activeWorkflowsLimit: number;
|
|
@@ -272,15 +272,15 @@ declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
|
|
|
272
272
|
forceShow?: boolean | undefined;
|
|
273
273
|
} | undefined;
|
|
274
274
|
} | null>;
|
|
275
|
-
currentUsageData:
|
|
275
|
+
currentUsageData: vue0.ComputedRef<{
|
|
276
276
|
timeframe?: string | undefined;
|
|
277
277
|
executions: number;
|
|
278
278
|
activeWorkflows: number;
|
|
279
279
|
} | null>;
|
|
280
|
-
trialExpired:
|
|
281
|
-
allExecutionsUsed:
|
|
282
|
-
hasCloudPlan:
|
|
283
|
-
currentUserCloudInfo:
|
|
280
|
+
trialExpired: vue0.ComputedRef<boolean | undefined>;
|
|
281
|
+
allExecutionsUsed: vue0.ComputedRef<boolean>;
|
|
282
|
+
hasCloudPlan: vue0.ComputedRef<boolean>;
|
|
283
|
+
currentUserCloudInfo: vue0.Ref<{
|
|
284
284
|
confirmed: boolean;
|
|
285
285
|
username: string;
|
|
286
286
|
email: string;
|
|
@@ -313,10 +313,10 @@ declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
|
|
|
313
313
|
getAutoLoginCode: () => Promise<{
|
|
314
314
|
code: string;
|
|
315
315
|
}>;
|
|
316
|
-
selectedApps:
|
|
317
|
-
codingSkill:
|
|
318
|
-
shouldShowBanner:
|
|
319
|
-
bannerConfig:
|
|
316
|
+
selectedApps: vue0.ComputedRef<string[] | undefined>;
|
|
317
|
+
codingSkill: vue0.ComputedRef<number>;
|
|
318
|
+
shouldShowBanner: vue0.ComputedRef<boolean>;
|
|
319
|
+
bannerConfig: vue0.ComputedRef<{
|
|
320
320
|
timeLeft?: {
|
|
321
321
|
text?: string | undefined;
|
|
322
322
|
} | undefined;
|
|
@@ -333,14 +333,14 @@ declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
|
|
|
333
333
|
dismissible?: boolean | undefined;
|
|
334
334
|
forceShow?: boolean | undefined;
|
|
335
335
|
} | undefined>;
|
|
336
|
-
bannerForceShow:
|
|
337
|
-
isBannerDismissed:
|
|
338
|
-
bannerTimeLeft:
|
|
336
|
+
bannerForceShow: vue0.ComputedRef<boolean>;
|
|
337
|
+
isBannerDismissed: vue0.ComputedRef<boolean>;
|
|
338
|
+
bannerTimeLeft: vue0.ComputedRef<{
|
|
339
339
|
show: boolean;
|
|
340
340
|
text: string | undefined;
|
|
341
341
|
}>;
|
|
342
|
-
showExecutions:
|
|
343
|
-
bannerCta:
|
|
342
|
+
showExecutions: vue0.ComputedRef<boolean>;
|
|
343
|
+
bannerCta: vue0.ComputedRef<{
|
|
344
344
|
text: string;
|
|
345
345
|
icon: string;
|
|
346
346
|
size: "small" | "medium";
|
|
@@ -348,8 +348,8 @@ declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
|
|
|
348
348
|
variant: "success" | "solid" | "subtle" | "ghost" | "outline" | "destructive" | undefined;
|
|
349
349
|
href: string | undefined;
|
|
350
350
|
}>;
|
|
351
|
-
bannerIcon:
|
|
352
|
-
bannerDismissible:
|
|
351
|
+
bannerIcon: vue0.ComputedRef<string | undefined>;
|
|
352
|
+
bannerDismissible: vue0.ComputedRef<boolean>;
|
|
353
353
|
setIsInstanceOwner: (getter: () => boolean) => void;
|
|
354
354
|
}, "userIsTrialing" | "bannerConfig" | "selectedApps" | "showExecutions" | "usageLeft" | "trialDaysLeft" | "trialTimeLeft" | "currentPlanData" | "currentUsageData" | "trialExpired" | "allExecutionsUsed" | "hasCloudPlan" | "codingSkill" | "shouldShowBanner" | "bannerForceShow" | "isBannerDismissed" | "bannerTimeLeft" | "bannerCta" | "bannerIcon" | "bannerDismissible">, Pick<{
|
|
355
355
|
state: {
|
|
@@ -397,17 +397,17 @@ declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
|
|
|
397
397
|
} | null;
|
|
398
398
|
loadingPlan: boolean;
|
|
399
399
|
};
|
|
400
|
-
usageLeft:
|
|
400
|
+
usageLeft: vue0.ComputedRef<{
|
|
401
401
|
workflowsLeft: number;
|
|
402
402
|
executionsLeft: number;
|
|
403
403
|
}>;
|
|
404
|
-
trialDaysLeft:
|
|
405
|
-
trialTimeLeft:
|
|
404
|
+
trialDaysLeft: vue0.ComputedRef<number>;
|
|
405
|
+
trialTimeLeft: vue0.ComputedRef<{
|
|
406
406
|
count: number;
|
|
407
407
|
unit: "days" | "hours" | "minutes";
|
|
408
408
|
}>;
|
|
409
|
-
userIsTrialing:
|
|
410
|
-
currentPlanData:
|
|
409
|
+
userIsTrialing: vue0.ComputedRef<boolean>;
|
|
410
|
+
currentPlanData: vue0.ComputedRef<{
|
|
411
411
|
planId: number;
|
|
412
412
|
monthlyExecutionsLimit: number;
|
|
413
413
|
activeWorkflowsLimit: number;
|
|
@@ -443,15 +443,15 @@ declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
|
|
|
443
443
|
forceShow?: boolean | undefined;
|
|
444
444
|
} | undefined;
|
|
445
445
|
} | null>;
|
|
446
|
-
currentUsageData:
|
|
446
|
+
currentUsageData: vue0.ComputedRef<{
|
|
447
447
|
timeframe?: string | undefined;
|
|
448
448
|
executions: number;
|
|
449
449
|
activeWorkflows: number;
|
|
450
450
|
} | null>;
|
|
451
|
-
trialExpired:
|
|
452
|
-
allExecutionsUsed:
|
|
453
|
-
hasCloudPlan:
|
|
454
|
-
currentUserCloudInfo:
|
|
451
|
+
trialExpired: vue0.ComputedRef<boolean | undefined>;
|
|
452
|
+
allExecutionsUsed: vue0.ComputedRef<boolean>;
|
|
453
|
+
hasCloudPlan: vue0.ComputedRef<boolean>;
|
|
454
|
+
currentUserCloudInfo: vue0.Ref<{
|
|
455
455
|
confirmed: boolean;
|
|
456
456
|
username: string;
|
|
457
457
|
email: string;
|
|
@@ -484,10 +484,10 @@ declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
|
|
|
484
484
|
getAutoLoginCode: () => Promise<{
|
|
485
485
|
code: string;
|
|
486
486
|
}>;
|
|
487
|
-
selectedApps:
|
|
488
|
-
codingSkill:
|
|
489
|
-
shouldShowBanner:
|
|
490
|
-
bannerConfig:
|
|
487
|
+
selectedApps: vue0.ComputedRef<string[] | undefined>;
|
|
488
|
+
codingSkill: vue0.ComputedRef<number>;
|
|
489
|
+
shouldShowBanner: vue0.ComputedRef<boolean>;
|
|
490
|
+
bannerConfig: vue0.ComputedRef<{
|
|
491
491
|
timeLeft?: {
|
|
492
492
|
text?: string | undefined;
|
|
493
493
|
} | undefined;
|
|
@@ -504,14 +504,14 @@ declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
|
|
|
504
504
|
dismissible?: boolean | undefined;
|
|
505
505
|
forceShow?: boolean | undefined;
|
|
506
506
|
} | undefined>;
|
|
507
|
-
bannerForceShow:
|
|
508
|
-
isBannerDismissed:
|
|
509
|
-
bannerTimeLeft:
|
|
507
|
+
bannerForceShow: vue0.ComputedRef<boolean>;
|
|
508
|
+
isBannerDismissed: vue0.ComputedRef<boolean>;
|
|
509
|
+
bannerTimeLeft: vue0.ComputedRef<{
|
|
510
510
|
show: boolean;
|
|
511
511
|
text: string | undefined;
|
|
512
512
|
}>;
|
|
513
|
-
showExecutions:
|
|
514
|
-
bannerCta:
|
|
513
|
+
showExecutions: vue0.ComputedRef<boolean>;
|
|
514
|
+
bannerCta: vue0.ComputedRef<{
|
|
515
515
|
text: string;
|
|
516
516
|
icon: string;
|
|
517
517
|
size: "small" | "medium";
|
|
@@ -519,8 +519,8 @@ declare const useCloudPlanStore: pinia6.StoreDefinition<"cloudPlan", Pick<{
|
|
|
519
519
|
variant: "success" | "solid" | "subtle" | "ghost" | "outline" | "destructive" | undefined;
|
|
520
520
|
href: string | undefined;
|
|
521
521
|
}>;
|
|
522
|
-
bannerIcon:
|
|
523
|
-
bannerDismissible:
|
|
522
|
+
bannerIcon: vue0.ComputedRef<string | undefined>;
|
|
523
|
+
bannerDismissible: vue0.ComputedRef<boolean>;
|
|
524
524
|
setIsInstanceOwner: (getter: () => boolean) => void;
|
|
525
525
|
}, "reset" | "initialize" | "generateCloudDashboardAutoLoginLink" | "getOwnerCurrentPlan" | "getInstanceCurrentUsage" | "checkForCloudPlanData" | "fetchUserCloudAccount" | "getAutoLoginCode" | "setIsInstanceOwner">>;
|
|
526
526
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Component, Ref, VNode } from "vue";
|
|
2
|
-
import * as
|
|
2
|
+
import * as pinia0 from "pinia";
|
|
3
3
|
import { VIEWS } from "@n8n/frontend-constants/views";
|
|
4
4
|
|
|
5
5
|
//#region src/notifications.store.d.ts
|
|
@@ -30,7 +30,7 @@ interface NotificationsStore {
|
|
|
30
30
|
allowErrors?: boolean;
|
|
31
31
|
}) => void;
|
|
32
32
|
}
|
|
33
|
-
declare const useNotificationsStore:
|
|
33
|
+
declare const useNotificationsStore: pinia0.StoreDefinition<"notifications", Pick<NotificationsStore, "pendingNotificationsForViews" | "areNotificationsSuppressed" | "allowErrorNotificationsWhenSuppressed">, Pick<NotificationsStore, never>, Pick<NotificationsStore, "setNotificationsForView" | "setNotificationsSuppressed">>;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { NotificationOptions, NotificationsStore, useNotificationsStore };
|
|
36
36
|
//# sourceMappingURL=notifications.store.d.cts.map
|