@n8n/stores 2.36.3 → 2.36.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cloudPlan.store.d.mts +2 -2
- package/dist/notifications.store.d.mts +2 -2
- package/dist/rbac.store.d.cts +105 -105
- package/dist/rbac.store.d.mts +105 -105
- package/dist/roles.store.d.cts +21 -21
- package/dist/roles.store.d.mts +21 -21
- package/dist/settings.store.d.cts +237 -237
- package/dist/settings.store.d.mts +237 -237
- package/dist/useAgentRequestStore.d.mts +2 -2
- package/dist/useRootStore.d.mts +73 -73
- package/dist/users.store.d.cts +1 -1
- package/dist/users.store.d.mts +3 -3
- package/dist/versions.store.d.mts +2 -2
- package/package.json +12 -12
package/dist/rbac.store.d.mts
CHANGED
|
@@ -1,36 +1,42 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as pinia2 from "pinia";
|
|
2
|
+
import * as vue233 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: vue233.Ref<Role[], Role[]>;
|
|
9
|
+
rolesByProjectId: vue233.Ref<Record<string, string[]>, Record<string, string[]>>;
|
|
10
|
+
globalScopes: vue233.Ref<Scope[], Scope[]>;
|
|
11
|
+
scopesByProjectId: vue233.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
|
|
12
|
+
scopesByResourceId: vue233.Ref<{
|
|
13
13
|
chatHub: Record<string, Scope[]>;
|
|
14
|
-
|
|
14
|
+
logStreaming: Record<string, Scope[]>;
|
|
15
15
|
aiAssistant: Record<string, Scope[]>;
|
|
16
|
-
|
|
16
|
+
license: Record<string, Scope[]>;
|
|
17
|
+
ldap: Record<string, Scope[]>;
|
|
18
|
+
saml: Record<string, Scope[]>;
|
|
19
|
+
oidc: Record<string, Scope[]>;
|
|
20
|
+
sourceControl: Record<string, Scope[]>;
|
|
17
21
|
auditLogs: Record<string, Scope[]>;
|
|
18
|
-
|
|
22
|
+
provisioning: Record<string, Scope[]>;
|
|
19
23
|
community: Record<string, Scope[]>;
|
|
24
|
+
insights: Record<string, Scope[]>;
|
|
25
|
+
mcp: Record<string, Scope[]>;
|
|
26
|
+
otel: Record<string, Scope[]>;
|
|
27
|
+
apiKey: Record<string, Scope[]>;
|
|
28
|
+
agent: Record<string, Scope[]>;
|
|
29
|
+
annotationTag: Record<string, Scope[]>;
|
|
30
|
+
banner: Record<string, Scope[]>;
|
|
20
31
|
communityPackage: Record<string, Scope[]>;
|
|
21
32
|
credential: Record<string, Scope[]>;
|
|
22
33
|
externalSecretsProvider: Record<string, Scope[]>;
|
|
23
34
|
externalSecret: Record<string, Scope[]>;
|
|
24
35
|
eventBusDestination: Record<string, Scope[]>;
|
|
25
|
-
ldap: Record<string, Scope[]>;
|
|
26
|
-
license: Record<string, Scope[]>;
|
|
27
|
-
logStreaming: Record<string, Scope[]>;
|
|
28
36
|
orchestration: Record<string, Scope[]>;
|
|
29
37
|
project: Record<string, Scope[]>;
|
|
30
|
-
saml: Record<string, Scope[]>;
|
|
31
38
|
securityAudit: Record<string, Scope[]>;
|
|
32
39
|
securitySettings: Record<string, Scope[]>;
|
|
33
|
-
sourceControl: Record<string, Scope[]>;
|
|
34
40
|
tag: Record<string, Scope[]>;
|
|
35
41
|
user: Record<string, Scope[]>;
|
|
36
42
|
variable: Record<string, Scope[]>;
|
|
@@ -38,46 +44,46 @@ declare const useRBACStore: pinia0.StoreDefinition<"rbac", Pick<{
|
|
|
38
44
|
workersView: Record<string, Scope[]>;
|
|
39
45
|
workflow: Record<string, Scope[]>;
|
|
40
46
|
folder: Record<string, Scope[]>;
|
|
41
|
-
insights: Record<string, Scope[]>;
|
|
42
|
-
oidc: Record<string, Scope[]>;
|
|
43
|
-
provisioning: Record<string, Scope[]>;
|
|
44
47
|
dataTable: Record<string, Scope[]>;
|
|
45
48
|
execution: Record<string, Scope[]>;
|
|
46
49
|
testRun: Record<string, Scope[]>;
|
|
47
50
|
workflowTags: Record<string, Scope[]>;
|
|
48
51
|
role: Record<string, Scope[]>;
|
|
49
|
-
mcp: Record<string, Scope[]>;
|
|
50
52
|
mcpApiKey: Record<string, Scope[]>;
|
|
51
53
|
chatHubAgent: Record<string, Scope[]>;
|
|
52
54
|
breakingChanges: Record<string, Scope[]>;
|
|
53
|
-
apiKey: Record<string, Scope[]>;
|
|
54
55
|
encryptionKey: Record<string, Scope[]>;
|
|
55
56
|
credentialResolver: Record<string, Scope[]>;
|
|
56
57
|
instanceAi: Record<string, Scope[]>;
|
|
57
58
|
roleMappingRule: Record<string, Scope[]>;
|
|
58
|
-
|
|
59
|
-
}, Record<"chatHub" | "agent" | "aiAssistant" | "annotationTag" | "auditLogs" | "banner" | "community" | "communityPackage" | "credential" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "ldap" | "license" | "logStreaming" | "orchestration" | "project" | "saml" | "securityAudit" | "securitySettings" | "sourceControl" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "workflow" | "folder" | "insights" | "oidc" | "provisioning" | "dataTable" | "execution" | "testRun" | "workflowTags" | "role" | "mcp" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "apiKey" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule" | "otel", Record<string, Scope[]>> | {
|
|
59
|
+
}, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "apiKey" | "agent" | "annotationTag" | "banner" | "communityPackage" | "credential" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "project" | "securityAudit" | "securitySettings" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "workflow" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "role" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule", Record<string, Scope[]>> | {
|
|
60
60
|
chatHub: Record<string, Scope[]>;
|
|
61
|
-
|
|
61
|
+
logStreaming: Record<string, Scope[]>;
|
|
62
62
|
aiAssistant: Record<string, Scope[]>;
|
|
63
|
-
|
|
63
|
+
license: Record<string, Scope[]>;
|
|
64
|
+
ldap: Record<string, Scope[]>;
|
|
65
|
+
saml: Record<string, Scope[]>;
|
|
66
|
+
oidc: Record<string, Scope[]>;
|
|
67
|
+
sourceControl: Record<string, Scope[]>;
|
|
64
68
|
auditLogs: Record<string, Scope[]>;
|
|
65
|
-
|
|
69
|
+
provisioning: Record<string, Scope[]>;
|
|
66
70
|
community: Record<string, Scope[]>;
|
|
71
|
+
insights: Record<string, Scope[]>;
|
|
72
|
+
mcp: Record<string, Scope[]>;
|
|
73
|
+
otel: Record<string, Scope[]>;
|
|
74
|
+
apiKey: Record<string, Scope[]>;
|
|
75
|
+
agent: Record<string, Scope[]>;
|
|
76
|
+
annotationTag: Record<string, Scope[]>;
|
|
77
|
+
banner: Record<string, Scope[]>;
|
|
67
78
|
communityPackage: Record<string, Scope[]>;
|
|
68
79
|
credential: Record<string, Scope[]>;
|
|
69
80
|
externalSecretsProvider: Record<string, Scope[]>;
|
|
70
81
|
externalSecret: Record<string, Scope[]>;
|
|
71
82
|
eventBusDestination: Record<string, Scope[]>;
|
|
72
|
-
ldap: Record<string, Scope[]>;
|
|
73
|
-
license: Record<string, Scope[]>;
|
|
74
|
-
logStreaming: Record<string, Scope[]>;
|
|
75
83
|
orchestration: Record<string, Scope[]>;
|
|
76
84
|
project: Record<string, Scope[]>;
|
|
77
|
-
saml: Record<string, Scope[]>;
|
|
78
85
|
securityAudit: Record<string, Scope[]>;
|
|
79
86
|
securitySettings: Record<string, Scope[]>;
|
|
80
|
-
sourceControl: Record<string, Scope[]>;
|
|
81
87
|
tag: Record<string, Scope[]>;
|
|
82
88
|
user: Record<string, Scope[]>;
|
|
83
89
|
variable: Record<string, Scope[]>;
|
|
@@ -85,24 +91,18 @@ declare const useRBACStore: pinia0.StoreDefinition<"rbac", Pick<{
|
|
|
85
91
|
workersView: Record<string, Scope[]>;
|
|
86
92
|
workflow: Record<string, Scope[]>;
|
|
87
93
|
folder: Record<string, Scope[]>;
|
|
88
|
-
insights: Record<string, Scope[]>;
|
|
89
|
-
oidc: Record<string, Scope[]>;
|
|
90
|
-
provisioning: Record<string, Scope[]>;
|
|
91
94
|
dataTable: Record<string, Scope[]>;
|
|
92
95
|
execution: Record<string, Scope[]>;
|
|
93
96
|
testRun: Record<string, Scope[]>;
|
|
94
97
|
workflowTags: Record<string, Scope[]>;
|
|
95
98
|
role: Record<string, Scope[]>;
|
|
96
|
-
mcp: Record<string, Scope[]>;
|
|
97
99
|
mcpApiKey: Record<string, Scope[]>;
|
|
98
100
|
chatHubAgent: Record<string, Scope[]>;
|
|
99
101
|
breakingChanges: Record<string, Scope[]>;
|
|
100
|
-
apiKey: Record<string, Scope[]>;
|
|
101
102
|
encryptionKey: Record<string, Scope[]>;
|
|
102
103
|
credentialResolver: Record<string, Scope[]>;
|
|
103
104
|
instanceAi: Record<string, Scope[]>;
|
|
104
105
|
roleMappingRule: Record<string, Scope[]>;
|
|
105
|
-
otel: Record<string, Scope[]>;
|
|
106
106
|
}>;
|
|
107
107
|
addGlobalRole: (role: Role) => void;
|
|
108
108
|
hasRole: (role: Role) => boolean;
|
|
@@ -121,32 +121,38 @@ declare const useRBACStore: pinia0.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: vue233.Ref<Role[], Role[]>;
|
|
125
|
+
rolesByProjectId: vue233.Ref<Record<string, string[]>, Record<string, string[]>>;
|
|
126
|
+
globalScopes: vue233.Ref<Scope[], Scope[]>;
|
|
127
|
+
scopesByProjectId: vue233.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
|
|
128
|
+
scopesByResourceId: vue233.Ref<{
|
|
129
129
|
chatHub: Record<string, Scope[]>;
|
|
130
|
-
|
|
130
|
+
logStreaming: Record<string, Scope[]>;
|
|
131
131
|
aiAssistant: Record<string, Scope[]>;
|
|
132
|
-
|
|
132
|
+
license: Record<string, Scope[]>;
|
|
133
|
+
ldap: Record<string, Scope[]>;
|
|
134
|
+
saml: Record<string, Scope[]>;
|
|
135
|
+
oidc: Record<string, Scope[]>;
|
|
136
|
+
sourceControl: Record<string, Scope[]>;
|
|
133
137
|
auditLogs: Record<string, Scope[]>;
|
|
134
|
-
|
|
138
|
+
provisioning: Record<string, Scope[]>;
|
|
135
139
|
community: Record<string, Scope[]>;
|
|
140
|
+
insights: Record<string, Scope[]>;
|
|
141
|
+
mcp: Record<string, Scope[]>;
|
|
142
|
+
otel: Record<string, Scope[]>;
|
|
143
|
+
apiKey: Record<string, Scope[]>;
|
|
144
|
+
agent: Record<string, Scope[]>;
|
|
145
|
+
annotationTag: Record<string, Scope[]>;
|
|
146
|
+
banner: Record<string, Scope[]>;
|
|
136
147
|
communityPackage: Record<string, Scope[]>;
|
|
137
148
|
credential: Record<string, Scope[]>;
|
|
138
149
|
externalSecretsProvider: Record<string, Scope[]>;
|
|
139
150
|
externalSecret: Record<string, Scope[]>;
|
|
140
151
|
eventBusDestination: Record<string, Scope[]>;
|
|
141
|
-
ldap: Record<string, Scope[]>;
|
|
142
|
-
license: Record<string, Scope[]>;
|
|
143
|
-
logStreaming: Record<string, Scope[]>;
|
|
144
152
|
orchestration: Record<string, Scope[]>;
|
|
145
153
|
project: Record<string, Scope[]>;
|
|
146
|
-
saml: Record<string, Scope[]>;
|
|
147
154
|
securityAudit: Record<string, Scope[]>;
|
|
148
155
|
securitySettings: Record<string, Scope[]>;
|
|
149
|
-
sourceControl: Record<string, Scope[]>;
|
|
150
156
|
tag: Record<string, Scope[]>;
|
|
151
157
|
user: Record<string, Scope[]>;
|
|
152
158
|
variable: Record<string, Scope[]>;
|
|
@@ -154,46 +160,46 @@ declare const useRBACStore: pinia0.StoreDefinition<"rbac", Pick<{
|
|
|
154
160
|
workersView: Record<string, Scope[]>;
|
|
155
161
|
workflow: Record<string, Scope[]>;
|
|
156
162
|
folder: Record<string, Scope[]>;
|
|
157
|
-
insights: Record<string, Scope[]>;
|
|
158
|
-
oidc: Record<string, Scope[]>;
|
|
159
|
-
provisioning: Record<string, Scope[]>;
|
|
160
163
|
dataTable: Record<string, Scope[]>;
|
|
161
164
|
execution: Record<string, Scope[]>;
|
|
162
165
|
testRun: Record<string, Scope[]>;
|
|
163
166
|
workflowTags: Record<string, Scope[]>;
|
|
164
167
|
role: Record<string, Scope[]>;
|
|
165
|
-
mcp: Record<string, Scope[]>;
|
|
166
168
|
mcpApiKey: Record<string, Scope[]>;
|
|
167
169
|
chatHubAgent: Record<string, Scope[]>;
|
|
168
170
|
breakingChanges: Record<string, Scope[]>;
|
|
169
|
-
apiKey: Record<string, Scope[]>;
|
|
170
171
|
encryptionKey: Record<string, Scope[]>;
|
|
171
172
|
credentialResolver: Record<string, Scope[]>;
|
|
172
173
|
instanceAi: Record<string, Scope[]>;
|
|
173
174
|
roleMappingRule: Record<string, Scope[]>;
|
|
174
|
-
|
|
175
|
-
}, Record<"chatHub" | "agent" | "aiAssistant" | "annotationTag" | "auditLogs" | "banner" | "community" | "communityPackage" | "credential" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "ldap" | "license" | "logStreaming" | "orchestration" | "project" | "saml" | "securityAudit" | "securitySettings" | "sourceControl" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "workflow" | "folder" | "insights" | "oidc" | "provisioning" | "dataTable" | "execution" | "testRun" | "workflowTags" | "role" | "mcp" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "apiKey" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule" | "otel", Record<string, Scope[]>> | {
|
|
175
|
+
}, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "apiKey" | "agent" | "annotationTag" | "banner" | "communityPackage" | "credential" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "project" | "securityAudit" | "securitySettings" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "workflow" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "role" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule", Record<string, Scope[]>> | {
|
|
176
176
|
chatHub: Record<string, Scope[]>;
|
|
177
|
-
|
|
177
|
+
logStreaming: Record<string, Scope[]>;
|
|
178
178
|
aiAssistant: Record<string, Scope[]>;
|
|
179
|
-
|
|
179
|
+
license: Record<string, Scope[]>;
|
|
180
|
+
ldap: Record<string, Scope[]>;
|
|
181
|
+
saml: Record<string, Scope[]>;
|
|
182
|
+
oidc: Record<string, Scope[]>;
|
|
183
|
+
sourceControl: Record<string, Scope[]>;
|
|
180
184
|
auditLogs: Record<string, Scope[]>;
|
|
181
|
-
|
|
185
|
+
provisioning: Record<string, Scope[]>;
|
|
182
186
|
community: Record<string, Scope[]>;
|
|
187
|
+
insights: Record<string, Scope[]>;
|
|
188
|
+
mcp: Record<string, Scope[]>;
|
|
189
|
+
otel: Record<string, Scope[]>;
|
|
190
|
+
apiKey: Record<string, Scope[]>;
|
|
191
|
+
agent: Record<string, Scope[]>;
|
|
192
|
+
annotationTag: Record<string, Scope[]>;
|
|
193
|
+
banner: Record<string, Scope[]>;
|
|
183
194
|
communityPackage: Record<string, Scope[]>;
|
|
184
195
|
credential: Record<string, Scope[]>;
|
|
185
196
|
externalSecretsProvider: Record<string, Scope[]>;
|
|
186
197
|
externalSecret: Record<string, Scope[]>;
|
|
187
198
|
eventBusDestination: Record<string, Scope[]>;
|
|
188
|
-
ldap: Record<string, Scope[]>;
|
|
189
|
-
license: Record<string, Scope[]>;
|
|
190
|
-
logStreaming: Record<string, Scope[]>;
|
|
191
199
|
orchestration: Record<string, Scope[]>;
|
|
192
200
|
project: Record<string, Scope[]>;
|
|
193
|
-
saml: Record<string, Scope[]>;
|
|
194
201
|
securityAudit: Record<string, Scope[]>;
|
|
195
202
|
securitySettings: Record<string, Scope[]>;
|
|
196
|
-
sourceControl: Record<string, Scope[]>;
|
|
197
203
|
tag: Record<string, Scope[]>;
|
|
198
204
|
user: Record<string, Scope[]>;
|
|
199
205
|
variable: Record<string, Scope[]>;
|
|
@@ -201,24 +207,18 @@ declare const useRBACStore: pinia0.StoreDefinition<"rbac", Pick<{
|
|
|
201
207
|
workersView: Record<string, Scope[]>;
|
|
202
208
|
workflow: Record<string, Scope[]>;
|
|
203
209
|
folder: Record<string, Scope[]>;
|
|
204
|
-
insights: Record<string, Scope[]>;
|
|
205
|
-
oidc: Record<string, Scope[]>;
|
|
206
|
-
provisioning: Record<string, Scope[]>;
|
|
207
210
|
dataTable: Record<string, Scope[]>;
|
|
208
211
|
execution: Record<string, Scope[]>;
|
|
209
212
|
testRun: Record<string, Scope[]>;
|
|
210
213
|
workflowTags: Record<string, Scope[]>;
|
|
211
214
|
role: Record<string, Scope[]>;
|
|
212
|
-
mcp: Record<string, Scope[]>;
|
|
213
215
|
mcpApiKey: Record<string, Scope[]>;
|
|
214
216
|
chatHubAgent: Record<string, Scope[]>;
|
|
215
217
|
breakingChanges: Record<string, Scope[]>;
|
|
216
|
-
apiKey: Record<string, Scope[]>;
|
|
217
218
|
encryptionKey: Record<string, Scope[]>;
|
|
218
219
|
credentialResolver: Record<string, Scope[]>;
|
|
219
220
|
instanceAi: Record<string, Scope[]>;
|
|
220
221
|
roleMappingRule: Record<string, Scope[]>;
|
|
221
|
-
otel: Record<string, Scope[]>;
|
|
222
222
|
}>;
|
|
223
223
|
addGlobalRole: (role: Role) => void;
|
|
224
224
|
hasRole: (role: Role) => boolean;
|
|
@@ -237,32 +237,38 @@ declare const useRBACStore: pinia0.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: vue233.Ref<Role[], Role[]>;
|
|
241
|
+
rolesByProjectId: vue233.Ref<Record<string, string[]>, Record<string, string[]>>;
|
|
242
|
+
globalScopes: vue233.Ref<Scope[], Scope[]>;
|
|
243
|
+
scopesByProjectId: vue233.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
|
|
244
|
+
scopesByResourceId: vue233.Ref<{
|
|
245
245
|
chatHub: Record<string, Scope[]>;
|
|
246
|
-
|
|
246
|
+
logStreaming: Record<string, Scope[]>;
|
|
247
247
|
aiAssistant: Record<string, Scope[]>;
|
|
248
|
-
|
|
248
|
+
license: Record<string, Scope[]>;
|
|
249
|
+
ldap: Record<string, Scope[]>;
|
|
250
|
+
saml: Record<string, Scope[]>;
|
|
251
|
+
oidc: Record<string, Scope[]>;
|
|
252
|
+
sourceControl: Record<string, Scope[]>;
|
|
249
253
|
auditLogs: Record<string, Scope[]>;
|
|
250
|
-
|
|
254
|
+
provisioning: Record<string, Scope[]>;
|
|
251
255
|
community: Record<string, Scope[]>;
|
|
256
|
+
insights: Record<string, Scope[]>;
|
|
257
|
+
mcp: Record<string, Scope[]>;
|
|
258
|
+
otel: Record<string, Scope[]>;
|
|
259
|
+
apiKey: Record<string, Scope[]>;
|
|
260
|
+
agent: Record<string, Scope[]>;
|
|
261
|
+
annotationTag: Record<string, Scope[]>;
|
|
262
|
+
banner: Record<string, Scope[]>;
|
|
252
263
|
communityPackage: Record<string, Scope[]>;
|
|
253
264
|
credential: Record<string, Scope[]>;
|
|
254
265
|
externalSecretsProvider: Record<string, Scope[]>;
|
|
255
266
|
externalSecret: Record<string, Scope[]>;
|
|
256
267
|
eventBusDestination: Record<string, Scope[]>;
|
|
257
|
-
ldap: Record<string, Scope[]>;
|
|
258
|
-
license: Record<string, Scope[]>;
|
|
259
|
-
logStreaming: Record<string, Scope[]>;
|
|
260
268
|
orchestration: Record<string, Scope[]>;
|
|
261
269
|
project: Record<string, Scope[]>;
|
|
262
|
-
saml: Record<string, Scope[]>;
|
|
263
270
|
securityAudit: Record<string, Scope[]>;
|
|
264
271
|
securitySettings: Record<string, Scope[]>;
|
|
265
|
-
sourceControl: Record<string, Scope[]>;
|
|
266
272
|
tag: Record<string, Scope[]>;
|
|
267
273
|
user: Record<string, Scope[]>;
|
|
268
274
|
variable: Record<string, Scope[]>;
|
|
@@ -270,46 +276,46 @@ declare const useRBACStore: pinia0.StoreDefinition<"rbac", Pick<{
|
|
|
270
276
|
workersView: Record<string, Scope[]>;
|
|
271
277
|
workflow: Record<string, Scope[]>;
|
|
272
278
|
folder: Record<string, Scope[]>;
|
|
273
|
-
insights: Record<string, Scope[]>;
|
|
274
|
-
oidc: Record<string, Scope[]>;
|
|
275
|
-
provisioning: Record<string, Scope[]>;
|
|
276
279
|
dataTable: Record<string, Scope[]>;
|
|
277
280
|
execution: Record<string, Scope[]>;
|
|
278
281
|
testRun: Record<string, Scope[]>;
|
|
279
282
|
workflowTags: Record<string, Scope[]>;
|
|
280
283
|
role: Record<string, Scope[]>;
|
|
281
|
-
mcp: Record<string, Scope[]>;
|
|
282
284
|
mcpApiKey: Record<string, Scope[]>;
|
|
283
285
|
chatHubAgent: Record<string, Scope[]>;
|
|
284
286
|
breakingChanges: Record<string, Scope[]>;
|
|
285
|
-
apiKey: Record<string, Scope[]>;
|
|
286
287
|
encryptionKey: Record<string, Scope[]>;
|
|
287
288
|
credentialResolver: Record<string, Scope[]>;
|
|
288
289
|
instanceAi: Record<string, Scope[]>;
|
|
289
290
|
roleMappingRule: Record<string, Scope[]>;
|
|
290
|
-
|
|
291
|
-
}, Record<"chatHub" | "agent" | "aiAssistant" | "annotationTag" | "auditLogs" | "banner" | "community" | "communityPackage" | "credential" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "ldap" | "license" | "logStreaming" | "orchestration" | "project" | "saml" | "securityAudit" | "securitySettings" | "sourceControl" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "workflow" | "folder" | "insights" | "oidc" | "provisioning" | "dataTable" | "execution" | "testRun" | "workflowTags" | "role" | "mcp" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "apiKey" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule" | "otel", Record<string, Scope[]>> | {
|
|
291
|
+
}, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "apiKey" | "agent" | "annotationTag" | "banner" | "communityPackage" | "credential" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "project" | "securityAudit" | "securitySettings" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "workflow" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "role" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule", Record<string, Scope[]>> | {
|
|
292
292
|
chatHub: Record<string, Scope[]>;
|
|
293
|
-
|
|
293
|
+
logStreaming: Record<string, Scope[]>;
|
|
294
294
|
aiAssistant: Record<string, Scope[]>;
|
|
295
|
-
|
|
295
|
+
license: Record<string, Scope[]>;
|
|
296
|
+
ldap: Record<string, Scope[]>;
|
|
297
|
+
saml: Record<string, Scope[]>;
|
|
298
|
+
oidc: Record<string, Scope[]>;
|
|
299
|
+
sourceControl: Record<string, Scope[]>;
|
|
296
300
|
auditLogs: Record<string, Scope[]>;
|
|
297
|
-
|
|
301
|
+
provisioning: Record<string, Scope[]>;
|
|
298
302
|
community: Record<string, Scope[]>;
|
|
303
|
+
insights: Record<string, Scope[]>;
|
|
304
|
+
mcp: Record<string, Scope[]>;
|
|
305
|
+
otel: Record<string, Scope[]>;
|
|
306
|
+
apiKey: Record<string, Scope[]>;
|
|
307
|
+
agent: Record<string, Scope[]>;
|
|
308
|
+
annotationTag: Record<string, Scope[]>;
|
|
309
|
+
banner: Record<string, Scope[]>;
|
|
299
310
|
communityPackage: Record<string, Scope[]>;
|
|
300
311
|
credential: Record<string, Scope[]>;
|
|
301
312
|
externalSecretsProvider: Record<string, Scope[]>;
|
|
302
313
|
externalSecret: Record<string, Scope[]>;
|
|
303
314
|
eventBusDestination: Record<string, Scope[]>;
|
|
304
|
-
ldap: Record<string, Scope[]>;
|
|
305
|
-
license: Record<string, Scope[]>;
|
|
306
|
-
logStreaming: Record<string, Scope[]>;
|
|
307
315
|
orchestration: Record<string, Scope[]>;
|
|
308
316
|
project: Record<string, Scope[]>;
|
|
309
|
-
saml: Record<string, Scope[]>;
|
|
310
317
|
securityAudit: Record<string, Scope[]>;
|
|
311
318
|
securitySettings: Record<string, Scope[]>;
|
|
312
|
-
sourceControl: Record<string, Scope[]>;
|
|
313
319
|
tag: Record<string, Scope[]>;
|
|
314
320
|
user: Record<string, Scope[]>;
|
|
315
321
|
variable: Record<string, Scope[]>;
|
|
@@ -317,24 +323,18 @@ declare const useRBACStore: pinia0.StoreDefinition<"rbac", Pick<{
|
|
|
317
323
|
workersView: Record<string, Scope[]>;
|
|
318
324
|
workflow: Record<string, Scope[]>;
|
|
319
325
|
folder: Record<string, Scope[]>;
|
|
320
|
-
insights: Record<string, Scope[]>;
|
|
321
|
-
oidc: Record<string, Scope[]>;
|
|
322
|
-
provisioning: Record<string, Scope[]>;
|
|
323
326
|
dataTable: Record<string, Scope[]>;
|
|
324
327
|
execution: Record<string, Scope[]>;
|
|
325
328
|
testRun: Record<string, Scope[]>;
|
|
326
329
|
workflowTags: Record<string, Scope[]>;
|
|
327
330
|
role: Record<string, Scope[]>;
|
|
328
|
-
mcp: Record<string, Scope[]>;
|
|
329
331
|
mcpApiKey: Record<string, Scope[]>;
|
|
330
332
|
chatHubAgent: Record<string, Scope[]>;
|
|
331
333
|
breakingChanges: Record<string, Scope[]>;
|
|
332
|
-
apiKey: Record<string, Scope[]>;
|
|
333
334
|
encryptionKey: Record<string, Scope[]>;
|
|
334
335
|
credentialResolver: Record<string, Scope[]>;
|
|
335
336
|
instanceAi: Record<string, Scope[]>;
|
|
336
337
|
roleMappingRule: Record<string, Scope[]>;
|
|
337
|
-
otel: Record<string, Scope[]>;
|
|
338
338
|
}>;
|
|
339
339
|
addGlobalRole: (role: Role) => void;
|
|
340
340
|
hasRole: (role: Role) => boolean;
|
package/dist/roles.store.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as vue311 from "vue";
|
|
2
|
+
import * as pinia3 from "pinia";
|
|
3
3
|
import { CreateRoleDto, RoleAssignmentsResponse, RoleMembersResponse, RoleProjectMembersResponse, UpdateRoleDto } from "@n8n/api-types";
|
|
4
4
|
import { AllRolesMap, Role as Role$1 } from "@n8n/permissions";
|
|
5
5
|
|
|
6
6
|
//#region src/roles.store.d.ts
|
|
7
|
-
declare const useRolesStore:
|
|
8
|
-
roles:
|
|
7
|
+
declare const useRolesStore: pinia3.StoreDefinition<"roles", Pick<{
|
|
8
|
+
roles: vue311.Ref<{
|
|
9
9
|
global: {
|
|
10
10
|
slug: string;
|
|
11
11
|
displayName: string;
|
|
@@ -138,7 +138,7 @@ declare const useRolesStore: pinia1.StoreDefinition<"roles", Pick<{
|
|
|
138
138
|
usedByProjects?: number | undefined | undefined;
|
|
139
139
|
}[];
|
|
140
140
|
}>;
|
|
141
|
-
processedProjectRoles:
|
|
141
|
+
processedProjectRoles: vue311.ComputedRef<{
|
|
142
142
|
slug: string;
|
|
143
143
|
displayName: string;
|
|
144
144
|
description: string | null;
|
|
@@ -151,7 +151,7 @@ declare const useRolesStore: pinia1.StoreDefinition<"roles", Pick<{
|
|
|
151
151
|
usedByUsers?: number | undefined;
|
|
152
152
|
usedByProjects?: number | undefined;
|
|
153
153
|
}[]>;
|
|
154
|
-
processedInstanceRoles:
|
|
154
|
+
processedInstanceRoles: vue311.ComputedRef<{
|
|
155
155
|
slug: string;
|
|
156
156
|
displayName: string;
|
|
157
157
|
description: string | null;
|
|
@@ -164,7 +164,7 @@ declare const useRolesStore: pinia1.StoreDefinition<"roles", Pick<{
|
|
|
164
164
|
usedByUsers?: number | undefined;
|
|
165
165
|
usedByProjects?: number | undefined;
|
|
166
166
|
}[]>;
|
|
167
|
-
customInstanceRoles:
|
|
167
|
+
customInstanceRoles: vue311.ComputedRef<{
|
|
168
168
|
slug: string;
|
|
169
169
|
displayName: string;
|
|
170
170
|
description: string | null;
|
|
@@ -177,7 +177,7 @@ declare const useRolesStore: pinia1.StoreDefinition<"roles", Pick<{
|
|
|
177
177
|
usedByUsers?: number | undefined;
|
|
178
178
|
usedByProjects?: number | undefined;
|
|
179
179
|
}[]>;
|
|
180
|
-
processedCredentialRoles:
|
|
180
|
+
processedCredentialRoles: vue311.ComputedRef<{
|
|
181
181
|
slug: string;
|
|
182
182
|
displayName: string;
|
|
183
183
|
description: string | null;
|
|
@@ -190,7 +190,7 @@ declare const useRolesStore: pinia1.StoreDefinition<"roles", Pick<{
|
|
|
190
190
|
usedByUsers?: number | undefined;
|
|
191
191
|
usedByProjects?: number | undefined;
|
|
192
192
|
}[]>;
|
|
193
|
-
processedWorkflowRoles:
|
|
193
|
+
processedWorkflowRoles: vue311.ComputedRef<{
|
|
194
194
|
slug: string;
|
|
195
195
|
displayName: string;
|
|
196
196
|
description: string | null;
|
|
@@ -214,7 +214,7 @@ declare const useRolesStore: pinia1.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: vue311.Ref<{
|
|
218
218
|
global: {
|
|
219
219
|
slug: string;
|
|
220
220
|
displayName: string;
|
|
@@ -347,7 +347,7 @@ declare const useRolesStore: pinia1.StoreDefinition<"roles", Pick<{
|
|
|
347
347
|
usedByProjects?: number | undefined | undefined;
|
|
348
348
|
}[];
|
|
349
349
|
}>;
|
|
350
|
-
processedProjectRoles:
|
|
350
|
+
processedProjectRoles: vue311.ComputedRef<{
|
|
351
351
|
slug: string;
|
|
352
352
|
displayName: string;
|
|
353
353
|
description: string | null;
|
|
@@ -360,7 +360,7 @@ declare const useRolesStore: pinia1.StoreDefinition<"roles", Pick<{
|
|
|
360
360
|
usedByUsers?: number | undefined;
|
|
361
361
|
usedByProjects?: number | undefined;
|
|
362
362
|
}[]>;
|
|
363
|
-
processedInstanceRoles:
|
|
363
|
+
processedInstanceRoles: vue311.ComputedRef<{
|
|
364
364
|
slug: string;
|
|
365
365
|
displayName: string;
|
|
366
366
|
description: string | null;
|
|
@@ -373,7 +373,7 @@ declare const useRolesStore: pinia1.StoreDefinition<"roles", Pick<{
|
|
|
373
373
|
usedByUsers?: number | undefined;
|
|
374
374
|
usedByProjects?: number | undefined;
|
|
375
375
|
}[]>;
|
|
376
|
-
customInstanceRoles:
|
|
376
|
+
customInstanceRoles: vue311.ComputedRef<{
|
|
377
377
|
slug: string;
|
|
378
378
|
displayName: string;
|
|
379
379
|
description: string | null;
|
|
@@ -386,7 +386,7 @@ declare const useRolesStore: pinia1.StoreDefinition<"roles", Pick<{
|
|
|
386
386
|
usedByUsers?: number | undefined;
|
|
387
387
|
usedByProjects?: number | undefined;
|
|
388
388
|
}[]>;
|
|
389
|
-
processedCredentialRoles:
|
|
389
|
+
processedCredentialRoles: vue311.ComputedRef<{
|
|
390
390
|
slug: string;
|
|
391
391
|
displayName: string;
|
|
392
392
|
description: string | null;
|
|
@@ -399,7 +399,7 @@ declare const useRolesStore: pinia1.StoreDefinition<"roles", Pick<{
|
|
|
399
399
|
usedByUsers?: number | undefined;
|
|
400
400
|
usedByProjects?: number | undefined;
|
|
401
401
|
}[]>;
|
|
402
|
-
processedWorkflowRoles:
|
|
402
|
+
processedWorkflowRoles: vue311.ComputedRef<{
|
|
403
403
|
slug: string;
|
|
404
404
|
displayName: string;
|
|
405
405
|
description: string | null;
|
|
@@ -423,7 +423,7 @@ declare const useRolesStore: pinia1.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: vue311.Ref<{
|
|
427
427
|
global: {
|
|
428
428
|
slug: string;
|
|
429
429
|
displayName: string;
|
|
@@ -556,7 +556,7 @@ declare const useRolesStore: pinia1.StoreDefinition<"roles", Pick<{
|
|
|
556
556
|
usedByProjects?: number | undefined | undefined;
|
|
557
557
|
}[];
|
|
558
558
|
}>;
|
|
559
|
-
processedProjectRoles:
|
|
559
|
+
processedProjectRoles: vue311.ComputedRef<{
|
|
560
560
|
slug: string;
|
|
561
561
|
displayName: string;
|
|
562
562
|
description: string | null;
|
|
@@ -569,7 +569,7 @@ declare const useRolesStore: pinia1.StoreDefinition<"roles", Pick<{
|
|
|
569
569
|
usedByUsers?: number | undefined;
|
|
570
570
|
usedByProjects?: number | undefined;
|
|
571
571
|
}[]>;
|
|
572
|
-
processedInstanceRoles:
|
|
572
|
+
processedInstanceRoles: vue311.ComputedRef<{
|
|
573
573
|
slug: string;
|
|
574
574
|
displayName: string;
|
|
575
575
|
description: string | null;
|
|
@@ -582,7 +582,7 @@ declare const useRolesStore: pinia1.StoreDefinition<"roles", Pick<{
|
|
|
582
582
|
usedByUsers?: number | undefined;
|
|
583
583
|
usedByProjects?: number | undefined;
|
|
584
584
|
}[]>;
|
|
585
|
-
customInstanceRoles:
|
|
585
|
+
customInstanceRoles: vue311.ComputedRef<{
|
|
586
586
|
slug: string;
|
|
587
587
|
displayName: string;
|
|
588
588
|
description: string | null;
|
|
@@ -595,7 +595,7 @@ declare const useRolesStore: pinia1.StoreDefinition<"roles", Pick<{
|
|
|
595
595
|
usedByUsers?: number | undefined;
|
|
596
596
|
usedByProjects?: number | undefined;
|
|
597
597
|
}[]>;
|
|
598
|
-
processedCredentialRoles:
|
|
598
|
+
processedCredentialRoles: vue311.ComputedRef<{
|
|
599
599
|
slug: string;
|
|
600
600
|
displayName: string;
|
|
601
601
|
description: string | null;
|
|
@@ -608,7 +608,7 @@ declare const useRolesStore: pinia1.StoreDefinition<"roles", Pick<{
|
|
|
608
608
|
usedByUsers?: number | undefined;
|
|
609
609
|
usedByProjects?: number | undefined;
|
|
610
610
|
}[]>;
|
|
611
|
-
processedWorkflowRoles:
|
|
611
|
+
processedWorkflowRoles: vue311.ComputedRef<{
|
|
612
612
|
slug: string;
|
|
613
613
|
displayName: string;
|
|
614
614
|
description: string | null;
|