@n8n/stores 2.35.2 → 2.35.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/rbac.store.d.cts +21 -21
- package/dist/rbac.store.d.mts +39 -39
- package/dist/roles.store.d.mts +21 -21
- package/dist/useRootStore.d.mts +72 -72
- package/dist/users.store.d.cts +51 -51
- package/dist/users.store.d.mts +51 -51
- package/dist/versions.store.d.cts +30 -30
- package/package.json +10 -10
package/dist/rbac.store.d.cts
CHANGED
|
@@ -25,16 +25,17 @@ 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[]>;
|
|
28
31
|
agent: Record<string, Scope[]>;
|
|
29
32
|
annotationTag: Record<string, Scope[]>;
|
|
30
33
|
banner: Record<string, Scope[]>;
|
|
31
34
|
communityPackage: Record<string, Scope[]>;
|
|
32
|
-
credential: Record<string, Scope[]>;
|
|
33
35
|
externalSecretsProvider: Record<string, Scope[]>;
|
|
34
36
|
externalSecret: Record<string, Scope[]>;
|
|
35
37
|
eventBusDestination: Record<string, Scope[]>;
|
|
36
38
|
orchestration: Record<string, Scope[]>;
|
|
37
|
-
project: Record<string, Scope[]>;
|
|
38
39
|
securityAudit: Record<string, Scope[]>;
|
|
39
40
|
securitySettings: Record<string, Scope[]>;
|
|
40
41
|
tag: Record<string, Scope[]>;
|
|
@@ -42,7 +43,6 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
42
43
|
variable: Record<string, Scope[]>;
|
|
43
44
|
projectVariable: Record<string, Scope[]>;
|
|
44
45
|
workersView: Record<string, Scope[]>;
|
|
45
|
-
workflow: Record<string, Scope[]>;
|
|
46
46
|
folder: Record<string, Scope[]>;
|
|
47
47
|
dataTable: Record<string, Scope[]>;
|
|
48
48
|
execution: Record<string, Scope[]>;
|
|
@@ -56,7 +56,7 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
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" | "role" | "
|
|
59
|
+
}, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "project" | "credential" | "workflow" | "agent" | "annotationTag" | "banner" | "communityPackage" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "securityAudit" | "securitySettings" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "apiKey" | "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[]>;
|
|
@@ -72,16 +72,17 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
72
72
|
mcp: Record<string, Scope[]>;
|
|
73
73
|
otel: Record<string, Scope[]>;
|
|
74
74
|
role: Record<string, Scope[]>;
|
|
75
|
+
project: Record<string, Scope[]>;
|
|
76
|
+
credential: Record<string, Scope[]>;
|
|
77
|
+
workflow: Record<string, Scope[]>;
|
|
75
78
|
agent: Record<string, Scope[]>;
|
|
76
79
|
annotationTag: Record<string, Scope[]>;
|
|
77
80
|
banner: Record<string, Scope[]>;
|
|
78
81
|
communityPackage: Record<string, Scope[]>;
|
|
79
|
-
credential: Record<string, Scope[]>;
|
|
80
82
|
externalSecretsProvider: Record<string, Scope[]>;
|
|
81
83
|
externalSecret: Record<string, Scope[]>;
|
|
82
84
|
eventBusDestination: Record<string, Scope[]>;
|
|
83
85
|
orchestration: Record<string, Scope[]>;
|
|
84
|
-
project: Record<string, Scope[]>;
|
|
85
86
|
securityAudit: Record<string, Scope[]>;
|
|
86
87
|
securitySettings: Record<string, Scope[]>;
|
|
87
88
|
tag: Record<string, Scope[]>;
|
|
@@ -89,7 +90,6 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
89
90
|
variable: Record<string, Scope[]>;
|
|
90
91
|
projectVariable: Record<string, Scope[]>;
|
|
91
92
|
workersView: Record<string, Scope[]>;
|
|
92
|
-
workflow: Record<string, Scope[]>;
|
|
93
93
|
folder: Record<string, Scope[]>;
|
|
94
94
|
dataTable: Record<string, Scope[]>;
|
|
95
95
|
execution: Record<string, Scope[]>;
|
|
@@ -141,16 +141,17 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
141
141
|
mcp: Record<string, Scope[]>;
|
|
142
142
|
otel: Record<string, Scope[]>;
|
|
143
143
|
role: Record<string, Scope[]>;
|
|
144
|
+
project: Record<string, Scope[]>;
|
|
145
|
+
credential: Record<string, Scope[]>;
|
|
146
|
+
workflow: Record<string, Scope[]>;
|
|
144
147
|
agent: Record<string, Scope[]>;
|
|
145
148
|
annotationTag: Record<string, Scope[]>;
|
|
146
149
|
banner: Record<string, Scope[]>;
|
|
147
150
|
communityPackage: Record<string, Scope[]>;
|
|
148
|
-
credential: Record<string, Scope[]>;
|
|
149
151
|
externalSecretsProvider: Record<string, Scope[]>;
|
|
150
152
|
externalSecret: Record<string, Scope[]>;
|
|
151
153
|
eventBusDestination: Record<string, Scope[]>;
|
|
152
154
|
orchestration: Record<string, Scope[]>;
|
|
153
|
-
project: Record<string, Scope[]>;
|
|
154
155
|
securityAudit: Record<string, Scope[]>;
|
|
155
156
|
securitySettings: Record<string, Scope[]>;
|
|
156
157
|
tag: Record<string, Scope[]>;
|
|
@@ -158,7 +159,6 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
158
159
|
variable: Record<string, Scope[]>;
|
|
159
160
|
projectVariable: Record<string, Scope[]>;
|
|
160
161
|
workersView: Record<string, Scope[]>;
|
|
161
|
-
workflow: Record<string, Scope[]>;
|
|
162
162
|
folder: Record<string, Scope[]>;
|
|
163
163
|
dataTable: Record<string, Scope[]>;
|
|
164
164
|
execution: Record<string, Scope[]>;
|
|
@@ -172,7 +172,7 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
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" | "role" | "
|
|
175
|
+
}, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "project" | "credential" | "workflow" | "agent" | "annotationTag" | "banner" | "communityPackage" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "securityAudit" | "securitySettings" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "apiKey" | "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[]>;
|
|
@@ -188,16 +188,17 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
188
188
|
mcp: Record<string, Scope[]>;
|
|
189
189
|
otel: Record<string, Scope[]>;
|
|
190
190
|
role: Record<string, Scope[]>;
|
|
191
|
+
project: Record<string, Scope[]>;
|
|
192
|
+
credential: Record<string, Scope[]>;
|
|
193
|
+
workflow: Record<string, Scope[]>;
|
|
191
194
|
agent: Record<string, Scope[]>;
|
|
192
195
|
annotationTag: Record<string, Scope[]>;
|
|
193
196
|
banner: Record<string, Scope[]>;
|
|
194
197
|
communityPackage: Record<string, Scope[]>;
|
|
195
|
-
credential: Record<string, Scope[]>;
|
|
196
198
|
externalSecretsProvider: Record<string, Scope[]>;
|
|
197
199
|
externalSecret: Record<string, Scope[]>;
|
|
198
200
|
eventBusDestination: Record<string, Scope[]>;
|
|
199
201
|
orchestration: Record<string, Scope[]>;
|
|
200
|
-
project: Record<string, Scope[]>;
|
|
201
202
|
securityAudit: Record<string, Scope[]>;
|
|
202
203
|
securitySettings: Record<string, Scope[]>;
|
|
203
204
|
tag: Record<string, Scope[]>;
|
|
@@ -205,7 +206,6 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
205
206
|
variable: Record<string, Scope[]>;
|
|
206
207
|
projectVariable: Record<string, Scope[]>;
|
|
207
208
|
workersView: Record<string, Scope[]>;
|
|
208
|
-
workflow: Record<string, Scope[]>;
|
|
209
209
|
folder: Record<string, Scope[]>;
|
|
210
210
|
dataTable: Record<string, Scope[]>;
|
|
211
211
|
execution: Record<string, Scope[]>;
|
|
@@ -257,16 +257,17 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
257
257
|
mcp: Record<string, Scope[]>;
|
|
258
258
|
otel: Record<string, Scope[]>;
|
|
259
259
|
role: Record<string, Scope[]>;
|
|
260
|
+
project: Record<string, Scope[]>;
|
|
261
|
+
credential: Record<string, Scope[]>;
|
|
262
|
+
workflow: Record<string, Scope[]>;
|
|
260
263
|
agent: Record<string, Scope[]>;
|
|
261
264
|
annotationTag: Record<string, Scope[]>;
|
|
262
265
|
banner: Record<string, Scope[]>;
|
|
263
266
|
communityPackage: Record<string, Scope[]>;
|
|
264
|
-
credential: Record<string, Scope[]>;
|
|
265
267
|
externalSecretsProvider: Record<string, Scope[]>;
|
|
266
268
|
externalSecret: Record<string, Scope[]>;
|
|
267
269
|
eventBusDestination: Record<string, Scope[]>;
|
|
268
270
|
orchestration: Record<string, Scope[]>;
|
|
269
|
-
project: Record<string, Scope[]>;
|
|
270
271
|
securityAudit: Record<string, Scope[]>;
|
|
271
272
|
securitySettings: Record<string, Scope[]>;
|
|
272
273
|
tag: Record<string, Scope[]>;
|
|
@@ -274,7 +275,6 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
274
275
|
variable: Record<string, Scope[]>;
|
|
275
276
|
projectVariable: Record<string, Scope[]>;
|
|
276
277
|
workersView: Record<string, Scope[]>;
|
|
277
|
-
workflow: Record<string, Scope[]>;
|
|
278
278
|
folder: Record<string, Scope[]>;
|
|
279
279
|
dataTable: Record<string, Scope[]>;
|
|
280
280
|
execution: Record<string, Scope[]>;
|
|
@@ -288,7 +288,7 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
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" | "role" | "
|
|
291
|
+
}, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "project" | "credential" | "workflow" | "agent" | "annotationTag" | "banner" | "communityPackage" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "securityAudit" | "securitySettings" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "apiKey" | "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[]>;
|
|
@@ -304,16 +304,17 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
304
304
|
mcp: Record<string, Scope[]>;
|
|
305
305
|
otel: Record<string, Scope[]>;
|
|
306
306
|
role: Record<string, Scope[]>;
|
|
307
|
+
project: Record<string, Scope[]>;
|
|
308
|
+
credential: Record<string, Scope[]>;
|
|
309
|
+
workflow: Record<string, Scope[]>;
|
|
307
310
|
agent: Record<string, Scope[]>;
|
|
308
311
|
annotationTag: Record<string, Scope[]>;
|
|
309
312
|
banner: Record<string, Scope[]>;
|
|
310
313
|
communityPackage: Record<string, Scope[]>;
|
|
311
|
-
credential: Record<string, Scope[]>;
|
|
312
314
|
externalSecretsProvider: Record<string, Scope[]>;
|
|
313
315
|
externalSecret: Record<string, Scope[]>;
|
|
314
316
|
eventBusDestination: Record<string, Scope[]>;
|
|
315
317
|
orchestration: Record<string, Scope[]>;
|
|
316
|
-
project: Record<string, Scope[]>;
|
|
317
318
|
securityAudit: Record<string, Scope[]>;
|
|
318
319
|
securitySettings: Record<string, Scope[]>;
|
|
319
320
|
tag: Record<string, Scope[]>;
|
|
@@ -321,7 +322,6 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
321
322
|
variable: Record<string, Scope[]>;
|
|
322
323
|
projectVariable: Record<string, Scope[]>;
|
|
323
324
|
workersView: Record<string, Scope[]>;
|
|
324
|
-
workflow: Record<string, Scope[]>;
|
|
325
325
|
folder: Record<string, Scope[]>;
|
|
326
326
|
dataTable: Record<string, Scope[]>;
|
|
327
327
|
execution: Record<string, Scope[]>;
|
package/dist/rbac.store.d.mts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as pinia2 from "pinia";
|
|
2
|
+
import * as vue80 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: pinia2.StoreDefinition<"rbac", Pick<{
|
|
8
|
+
globalRoles: vue80.Ref<Role[], Role[]>;
|
|
9
|
+
rolesByProjectId: vue80.Ref<Record<string, string[]>, Record<string, string[]>>;
|
|
10
|
+
globalScopes: vue80.Ref<Scope[], Scope[]>;
|
|
11
|
+
scopesByProjectId: vue80.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
|
|
12
|
+
scopesByResourceId: vue80.Ref<{
|
|
13
13
|
chatHub: Record<string, Scope[]>;
|
|
14
14
|
logStreaming: Record<string, Scope[]>;
|
|
15
15
|
aiAssistant: Record<string, Scope[]>;
|
|
@@ -25,16 +25,17 @@ 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[]>;
|
|
28
31
|
agent: Record<string, Scope[]>;
|
|
29
32
|
annotationTag: Record<string, Scope[]>;
|
|
30
33
|
banner: Record<string, Scope[]>;
|
|
31
34
|
communityPackage: Record<string, Scope[]>;
|
|
32
|
-
credential: Record<string, Scope[]>;
|
|
33
35
|
externalSecretsProvider: Record<string, Scope[]>;
|
|
34
36
|
externalSecret: Record<string, Scope[]>;
|
|
35
37
|
eventBusDestination: Record<string, Scope[]>;
|
|
36
38
|
orchestration: Record<string, Scope[]>;
|
|
37
|
-
project: Record<string, Scope[]>;
|
|
38
39
|
securityAudit: Record<string, Scope[]>;
|
|
39
40
|
securitySettings: Record<string, Scope[]>;
|
|
40
41
|
tag: Record<string, Scope[]>;
|
|
@@ -42,7 +43,6 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
42
43
|
variable: Record<string, Scope[]>;
|
|
43
44
|
projectVariable: Record<string, Scope[]>;
|
|
44
45
|
workersView: Record<string, Scope[]>;
|
|
45
|
-
workflow: Record<string, Scope[]>;
|
|
46
46
|
folder: Record<string, Scope[]>;
|
|
47
47
|
dataTable: Record<string, Scope[]>;
|
|
48
48
|
execution: Record<string, Scope[]>;
|
|
@@ -56,7 +56,7 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
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" | "role" | "
|
|
59
|
+
}, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "project" | "credential" | "workflow" | "agent" | "annotationTag" | "banner" | "communityPackage" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "securityAudit" | "securitySettings" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "apiKey" | "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[]>;
|
|
@@ -72,16 +72,17 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
72
72
|
mcp: Record<string, Scope[]>;
|
|
73
73
|
otel: Record<string, Scope[]>;
|
|
74
74
|
role: Record<string, Scope[]>;
|
|
75
|
+
project: Record<string, Scope[]>;
|
|
76
|
+
credential: Record<string, Scope[]>;
|
|
77
|
+
workflow: Record<string, Scope[]>;
|
|
75
78
|
agent: Record<string, Scope[]>;
|
|
76
79
|
annotationTag: Record<string, Scope[]>;
|
|
77
80
|
banner: Record<string, Scope[]>;
|
|
78
81
|
communityPackage: Record<string, Scope[]>;
|
|
79
|
-
credential: Record<string, Scope[]>;
|
|
80
82
|
externalSecretsProvider: Record<string, Scope[]>;
|
|
81
83
|
externalSecret: Record<string, Scope[]>;
|
|
82
84
|
eventBusDestination: Record<string, Scope[]>;
|
|
83
85
|
orchestration: Record<string, Scope[]>;
|
|
84
|
-
project: Record<string, Scope[]>;
|
|
85
86
|
securityAudit: Record<string, Scope[]>;
|
|
86
87
|
securitySettings: Record<string, Scope[]>;
|
|
87
88
|
tag: Record<string, Scope[]>;
|
|
@@ -89,7 +90,6 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
89
90
|
variable: Record<string, Scope[]>;
|
|
90
91
|
projectVariable: Record<string, Scope[]>;
|
|
91
92
|
workersView: Record<string, Scope[]>;
|
|
92
|
-
workflow: Record<string, Scope[]>;
|
|
93
93
|
folder: Record<string, Scope[]>;
|
|
94
94
|
dataTable: Record<string, Scope[]>;
|
|
95
95
|
execution: 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: vue80.Ref<Role[], Role[]>;
|
|
125
|
+
rolesByProjectId: vue80.Ref<Record<string, string[]>, Record<string, string[]>>;
|
|
126
|
+
globalScopes: vue80.Ref<Scope[], Scope[]>;
|
|
127
|
+
scopesByProjectId: vue80.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
|
|
128
|
+
scopesByResourceId: vue80.Ref<{
|
|
129
129
|
chatHub: Record<string, Scope[]>;
|
|
130
130
|
logStreaming: Record<string, Scope[]>;
|
|
131
131
|
aiAssistant: Record<string, Scope[]>;
|
|
@@ -141,16 +141,17 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
141
141
|
mcp: Record<string, Scope[]>;
|
|
142
142
|
otel: Record<string, Scope[]>;
|
|
143
143
|
role: Record<string, Scope[]>;
|
|
144
|
+
project: Record<string, Scope[]>;
|
|
145
|
+
credential: Record<string, Scope[]>;
|
|
146
|
+
workflow: Record<string, Scope[]>;
|
|
144
147
|
agent: Record<string, Scope[]>;
|
|
145
148
|
annotationTag: Record<string, Scope[]>;
|
|
146
149
|
banner: Record<string, Scope[]>;
|
|
147
150
|
communityPackage: Record<string, Scope[]>;
|
|
148
|
-
credential: Record<string, Scope[]>;
|
|
149
151
|
externalSecretsProvider: Record<string, Scope[]>;
|
|
150
152
|
externalSecret: Record<string, Scope[]>;
|
|
151
153
|
eventBusDestination: Record<string, Scope[]>;
|
|
152
154
|
orchestration: Record<string, Scope[]>;
|
|
153
|
-
project: Record<string, Scope[]>;
|
|
154
155
|
securityAudit: Record<string, Scope[]>;
|
|
155
156
|
securitySettings: Record<string, Scope[]>;
|
|
156
157
|
tag: Record<string, Scope[]>;
|
|
@@ -158,7 +159,6 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
158
159
|
variable: Record<string, Scope[]>;
|
|
159
160
|
projectVariable: Record<string, Scope[]>;
|
|
160
161
|
workersView: Record<string, Scope[]>;
|
|
161
|
-
workflow: Record<string, Scope[]>;
|
|
162
162
|
folder: Record<string, Scope[]>;
|
|
163
163
|
dataTable: Record<string, Scope[]>;
|
|
164
164
|
execution: Record<string, Scope[]>;
|
|
@@ -172,7 +172,7 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
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" | "role" | "
|
|
175
|
+
}, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "project" | "credential" | "workflow" | "agent" | "annotationTag" | "banner" | "communityPackage" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "securityAudit" | "securitySettings" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "apiKey" | "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[]>;
|
|
@@ -188,16 +188,17 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
188
188
|
mcp: Record<string, Scope[]>;
|
|
189
189
|
otel: Record<string, Scope[]>;
|
|
190
190
|
role: Record<string, Scope[]>;
|
|
191
|
+
project: Record<string, Scope[]>;
|
|
192
|
+
credential: Record<string, Scope[]>;
|
|
193
|
+
workflow: Record<string, Scope[]>;
|
|
191
194
|
agent: Record<string, Scope[]>;
|
|
192
195
|
annotationTag: Record<string, Scope[]>;
|
|
193
196
|
banner: Record<string, Scope[]>;
|
|
194
197
|
communityPackage: Record<string, Scope[]>;
|
|
195
|
-
credential: Record<string, Scope[]>;
|
|
196
198
|
externalSecretsProvider: Record<string, Scope[]>;
|
|
197
199
|
externalSecret: Record<string, Scope[]>;
|
|
198
200
|
eventBusDestination: Record<string, Scope[]>;
|
|
199
201
|
orchestration: Record<string, Scope[]>;
|
|
200
|
-
project: Record<string, Scope[]>;
|
|
201
202
|
securityAudit: Record<string, Scope[]>;
|
|
202
203
|
securitySettings: Record<string, Scope[]>;
|
|
203
204
|
tag: Record<string, Scope[]>;
|
|
@@ -205,7 +206,6 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
205
206
|
variable: Record<string, Scope[]>;
|
|
206
207
|
projectVariable: Record<string, Scope[]>;
|
|
207
208
|
workersView: Record<string, Scope[]>;
|
|
208
|
-
workflow: Record<string, Scope[]>;
|
|
209
209
|
folder: Record<string, Scope[]>;
|
|
210
210
|
dataTable: Record<string, Scope[]>;
|
|
211
211
|
execution: 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: vue80.Ref<Role[], Role[]>;
|
|
241
|
+
rolesByProjectId: vue80.Ref<Record<string, string[]>, Record<string, string[]>>;
|
|
242
|
+
globalScopes: vue80.Ref<Scope[], Scope[]>;
|
|
243
|
+
scopesByProjectId: vue80.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
|
|
244
|
+
scopesByResourceId: vue80.Ref<{
|
|
245
245
|
chatHub: Record<string, Scope[]>;
|
|
246
246
|
logStreaming: Record<string, Scope[]>;
|
|
247
247
|
aiAssistant: Record<string, Scope[]>;
|
|
@@ -257,16 +257,17 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
257
257
|
mcp: Record<string, Scope[]>;
|
|
258
258
|
otel: Record<string, Scope[]>;
|
|
259
259
|
role: Record<string, Scope[]>;
|
|
260
|
+
project: Record<string, Scope[]>;
|
|
261
|
+
credential: Record<string, Scope[]>;
|
|
262
|
+
workflow: Record<string, Scope[]>;
|
|
260
263
|
agent: Record<string, Scope[]>;
|
|
261
264
|
annotationTag: Record<string, Scope[]>;
|
|
262
265
|
banner: Record<string, Scope[]>;
|
|
263
266
|
communityPackage: Record<string, Scope[]>;
|
|
264
|
-
credential: Record<string, Scope[]>;
|
|
265
267
|
externalSecretsProvider: Record<string, Scope[]>;
|
|
266
268
|
externalSecret: Record<string, Scope[]>;
|
|
267
269
|
eventBusDestination: Record<string, Scope[]>;
|
|
268
270
|
orchestration: Record<string, Scope[]>;
|
|
269
|
-
project: Record<string, Scope[]>;
|
|
270
271
|
securityAudit: Record<string, Scope[]>;
|
|
271
272
|
securitySettings: Record<string, Scope[]>;
|
|
272
273
|
tag: Record<string, Scope[]>;
|
|
@@ -274,7 +275,6 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
274
275
|
variable: Record<string, Scope[]>;
|
|
275
276
|
projectVariable: Record<string, Scope[]>;
|
|
276
277
|
workersView: Record<string, Scope[]>;
|
|
277
|
-
workflow: Record<string, Scope[]>;
|
|
278
278
|
folder: Record<string, Scope[]>;
|
|
279
279
|
dataTable: Record<string, Scope[]>;
|
|
280
280
|
execution: Record<string, Scope[]>;
|
|
@@ -288,7 +288,7 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
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" | "role" | "
|
|
291
|
+
}, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "project" | "credential" | "workflow" | "agent" | "annotationTag" | "banner" | "communityPackage" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "securityAudit" | "securitySettings" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "apiKey" | "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[]>;
|
|
@@ -304,16 +304,17 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
304
304
|
mcp: Record<string, Scope[]>;
|
|
305
305
|
otel: Record<string, Scope[]>;
|
|
306
306
|
role: Record<string, Scope[]>;
|
|
307
|
+
project: Record<string, Scope[]>;
|
|
308
|
+
credential: Record<string, Scope[]>;
|
|
309
|
+
workflow: Record<string, Scope[]>;
|
|
307
310
|
agent: Record<string, Scope[]>;
|
|
308
311
|
annotationTag: Record<string, Scope[]>;
|
|
309
312
|
banner: Record<string, Scope[]>;
|
|
310
313
|
communityPackage: Record<string, Scope[]>;
|
|
311
|
-
credential: Record<string, Scope[]>;
|
|
312
314
|
externalSecretsProvider: Record<string, Scope[]>;
|
|
313
315
|
externalSecret: Record<string, Scope[]>;
|
|
314
316
|
eventBusDestination: Record<string, Scope[]>;
|
|
315
317
|
orchestration: Record<string, Scope[]>;
|
|
316
|
-
project: Record<string, Scope[]>;
|
|
317
318
|
securityAudit: Record<string, Scope[]>;
|
|
318
319
|
securitySettings: Record<string, Scope[]>;
|
|
319
320
|
tag: Record<string, Scope[]>;
|
|
@@ -321,7 +322,6 @@ declare const useRBACStore: pinia1.StoreDefinition<"rbac", Pick<{
|
|
|
321
322
|
variable: Record<string, Scope[]>;
|
|
322
323
|
projectVariable: Record<string, Scope[]>;
|
|
323
324
|
workersView: Record<string, Scope[]>;
|
|
324
|
-
workflow: Record<string, Scope[]>;
|
|
325
325
|
folder: Record<string, Scope[]>;
|
|
326
326
|
dataTable: Record<string, Scope[]>;
|
|
327
327
|
execution: Record<string, Scope[]>;
|
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;
|
package/dist/useRootStore.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as pinia6 from "pinia";
|
|
2
|
+
import * as vue374 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/useRootStore.d.ts
|
|
5
5
|
type RootStoreState = {
|
|
@@ -30,33 +30,33 @@ type RootStoreState = {
|
|
|
30
30
|
instanceId: string;
|
|
31
31
|
binaryDataMode: 'default' | 'filesystem' | 's3' | 'azure' | 'database';
|
|
32
32
|
};
|
|
33
|
-
declare const useRootStore:
|
|
34
|
-
baseUrl:
|
|
35
|
-
formUrl:
|
|
36
|
-
formTestUrl:
|
|
37
|
-
formWaitingUrl:
|
|
38
|
-
mcpUrl:
|
|
39
|
-
mcpTestUrl:
|
|
40
|
-
webhookUrl:
|
|
41
|
-
webhookTestUrl:
|
|
42
|
-
webhookWaitingUrl:
|
|
43
|
-
restUrl:
|
|
44
|
-
restApiContext:
|
|
33
|
+
declare const useRootStore: pinia6.StoreDefinition<"root", Pick<{
|
|
34
|
+
baseUrl: vue374.ComputedRef<string>;
|
|
35
|
+
formUrl: vue374.ComputedRef<string>;
|
|
36
|
+
formTestUrl: vue374.ComputedRef<string>;
|
|
37
|
+
formWaitingUrl: vue374.ComputedRef<string>;
|
|
38
|
+
mcpUrl: vue374.ComputedRef<string>;
|
|
39
|
+
mcpTestUrl: vue374.ComputedRef<string>;
|
|
40
|
+
webhookUrl: vue374.ComputedRef<string>;
|
|
41
|
+
webhookTestUrl: vue374.ComputedRef<string>;
|
|
42
|
+
webhookWaitingUrl: vue374.ComputedRef<string>;
|
|
43
|
+
restUrl: vue374.ComputedRef<string>;
|
|
44
|
+
restApiContext: vue374.ComputedRef<{
|
|
45
45
|
baseUrl: string;
|
|
46
46
|
pushRef: string;
|
|
47
47
|
}>;
|
|
48
|
-
urlBaseEditor:
|
|
49
|
-
urlBaseWebhook:
|
|
50
|
-
versionCli:
|
|
51
|
-
instanceId:
|
|
52
|
-
pushRef:
|
|
53
|
-
defaultLocale:
|
|
54
|
-
binaryDataMode:
|
|
55
|
-
OAuthCallbackUrls:
|
|
56
|
-
jwksUri:
|
|
57
|
-
executionTimeout:
|
|
58
|
-
maxExecutionTimeout:
|
|
59
|
-
timezone:
|
|
48
|
+
urlBaseEditor: vue374.ComputedRef<string>;
|
|
49
|
+
urlBaseWebhook: vue374.ComputedRef<string>;
|
|
50
|
+
versionCli: vue374.ComputedRef<string>;
|
|
51
|
+
instanceId: vue374.ComputedRef<string>;
|
|
52
|
+
pushRef: vue374.ComputedRef<string>;
|
|
53
|
+
defaultLocale: vue374.ComputedRef<string>;
|
|
54
|
+
binaryDataMode: vue374.ComputedRef<"default" | "filesystem" | "s3" | "azure" | "database">;
|
|
55
|
+
OAuthCallbackUrls: vue374.ComputedRef<object>;
|
|
56
|
+
jwksUri: vue374.ComputedRef<string>;
|
|
57
|
+
executionTimeout: vue374.ComputedRef<number>;
|
|
58
|
+
maxExecutionTimeout: vue374.ComputedRef<number>;
|
|
59
|
+
timezone: vue374.ComputedRef<string>;
|
|
60
60
|
setUrlBaseWebhook: (value: string) => void;
|
|
61
61
|
setUrlBaseEditor: (value: string) => void;
|
|
62
62
|
setUrlBaseWebhookTest: (value: string) => void;
|
|
@@ -80,32 +80,32 @@ declare const useRootStore: pinia5.StoreDefinition<"root", Pick<{
|
|
|
80
80
|
setBinaryDataMode: (value: RootStoreState["binaryDataMode"]) => void;
|
|
81
81
|
setPushRef: (value: string) => void;
|
|
82
82
|
}, never>, Pick<{
|
|
83
|
-
baseUrl:
|
|
84
|
-
formUrl:
|
|
85
|
-
formTestUrl:
|
|
86
|
-
formWaitingUrl:
|
|
87
|
-
mcpUrl:
|
|
88
|
-
mcpTestUrl:
|
|
89
|
-
webhookUrl:
|
|
90
|
-
webhookTestUrl:
|
|
91
|
-
webhookWaitingUrl:
|
|
92
|
-
restUrl:
|
|
93
|
-
restApiContext:
|
|
83
|
+
baseUrl: vue374.ComputedRef<string>;
|
|
84
|
+
formUrl: vue374.ComputedRef<string>;
|
|
85
|
+
formTestUrl: vue374.ComputedRef<string>;
|
|
86
|
+
formWaitingUrl: vue374.ComputedRef<string>;
|
|
87
|
+
mcpUrl: vue374.ComputedRef<string>;
|
|
88
|
+
mcpTestUrl: vue374.ComputedRef<string>;
|
|
89
|
+
webhookUrl: vue374.ComputedRef<string>;
|
|
90
|
+
webhookTestUrl: vue374.ComputedRef<string>;
|
|
91
|
+
webhookWaitingUrl: vue374.ComputedRef<string>;
|
|
92
|
+
restUrl: vue374.ComputedRef<string>;
|
|
93
|
+
restApiContext: vue374.ComputedRef<{
|
|
94
94
|
baseUrl: string;
|
|
95
95
|
pushRef: string;
|
|
96
96
|
}>;
|
|
97
|
-
urlBaseEditor:
|
|
98
|
-
urlBaseWebhook:
|
|
99
|
-
versionCli:
|
|
100
|
-
instanceId:
|
|
101
|
-
pushRef:
|
|
102
|
-
defaultLocale:
|
|
103
|
-
binaryDataMode:
|
|
104
|
-
OAuthCallbackUrls:
|
|
105
|
-
jwksUri:
|
|
106
|
-
executionTimeout:
|
|
107
|
-
maxExecutionTimeout:
|
|
108
|
-
timezone:
|
|
97
|
+
urlBaseEditor: vue374.ComputedRef<string>;
|
|
98
|
+
urlBaseWebhook: vue374.ComputedRef<string>;
|
|
99
|
+
versionCli: vue374.ComputedRef<string>;
|
|
100
|
+
instanceId: vue374.ComputedRef<string>;
|
|
101
|
+
pushRef: vue374.ComputedRef<string>;
|
|
102
|
+
defaultLocale: vue374.ComputedRef<string>;
|
|
103
|
+
binaryDataMode: vue374.ComputedRef<"default" | "filesystem" | "s3" | "azure" | "database">;
|
|
104
|
+
OAuthCallbackUrls: vue374.ComputedRef<object>;
|
|
105
|
+
jwksUri: vue374.ComputedRef<string>;
|
|
106
|
+
executionTimeout: vue374.ComputedRef<number>;
|
|
107
|
+
maxExecutionTimeout: vue374.ComputedRef<number>;
|
|
108
|
+
timezone: vue374.ComputedRef<string>;
|
|
109
109
|
setUrlBaseWebhook: (value: string) => void;
|
|
110
110
|
setUrlBaseEditor: (value: string) => void;
|
|
111
111
|
setUrlBaseWebhookTest: (value: string) => void;
|
|
@@ -129,32 +129,32 @@ declare const useRootStore: pinia5.StoreDefinition<"root", Pick<{
|
|
|
129
129
|
setBinaryDataMode: (value: RootStoreState["binaryDataMode"]) => void;
|
|
130
130
|
setPushRef: (value: string) => void;
|
|
131
131
|
}, "executionTimeout" | "maxExecutionTimeout" | "jwksUri" | "timezone" | "urlBaseWebhook" | "urlBaseEditor" | "versionCli" | "binaryDataMode" | "instanceId" | "defaultLocale" | "baseUrl" | "pushRef" | "formUrl" | "formTestUrl" | "formWaitingUrl" | "mcpUrl" | "mcpTestUrl" | "webhookUrl" | "webhookTestUrl" | "webhookWaitingUrl" | "restUrl" | "restApiContext" | "OAuthCallbackUrls">, Pick<{
|
|
132
|
-
baseUrl:
|
|
133
|
-
formUrl:
|
|
134
|
-
formTestUrl:
|
|
135
|
-
formWaitingUrl:
|
|
136
|
-
mcpUrl:
|
|
137
|
-
mcpTestUrl:
|
|
138
|
-
webhookUrl:
|
|
139
|
-
webhookTestUrl:
|
|
140
|
-
webhookWaitingUrl:
|
|
141
|
-
restUrl:
|
|
142
|
-
restApiContext:
|
|
132
|
+
baseUrl: vue374.ComputedRef<string>;
|
|
133
|
+
formUrl: vue374.ComputedRef<string>;
|
|
134
|
+
formTestUrl: vue374.ComputedRef<string>;
|
|
135
|
+
formWaitingUrl: vue374.ComputedRef<string>;
|
|
136
|
+
mcpUrl: vue374.ComputedRef<string>;
|
|
137
|
+
mcpTestUrl: vue374.ComputedRef<string>;
|
|
138
|
+
webhookUrl: vue374.ComputedRef<string>;
|
|
139
|
+
webhookTestUrl: vue374.ComputedRef<string>;
|
|
140
|
+
webhookWaitingUrl: vue374.ComputedRef<string>;
|
|
141
|
+
restUrl: vue374.ComputedRef<string>;
|
|
142
|
+
restApiContext: vue374.ComputedRef<{
|
|
143
143
|
baseUrl: string;
|
|
144
144
|
pushRef: string;
|
|
145
145
|
}>;
|
|
146
|
-
urlBaseEditor:
|
|
147
|
-
urlBaseWebhook:
|
|
148
|
-
versionCli:
|
|
149
|
-
instanceId:
|
|
150
|
-
pushRef:
|
|
151
|
-
defaultLocale:
|
|
152
|
-
binaryDataMode:
|
|
153
|
-
OAuthCallbackUrls:
|
|
154
|
-
jwksUri:
|
|
155
|
-
executionTimeout:
|
|
156
|
-
maxExecutionTimeout:
|
|
157
|
-
timezone:
|
|
146
|
+
urlBaseEditor: vue374.ComputedRef<string>;
|
|
147
|
+
urlBaseWebhook: vue374.ComputedRef<string>;
|
|
148
|
+
versionCli: vue374.ComputedRef<string>;
|
|
149
|
+
instanceId: vue374.ComputedRef<string>;
|
|
150
|
+
pushRef: vue374.ComputedRef<string>;
|
|
151
|
+
defaultLocale: vue374.ComputedRef<string>;
|
|
152
|
+
binaryDataMode: vue374.ComputedRef<"default" | "filesystem" | "s3" | "azure" | "database">;
|
|
153
|
+
OAuthCallbackUrls: vue374.ComputedRef<object>;
|
|
154
|
+
jwksUri: vue374.ComputedRef<string>;
|
|
155
|
+
executionTimeout: vue374.ComputedRef<number>;
|
|
156
|
+
maxExecutionTimeout: vue374.ComputedRef<number>;
|
|
157
|
+
timezone: vue374.ComputedRef<string>;
|
|
158
158
|
setUrlBaseWebhook: (value: string) => void;
|
|
159
159
|
setUrlBaseEditor: (value: string) => void;
|
|
160
160
|
setUrlBaseWebhookTest: (value: string) => void;
|
package/dist/users.store.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as IInviteResponse } from "./invitation2.api.cjs";
|
|
2
2
|
import { t as ModalOpeners } from "./modalOpeners2.cjs";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as vue422 from "vue";
|
|
4
|
+
import * as pinia7 from "pinia";
|
|
5
5
|
import { LoginRequestDto, PasswordUpdateRequestDto, SettingsUpdateRequestDto, User, UserSelfSettingsUpdateRequestDto, UserUpdateRequestDto, UsersListFilterDto } from "@n8n/api-types";
|
|
6
6
|
import { AssignableGlobalRole } from "@n8n/permissions";
|
|
7
7
|
import { CurrentUserResponse, IPersonalizationLatestVersion, IUser, IUserResponse, UpdateGlobalRolePayload } from "@n8n/rest-api-client/api/users";
|
|
@@ -12,23 +12,23 @@ import * as mfaApi from "@n8n/rest-api-client/api/mfa";
|
|
|
12
12
|
//#region src/users.store.d.ts
|
|
13
13
|
type LoginHook = (user: CurrentUserResponse) => void | Promise<void>;
|
|
14
14
|
type LogoutHook = () => void | Promise<void>;
|
|
15
|
-
declare const useUsersStore:
|
|
16
|
-
initialized:
|
|
17
|
-
currentUserId:
|
|
18
|
-
usersById:
|
|
19
|
-
allUsers:
|
|
20
|
-
currentUser:
|
|
21
|
-
userActivated:
|
|
22
|
-
isDefaultUser:
|
|
23
|
-
isInstanceOwner:
|
|
24
|
-
isAdmin:
|
|
25
|
-
isAdminOrOwner:
|
|
26
|
-
mfaEnabled:
|
|
27
|
-
globalRoleName:
|
|
28
|
-
userClaimedAiCredits:
|
|
29
|
-
isEasyAIWorkflowOnboardingDone:
|
|
30
|
-
canUserUpdateVersion:
|
|
31
|
-
usersLimitNotReached:
|
|
15
|
+
declare const useUsersStore: pinia7.StoreDefinition<"users", Pick<{
|
|
16
|
+
initialized: vue422.Ref<boolean, boolean>;
|
|
17
|
+
currentUserId: vue422.Ref<string | null, string | null>;
|
|
18
|
+
usersById: vue422.Ref<Record<string, IUser>, Record<string, IUser>>;
|
|
19
|
+
allUsers: vue422.ComputedRef<IUser[]>;
|
|
20
|
+
currentUser: vue422.ComputedRef<IUser | null>;
|
|
21
|
+
userActivated: vue422.ComputedRef<boolean>;
|
|
22
|
+
isDefaultUser: vue422.ComputedRef<boolean>;
|
|
23
|
+
isInstanceOwner: vue422.ComputedRef<boolean>;
|
|
24
|
+
isAdmin: vue422.ComputedRef<boolean>;
|
|
25
|
+
isAdminOrOwner: vue422.ComputedRef<boolean>;
|
|
26
|
+
mfaEnabled: vue422.ComputedRef<boolean>;
|
|
27
|
+
globalRoleName: vue422.ComputedRef<string>;
|
|
28
|
+
userClaimedAiCredits: vue422.ComputedRef<boolean | undefined>;
|
|
29
|
+
isEasyAIWorkflowOnboardingDone: vue422.ComputedRef<boolean>;
|
|
30
|
+
canUserUpdateVersion: vue422.ComputedRef<boolean>;
|
|
31
|
+
usersLimitNotReached: vue422.ComputedRef<boolean>;
|
|
32
32
|
addUsers: (newUsers: User[]) => void;
|
|
33
33
|
loginWithCookie: () => Promise<void>;
|
|
34
34
|
initialize: () => Promise<void>;
|
|
@@ -191,22 +191,22 @@ declare const useUsersStore: pinia6.StoreDefinition<"users", Pick<{
|
|
|
191
191
|
}[];
|
|
192
192
|
}, [filter?: UsersListFilterDto | undefined], true>;
|
|
193
193
|
}, "initialized" | "currentUserId" | "usersById" | "usersList">, Pick<{
|
|
194
|
-
initialized:
|
|
195
|
-
currentUserId:
|
|
196
|
-
usersById:
|
|
197
|
-
allUsers:
|
|
198
|
-
currentUser:
|
|
199
|
-
userActivated:
|
|
200
|
-
isDefaultUser:
|
|
201
|
-
isInstanceOwner:
|
|
202
|
-
isAdmin:
|
|
203
|
-
isAdminOrOwner:
|
|
204
|
-
mfaEnabled:
|
|
205
|
-
globalRoleName:
|
|
206
|
-
userClaimedAiCredits:
|
|
207
|
-
isEasyAIWorkflowOnboardingDone:
|
|
208
|
-
canUserUpdateVersion:
|
|
209
|
-
usersLimitNotReached:
|
|
194
|
+
initialized: vue422.Ref<boolean, boolean>;
|
|
195
|
+
currentUserId: vue422.Ref<string | null, string | null>;
|
|
196
|
+
usersById: vue422.Ref<Record<string, IUser>, Record<string, IUser>>;
|
|
197
|
+
allUsers: vue422.ComputedRef<IUser[]>;
|
|
198
|
+
currentUser: vue422.ComputedRef<IUser | null>;
|
|
199
|
+
userActivated: vue422.ComputedRef<boolean>;
|
|
200
|
+
isDefaultUser: vue422.ComputedRef<boolean>;
|
|
201
|
+
isInstanceOwner: vue422.ComputedRef<boolean>;
|
|
202
|
+
isAdmin: vue422.ComputedRef<boolean>;
|
|
203
|
+
isAdminOrOwner: vue422.ComputedRef<boolean>;
|
|
204
|
+
mfaEnabled: vue422.ComputedRef<boolean>;
|
|
205
|
+
globalRoleName: vue422.ComputedRef<string>;
|
|
206
|
+
userClaimedAiCredits: vue422.ComputedRef<boolean | undefined>;
|
|
207
|
+
isEasyAIWorkflowOnboardingDone: vue422.ComputedRef<boolean>;
|
|
208
|
+
canUserUpdateVersion: vue422.ComputedRef<boolean>;
|
|
209
|
+
usersLimitNotReached: vue422.ComputedRef<boolean>;
|
|
210
210
|
addUsers: (newUsers: User[]) => void;
|
|
211
211
|
loginWithCookie: () => Promise<void>;
|
|
212
212
|
initialize: () => Promise<void>;
|
|
@@ -369,22 +369,22 @@ declare const useUsersStore: pinia6.StoreDefinition<"users", Pick<{
|
|
|
369
369
|
}[];
|
|
370
370
|
}, [filter?: UsersListFilterDto | undefined], true>;
|
|
371
371
|
}, "allUsers" | "currentUser" | "userActivated" | "isDefaultUser" | "isInstanceOwner" | "isAdmin" | "isAdminOrOwner" | "mfaEnabled" | "globalRoleName" | "userClaimedAiCredits" | "isEasyAIWorkflowOnboardingDone" | "canUserUpdateVersion" | "usersLimitNotReached">, Pick<{
|
|
372
|
-
initialized:
|
|
373
|
-
currentUserId:
|
|
374
|
-
usersById:
|
|
375
|
-
allUsers:
|
|
376
|
-
currentUser:
|
|
377
|
-
userActivated:
|
|
378
|
-
isDefaultUser:
|
|
379
|
-
isInstanceOwner:
|
|
380
|
-
isAdmin:
|
|
381
|
-
isAdminOrOwner:
|
|
382
|
-
mfaEnabled:
|
|
383
|
-
globalRoleName:
|
|
384
|
-
userClaimedAiCredits:
|
|
385
|
-
isEasyAIWorkflowOnboardingDone:
|
|
386
|
-
canUserUpdateVersion:
|
|
387
|
-
usersLimitNotReached:
|
|
372
|
+
initialized: vue422.Ref<boolean, boolean>;
|
|
373
|
+
currentUserId: vue422.Ref<string | null, string | null>;
|
|
374
|
+
usersById: vue422.Ref<Record<string, IUser>, Record<string, IUser>>;
|
|
375
|
+
allUsers: vue422.ComputedRef<IUser[]>;
|
|
376
|
+
currentUser: vue422.ComputedRef<IUser | null>;
|
|
377
|
+
userActivated: vue422.ComputedRef<boolean>;
|
|
378
|
+
isDefaultUser: vue422.ComputedRef<boolean>;
|
|
379
|
+
isInstanceOwner: vue422.ComputedRef<boolean>;
|
|
380
|
+
isAdmin: vue422.ComputedRef<boolean>;
|
|
381
|
+
isAdminOrOwner: vue422.ComputedRef<boolean>;
|
|
382
|
+
mfaEnabled: vue422.ComputedRef<boolean>;
|
|
383
|
+
globalRoleName: vue422.ComputedRef<string>;
|
|
384
|
+
userClaimedAiCredits: vue422.ComputedRef<boolean | undefined>;
|
|
385
|
+
isEasyAIWorkflowOnboardingDone: vue422.ComputedRef<boolean>;
|
|
386
|
+
canUserUpdateVersion: vue422.ComputedRef<boolean>;
|
|
387
|
+
usersLimitNotReached: vue422.ComputedRef<boolean>;
|
|
388
388
|
addUsers: (newUsers: User[]) => void;
|
|
389
389
|
loginWithCookie: () => Promise<void>;
|
|
390
390
|
initialize: () => Promise<void>;
|
package/dist/users.store.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as IInviteResponse } from "./invitation2.api.mjs";
|
|
2
2
|
import { t as ModalOpeners } from "./modalOpeners2.mjs";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as pinia5 from "pinia";
|
|
4
|
+
import * as vue326 from "vue";
|
|
5
5
|
import { LoginRequestDto, PasswordUpdateRequestDto, SettingsUpdateRequestDto, User, UserSelfSettingsUpdateRequestDto, UserUpdateRequestDto, UsersListFilterDto } from "@n8n/api-types";
|
|
6
6
|
import { AssignableGlobalRole } from "@n8n/permissions";
|
|
7
7
|
import * as _vueuse_core2 from "@vueuse/core";
|
|
@@ -12,23 +12,23 @@ import * as zod0 from "zod";
|
|
|
12
12
|
//#region src/users.store.d.ts
|
|
13
13
|
type LoginHook = (user: CurrentUserResponse) => void | Promise<void>;
|
|
14
14
|
type LogoutHook = () => void | Promise<void>;
|
|
15
|
-
declare const useUsersStore:
|
|
16
|
-
initialized:
|
|
17
|
-
currentUserId:
|
|
18
|
-
usersById:
|
|
19
|
-
allUsers:
|
|
20
|
-
currentUser:
|
|
21
|
-
userActivated:
|
|
22
|
-
isDefaultUser:
|
|
23
|
-
isInstanceOwner:
|
|
24
|
-
isAdmin:
|
|
25
|
-
isAdminOrOwner:
|
|
26
|
-
mfaEnabled:
|
|
27
|
-
globalRoleName:
|
|
28
|
-
userClaimedAiCredits:
|
|
29
|
-
isEasyAIWorkflowOnboardingDone:
|
|
30
|
-
canUserUpdateVersion:
|
|
31
|
-
usersLimitNotReached:
|
|
15
|
+
declare const useUsersStore: pinia5.StoreDefinition<"users", Pick<{
|
|
16
|
+
initialized: vue326.Ref<boolean, boolean>;
|
|
17
|
+
currentUserId: vue326.Ref<string | null, string | null>;
|
|
18
|
+
usersById: vue326.Ref<Record<string, IUser>, Record<string, IUser>>;
|
|
19
|
+
allUsers: vue326.ComputedRef<IUser[]>;
|
|
20
|
+
currentUser: vue326.ComputedRef<IUser | null>;
|
|
21
|
+
userActivated: vue326.ComputedRef<boolean>;
|
|
22
|
+
isDefaultUser: vue326.ComputedRef<boolean>;
|
|
23
|
+
isInstanceOwner: vue326.ComputedRef<boolean>;
|
|
24
|
+
isAdmin: vue326.ComputedRef<boolean>;
|
|
25
|
+
isAdminOrOwner: vue326.ComputedRef<boolean>;
|
|
26
|
+
mfaEnabled: vue326.ComputedRef<boolean>;
|
|
27
|
+
globalRoleName: vue326.ComputedRef<string>;
|
|
28
|
+
userClaimedAiCredits: vue326.ComputedRef<boolean | undefined>;
|
|
29
|
+
isEasyAIWorkflowOnboardingDone: vue326.ComputedRef<boolean>;
|
|
30
|
+
canUserUpdateVersion: vue326.ComputedRef<boolean>;
|
|
31
|
+
usersLimitNotReached: vue326.ComputedRef<boolean>;
|
|
32
32
|
addUsers: (newUsers: User[]) => void;
|
|
33
33
|
loginWithCookie: () => Promise<void>;
|
|
34
34
|
initialize: () => Promise<void>;
|
|
@@ -191,22 +191,22 @@ declare const useUsersStore: pinia6.StoreDefinition<"users", Pick<{
|
|
|
191
191
|
}[];
|
|
192
192
|
}, [filter?: UsersListFilterDto | undefined], true>;
|
|
193
193
|
}, "initialized" | "currentUserId" | "usersById" | "usersList">, Pick<{
|
|
194
|
-
initialized:
|
|
195
|
-
currentUserId:
|
|
196
|
-
usersById:
|
|
197
|
-
allUsers:
|
|
198
|
-
currentUser:
|
|
199
|
-
userActivated:
|
|
200
|
-
isDefaultUser:
|
|
201
|
-
isInstanceOwner:
|
|
202
|
-
isAdmin:
|
|
203
|
-
isAdminOrOwner:
|
|
204
|
-
mfaEnabled:
|
|
205
|
-
globalRoleName:
|
|
206
|
-
userClaimedAiCredits:
|
|
207
|
-
isEasyAIWorkflowOnboardingDone:
|
|
208
|
-
canUserUpdateVersion:
|
|
209
|
-
usersLimitNotReached:
|
|
194
|
+
initialized: vue326.Ref<boolean, boolean>;
|
|
195
|
+
currentUserId: vue326.Ref<string | null, string | null>;
|
|
196
|
+
usersById: vue326.Ref<Record<string, IUser>, Record<string, IUser>>;
|
|
197
|
+
allUsers: vue326.ComputedRef<IUser[]>;
|
|
198
|
+
currentUser: vue326.ComputedRef<IUser | null>;
|
|
199
|
+
userActivated: vue326.ComputedRef<boolean>;
|
|
200
|
+
isDefaultUser: vue326.ComputedRef<boolean>;
|
|
201
|
+
isInstanceOwner: vue326.ComputedRef<boolean>;
|
|
202
|
+
isAdmin: vue326.ComputedRef<boolean>;
|
|
203
|
+
isAdminOrOwner: vue326.ComputedRef<boolean>;
|
|
204
|
+
mfaEnabled: vue326.ComputedRef<boolean>;
|
|
205
|
+
globalRoleName: vue326.ComputedRef<string>;
|
|
206
|
+
userClaimedAiCredits: vue326.ComputedRef<boolean | undefined>;
|
|
207
|
+
isEasyAIWorkflowOnboardingDone: vue326.ComputedRef<boolean>;
|
|
208
|
+
canUserUpdateVersion: vue326.ComputedRef<boolean>;
|
|
209
|
+
usersLimitNotReached: vue326.ComputedRef<boolean>;
|
|
210
210
|
addUsers: (newUsers: User[]) => void;
|
|
211
211
|
loginWithCookie: () => Promise<void>;
|
|
212
212
|
initialize: () => Promise<void>;
|
|
@@ -369,22 +369,22 @@ declare const useUsersStore: pinia6.StoreDefinition<"users", Pick<{
|
|
|
369
369
|
}[];
|
|
370
370
|
}, [filter?: UsersListFilterDto | undefined], true>;
|
|
371
371
|
}, "allUsers" | "currentUser" | "userActivated" | "isDefaultUser" | "isInstanceOwner" | "isAdmin" | "isAdminOrOwner" | "mfaEnabled" | "globalRoleName" | "userClaimedAiCredits" | "isEasyAIWorkflowOnboardingDone" | "canUserUpdateVersion" | "usersLimitNotReached">, Pick<{
|
|
372
|
-
initialized:
|
|
373
|
-
currentUserId:
|
|
374
|
-
usersById:
|
|
375
|
-
allUsers:
|
|
376
|
-
currentUser:
|
|
377
|
-
userActivated:
|
|
378
|
-
isDefaultUser:
|
|
379
|
-
isInstanceOwner:
|
|
380
|
-
isAdmin:
|
|
381
|
-
isAdminOrOwner:
|
|
382
|
-
mfaEnabled:
|
|
383
|
-
globalRoleName:
|
|
384
|
-
userClaimedAiCredits:
|
|
385
|
-
isEasyAIWorkflowOnboardingDone:
|
|
386
|
-
canUserUpdateVersion:
|
|
387
|
-
usersLimitNotReached:
|
|
372
|
+
initialized: vue326.Ref<boolean, boolean>;
|
|
373
|
+
currentUserId: vue326.Ref<string | null, string | null>;
|
|
374
|
+
usersById: vue326.Ref<Record<string, IUser>, Record<string, IUser>>;
|
|
375
|
+
allUsers: vue326.ComputedRef<IUser[]>;
|
|
376
|
+
currentUser: vue326.ComputedRef<IUser | null>;
|
|
377
|
+
userActivated: vue326.ComputedRef<boolean>;
|
|
378
|
+
isDefaultUser: vue326.ComputedRef<boolean>;
|
|
379
|
+
isInstanceOwner: vue326.ComputedRef<boolean>;
|
|
380
|
+
isAdmin: vue326.ComputedRef<boolean>;
|
|
381
|
+
isAdminOrOwner: vue326.ComputedRef<boolean>;
|
|
382
|
+
mfaEnabled: vue326.ComputedRef<boolean>;
|
|
383
|
+
globalRoleName: vue326.ComputedRef<string>;
|
|
384
|
+
userClaimedAiCredits: vue326.ComputedRef<boolean | undefined>;
|
|
385
|
+
isEasyAIWorkflowOnboardingDone: vue326.ComputedRef<boolean>;
|
|
386
|
+
canUserUpdateVersion: vue326.ComputedRef<boolean>;
|
|
387
|
+
usersLimitNotReached: vue326.ComputedRef<boolean>;
|
|
388
388
|
addUsers: (newUsers: User[]) => void;
|
|
389
389
|
loginWithCookie: () => Promise<void>;
|
|
390
390
|
initialize: () => Promise<void>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as ModalOpeners } from "./modalOpeners2.cjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue395 from "vue";
|
|
3
|
+
import * as pinia6 from "pinia";
|
|
4
4
|
import { IVersionNotificationSettings } from "@n8n/api-types";
|
|
5
5
|
import * as n8n_workflow5 from "n8n-workflow";
|
|
6
6
|
import * as versionsApi from "@n8n/rest-api-client/api/versions";
|
|
@@ -12,9 +12,9 @@ type SetVersionParams = {
|
|
|
12
12
|
currentVersion: string;
|
|
13
13
|
};
|
|
14
14
|
declare const SEMVER_REGEX: RegExp;
|
|
15
|
-
declare const useVersionsStore:
|
|
16
|
-
currentVersion:
|
|
17
|
-
latestVersion:
|
|
15
|
+
declare const useVersionsStore: pinia6.StoreDefinition<"versions", Pick<{
|
|
16
|
+
currentVersion: vue395.Ref<versionsApi.Version | undefined, versionsApi.Version | undefined>;
|
|
17
|
+
latestVersion: vue395.ComputedRef<{
|
|
18
18
|
name: string;
|
|
19
19
|
nodes: {
|
|
20
20
|
name: string;
|
|
@@ -37,7 +37,7 @@ declare const useVersionsStore: pinia7.StoreDefinition<"versions", Pick<{
|
|
|
37
37
|
hasSecurityIssue: boolean;
|
|
38
38
|
securityIssueFixVersion: string;
|
|
39
39
|
}>;
|
|
40
|
-
nextVersions:
|
|
40
|
+
nextVersions: vue395.Ref<{
|
|
41
41
|
name: string;
|
|
42
42
|
nodes: {
|
|
43
43
|
name: string;
|
|
@@ -82,17 +82,17 @@ declare const useVersionsStore: pinia7.StoreDefinition<"versions", Pick<{
|
|
|
82
82
|
hasSecurityIssue: boolean;
|
|
83
83
|
securityIssueFixVersion: string;
|
|
84
84
|
}[]>;
|
|
85
|
-
hasVersionUpdates:
|
|
86
|
-
hasSignificantUpdates:
|
|
87
|
-
areNotificationsEnabled:
|
|
88
|
-
infoUrl:
|
|
85
|
+
hasVersionUpdates: vue395.ComputedRef<boolean>;
|
|
86
|
+
hasSignificantUpdates: vue395.ComputedRef<boolean>;
|
|
87
|
+
areNotificationsEnabled: vue395.ComputedRef<boolean>;
|
|
88
|
+
infoUrl: vue395.ComputedRef<string>;
|
|
89
89
|
fetchVersions: () => Promise<void>;
|
|
90
90
|
setVersions: (params: SetVersionParams) => void;
|
|
91
91
|
initialize: (settings: IVersionNotificationSettings) => void;
|
|
92
92
|
registerModalOpeners: (openers: ModalOpeners) => void;
|
|
93
93
|
checkForNewVersions: () => Promise<void>;
|
|
94
94
|
fetchWhatsNew: () => Promise<void>;
|
|
95
|
-
whatsNew:
|
|
95
|
+
whatsNew: vue395.Ref<{
|
|
96
96
|
title: string;
|
|
97
97
|
calloutText: string;
|
|
98
98
|
footer: string;
|
|
@@ -121,7 +121,7 @@ declare const useVersionsStore: pinia7.StoreDefinition<"versions", Pick<{
|
|
|
121
121
|
createdAt: string;
|
|
122
122
|
updatedAt: string | null;
|
|
123
123
|
}>;
|
|
124
|
-
whatsNewArticles:
|
|
124
|
+
whatsNewArticles: vue395.ComputedRef<{
|
|
125
125
|
id: number;
|
|
126
126
|
createdAt: string;
|
|
127
127
|
updatedAt: string | null;
|
|
@@ -135,8 +135,8 @@ declare const useVersionsStore: pinia7.StoreDefinition<"versions", Pick<{
|
|
|
135
135
|
shouldShowWhatsNewCallout: () => boolean;
|
|
136
136
|
dismissWhatsNewCallout: () => void;
|
|
137
137
|
}, "currentVersion" | "nextVersions" | "whatsNew">, Pick<{
|
|
138
|
-
currentVersion:
|
|
139
|
-
latestVersion:
|
|
138
|
+
currentVersion: vue395.Ref<versionsApi.Version | undefined, versionsApi.Version | undefined>;
|
|
139
|
+
latestVersion: vue395.ComputedRef<{
|
|
140
140
|
name: string;
|
|
141
141
|
nodes: {
|
|
142
142
|
name: string;
|
|
@@ -159,7 +159,7 @@ declare const useVersionsStore: pinia7.StoreDefinition<"versions", Pick<{
|
|
|
159
159
|
hasSecurityIssue: boolean;
|
|
160
160
|
securityIssueFixVersion: string;
|
|
161
161
|
}>;
|
|
162
|
-
nextVersions:
|
|
162
|
+
nextVersions: vue395.Ref<{
|
|
163
163
|
name: string;
|
|
164
164
|
nodes: {
|
|
165
165
|
name: string;
|
|
@@ -204,17 +204,17 @@ declare const useVersionsStore: pinia7.StoreDefinition<"versions", Pick<{
|
|
|
204
204
|
hasSecurityIssue: boolean;
|
|
205
205
|
securityIssueFixVersion: string;
|
|
206
206
|
}[]>;
|
|
207
|
-
hasVersionUpdates:
|
|
208
|
-
hasSignificantUpdates:
|
|
209
|
-
areNotificationsEnabled:
|
|
210
|
-
infoUrl:
|
|
207
|
+
hasVersionUpdates: vue395.ComputedRef<boolean>;
|
|
208
|
+
hasSignificantUpdates: vue395.ComputedRef<boolean>;
|
|
209
|
+
areNotificationsEnabled: vue395.ComputedRef<boolean>;
|
|
210
|
+
infoUrl: vue395.ComputedRef<string>;
|
|
211
211
|
fetchVersions: () => Promise<void>;
|
|
212
212
|
setVersions: (params: SetVersionParams) => void;
|
|
213
213
|
initialize: (settings: IVersionNotificationSettings) => void;
|
|
214
214
|
registerModalOpeners: (openers: ModalOpeners) => void;
|
|
215
215
|
checkForNewVersions: () => Promise<void>;
|
|
216
216
|
fetchWhatsNew: () => Promise<void>;
|
|
217
|
-
whatsNew:
|
|
217
|
+
whatsNew: vue395.Ref<{
|
|
218
218
|
title: string;
|
|
219
219
|
calloutText: string;
|
|
220
220
|
footer: string;
|
|
@@ -243,7 +243,7 @@ declare const useVersionsStore: pinia7.StoreDefinition<"versions", Pick<{
|
|
|
243
243
|
createdAt: string;
|
|
244
244
|
updatedAt: string | null;
|
|
245
245
|
}>;
|
|
246
|
-
whatsNewArticles:
|
|
246
|
+
whatsNewArticles: vue395.ComputedRef<{
|
|
247
247
|
id: number;
|
|
248
248
|
createdAt: string;
|
|
249
249
|
updatedAt: string | null;
|
|
@@ -257,8 +257,8 @@ declare const useVersionsStore: pinia7.StoreDefinition<"versions", Pick<{
|
|
|
257
257
|
shouldShowWhatsNewCallout: () => boolean;
|
|
258
258
|
dismissWhatsNewCallout: () => void;
|
|
259
259
|
}, "latestVersion" | "infoUrl" | "hasVersionUpdates" | "hasSignificantUpdates" | "areNotificationsEnabled" | "whatsNewArticles">, Pick<{
|
|
260
|
-
currentVersion:
|
|
261
|
-
latestVersion:
|
|
260
|
+
currentVersion: vue395.Ref<versionsApi.Version | undefined, versionsApi.Version | undefined>;
|
|
261
|
+
latestVersion: vue395.ComputedRef<{
|
|
262
262
|
name: string;
|
|
263
263
|
nodes: {
|
|
264
264
|
name: string;
|
|
@@ -281,7 +281,7 @@ declare const useVersionsStore: pinia7.StoreDefinition<"versions", Pick<{
|
|
|
281
281
|
hasSecurityIssue: boolean;
|
|
282
282
|
securityIssueFixVersion: string;
|
|
283
283
|
}>;
|
|
284
|
-
nextVersions:
|
|
284
|
+
nextVersions: vue395.Ref<{
|
|
285
285
|
name: string;
|
|
286
286
|
nodes: {
|
|
287
287
|
name: string;
|
|
@@ -326,17 +326,17 @@ declare const useVersionsStore: pinia7.StoreDefinition<"versions", Pick<{
|
|
|
326
326
|
hasSecurityIssue: boolean;
|
|
327
327
|
securityIssueFixVersion: string;
|
|
328
328
|
}[]>;
|
|
329
|
-
hasVersionUpdates:
|
|
330
|
-
hasSignificantUpdates:
|
|
331
|
-
areNotificationsEnabled:
|
|
332
|
-
infoUrl:
|
|
329
|
+
hasVersionUpdates: vue395.ComputedRef<boolean>;
|
|
330
|
+
hasSignificantUpdates: vue395.ComputedRef<boolean>;
|
|
331
|
+
areNotificationsEnabled: vue395.ComputedRef<boolean>;
|
|
332
|
+
infoUrl: vue395.ComputedRef<string>;
|
|
333
333
|
fetchVersions: () => Promise<void>;
|
|
334
334
|
setVersions: (params: SetVersionParams) => void;
|
|
335
335
|
initialize: (settings: IVersionNotificationSettings) => void;
|
|
336
336
|
registerModalOpeners: (openers: ModalOpeners) => void;
|
|
337
337
|
checkForNewVersions: () => Promise<void>;
|
|
338
338
|
fetchWhatsNew: () => Promise<void>;
|
|
339
|
-
whatsNew:
|
|
339
|
+
whatsNew: vue395.Ref<{
|
|
340
340
|
title: string;
|
|
341
341
|
calloutText: string;
|
|
342
342
|
footer: string;
|
|
@@ -365,7 +365,7 @@ declare const useVersionsStore: pinia7.StoreDefinition<"versions", Pick<{
|
|
|
365
365
|
createdAt: string;
|
|
366
366
|
updatedAt: string | null;
|
|
367
367
|
}>;
|
|
368
|
-
whatsNewArticles:
|
|
368
|
+
whatsNewArticles: vue395.ComputedRef<{
|
|
369
369
|
id: number;
|
|
370
370
|
createdAt: string;
|
|
371
371
|
updatedAt: string | null;
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@n8n/stores",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.35.
|
|
4
|
+
"version": "2.35.4",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
7
|
-
"
|
|
8
|
-
"
|
|
7
|
+
"LICENSE_EE.md",
|
|
8
|
+
"LICENSE.md"
|
|
9
9
|
],
|
|
10
10
|
"main": "dist/index.cjs",
|
|
11
11
|
"module": "dist/index.mjs",
|
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
"bowser": "2.11.0",
|
|
28
28
|
"pinia": "^2.2.4",
|
|
29
29
|
"vue": "^3.5.13",
|
|
30
|
-
"@n8n/api-types": "1.35.
|
|
31
|
-
"@n8n/composables": "1.25.2",
|
|
32
|
-
"@n8n/i18n": "2.35.2",
|
|
30
|
+
"@n8n/api-types": "1.35.4",
|
|
33
31
|
"@n8n/frontend-constants": "0.4.0",
|
|
34
|
-
"@n8n/permissions": "0.72.0",
|
|
35
32
|
"@n8n/constants": "0.34.0",
|
|
36
|
-
"@n8n/
|
|
37
|
-
"n8n
|
|
33
|
+
"@n8n/i18n": "2.35.4",
|
|
34
|
+
"@n8n/composables": "1.25.4",
|
|
35
|
+
"@n8n/rest-api-client": "2.35.4",
|
|
36
|
+
"n8n-workflow": "2.35.3",
|
|
37
|
+
"@n8n/permissions": "0.72.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@testing-library/jest-dom": "^6.6.3",
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"vitest": "^4.1.9",
|
|
50
50
|
"vitest-mock-extended": "^3.1.0",
|
|
51
51
|
"vue-tsc": "^2.2.8",
|
|
52
|
+
"@n8n/eslint-config": "0.0.1",
|
|
52
53
|
"@n8n/playwright-janitor": "0.1.0",
|
|
53
54
|
"@n8n/typescript-config": "1.9.0",
|
|
54
|
-
"@n8n/eslint-config": "0.0.1",
|
|
55
55
|
"@n8n/vitest-config": "1.20.0"
|
|
56
56
|
},
|
|
57
57
|
"license": "SEE LICENSE IN LICENSE.md",
|