@n8n/stores 2.34.1 → 2.35.0
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/constants2.cjs +1 -0
- package/dist/constants2.cjs.map +1 -1
- package/dist/constants2.d.cts +1 -0
- package/dist/constants2.d.mts +1 -0
- package/dist/constants2.mjs +1 -0
- package/dist/constants2.mjs.map +1 -1
- package/dist/notifications.store.d.cts +2 -2
- package/dist/rbac.store.d.cts +18 -18
- package/dist/roles.store.d.cts +21 -21
- package/dist/roles.store.d.mts +2 -2
- package/dist/settings.store.d.cts +239 -230
- package/dist/settings.store.d.mts +12 -3
- package/dist/settings2.store.cjs +2 -0
- package/dist/settings2.store.cjs.map +1 -1
- package/dist/settings2.store.mjs +2 -0
- package/dist/settings2.store.mjs.map +1 -1
- package/dist/useAgentRequestStore.d.cts +6 -6
- package/dist/useAgentRequestStore.d.mts +2 -2
- package/dist/useRootStore.d.cts +72 -72
- package/dist/useRootStore.d.mts +70 -70
- package/dist/users.store.d.cts +55 -55
- package/dist/users.store.d.mts +49 -49
- package/dist/versions.store.d.cts +28 -28
- package/dist/versions.store.d.mts +28 -28
- package/package.json +12 -12
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
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:
|
|
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: pinia1.StoreDefinition<"cloudPlan", Pick<{
|
|
|
56
56
|
} | null;
|
|
57
57
|
loadingPlan: boolean;
|
|
58
58
|
};
|
|
59
|
-
usageLeft:
|
|
59
|
+
usageLeft: vue0.ComputedRef<{
|
|
60
60
|
workflowsLeft: number;
|
|
61
61
|
executionsLeft: number;
|
|
62
62
|
}>;
|
|
63
|
-
trialDaysLeft:
|
|
64
|
-
trialTimeLeft:
|
|
63
|
+
trialDaysLeft: vue0.ComputedRef<number>;
|
|
64
|
+
trialTimeLeft: vue0.ComputedRef<{
|
|
65
65
|
count: number;
|
|
66
66
|
unit: "days" | "hours" | "minutes";
|
|
67
67
|
}>;
|
|
68
|
-
userIsTrialing:
|
|
69
|
-
currentPlanData:
|
|
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: pinia1.StoreDefinition<"cloudPlan", Pick<{
|
|
|
103
103
|
} | undefined;
|
|
104
104
|
licenseFeatures?: Record<string, number> | undefined;
|
|
105
105
|
} | null>;
|
|
106
|
-
currentUsageData:
|
|
106
|
+
currentUsageData: vue0.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: 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: pinia1.StoreDefinition<"cloudPlan", Pick<{
|
|
|
144
144
|
getAutoLoginCode: () => Promise<{
|
|
145
145
|
code: string;
|
|
146
146
|
}>;
|
|
147
|
-
selectedApps:
|
|
148
|
-
codingSkill:
|
|
149
|
-
shouldShowBanner:
|
|
150
|
-
bannerConfig:
|
|
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: pinia1.StoreDefinition<"cloudPlan", Pick<{
|
|
|
164
164
|
dismissible?: boolean | undefined;
|
|
165
165
|
forceShow?: boolean | undefined;
|
|
166
166
|
} | undefined>;
|
|
167
|
-
bannerForceShow:
|
|
168
|
-
isBannerDismissed:
|
|
169
|
-
bannerTimeLeft:
|
|
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:
|
|
174
|
-
bannerCta:
|
|
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: pinia1.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: 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: pinia1.StoreDefinition<"cloudPlan", Pick<{
|
|
|
229
229
|
} | null;
|
|
230
230
|
loadingPlan: boolean;
|
|
231
231
|
};
|
|
232
|
-
usageLeft:
|
|
232
|
+
usageLeft: vue0.ComputedRef<{
|
|
233
233
|
workflowsLeft: number;
|
|
234
234
|
executionsLeft: number;
|
|
235
235
|
}>;
|
|
236
|
-
trialDaysLeft:
|
|
237
|
-
trialTimeLeft:
|
|
236
|
+
trialDaysLeft: vue0.ComputedRef<number>;
|
|
237
|
+
trialTimeLeft: vue0.ComputedRef<{
|
|
238
238
|
count: number;
|
|
239
239
|
unit: "days" | "hours" | "minutes";
|
|
240
240
|
}>;
|
|
241
|
-
userIsTrialing:
|
|
242
|
-
currentPlanData:
|
|
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: pinia1.StoreDefinition<"cloudPlan", Pick<{
|
|
|
276
276
|
} | undefined;
|
|
277
277
|
licenseFeatures?: Record<string, number> | undefined;
|
|
278
278
|
} | null>;
|
|
279
|
-
currentUsageData:
|
|
279
|
+
currentUsageData: vue0.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: 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: pinia1.StoreDefinition<"cloudPlan", Pick<{
|
|
|
317
317
|
getAutoLoginCode: () => Promise<{
|
|
318
318
|
code: string;
|
|
319
319
|
}>;
|
|
320
|
-
selectedApps:
|
|
321
|
-
codingSkill:
|
|
322
|
-
shouldShowBanner:
|
|
323
|
-
bannerConfig:
|
|
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: pinia1.StoreDefinition<"cloudPlan", Pick<{
|
|
|
337
337
|
dismissible?: boolean | undefined;
|
|
338
338
|
forceShow?: boolean | undefined;
|
|
339
339
|
} | undefined>;
|
|
340
|
-
bannerForceShow:
|
|
341
|
-
isBannerDismissed:
|
|
342
|
-
bannerTimeLeft:
|
|
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:
|
|
347
|
-
bannerCta:
|
|
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: pinia1.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: 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: pinia1.StoreDefinition<"cloudPlan", Pick<{
|
|
|
402
402
|
} | null;
|
|
403
403
|
loadingPlan: boolean;
|
|
404
404
|
};
|
|
405
|
-
usageLeft:
|
|
405
|
+
usageLeft: vue0.ComputedRef<{
|
|
406
406
|
workflowsLeft: number;
|
|
407
407
|
executionsLeft: number;
|
|
408
408
|
}>;
|
|
409
|
-
trialDaysLeft:
|
|
410
|
-
trialTimeLeft:
|
|
409
|
+
trialDaysLeft: vue0.ComputedRef<number>;
|
|
410
|
+
trialTimeLeft: vue0.ComputedRef<{
|
|
411
411
|
count: number;
|
|
412
412
|
unit: "days" | "hours" | "minutes";
|
|
413
413
|
}>;
|
|
414
|
-
userIsTrialing:
|
|
415
|
-
currentPlanData:
|
|
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: pinia1.StoreDefinition<"cloudPlan", Pick<{
|
|
|
449
449
|
} | undefined;
|
|
450
450
|
licenseFeatures?: Record<string, number> | undefined;
|
|
451
451
|
} | null>;
|
|
452
|
-
currentUsageData:
|
|
452
|
+
currentUsageData: vue0.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: 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: pinia1.StoreDefinition<"cloudPlan", Pick<{
|
|
|
490
490
|
getAutoLoginCode: () => Promise<{
|
|
491
491
|
code: string;
|
|
492
492
|
}>;
|
|
493
|
-
selectedApps:
|
|
494
|
-
codingSkill:
|
|
495
|
-
shouldShowBanner:
|
|
496
|
-
bannerConfig:
|
|
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: pinia1.StoreDefinition<"cloudPlan", Pick<{
|
|
|
510
510
|
dismissible?: boolean | undefined;
|
|
511
511
|
forceShow?: boolean | undefined;
|
|
512
512
|
} | undefined>;
|
|
513
|
-
bannerForceShow:
|
|
514
|
-
isBannerDismissed:
|
|
515
|
-
bannerTimeLeft:
|
|
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:
|
|
520
|
-
bannerCta:
|
|
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: pinia1.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: 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
|
package/dist/constants2.cjs
CHANGED
package/dist/constants2.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants2.cjs","names":[],"sources":["../src/constants.ts"],"sourcesContent":["export const STORES = {\n\tCOMMUNITY_NODES: 'communityNodes',\n\tROOT: 'root',\n\tSETTINGS: 'settings',\n\tNOTIFICATIONS: 'notifications',\n\tUI: 'ui',\n\tUSERS: 'users',\n\tWORKFLOWS: 'workflows',\n\tWORKFLOWS_LIST: 'workflowsList',\n\tWORKFLOWS_V2: 'workflowsV2',\n\tWORKFLOWS_EE: 'workflowsEE',\n\tWORKFLOW_DOCUMENTS: 'workflowDocuments',\n\tEXECUTION_DATA: 'executionData',\n\tWORKFLOW_EXECUTION_STATES: 'workflowExecutionStates',\n\tEXECUTIONS: 'executions',\n\tNDV: 'ndv',\n\tTEMPLATES: 'templates',\n\tNODE_TYPES: 'nodeTypes',\n\tCREDENTIALS: 'credentials',\n\tTAGS: 'tags',\n\tANNOTATION_TAGS: 'annotationTags',\n\tVERSIONS: 'versions',\n\tNODE_CREATOR: 'nodeCreator',\n\tWEBHOOKS: 'webhooks',\n\tHISTORY: 'history',\n\tCLOUD_PLAN: 'cloudPlan',\n\tRBAC: 'rbac',\n\tPUSH: 'push',\n\tCOLLABORATION: 'collaboration',\n\tASSISTANT: 'assistant',\n\tBUILDER: 'builder',\n\tCHAT_PANEL: 'chatPanel',\n\tCHAT_PANEL_STATE: 'chatPanelState',\n\tBECOME_TEMPLATE_CREATOR: 'becomeTemplateCreator',\n\tPROJECTS: 'projects',\n\tAPI_KEYS: 'apiKeys',\n\tEVALUATION: 'evaluation',\n\tEVAL_COLLECTIONS: 'evalCollections',\n\tFOLDERS: 'folders',\n\tMODULES: 'modules',\n\tFOCUS_PANEL: 'focusPanel',\n\tAI_TEMPLATES_STARTER_COLLECTION: 'aiTemplatesStarterCollection',\n\tPERSONALIZED_TEMPLATES: 'personalizedTemplates',\n\tEXPERIMENT_READY_TO_RUN_WORKFLOWS: 'readyToRunWorkflows',\n\tEXPERIMENT_READY_TO_RUN_WORKFLOWS_V2: 'readyToRunWorkflowsV2',\n\tEXPERIMENT_TEMPLATE_RECO_V2: 'templateRecoV2',\n\tPERSONALIZED_TEMPLATES_V3: 'personalizedTemplatesV3',\n\tREADY_TO_RUN: 'readyToRun',\n\tTEMPLATES_DATA_QUALITY: 'templatesDataQuality',\n\tBANNERS: 'banners',\n\tCONSENT: 'consent',\n\tCHAT_HUB: 'chatHub',\n\tCHAT_HUB_PANEL: 'chatHubPanel',\n\tEXPERIMENT_CREDENTIALS_APP_SELECTION: 'credentialsAppSelection',\n\tEXPERIMENT_SURFACE_MCP_TO_NEW_CLOUD_USERS: 'surfaceMcpToNewCloudUsers',\n\tEXPERIMENT_EXPOSE_ALL_WORKFLOWS_TO_MCP: 'exposeAllWorkflowsToMcp',\n\tEXPERIMENT_TRIAL_INTRO_MODAL: 'trialIntroModal',\n\tSETUP_PANEL: 'setupPanel',\n\tFOCUSED_NODES: 'focusedNodes',\n\tFAVORITES: 'favorites',\n\tAI_GATEWAY: 'aiGateway',\n\tEVALUATIONS_WIZARD_SIDEPANEL: 'evaluationsWizardSidepanel',\n} as const;\n"],"mappings":";;AAAA,MAAa,SAAS;CACrB,iBAAiB;CACjB,MAAM;CACN,UAAU;CACV,eAAe;CACf,IAAI;CACJ,OAAO;CACP,WAAW;CACX,gBAAgB;CAChB,cAAc;CACd,cAAc;CACd,oBAAoB;CACpB,gBAAgB;CAChB,2BAA2B;CAC3B,YAAY;CACZ,KAAK;CACL,WAAW;CACX,YAAY;CACZ,aAAa;CACb,MAAM;CACN,iBAAiB;CACjB,UAAU;CACV,cAAc;CACd,UAAU;CACV,SAAS;CACT,YAAY;CACZ,MAAM;CACN,MAAM;CACN,eAAe;CACf,WAAW;CACX,SAAS;CACT,YAAY;CACZ,kBAAkB;CAClB,yBAAyB;CACzB,UAAU;CACV,UAAU;CACV,YAAY;CACZ,kBAAkB;CAClB,SAAS;CACT,SAAS;CACT,aAAa;CACb,iCAAiC;CACjC,wBAAwB;CACxB,mCAAmC;CACnC,sCAAsC;CACtC,6BAA6B;CAC7B,2BAA2B;CAC3B,cAAc;CACd,wBAAwB;CACxB,SAAS;CACT,SAAS;CACT,UAAU;CACV,gBAAgB;CAChB,sCAAsC;CACtC,2CAA2C;CAC3C,wCAAwC;CACxC,8BAA8B;CAC9B,aAAa;CACb,eAAe;CACf,WAAW;CACX,YAAY;CACZ,8BAA8B;CAC9B"}
|
|
1
|
+
{"version":3,"file":"constants2.cjs","names":[],"sources":["../src/constants.ts"],"sourcesContent":["export const STORES = {\n\tCOMMUNITY_NODES: 'communityNodes',\n\tROOT: 'root',\n\tSETTINGS: 'settings',\n\tNOTIFICATIONS: 'notifications',\n\tUI: 'ui',\n\tUSERS: 'users',\n\tWORKFLOWS: 'workflows',\n\tWORKFLOWS_LIST: 'workflowsList',\n\tWORKFLOWS_V2: 'workflowsV2',\n\tWORKFLOWS_EE: 'workflowsEE',\n\tWORKFLOW_DOCUMENTS: 'workflowDocuments',\n\tEXECUTION_DATA: 'executionData',\n\tWORKFLOW_EXECUTION_STATES: 'workflowExecutionStates',\n\tEXECUTIONS: 'executions',\n\tNDV: 'ndv',\n\tTEMPLATES: 'templates',\n\tNODE_TYPES: 'nodeTypes',\n\tCREDENTIALS: 'credentials',\n\tTAGS: 'tags',\n\tANNOTATION_TAGS: 'annotationTags',\n\tVERSIONS: 'versions',\n\tNODE_CREATOR: 'nodeCreator',\n\tWEBHOOKS: 'webhooks',\n\tHISTORY: 'history',\n\tCLOUD_PLAN: 'cloudPlan',\n\tRBAC: 'rbac',\n\tPUSH: 'push',\n\tCOLLABORATION: 'collaboration',\n\tASSISTANT: 'assistant',\n\tBUILDER: 'builder',\n\tCHAT_PANEL: 'chatPanel',\n\tCHAT_PANEL_STATE: 'chatPanelState',\n\tBECOME_TEMPLATE_CREATOR: 'becomeTemplateCreator',\n\tPROJECTS: 'projects',\n\tAPI_KEYS: 'apiKeys',\n\tEVALUATION: 'evaluation',\n\tEVAL_COLLECTIONS: 'evalCollections',\n\tAGENT_EVALS: 'agentEvals',\n\tFOLDERS: 'folders',\n\tMODULES: 'modules',\n\tFOCUS_PANEL: 'focusPanel',\n\tAI_TEMPLATES_STARTER_COLLECTION: 'aiTemplatesStarterCollection',\n\tPERSONALIZED_TEMPLATES: 'personalizedTemplates',\n\tEXPERIMENT_READY_TO_RUN_WORKFLOWS: 'readyToRunWorkflows',\n\tEXPERIMENT_READY_TO_RUN_WORKFLOWS_V2: 'readyToRunWorkflowsV2',\n\tEXPERIMENT_TEMPLATE_RECO_V2: 'templateRecoV2',\n\tPERSONALIZED_TEMPLATES_V3: 'personalizedTemplatesV3',\n\tREADY_TO_RUN: 'readyToRun',\n\tTEMPLATES_DATA_QUALITY: 'templatesDataQuality',\n\tBANNERS: 'banners',\n\tCONSENT: 'consent',\n\tCHAT_HUB: 'chatHub',\n\tCHAT_HUB_PANEL: 'chatHubPanel',\n\tEXPERIMENT_CREDENTIALS_APP_SELECTION: 'credentialsAppSelection',\n\tEXPERIMENT_SURFACE_MCP_TO_NEW_CLOUD_USERS: 'surfaceMcpToNewCloudUsers',\n\tEXPERIMENT_EXPOSE_ALL_WORKFLOWS_TO_MCP: 'exposeAllWorkflowsToMcp',\n\tEXPERIMENT_TRIAL_INTRO_MODAL: 'trialIntroModal',\n\tSETUP_PANEL: 'setupPanel',\n\tFOCUSED_NODES: 'focusedNodes',\n\tFAVORITES: 'favorites',\n\tAI_GATEWAY: 'aiGateway',\n\tEVALUATIONS_WIZARD_SIDEPANEL: 'evaluationsWizardSidepanel',\n} as const;\n"],"mappings":";;AAAA,MAAa,SAAS;CACrB,iBAAiB;CACjB,MAAM;CACN,UAAU;CACV,eAAe;CACf,IAAI;CACJ,OAAO;CACP,WAAW;CACX,gBAAgB;CAChB,cAAc;CACd,cAAc;CACd,oBAAoB;CACpB,gBAAgB;CAChB,2BAA2B;CAC3B,YAAY;CACZ,KAAK;CACL,WAAW;CACX,YAAY;CACZ,aAAa;CACb,MAAM;CACN,iBAAiB;CACjB,UAAU;CACV,cAAc;CACd,UAAU;CACV,SAAS;CACT,YAAY;CACZ,MAAM;CACN,MAAM;CACN,eAAe;CACf,WAAW;CACX,SAAS;CACT,YAAY;CACZ,kBAAkB;CAClB,yBAAyB;CACzB,UAAU;CACV,UAAU;CACV,YAAY;CACZ,kBAAkB;CAClB,aAAa;CACb,SAAS;CACT,SAAS;CACT,aAAa;CACb,iCAAiC;CACjC,wBAAwB;CACxB,mCAAmC;CACnC,sCAAsC;CACtC,6BAA6B;CAC7B,2BAA2B;CAC3B,cAAc;CACd,wBAAwB;CACxB,SAAS;CACT,SAAS;CACT,UAAU;CACV,gBAAgB;CAChB,sCAAsC;CACtC,2CAA2C;CAC3C,wCAAwC;CACxC,8BAA8B;CAC9B,aAAa;CACb,eAAe;CACf,WAAW;CACX,YAAY;CACZ,8BAA8B;CAC9B"}
|
package/dist/constants2.d.cts
CHANGED
|
@@ -37,6 +37,7 @@ declare const STORES: {
|
|
|
37
37
|
readonly API_KEYS: "apiKeys";
|
|
38
38
|
readonly EVALUATION: "evaluation";
|
|
39
39
|
readonly EVAL_COLLECTIONS: "evalCollections";
|
|
40
|
+
readonly AGENT_EVALS: "agentEvals";
|
|
40
41
|
readonly FOLDERS: "folders";
|
|
41
42
|
readonly MODULES: "modules";
|
|
42
43
|
readonly FOCUS_PANEL: "focusPanel";
|
package/dist/constants2.d.mts
CHANGED
|
@@ -37,6 +37,7 @@ declare const STORES: {
|
|
|
37
37
|
readonly API_KEYS: "apiKeys";
|
|
38
38
|
readonly EVALUATION: "evaluation";
|
|
39
39
|
readonly EVAL_COLLECTIONS: "evalCollections";
|
|
40
|
+
readonly AGENT_EVALS: "agentEvals";
|
|
40
41
|
readonly FOLDERS: "folders";
|
|
41
42
|
readonly MODULES: "modules";
|
|
42
43
|
readonly FOCUS_PANEL: "focusPanel";
|
package/dist/constants2.mjs
CHANGED
package/dist/constants2.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants2.mjs","names":[],"sources":["../src/constants.ts"],"sourcesContent":["export const STORES = {\n\tCOMMUNITY_NODES: 'communityNodes',\n\tROOT: 'root',\n\tSETTINGS: 'settings',\n\tNOTIFICATIONS: 'notifications',\n\tUI: 'ui',\n\tUSERS: 'users',\n\tWORKFLOWS: 'workflows',\n\tWORKFLOWS_LIST: 'workflowsList',\n\tWORKFLOWS_V2: 'workflowsV2',\n\tWORKFLOWS_EE: 'workflowsEE',\n\tWORKFLOW_DOCUMENTS: 'workflowDocuments',\n\tEXECUTION_DATA: 'executionData',\n\tWORKFLOW_EXECUTION_STATES: 'workflowExecutionStates',\n\tEXECUTIONS: 'executions',\n\tNDV: 'ndv',\n\tTEMPLATES: 'templates',\n\tNODE_TYPES: 'nodeTypes',\n\tCREDENTIALS: 'credentials',\n\tTAGS: 'tags',\n\tANNOTATION_TAGS: 'annotationTags',\n\tVERSIONS: 'versions',\n\tNODE_CREATOR: 'nodeCreator',\n\tWEBHOOKS: 'webhooks',\n\tHISTORY: 'history',\n\tCLOUD_PLAN: 'cloudPlan',\n\tRBAC: 'rbac',\n\tPUSH: 'push',\n\tCOLLABORATION: 'collaboration',\n\tASSISTANT: 'assistant',\n\tBUILDER: 'builder',\n\tCHAT_PANEL: 'chatPanel',\n\tCHAT_PANEL_STATE: 'chatPanelState',\n\tBECOME_TEMPLATE_CREATOR: 'becomeTemplateCreator',\n\tPROJECTS: 'projects',\n\tAPI_KEYS: 'apiKeys',\n\tEVALUATION: 'evaluation',\n\tEVAL_COLLECTIONS: 'evalCollections',\n\tFOLDERS: 'folders',\n\tMODULES: 'modules',\n\tFOCUS_PANEL: 'focusPanel',\n\tAI_TEMPLATES_STARTER_COLLECTION: 'aiTemplatesStarterCollection',\n\tPERSONALIZED_TEMPLATES: 'personalizedTemplates',\n\tEXPERIMENT_READY_TO_RUN_WORKFLOWS: 'readyToRunWorkflows',\n\tEXPERIMENT_READY_TO_RUN_WORKFLOWS_V2: 'readyToRunWorkflowsV2',\n\tEXPERIMENT_TEMPLATE_RECO_V2: 'templateRecoV2',\n\tPERSONALIZED_TEMPLATES_V3: 'personalizedTemplatesV3',\n\tREADY_TO_RUN: 'readyToRun',\n\tTEMPLATES_DATA_QUALITY: 'templatesDataQuality',\n\tBANNERS: 'banners',\n\tCONSENT: 'consent',\n\tCHAT_HUB: 'chatHub',\n\tCHAT_HUB_PANEL: 'chatHubPanel',\n\tEXPERIMENT_CREDENTIALS_APP_SELECTION: 'credentialsAppSelection',\n\tEXPERIMENT_SURFACE_MCP_TO_NEW_CLOUD_USERS: 'surfaceMcpToNewCloudUsers',\n\tEXPERIMENT_EXPOSE_ALL_WORKFLOWS_TO_MCP: 'exposeAllWorkflowsToMcp',\n\tEXPERIMENT_TRIAL_INTRO_MODAL: 'trialIntroModal',\n\tSETUP_PANEL: 'setupPanel',\n\tFOCUSED_NODES: 'focusedNodes',\n\tFAVORITES: 'favorites',\n\tAI_GATEWAY: 'aiGateway',\n\tEVALUATIONS_WIZARD_SIDEPANEL: 'evaluationsWizardSidepanel',\n} as const;\n"],"mappings":";AAAA,MAAa,SAAS;CACrB,iBAAiB;CACjB,MAAM;CACN,UAAU;CACV,eAAe;CACf,IAAI;CACJ,OAAO;CACP,WAAW;CACX,gBAAgB;CAChB,cAAc;CACd,cAAc;CACd,oBAAoB;CACpB,gBAAgB;CAChB,2BAA2B;CAC3B,YAAY;CACZ,KAAK;CACL,WAAW;CACX,YAAY;CACZ,aAAa;CACb,MAAM;CACN,iBAAiB;CACjB,UAAU;CACV,cAAc;CACd,UAAU;CACV,SAAS;CACT,YAAY;CACZ,MAAM;CACN,MAAM;CACN,eAAe;CACf,WAAW;CACX,SAAS;CACT,YAAY;CACZ,kBAAkB;CAClB,yBAAyB;CACzB,UAAU;CACV,UAAU;CACV,YAAY;CACZ,kBAAkB;CAClB,SAAS;CACT,SAAS;CACT,aAAa;CACb,iCAAiC;CACjC,wBAAwB;CACxB,mCAAmC;CACnC,sCAAsC;CACtC,6BAA6B;CAC7B,2BAA2B;CAC3B,cAAc;CACd,wBAAwB;CACxB,SAAS;CACT,SAAS;CACT,UAAU;CACV,gBAAgB;CAChB,sCAAsC;CACtC,2CAA2C;CAC3C,wCAAwC;CACxC,8BAA8B;CAC9B,aAAa;CACb,eAAe;CACf,WAAW;CACX,YAAY;CACZ,8BAA8B;CAC9B"}
|
|
1
|
+
{"version":3,"file":"constants2.mjs","names":[],"sources":["../src/constants.ts"],"sourcesContent":["export const STORES = {\n\tCOMMUNITY_NODES: 'communityNodes',\n\tROOT: 'root',\n\tSETTINGS: 'settings',\n\tNOTIFICATIONS: 'notifications',\n\tUI: 'ui',\n\tUSERS: 'users',\n\tWORKFLOWS: 'workflows',\n\tWORKFLOWS_LIST: 'workflowsList',\n\tWORKFLOWS_V2: 'workflowsV2',\n\tWORKFLOWS_EE: 'workflowsEE',\n\tWORKFLOW_DOCUMENTS: 'workflowDocuments',\n\tEXECUTION_DATA: 'executionData',\n\tWORKFLOW_EXECUTION_STATES: 'workflowExecutionStates',\n\tEXECUTIONS: 'executions',\n\tNDV: 'ndv',\n\tTEMPLATES: 'templates',\n\tNODE_TYPES: 'nodeTypes',\n\tCREDENTIALS: 'credentials',\n\tTAGS: 'tags',\n\tANNOTATION_TAGS: 'annotationTags',\n\tVERSIONS: 'versions',\n\tNODE_CREATOR: 'nodeCreator',\n\tWEBHOOKS: 'webhooks',\n\tHISTORY: 'history',\n\tCLOUD_PLAN: 'cloudPlan',\n\tRBAC: 'rbac',\n\tPUSH: 'push',\n\tCOLLABORATION: 'collaboration',\n\tASSISTANT: 'assistant',\n\tBUILDER: 'builder',\n\tCHAT_PANEL: 'chatPanel',\n\tCHAT_PANEL_STATE: 'chatPanelState',\n\tBECOME_TEMPLATE_CREATOR: 'becomeTemplateCreator',\n\tPROJECTS: 'projects',\n\tAPI_KEYS: 'apiKeys',\n\tEVALUATION: 'evaluation',\n\tEVAL_COLLECTIONS: 'evalCollections',\n\tAGENT_EVALS: 'agentEvals',\n\tFOLDERS: 'folders',\n\tMODULES: 'modules',\n\tFOCUS_PANEL: 'focusPanel',\n\tAI_TEMPLATES_STARTER_COLLECTION: 'aiTemplatesStarterCollection',\n\tPERSONALIZED_TEMPLATES: 'personalizedTemplates',\n\tEXPERIMENT_READY_TO_RUN_WORKFLOWS: 'readyToRunWorkflows',\n\tEXPERIMENT_READY_TO_RUN_WORKFLOWS_V2: 'readyToRunWorkflowsV2',\n\tEXPERIMENT_TEMPLATE_RECO_V2: 'templateRecoV2',\n\tPERSONALIZED_TEMPLATES_V3: 'personalizedTemplatesV3',\n\tREADY_TO_RUN: 'readyToRun',\n\tTEMPLATES_DATA_QUALITY: 'templatesDataQuality',\n\tBANNERS: 'banners',\n\tCONSENT: 'consent',\n\tCHAT_HUB: 'chatHub',\n\tCHAT_HUB_PANEL: 'chatHubPanel',\n\tEXPERIMENT_CREDENTIALS_APP_SELECTION: 'credentialsAppSelection',\n\tEXPERIMENT_SURFACE_MCP_TO_NEW_CLOUD_USERS: 'surfaceMcpToNewCloudUsers',\n\tEXPERIMENT_EXPOSE_ALL_WORKFLOWS_TO_MCP: 'exposeAllWorkflowsToMcp',\n\tEXPERIMENT_TRIAL_INTRO_MODAL: 'trialIntroModal',\n\tSETUP_PANEL: 'setupPanel',\n\tFOCUSED_NODES: 'focusedNodes',\n\tFAVORITES: 'favorites',\n\tAI_GATEWAY: 'aiGateway',\n\tEVALUATIONS_WIZARD_SIDEPANEL: 'evaluationsWizardSidepanel',\n} as const;\n"],"mappings":";AAAA,MAAa,SAAS;CACrB,iBAAiB;CACjB,MAAM;CACN,UAAU;CACV,eAAe;CACf,IAAI;CACJ,OAAO;CACP,WAAW;CACX,gBAAgB;CAChB,cAAc;CACd,cAAc;CACd,oBAAoB;CACpB,gBAAgB;CAChB,2BAA2B;CAC3B,YAAY;CACZ,KAAK;CACL,WAAW;CACX,YAAY;CACZ,aAAa;CACb,MAAM;CACN,iBAAiB;CACjB,UAAU;CACV,cAAc;CACd,UAAU;CACV,SAAS;CACT,YAAY;CACZ,MAAM;CACN,MAAM;CACN,eAAe;CACf,WAAW;CACX,SAAS;CACT,YAAY;CACZ,kBAAkB;CAClB,yBAAyB;CACzB,UAAU;CACV,UAAU;CACV,YAAY;CACZ,kBAAkB;CAClB,aAAa;CACb,SAAS;CACT,SAAS;CACT,aAAa;CACb,iCAAiC;CACjC,wBAAwB;CACxB,mCAAmC;CACnC,sCAAsC;CACtC,6BAA6B;CAC7B,2BAA2B;CAC3B,cAAc;CACd,wBAAwB;CACxB,SAAS;CACT,SAAS;CACT,UAAU;CACV,gBAAgB;CAChB,sCAAsC;CACtC,2CAA2C;CAC3C,wCAAwC;CACxC,8BAA8B;CAC9B,aAAa;CACb,eAAe;CACf,WAAW;CACX,YAAY;CACZ,8BAA8B;CAC9B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ref } from "vue";
|
|
2
|
-
import * as
|
|
2
|
+
import * as pinia0 from "pinia";
|
|
3
3
|
|
|
4
4
|
//#region src/notifications.store.d.ts
|
|
5
5
|
interface NotificationsStore {
|
|
@@ -9,7 +9,7 @@ interface NotificationsStore {
|
|
|
9
9
|
allowErrors?: boolean;
|
|
10
10
|
}) => void;
|
|
11
11
|
}
|
|
12
|
-
declare const useNotificationsStore:
|
|
12
|
+
declare const useNotificationsStore: pinia0.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.cts.map
|
package/dist/rbac.store.d.cts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
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:
|
|
8
|
-
globalRoles:
|
|
9
|
-
rolesByProjectId:
|
|
10
|
-
globalScopes:
|
|
11
|
-
scopesByProjectId:
|
|
12
|
-
scopesByResourceId:
|
|
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[]>;
|
|
@@ -121,11 +121,11 @@ declare const useRBACStore: pinia6.StoreDefinition<"rbac", Pick<{
|
|
|
121
121
|
projectId?: string;
|
|
122
122
|
}, options?: ScopeOptions) => boolean;
|
|
123
123
|
}, "globalRoles" | "rolesByProjectId" | "globalScopes" | "scopesByProjectId" | "scopesByResourceId">, Pick<{
|
|
124
|
-
globalRoles:
|
|
125
|
-
rolesByProjectId:
|
|
126
|
-
globalScopes:
|
|
127
|
-
scopesByProjectId:
|
|
128
|
-
scopesByResourceId:
|
|
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[]>;
|
|
@@ -237,11 +237,11 @@ declare const useRBACStore: pinia6.StoreDefinition<"rbac", Pick<{
|
|
|
237
237
|
projectId?: string;
|
|
238
238
|
}, options?: ScopeOptions) => boolean;
|
|
239
239
|
}, never>, Pick<{
|
|
240
|
-
globalRoles:
|
|
241
|
-
rolesByProjectId:
|
|
242
|
-
globalScopes:
|
|
243
|
-
scopesByProjectId:
|
|
244
|
-
scopesByResourceId:
|
|
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[]>;
|
package/dist/roles.store.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as vue77 from "vue";
|
|
2
|
+
import * as pinia2 from "pinia";
|
|
3
3
|
import { CreateRoleDto, RoleAssignmentsResponse, RoleMembersResponse, RoleProjectMembersResponse, UpdateRoleDto } from "@n8n/api-types";
|
|
4
4
|
import { AllRolesMap, Role as Role$1 } from "@n8n/permissions";
|
|
5
5
|
|
|
6
6
|
//#region src/roles.store.d.ts
|
|
7
|
-
declare const useRolesStore:
|
|
8
|
-
roles:
|
|
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: pinia4.StoreDefinition<"roles", Pick<{
|
|
|
138
138
|
usedByProjects?: number | undefined | undefined;
|
|
139
139
|
}[];
|
|
140
140
|
}>;
|
|
141
|
-
processedProjectRoles:
|
|
141
|
+
processedProjectRoles: vue77.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:
|
|
154
|
+
processedInstanceRoles: vue77.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:
|
|
167
|
+
customInstanceRoles: vue77.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:
|
|
180
|
+
processedCredentialRoles: vue77.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:
|
|
193
|
+
processedWorkflowRoles: vue77.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:
|
|
217
|
+
roles: vue77.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:
|
|
350
|
+
processedProjectRoles: vue77.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:
|
|
363
|
+
processedInstanceRoles: vue77.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:
|
|
376
|
+
customInstanceRoles: vue77.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:
|
|
389
|
+
processedCredentialRoles: vue77.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:
|
|
402
|
+
processedWorkflowRoles: vue77.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:
|
|
426
|
+
roles: vue77.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:
|
|
559
|
+
processedProjectRoles: vue77.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:
|
|
572
|
+
processedInstanceRoles: vue77.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:
|
|
585
|
+
customInstanceRoles: vue77.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:
|
|
598
|
+
processedCredentialRoles: vue77.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:
|
|
611
|
+
processedWorkflowRoles: vue77.ComputedRef<{
|
|
612
612
|
slug: string;
|
|
613
613
|
displayName: string;
|
|
614
614
|
description: string | null;
|
package/dist/roles.store.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as pinia3 from "pinia";
|
|
2
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:
|
|
7
|
+
declare const useRolesStore: pinia3.StoreDefinition<"roles", Pick<{
|
|
8
8
|
roles: vue77.Ref<{
|
|
9
9
|
global: {
|
|
10
10
|
slug: string;
|