@n8n/stores 2.34.2 → 2.35.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.
- package/dist/cloudPlan.store.d.mts +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 +33 -33
- package/dist/rbac.store.d.mts +31 -31
- package/dist/roles.store.d.cts +21 -21
- package/dist/roles.store.d.mts +19 -19
- package/dist/settings.store.d.cts +260 -245
- package/dist/settings.store.d.mts +253 -238
- 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 +72 -72
- package/dist/users.store.d.cts +53 -53
- package/dist/users.store.d.mts +51 -51
- package/dist/versions.store.d.cts +40 -40
- package/dist/versions.store.d.mts +30 -30
- package/package.json +12 -12
package/dist/rbac.store.d.mts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as pinia1 from "pinia";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue230 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
7
|
declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
8
|
-
globalRoles:
|
|
9
|
-
rolesByProjectId:
|
|
10
|
-
globalScopes:
|
|
11
|
-
scopesByProjectId:
|
|
12
|
-
scopesByResourceId:
|
|
8
|
+
globalRoles: vue230.Ref<Role[], Role[]>;
|
|
9
|
+
rolesByProjectId: vue230.Ref<Record<string, string[]>, Record<string, string[]>>;
|
|
10
|
+
globalScopes: vue230.Ref<Scope[], Scope[]>;
|
|
11
|
+
scopesByProjectId: vue230.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
|
|
12
|
+
scopesByResourceId: vue230.Ref<{
|
|
13
13
|
chatHub: Record<string, Scope[]>;
|
|
14
14
|
logStreaming: Record<string, Scope[]>;
|
|
15
15
|
aiAssistant: Record<string, Scope[]>;
|
|
@@ -24,7 +24,7 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
24
24
|
insights: Record<string, Scope[]>;
|
|
25
25
|
mcp: Record<string, Scope[]>;
|
|
26
26
|
otel: Record<string, Scope[]>;
|
|
27
|
-
|
|
27
|
+
apiKey: Record<string, Scope[]>;
|
|
28
28
|
agent: Record<string, Scope[]>;
|
|
29
29
|
annotationTag: Record<string, Scope[]>;
|
|
30
30
|
banner: Record<string, Scope[]>;
|
|
@@ -48,15 +48,15 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
48
48
|
execution: Record<string, Scope[]>;
|
|
49
49
|
testRun: Record<string, Scope[]>;
|
|
50
50
|
workflowTags: Record<string, Scope[]>;
|
|
51
|
+
role: Record<string, Scope[]>;
|
|
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" | "
|
|
59
|
+
}, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "apiKey" | "agent" | "annotationTag" | "banner" | "communityPackage" | "credential" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "project" | "securityAudit" | "securitySettings" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "workflow" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "role" | "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[]>;
|
|
@@ -71,7 +71,7 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
71
71
|
insights: Record<string, Scope[]>;
|
|
72
72
|
mcp: Record<string, Scope[]>;
|
|
73
73
|
otel: Record<string, Scope[]>;
|
|
74
|
-
|
|
74
|
+
apiKey: Record<string, Scope[]>;
|
|
75
75
|
agent: Record<string, Scope[]>;
|
|
76
76
|
annotationTag: Record<string, Scope[]>;
|
|
77
77
|
banner: Record<string, Scope[]>;
|
|
@@ -95,10 +95,10 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
95
95
|
execution: Record<string, Scope[]>;
|
|
96
96
|
testRun: Record<string, Scope[]>;
|
|
97
97
|
workflowTags: Record<string, Scope[]>;
|
|
98
|
+
role: Record<string, Scope[]>;
|
|
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:
|
|
125
|
-
rolesByProjectId:
|
|
126
|
-
globalScopes:
|
|
127
|
-
scopesByProjectId:
|
|
128
|
-
scopesByResourceId:
|
|
124
|
+
globalRoles: vue230.Ref<Role[], Role[]>;
|
|
125
|
+
rolesByProjectId: vue230.Ref<Record<string, string[]>, Record<string, string[]>>;
|
|
126
|
+
globalScopes: vue230.Ref<Scope[], Scope[]>;
|
|
127
|
+
scopesByProjectId: vue230.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
|
|
128
|
+
scopesByResourceId: vue230.Ref<{
|
|
129
129
|
chatHub: Record<string, Scope[]>;
|
|
130
130
|
logStreaming: Record<string, Scope[]>;
|
|
131
131
|
aiAssistant: Record<string, Scope[]>;
|
|
@@ -140,7 +140,7 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
140
140
|
insights: Record<string, Scope[]>;
|
|
141
141
|
mcp: Record<string, Scope[]>;
|
|
142
142
|
otel: Record<string, Scope[]>;
|
|
143
|
-
|
|
143
|
+
apiKey: Record<string, Scope[]>;
|
|
144
144
|
agent: Record<string, Scope[]>;
|
|
145
145
|
annotationTag: Record<string, Scope[]>;
|
|
146
146
|
banner: Record<string, Scope[]>;
|
|
@@ -164,15 +164,15 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
164
164
|
execution: Record<string, Scope[]>;
|
|
165
165
|
testRun: Record<string, Scope[]>;
|
|
166
166
|
workflowTags: Record<string, Scope[]>;
|
|
167
|
+
role: Record<string, Scope[]>;
|
|
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" | "
|
|
175
|
+
}, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "apiKey" | "agent" | "annotationTag" | "banner" | "communityPackage" | "credential" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "project" | "securityAudit" | "securitySettings" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "workflow" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "role" | "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[]>;
|
|
@@ -187,7 +187,7 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
187
187
|
insights: Record<string, Scope[]>;
|
|
188
188
|
mcp: Record<string, Scope[]>;
|
|
189
189
|
otel: Record<string, Scope[]>;
|
|
190
|
-
|
|
190
|
+
apiKey: Record<string, Scope[]>;
|
|
191
191
|
agent: Record<string, Scope[]>;
|
|
192
192
|
annotationTag: Record<string, Scope[]>;
|
|
193
193
|
banner: Record<string, Scope[]>;
|
|
@@ -211,10 +211,10 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
211
211
|
execution: Record<string, Scope[]>;
|
|
212
212
|
testRun: Record<string, Scope[]>;
|
|
213
213
|
workflowTags: Record<string, Scope[]>;
|
|
214
|
+
role: Record<string, Scope[]>;
|
|
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:
|
|
241
|
-
rolesByProjectId:
|
|
242
|
-
globalScopes:
|
|
243
|
-
scopesByProjectId:
|
|
244
|
-
scopesByResourceId:
|
|
240
|
+
globalRoles: vue230.Ref<Role[], Role[]>;
|
|
241
|
+
rolesByProjectId: vue230.Ref<Record<string, string[]>, Record<string, string[]>>;
|
|
242
|
+
globalScopes: vue230.Ref<Scope[], Scope[]>;
|
|
243
|
+
scopesByProjectId: vue230.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
|
|
244
|
+
scopesByResourceId: vue230.Ref<{
|
|
245
245
|
chatHub: Record<string, Scope[]>;
|
|
246
246
|
logStreaming: Record<string, Scope[]>;
|
|
247
247
|
aiAssistant: Record<string, Scope[]>;
|
|
@@ -256,7 +256,7 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
256
256
|
insights: Record<string, Scope[]>;
|
|
257
257
|
mcp: Record<string, Scope[]>;
|
|
258
258
|
otel: Record<string, Scope[]>;
|
|
259
|
-
|
|
259
|
+
apiKey: Record<string, Scope[]>;
|
|
260
260
|
agent: Record<string, Scope[]>;
|
|
261
261
|
annotationTag: Record<string, Scope[]>;
|
|
262
262
|
banner: Record<string, Scope[]>;
|
|
@@ -280,15 +280,15 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
280
280
|
execution: Record<string, Scope[]>;
|
|
281
281
|
testRun: Record<string, Scope[]>;
|
|
282
282
|
workflowTags: Record<string, Scope[]>;
|
|
283
|
+
role: Record<string, Scope[]>;
|
|
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" | "
|
|
291
|
+
}, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "apiKey" | "agent" | "annotationTag" | "banner" | "communityPackage" | "credential" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "project" | "securityAudit" | "securitySettings" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "workflow" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "role" | "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[]>;
|
|
@@ -303,7 +303,7 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
303
303
|
insights: Record<string, Scope[]>;
|
|
304
304
|
mcp: Record<string, Scope[]>;
|
|
305
305
|
otel: Record<string, Scope[]>;
|
|
306
|
-
|
|
306
|
+
apiKey: Record<string, Scope[]>;
|
|
307
307
|
agent: Record<string, Scope[]>;
|
|
308
308
|
annotationTag: Record<string, Scope[]>;
|
|
309
309
|
banner: Record<string, Scope[]>;
|
|
@@ -327,10 +327,10 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
327
327
|
execution: Record<string, Scope[]>;
|
|
328
328
|
testRun: Record<string, Scope[]>;
|
|
329
329
|
workflowTags: Record<string, Scope[]>;
|
|
330
|
+
role: Record<string, Scope[]>;
|
|
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[]>;
|
package/dist/roles.store.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as vue158 from "vue";
|
|
2
|
+
import * as pinia3 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: pinia3.StoreDefinition<"roles", Pick<{
|
|
8
|
+
roles: vue158.Ref<{
|
|
9
9
|
global: {
|
|
10
10
|
slug: string;
|
|
11
11
|
displayName: string;
|
|
@@ -138,7 +138,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
|
|
|
138
138
|
usedByProjects?: number | undefined | undefined;
|
|
139
139
|
}[];
|
|
140
140
|
}>;
|
|
141
|
-
processedProjectRoles:
|
|
141
|
+
processedProjectRoles: vue158.ComputedRef<{
|
|
142
142
|
slug: string;
|
|
143
143
|
displayName: string;
|
|
144
144
|
description: string | null;
|
|
@@ -151,7 +151,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
|
|
|
151
151
|
usedByUsers?: number | undefined;
|
|
152
152
|
usedByProjects?: number | undefined;
|
|
153
153
|
}[]>;
|
|
154
|
-
processedInstanceRoles:
|
|
154
|
+
processedInstanceRoles: vue158.ComputedRef<{
|
|
155
155
|
slug: string;
|
|
156
156
|
displayName: string;
|
|
157
157
|
description: string | null;
|
|
@@ -164,7 +164,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
|
|
|
164
164
|
usedByUsers?: number | undefined;
|
|
165
165
|
usedByProjects?: number | undefined;
|
|
166
166
|
}[]>;
|
|
167
|
-
customInstanceRoles:
|
|
167
|
+
customInstanceRoles: vue158.ComputedRef<{
|
|
168
168
|
slug: string;
|
|
169
169
|
displayName: string;
|
|
170
170
|
description: string | null;
|
|
@@ -177,7 +177,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
|
|
|
177
177
|
usedByUsers?: number | undefined;
|
|
178
178
|
usedByProjects?: number | undefined;
|
|
179
179
|
}[]>;
|
|
180
|
-
processedCredentialRoles:
|
|
180
|
+
processedCredentialRoles: vue158.ComputedRef<{
|
|
181
181
|
slug: string;
|
|
182
182
|
displayName: string;
|
|
183
183
|
description: string | null;
|
|
@@ -190,7 +190,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
|
|
|
190
190
|
usedByUsers?: number | undefined;
|
|
191
191
|
usedByProjects?: number | undefined;
|
|
192
192
|
}[]>;
|
|
193
|
-
processedWorkflowRoles:
|
|
193
|
+
processedWorkflowRoles: vue158.ComputedRef<{
|
|
194
194
|
slug: string;
|
|
195
195
|
displayName: string;
|
|
196
196
|
description: string | null;
|
|
@@ -214,7 +214,7 @@ declare const useRolesStore: pinia2.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: vue158.Ref<{
|
|
218
218
|
global: {
|
|
219
219
|
slug: string;
|
|
220
220
|
displayName: string;
|
|
@@ -347,7 +347,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
|
|
|
347
347
|
usedByProjects?: number | undefined | undefined;
|
|
348
348
|
}[];
|
|
349
349
|
}>;
|
|
350
|
-
processedProjectRoles:
|
|
350
|
+
processedProjectRoles: vue158.ComputedRef<{
|
|
351
351
|
slug: string;
|
|
352
352
|
displayName: string;
|
|
353
353
|
description: string | null;
|
|
@@ -360,7 +360,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
|
|
|
360
360
|
usedByUsers?: number | undefined;
|
|
361
361
|
usedByProjects?: number | undefined;
|
|
362
362
|
}[]>;
|
|
363
|
-
processedInstanceRoles:
|
|
363
|
+
processedInstanceRoles: vue158.ComputedRef<{
|
|
364
364
|
slug: string;
|
|
365
365
|
displayName: string;
|
|
366
366
|
description: string | null;
|
|
@@ -373,7 +373,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
|
|
|
373
373
|
usedByUsers?: number | undefined;
|
|
374
374
|
usedByProjects?: number | undefined;
|
|
375
375
|
}[]>;
|
|
376
|
-
customInstanceRoles:
|
|
376
|
+
customInstanceRoles: vue158.ComputedRef<{
|
|
377
377
|
slug: string;
|
|
378
378
|
displayName: string;
|
|
379
379
|
description: string | null;
|
|
@@ -386,7 +386,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
|
|
|
386
386
|
usedByUsers?: number | undefined;
|
|
387
387
|
usedByProjects?: number | undefined;
|
|
388
388
|
}[]>;
|
|
389
|
-
processedCredentialRoles:
|
|
389
|
+
processedCredentialRoles: vue158.ComputedRef<{
|
|
390
390
|
slug: string;
|
|
391
391
|
displayName: string;
|
|
392
392
|
description: string | null;
|
|
@@ -399,7 +399,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
|
|
|
399
399
|
usedByUsers?: number | undefined;
|
|
400
400
|
usedByProjects?: number | undefined;
|
|
401
401
|
}[]>;
|
|
402
|
-
processedWorkflowRoles:
|
|
402
|
+
processedWorkflowRoles: vue158.ComputedRef<{
|
|
403
403
|
slug: string;
|
|
404
404
|
displayName: string;
|
|
405
405
|
description: string | null;
|
|
@@ -423,7 +423,7 @@ declare const useRolesStore: pinia2.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: vue158.Ref<{
|
|
427
427
|
global: {
|
|
428
428
|
slug: string;
|
|
429
429
|
displayName: string;
|
|
@@ -556,7 +556,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
|
|
|
556
556
|
usedByProjects?: number | undefined | undefined;
|
|
557
557
|
}[];
|
|
558
558
|
}>;
|
|
559
|
-
processedProjectRoles:
|
|
559
|
+
processedProjectRoles: vue158.ComputedRef<{
|
|
560
560
|
slug: string;
|
|
561
561
|
displayName: string;
|
|
562
562
|
description: string | null;
|
|
@@ -569,7 +569,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
|
|
|
569
569
|
usedByUsers?: number | undefined;
|
|
570
570
|
usedByProjects?: number | undefined;
|
|
571
571
|
}[]>;
|
|
572
|
-
processedInstanceRoles:
|
|
572
|
+
processedInstanceRoles: vue158.ComputedRef<{
|
|
573
573
|
slug: string;
|
|
574
574
|
displayName: string;
|
|
575
575
|
description: string | null;
|
|
@@ -582,7 +582,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
|
|
|
582
582
|
usedByUsers?: number | undefined;
|
|
583
583
|
usedByProjects?: number | undefined;
|
|
584
584
|
}[]>;
|
|
585
|
-
customInstanceRoles:
|
|
585
|
+
customInstanceRoles: vue158.ComputedRef<{
|
|
586
586
|
slug: string;
|
|
587
587
|
displayName: string;
|
|
588
588
|
description: string | null;
|
|
@@ -595,7 +595,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
|
|
|
595
595
|
usedByUsers?: number | undefined;
|
|
596
596
|
usedByProjects?: number | undefined;
|
|
597
597
|
}[]>;
|
|
598
|
-
processedCredentialRoles:
|
|
598
|
+
processedCredentialRoles: vue158.ComputedRef<{
|
|
599
599
|
slug: string;
|
|
600
600
|
displayName: string;
|
|
601
601
|
description: string | null;
|
|
@@ -608,7 +608,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
|
|
|
608
608
|
usedByUsers?: number | undefined;
|
|
609
609
|
usedByProjects?: number | undefined;
|
|
610
610
|
}[]>;
|
|
611
|
-
processedWorkflowRoles:
|
|
611
|
+
processedWorkflowRoles: vue158.ComputedRef<{
|
|
612
612
|
slug: string;
|
|
613
613
|
displayName: string;
|
|
614
614
|
description: string | null;
|
package/dist/roles.store.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as pinia2 from "pinia";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue245 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
7
|
declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
|
|
8
|
-
roles:
|
|
8
|
+
roles: vue245.Ref<{
|
|
9
9
|
global: {
|
|
10
10
|
slug: string;
|
|
11
11
|
displayName: string;
|
|
@@ -138,7 +138,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
|
|
|
138
138
|
usedByProjects?: number | undefined | undefined;
|
|
139
139
|
}[];
|
|
140
140
|
}>;
|
|
141
|
-
processedProjectRoles:
|
|
141
|
+
processedProjectRoles: vue245.ComputedRef<{
|
|
142
142
|
slug: string;
|
|
143
143
|
displayName: string;
|
|
144
144
|
description: string | null;
|
|
@@ -151,7 +151,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
|
|
|
151
151
|
usedByUsers?: number | undefined;
|
|
152
152
|
usedByProjects?: number | undefined;
|
|
153
153
|
}[]>;
|
|
154
|
-
processedInstanceRoles:
|
|
154
|
+
processedInstanceRoles: vue245.ComputedRef<{
|
|
155
155
|
slug: string;
|
|
156
156
|
displayName: string;
|
|
157
157
|
description: string | null;
|
|
@@ -164,7 +164,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
|
|
|
164
164
|
usedByUsers?: number | undefined;
|
|
165
165
|
usedByProjects?: number | undefined;
|
|
166
166
|
}[]>;
|
|
167
|
-
customInstanceRoles:
|
|
167
|
+
customInstanceRoles: vue245.ComputedRef<{
|
|
168
168
|
slug: string;
|
|
169
169
|
displayName: string;
|
|
170
170
|
description: string | null;
|
|
@@ -177,7 +177,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
|
|
|
177
177
|
usedByUsers?: number | undefined;
|
|
178
178
|
usedByProjects?: number | undefined;
|
|
179
179
|
}[]>;
|
|
180
|
-
processedCredentialRoles:
|
|
180
|
+
processedCredentialRoles: vue245.ComputedRef<{
|
|
181
181
|
slug: string;
|
|
182
182
|
displayName: string;
|
|
183
183
|
description: string | null;
|
|
@@ -190,7 +190,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
|
|
|
190
190
|
usedByUsers?: number | undefined;
|
|
191
191
|
usedByProjects?: number | undefined;
|
|
192
192
|
}[]>;
|
|
193
|
-
processedWorkflowRoles:
|
|
193
|
+
processedWorkflowRoles: vue245.ComputedRef<{
|
|
194
194
|
slug: string;
|
|
195
195
|
displayName: string;
|
|
196
196
|
description: string | null;
|
|
@@ -214,7 +214,7 @@ declare const useRolesStore: pinia2.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: vue245.Ref<{
|
|
218
218
|
global: {
|
|
219
219
|
slug: string;
|
|
220
220
|
displayName: string;
|
|
@@ -347,7 +347,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
|
|
|
347
347
|
usedByProjects?: number | undefined | undefined;
|
|
348
348
|
}[];
|
|
349
349
|
}>;
|
|
350
|
-
processedProjectRoles:
|
|
350
|
+
processedProjectRoles: vue245.ComputedRef<{
|
|
351
351
|
slug: string;
|
|
352
352
|
displayName: string;
|
|
353
353
|
description: string | null;
|
|
@@ -360,7 +360,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
|
|
|
360
360
|
usedByUsers?: number | undefined;
|
|
361
361
|
usedByProjects?: number | undefined;
|
|
362
362
|
}[]>;
|
|
363
|
-
processedInstanceRoles:
|
|
363
|
+
processedInstanceRoles: vue245.ComputedRef<{
|
|
364
364
|
slug: string;
|
|
365
365
|
displayName: string;
|
|
366
366
|
description: string | null;
|
|
@@ -373,7 +373,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
|
|
|
373
373
|
usedByUsers?: number | undefined;
|
|
374
374
|
usedByProjects?: number | undefined;
|
|
375
375
|
}[]>;
|
|
376
|
-
customInstanceRoles:
|
|
376
|
+
customInstanceRoles: vue245.ComputedRef<{
|
|
377
377
|
slug: string;
|
|
378
378
|
displayName: string;
|
|
379
379
|
description: string | null;
|
|
@@ -386,7 +386,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
|
|
|
386
386
|
usedByUsers?: number | undefined;
|
|
387
387
|
usedByProjects?: number | undefined;
|
|
388
388
|
}[]>;
|
|
389
|
-
processedCredentialRoles:
|
|
389
|
+
processedCredentialRoles: vue245.ComputedRef<{
|
|
390
390
|
slug: string;
|
|
391
391
|
displayName: string;
|
|
392
392
|
description: string | null;
|
|
@@ -399,7 +399,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
|
|
|
399
399
|
usedByUsers?: number | undefined;
|
|
400
400
|
usedByProjects?: number | undefined;
|
|
401
401
|
}[]>;
|
|
402
|
-
processedWorkflowRoles:
|
|
402
|
+
processedWorkflowRoles: vue245.ComputedRef<{
|
|
403
403
|
slug: string;
|
|
404
404
|
displayName: string;
|
|
405
405
|
description: string | null;
|
|
@@ -423,7 +423,7 @@ declare const useRolesStore: pinia2.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: vue245.Ref<{
|
|
427
427
|
global: {
|
|
428
428
|
slug: string;
|
|
429
429
|
displayName: string;
|
|
@@ -556,7 +556,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
|
|
|
556
556
|
usedByProjects?: number | undefined | undefined;
|
|
557
557
|
}[];
|
|
558
558
|
}>;
|
|
559
|
-
processedProjectRoles:
|
|
559
|
+
processedProjectRoles: vue245.ComputedRef<{
|
|
560
560
|
slug: string;
|
|
561
561
|
displayName: string;
|
|
562
562
|
description: string | null;
|
|
@@ -569,7 +569,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
|
|
|
569
569
|
usedByUsers?: number | undefined;
|
|
570
570
|
usedByProjects?: number | undefined;
|
|
571
571
|
}[]>;
|
|
572
|
-
processedInstanceRoles:
|
|
572
|
+
processedInstanceRoles: vue245.ComputedRef<{
|
|
573
573
|
slug: string;
|
|
574
574
|
displayName: string;
|
|
575
575
|
description: string | null;
|
|
@@ -582,7 +582,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
|
|
|
582
582
|
usedByUsers?: number | undefined;
|
|
583
583
|
usedByProjects?: number | undefined;
|
|
584
584
|
}[]>;
|
|
585
|
-
customInstanceRoles:
|
|
585
|
+
customInstanceRoles: vue245.ComputedRef<{
|
|
586
586
|
slug: string;
|
|
587
587
|
displayName: string;
|
|
588
588
|
description: string | null;
|
|
@@ -595,7 +595,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
|
|
|
595
595
|
usedByUsers?: number | undefined;
|
|
596
596
|
usedByProjects?: number | undefined;
|
|
597
597
|
}[]>;
|
|
598
|
-
processedCredentialRoles:
|
|
598
|
+
processedCredentialRoles: vue245.ComputedRef<{
|
|
599
599
|
slug: string;
|
|
600
600
|
displayName: string;
|
|
601
601
|
description: string | null;
|
|
@@ -608,7 +608,7 @@ declare const useRolesStore: pinia2.StoreDefinition<"roles", Pick<{
|
|
|
608
608
|
usedByUsers?: number | undefined;
|
|
609
609
|
usedByProjects?: number | undefined;
|
|
610
610
|
}[]>;
|
|
611
|
-
processedWorkflowRoles:
|
|
611
|
+
processedWorkflowRoles: vue245.ComputedRef<{
|
|
612
612
|
slug: string;
|
|
613
613
|
displayName: string;
|
|
614
614
|
description: string | null;
|