@n8n/stores 2.37.2 → 2.37.4
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/notifications.store.d.cts +2 -2
- package/dist/notifications.store.d.mts +2 -2
- package/dist/rbac.store.d.cts +45 -45
- package/dist/rbac.store.d.mts +45 -45
- package/dist/roles.store.d.cts +21 -21
- package/dist/roles.store.d.mts +21 -21
- package/dist/settings.store.d.cts +250 -250
- package/dist/settings.store.d.mts +248 -248
- package/dist/useAgentRequestStore.d.cts +2 -2
- package/dist/useAgentRequestStore.d.mts +2 -2
- package/dist/useRootStore.d.cts +75 -75
- package/dist/useRootStore.d.mts +75 -75
- package/dist/users.store.d.cts +52 -52
- package/dist/users.store.d.mts +52 -52
- package/dist/versions.store.d.cts +41 -41
- package/dist/versions.store.d.mts +41 -41
- package/package.json +10 -10
package/dist/rbac.store.d.mts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as pinia7 from "pinia";
|
|
2
|
+
import * as vue467 from "vue";
|
|
3
3
|
import { Role } from "@n8n/api-types";
|
|
4
4
|
import { Resource, Scope, ScopeOptions } from "@n8n/permissions";
|
|
5
5
|
|
|
6
6
|
//#region src/rbac.store.d.ts
|
|
7
|
-
declare const useRBACStore:
|
|
8
|
-
globalRoles:
|
|
9
|
-
rolesByProjectId:
|
|
10
|
-
globalScopes:
|
|
11
|
-
scopesByProjectId:
|
|
12
|
-
scopesByResourceId:
|
|
7
|
+
declare const useRBACStore: pinia7.StoreDefinition<"rbac", Pick<{
|
|
8
|
+
globalRoles: vue467.Ref<Role[], Role[]>;
|
|
9
|
+
rolesByProjectId: vue467.Ref<Record<string, string[]>, Record<string, string[]>>;
|
|
10
|
+
globalScopes: vue467.Ref<Scope[], Scope[]>;
|
|
11
|
+
scopesByProjectId: vue467.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
|
|
12
|
+
scopesByResourceId: vue467.Ref<{
|
|
13
13
|
chatHub: Record<string, Scope[]>;
|
|
14
14
|
logStreaming: Record<string, Scope[]>;
|
|
15
15
|
aiAssistant: Record<string, Scope[]>;
|
|
@@ -25,16 +25,18 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
25
25
|
mcp: Record<string, Scope[]>;
|
|
26
26
|
otel: Record<string, Scope[]>;
|
|
27
27
|
role: Record<string, Scope[]>;
|
|
28
|
+
project: Record<string, Scope[]>;
|
|
29
|
+
credential: Record<string, Scope[]>;
|
|
30
|
+
workflow: Record<string, Scope[]>;
|
|
31
|
+
apiKey: Record<string, Scope[]>;
|
|
28
32
|
agent: Record<string, Scope[]>;
|
|
29
33
|
annotationTag: Record<string, Scope[]>;
|
|
30
34
|
banner: Record<string, Scope[]>;
|
|
31
35
|
communityPackage: Record<string, Scope[]>;
|
|
32
|
-
credential: Record<string, Scope[]>;
|
|
33
36
|
externalSecretsProvider: Record<string, Scope[]>;
|
|
34
37
|
externalSecret: Record<string, Scope[]>;
|
|
35
38
|
eventBusDestination: Record<string, Scope[]>;
|
|
36
39
|
orchestration: Record<string, Scope[]>;
|
|
37
|
-
project: Record<string, Scope[]>;
|
|
38
40
|
securityAudit: Record<string, Scope[]>;
|
|
39
41
|
securitySettings: Record<string, Scope[]>;
|
|
40
42
|
gitConnection: Record<string, Scope[]>;
|
|
@@ -43,7 +45,6 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
43
45
|
variable: Record<string, Scope[]>;
|
|
44
46
|
projectVariable: Record<string, Scope[]>;
|
|
45
47
|
workersView: Record<string, Scope[]>;
|
|
46
|
-
workflow: Record<string, Scope[]>;
|
|
47
48
|
folder: Record<string, Scope[]>;
|
|
48
49
|
dataTable: Record<string, Scope[]>;
|
|
49
50
|
execution: Record<string, Scope[]>;
|
|
@@ -52,12 +53,11 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
52
53
|
mcpApiKey: Record<string, Scope[]>;
|
|
53
54
|
chatHubAgent: Record<string, Scope[]>;
|
|
54
55
|
breakingChanges: Record<string, Scope[]>;
|
|
55
|
-
apiKey: Record<string, Scope[]>;
|
|
56
56
|
encryptionKey: Record<string, Scope[]>;
|
|
57
57
|
credentialResolver: Record<string, Scope[]>;
|
|
58
58
|
instanceAi: Record<string, Scope[]>;
|
|
59
59
|
roleMappingRule: Record<string, Scope[]>;
|
|
60
|
-
}, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "
|
|
60
|
+
}, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "project" | "credential" | "workflow" | "apiKey" | "agent" | "annotationTag" | "banner" | "communityPackage" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "securityAudit" | "securitySettings" | "gitConnection" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule", Record<string, Scope[]>> | {
|
|
61
61
|
chatHub: Record<string, Scope[]>;
|
|
62
62
|
logStreaming: Record<string, Scope[]>;
|
|
63
63
|
aiAssistant: Record<string, Scope[]>;
|
|
@@ -73,16 +73,18 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
73
73
|
mcp: Record<string, Scope[]>;
|
|
74
74
|
otel: Record<string, Scope[]>;
|
|
75
75
|
role: Record<string, Scope[]>;
|
|
76
|
+
project: Record<string, Scope[]>;
|
|
77
|
+
credential: Record<string, Scope[]>;
|
|
78
|
+
workflow: Record<string, Scope[]>;
|
|
79
|
+
apiKey: Record<string, Scope[]>;
|
|
76
80
|
agent: Record<string, Scope[]>;
|
|
77
81
|
annotationTag: Record<string, Scope[]>;
|
|
78
82
|
banner: Record<string, Scope[]>;
|
|
79
83
|
communityPackage: Record<string, Scope[]>;
|
|
80
|
-
credential: Record<string, Scope[]>;
|
|
81
84
|
externalSecretsProvider: Record<string, Scope[]>;
|
|
82
85
|
externalSecret: Record<string, Scope[]>;
|
|
83
86
|
eventBusDestination: Record<string, Scope[]>;
|
|
84
87
|
orchestration: Record<string, Scope[]>;
|
|
85
|
-
project: Record<string, Scope[]>;
|
|
86
88
|
securityAudit: Record<string, Scope[]>;
|
|
87
89
|
securitySettings: Record<string, Scope[]>;
|
|
88
90
|
gitConnection: Record<string, Scope[]>;
|
|
@@ -91,7 +93,6 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
91
93
|
variable: Record<string, Scope[]>;
|
|
92
94
|
projectVariable: Record<string, Scope[]>;
|
|
93
95
|
workersView: Record<string, Scope[]>;
|
|
94
|
-
workflow: Record<string, Scope[]>;
|
|
95
96
|
folder: Record<string, Scope[]>;
|
|
96
97
|
dataTable: Record<string, Scope[]>;
|
|
97
98
|
execution: Record<string, Scope[]>;
|
|
@@ -100,7 +101,6 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
100
101
|
mcpApiKey: Record<string, Scope[]>;
|
|
101
102
|
chatHubAgent: Record<string, Scope[]>;
|
|
102
103
|
breakingChanges: Record<string, Scope[]>;
|
|
103
|
-
apiKey: Record<string, Scope[]>;
|
|
104
104
|
encryptionKey: Record<string, Scope[]>;
|
|
105
105
|
credentialResolver: Record<string, Scope[]>;
|
|
106
106
|
instanceAi: Record<string, Scope[]>;
|
|
@@ -123,11 +123,11 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
123
123
|
projectId?: string;
|
|
124
124
|
}, options?: ScopeOptions) => boolean;
|
|
125
125
|
}, "globalRoles" | "rolesByProjectId" | "globalScopes" | "scopesByProjectId" | "scopesByResourceId">, Pick<{
|
|
126
|
-
globalRoles:
|
|
127
|
-
rolesByProjectId:
|
|
128
|
-
globalScopes:
|
|
129
|
-
scopesByProjectId:
|
|
130
|
-
scopesByResourceId:
|
|
126
|
+
globalRoles: vue467.Ref<Role[], Role[]>;
|
|
127
|
+
rolesByProjectId: vue467.Ref<Record<string, string[]>, Record<string, string[]>>;
|
|
128
|
+
globalScopes: vue467.Ref<Scope[], Scope[]>;
|
|
129
|
+
scopesByProjectId: vue467.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
|
|
130
|
+
scopesByResourceId: vue467.Ref<{
|
|
131
131
|
chatHub: Record<string, Scope[]>;
|
|
132
132
|
logStreaming: Record<string, Scope[]>;
|
|
133
133
|
aiAssistant: Record<string, Scope[]>;
|
|
@@ -143,16 +143,18 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
143
143
|
mcp: Record<string, Scope[]>;
|
|
144
144
|
otel: Record<string, Scope[]>;
|
|
145
145
|
role: Record<string, Scope[]>;
|
|
146
|
+
project: Record<string, Scope[]>;
|
|
147
|
+
credential: Record<string, Scope[]>;
|
|
148
|
+
workflow: Record<string, Scope[]>;
|
|
149
|
+
apiKey: Record<string, Scope[]>;
|
|
146
150
|
agent: Record<string, Scope[]>;
|
|
147
151
|
annotationTag: Record<string, Scope[]>;
|
|
148
152
|
banner: Record<string, Scope[]>;
|
|
149
153
|
communityPackage: Record<string, Scope[]>;
|
|
150
|
-
credential: Record<string, Scope[]>;
|
|
151
154
|
externalSecretsProvider: Record<string, Scope[]>;
|
|
152
155
|
externalSecret: Record<string, Scope[]>;
|
|
153
156
|
eventBusDestination: Record<string, Scope[]>;
|
|
154
157
|
orchestration: Record<string, Scope[]>;
|
|
155
|
-
project: Record<string, Scope[]>;
|
|
156
158
|
securityAudit: Record<string, Scope[]>;
|
|
157
159
|
securitySettings: Record<string, Scope[]>;
|
|
158
160
|
gitConnection: Record<string, Scope[]>;
|
|
@@ -161,7 +163,6 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
161
163
|
variable: Record<string, Scope[]>;
|
|
162
164
|
projectVariable: Record<string, Scope[]>;
|
|
163
165
|
workersView: Record<string, Scope[]>;
|
|
164
|
-
workflow: Record<string, Scope[]>;
|
|
165
166
|
folder: Record<string, Scope[]>;
|
|
166
167
|
dataTable: Record<string, Scope[]>;
|
|
167
168
|
execution: Record<string, Scope[]>;
|
|
@@ -170,12 +171,11 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
170
171
|
mcpApiKey: Record<string, Scope[]>;
|
|
171
172
|
chatHubAgent: Record<string, Scope[]>;
|
|
172
173
|
breakingChanges: Record<string, Scope[]>;
|
|
173
|
-
apiKey: Record<string, Scope[]>;
|
|
174
174
|
encryptionKey: Record<string, Scope[]>;
|
|
175
175
|
credentialResolver: Record<string, Scope[]>;
|
|
176
176
|
instanceAi: Record<string, Scope[]>;
|
|
177
177
|
roleMappingRule: Record<string, Scope[]>;
|
|
178
|
-
}, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "
|
|
178
|
+
}, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "project" | "credential" | "workflow" | "apiKey" | "agent" | "annotationTag" | "banner" | "communityPackage" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "securityAudit" | "securitySettings" | "gitConnection" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule", Record<string, Scope[]>> | {
|
|
179
179
|
chatHub: Record<string, Scope[]>;
|
|
180
180
|
logStreaming: Record<string, Scope[]>;
|
|
181
181
|
aiAssistant: Record<string, Scope[]>;
|
|
@@ -191,16 +191,18 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
191
191
|
mcp: Record<string, Scope[]>;
|
|
192
192
|
otel: Record<string, Scope[]>;
|
|
193
193
|
role: Record<string, Scope[]>;
|
|
194
|
+
project: Record<string, Scope[]>;
|
|
195
|
+
credential: Record<string, Scope[]>;
|
|
196
|
+
workflow: Record<string, Scope[]>;
|
|
197
|
+
apiKey: Record<string, Scope[]>;
|
|
194
198
|
agent: Record<string, Scope[]>;
|
|
195
199
|
annotationTag: Record<string, Scope[]>;
|
|
196
200
|
banner: Record<string, Scope[]>;
|
|
197
201
|
communityPackage: Record<string, Scope[]>;
|
|
198
|
-
credential: Record<string, Scope[]>;
|
|
199
202
|
externalSecretsProvider: Record<string, Scope[]>;
|
|
200
203
|
externalSecret: Record<string, Scope[]>;
|
|
201
204
|
eventBusDestination: Record<string, Scope[]>;
|
|
202
205
|
orchestration: Record<string, Scope[]>;
|
|
203
|
-
project: Record<string, Scope[]>;
|
|
204
206
|
securityAudit: Record<string, Scope[]>;
|
|
205
207
|
securitySettings: Record<string, Scope[]>;
|
|
206
208
|
gitConnection: Record<string, Scope[]>;
|
|
@@ -209,7 +211,6 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
209
211
|
variable: Record<string, Scope[]>;
|
|
210
212
|
projectVariable: Record<string, Scope[]>;
|
|
211
213
|
workersView: Record<string, Scope[]>;
|
|
212
|
-
workflow: Record<string, Scope[]>;
|
|
213
214
|
folder: Record<string, Scope[]>;
|
|
214
215
|
dataTable: Record<string, Scope[]>;
|
|
215
216
|
execution: Record<string, Scope[]>;
|
|
@@ -218,7 +219,6 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
218
219
|
mcpApiKey: Record<string, Scope[]>;
|
|
219
220
|
chatHubAgent: Record<string, Scope[]>;
|
|
220
221
|
breakingChanges: Record<string, Scope[]>;
|
|
221
|
-
apiKey: Record<string, Scope[]>;
|
|
222
222
|
encryptionKey: Record<string, Scope[]>;
|
|
223
223
|
credentialResolver: Record<string, Scope[]>;
|
|
224
224
|
instanceAi: Record<string, Scope[]>;
|
|
@@ -241,11 +241,11 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
241
241
|
projectId?: string;
|
|
242
242
|
}, options?: ScopeOptions) => boolean;
|
|
243
243
|
}, never>, Pick<{
|
|
244
|
-
globalRoles:
|
|
245
|
-
rolesByProjectId:
|
|
246
|
-
globalScopes:
|
|
247
|
-
scopesByProjectId:
|
|
248
|
-
scopesByResourceId:
|
|
244
|
+
globalRoles: vue467.Ref<Role[], Role[]>;
|
|
245
|
+
rolesByProjectId: vue467.Ref<Record<string, string[]>, Record<string, string[]>>;
|
|
246
|
+
globalScopes: vue467.Ref<Scope[], Scope[]>;
|
|
247
|
+
scopesByProjectId: vue467.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
|
|
248
|
+
scopesByResourceId: vue467.Ref<{
|
|
249
249
|
chatHub: Record<string, Scope[]>;
|
|
250
250
|
logStreaming: Record<string, Scope[]>;
|
|
251
251
|
aiAssistant: Record<string, Scope[]>;
|
|
@@ -261,16 +261,18 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
261
261
|
mcp: Record<string, Scope[]>;
|
|
262
262
|
otel: Record<string, Scope[]>;
|
|
263
263
|
role: Record<string, Scope[]>;
|
|
264
|
+
project: Record<string, Scope[]>;
|
|
265
|
+
credential: Record<string, Scope[]>;
|
|
266
|
+
workflow: Record<string, Scope[]>;
|
|
267
|
+
apiKey: Record<string, Scope[]>;
|
|
264
268
|
agent: Record<string, Scope[]>;
|
|
265
269
|
annotationTag: Record<string, Scope[]>;
|
|
266
270
|
banner: Record<string, Scope[]>;
|
|
267
271
|
communityPackage: Record<string, Scope[]>;
|
|
268
|
-
credential: Record<string, Scope[]>;
|
|
269
272
|
externalSecretsProvider: Record<string, Scope[]>;
|
|
270
273
|
externalSecret: Record<string, Scope[]>;
|
|
271
274
|
eventBusDestination: Record<string, Scope[]>;
|
|
272
275
|
orchestration: Record<string, Scope[]>;
|
|
273
|
-
project: Record<string, Scope[]>;
|
|
274
276
|
securityAudit: Record<string, Scope[]>;
|
|
275
277
|
securitySettings: Record<string, Scope[]>;
|
|
276
278
|
gitConnection: Record<string, Scope[]>;
|
|
@@ -279,7 +281,6 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
279
281
|
variable: Record<string, Scope[]>;
|
|
280
282
|
projectVariable: Record<string, Scope[]>;
|
|
281
283
|
workersView: Record<string, Scope[]>;
|
|
282
|
-
workflow: Record<string, Scope[]>;
|
|
283
284
|
folder: Record<string, Scope[]>;
|
|
284
285
|
dataTable: Record<string, Scope[]>;
|
|
285
286
|
execution: Record<string, Scope[]>;
|
|
@@ -288,12 +289,11 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
288
289
|
mcpApiKey: Record<string, Scope[]>;
|
|
289
290
|
chatHubAgent: Record<string, Scope[]>;
|
|
290
291
|
breakingChanges: Record<string, Scope[]>;
|
|
291
|
-
apiKey: Record<string, Scope[]>;
|
|
292
292
|
encryptionKey: Record<string, Scope[]>;
|
|
293
293
|
credentialResolver: Record<string, Scope[]>;
|
|
294
294
|
instanceAi: Record<string, Scope[]>;
|
|
295
295
|
roleMappingRule: Record<string, Scope[]>;
|
|
296
|
-
}, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "
|
|
296
|
+
}, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "project" | "credential" | "workflow" | "apiKey" | "agent" | "annotationTag" | "banner" | "communityPackage" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "securityAudit" | "securitySettings" | "gitConnection" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule", Record<string, Scope[]>> | {
|
|
297
297
|
chatHub: Record<string, Scope[]>;
|
|
298
298
|
logStreaming: Record<string, Scope[]>;
|
|
299
299
|
aiAssistant: Record<string, Scope[]>;
|
|
@@ -309,16 +309,18 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
309
309
|
mcp: Record<string, Scope[]>;
|
|
310
310
|
otel: Record<string, Scope[]>;
|
|
311
311
|
role: Record<string, Scope[]>;
|
|
312
|
+
project: Record<string, Scope[]>;
|
|
313
|
+
credential: Record<string, Scope[]>;
|
|
314
|
+
workflow: Record<string, Scope[]>;
|
|
315
|
+
apiKey: Record<string, Scope[]>;
|
|
312
316
|
agent: Record<string, Scope[]>;
|
|
313
317
|
annotationTag: Record<string, Scope[]>;
|
|
314
318
|
banner: Record<string, Scope[]>;
|
|
315
319
|
communityPackage: Record<string, Scope[]>;
|
|
316
|
-
credential: Record<string, Scope[]>;
|
|
317
320
|
externalSecretsProvider: Record<string, Scope[]>;
|
|
318
321
|
externalSecret: Record<string, Scope[]>;
|
|
319
322
|
eventBusDestination: Record<string, Scope[]>;
|
|
320
323
|
orchestration: Record<string, Scope[]>;
|
|
321
|
-
project: Record<string, Scope[]>;
|
|
322
324
|
securityAudit: Record<string, Scope[]>;
|
|
323
325
|
securitySettings: Record<string, Scope[]>;
|
|
324
326
|
gitConnection: Record<string, Scope[]>;
|
|
@@ -327,7 +329,6 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
327
329
|
variable: Record<string, Scope[]>;
|
|
328
330
|
projectVariable: Record<string, Scope[]>;
|
|
329
331
|
workersView: Record<string, Scope[]>;
|
|
330
|
-
workflow: Record<string, Scope[]>;
|
|
331
332
|
folder: Record<string, Scope[]>;
|
|
332
333
|
dataTable: Record<string, Scope[]>;
|
|
333
334
|
execution: Record<string, Scope[]>;
|
|
@@ -336,7 +337,6 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
336
337
|
mcpApiKey: Record<string, Scope[]>;
|
|
337
338
|
chatHubAgent: Record<string, Scope[]>;
|
|
338
339
|
breakingChanges: Record<string, Scope[]>;
|
|
339
|
-
apiKey: Record<string, Scope[]>;
|
|
340
340
|
encryptionKey: Record<string, Scope[]>;
|
|
341
341
|
credentialResolver: Record<string, Scope[]>;
|
|
342
342
|
instanceAi: Record<string, Scope[]>;
|
package/dist/roles.store.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as vue14 from "vue";
|
|
2
|
+
import * as pinia0 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: pinia0.StoreDefinition<"roles", Pick<{
|
|
8
|
+
roles: vue14.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: vue14.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: vue14.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: vue14.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: vue14.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: vue14.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: vue14.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: vue14.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: vue14.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: vue14.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: vue14.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: vue14.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: vue14.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: vue14.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: vue14.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: vue14.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: vue14.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: vue14.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
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as pinia1 from "pinia";
|
|
2
|
+
import * as vue62 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:
|
|
8
|
-
roles:
|
|
7
|
+
declare const useRolesStore: pinia1.StoreDefinition<"roles", Pick<{
|
|
8
|
+
roles: vue62.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: vue62.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: vue62.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: vue62.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: vue62.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: vue62.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: vue62.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: vue62.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: vue62.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: vue62.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: vue62.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: vue62.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: vue62.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: vue62.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: vue62.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: vue62.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: vue62.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: vue62.ComputedRef<{
|
|
612
612
|
slug: string;
|
|
613
613
|
displayName: string;
|
|
614
614
|
description: string | null;
|