@n8n/stores 2.36.0 → 2.36.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cloudPlan.store.d.cts +66 -66
- package/dist/rbac.store.d.cts +18 -18
- package/dist/roles.store.d.cts +21 -21
- package/dist/settings.store.d.cts +244 -244
- package/dist/useAgentRequestStore.d.cts +4 -4
- package/dist/useAgentRequestStore.d.mts +2 -2
- package/dist/useRootStore.d.cts +75 -75
- package/dist/useRootStore.d.mts +2 -2
- package/dist/users.store.d.cts +55 -55
- package/dist/versions.store.d.cts +38 -38
- package/package.json +11 -11
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pinia3 from "pinia";
|
|
2
2
|
import { AgentRequestQuery } from "n8n-workflow";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _vueuse_core0 from "@vueuse/core";
|
|
4
4
|
|
|
5
5
|
//#region src/useAgentRequestStore.d.ts
|
|
6
6
|
interface IAgentRequest {
|
|
@@ -13,7 +13,7 @@ interface IAgentRequestStoreState {
|
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
15
|
declare const useAgentRequestStore: pinia3.StoreDefinition<"agentRequest", Pick<{
|
|
16
|
-
agentRequests:
|
|
16
|
+
agentRequests: _vueuse_core0.RemovableRef<IAgentRequestStoreState>;
|
|
17
17
|
getAgentRequests: (workflowId: string, nodeId: string) => IAgentRequest["query"];
|
|
18
18
|
getQueryValue: (workflowId: string, nodeId: string, nodeName: string, paramName?: string) => unknown;
|
|
19
19
|
setAgentRequestForNode: (workflowId: string, nodeId: string, request: IAgentRequest) => void;
|
|
@@ -21,7 +21,7 @@ declare const useAgentRequestStore: pinia3.StoreDefinition<"agentRequest", Pick<
|
|
|
21
21
|
clearAllAgentRequests: (workflowId?: string) => void;
|
|
22
22
|
getAgentRequest: (workflowId: string, nodeId: string) => IAgentRequest | undefined;
|
|
23
23
|
}, "agentRequests">, Pick<{
|
|
24
|
-
agentRequests:
|
|
24
|
+
agentRequests: _vueuse_core0.RemovableRef<IAgentRequestStoreState>;
|
|
25
25
|
getAgentRequests: (workflowId: string, nodeId: string) => IAgentRequest["query"];
|
|
26
26
|
getQueryValue: (workflowId: string, nodeId: string, nodeName: string, paramName?: string) => unknown;
|
|
27
27
|
setAgentRequestForNode: (workflowId: string, nodeId: string, request: IAgentRequest) => void;
|
|
@@ -29,7 +29,7 @@ declare const useAgentRequestStore: pinia3.StoreDefinition<"agentRequest", Pick<
|
|
|
29
29
|
clearAllAgentRequests: (workflowId?: string) => void;
|
|
30
30
|
getAgentRequest: (workflowId: string, nodeId: string) => IAgentRequest | undefined;
|
|
31
31
|
}, never>, Pick<{
|
|
32
|
-
agentRequests:
|
|
32
|
+
agentRequests: _vueuse_core0.RemovableRef<IAgentRequestStoreState>;
|
|
33
33
|
getAgentRequests: (workflowId: string, nodeId: string) => IAgentRequest["query"];
|
|
34
34
|
getQueryValue: (workflowId: string, nodeId: string, nodeName: string, paramName?: string) => unknown;
|
|
35
35
|
setAgentRequestForNode: (workflowId: string, nodeId: string, request: IAgentRequest) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as pinia4 from "pinia";
|
|
2
2
|
import { AgentRequestQuery } from "n8n-workflow";
|
|
3
3
|
import * as _vueuse_core0 from "@vueuse/core";
|
|
4
4
|
|
|
@@ -12,7 +12,7 @@ interface IAgentRequestStoreState {
|
|
|
12
12
|
[nodeName: string]: IAgentRequest;
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
|
-
declare const useAgentRequestStore:
|
|
15
|
+
declare const useAgentRequestStore: pinia4.StoreDefinition<"agentRequest", Pick<{
|
|
16
16
|
agentRequests: _vueuse_core0.RemovableRef<IAgentRequestStoreState>;
|
|
17
17
|
getAgentRequests: (workflowId: string, nodeId: string) => IAgentRequest["query"];
|
|
18
18
|
getQueryValue: (workflowId: string, nodeId: string, nodeName: string, paramName?: string) => unknown;
|
package/dist/useRootStore.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as vue356 from "vue";
|
|
2
|
+
import * as pinia6 from "pinia";
|
|
3
3
|
|
|
4
4
|
//#region src/useRootStore.d.ts
|
|
5
5
|
type RootStoreState = {
|
|
@@ -31,36 +31,36 @@ type RootStoreState = {
|
|
|
31
31
|
instanceId: string;
|
|
32
32
|
binaryDataMode: 'default' | 'filesystem' | 's3' | 'azure' | 'database';
|
|
33
33
|
};
|
|
34
|
-
declare const useRootStore:
|
|
35
|
-
baseUrl:
|
|
36
|
-
formUrl:
|
|
37
|
-
formTestUrl:
|
|
38
|
-
formWaitingUrl:
|
|
39
|
-
mcpUrl:
|
|
40
|
-
mcpTestUrl:
|
|
41
|
-
webhookUrl:
|
|
42
|
-
webhookTestUrl:
|
|
43
|
-
webhookWaitingUrl:
|
|
44
|
-
restUrl:
|
|
45
|
-
restApiContext:
|
|
34
|
+
declare const useRootStore: pinia6.StoreDefinition<"root", Pick<{
|
|
35
|
+
baseUrl: vue356.ComputedRef<string>;
|
|
36
|
+
formUrl: vue356.ComputedRef<string>;
|
|
37
|
+
formTestUrl: vue356.ComputedRef<string>;
|
|
38
|
+
formWaitingUrl: vue356.ComputedRef<string>;
|
|
39
|
+
mcpUrl: vue356.ComputedRef<string>;
|
|
40
|
+
mcpTestUrl: vue356.ComputedRef<string>;
|
|
41
|
+
webhookUrl: vue356.ComputedRef<string>;
|
|
42
|
+
webhookTestUrl: vue356.ComputedRef<string>;
|
|
43
|
+
webhookWaitingUrl: vue356.ComputedRef<string>;
|
|
44
|
+
restUrl: vue356.ComputedRef<string>;
|
|
45
|
+
restApiContext: vue356.ComputedRef<{
|
|
46
46
|
baseUrl: string;
|
|
47
47
|
pushRef: string;
|
|
48
48
|
}>;
|
|
49
|
-
publicApiContext:
|
|
49
|
+
publicApiContext: vue356.ComputedRef<{
|
|
50
50
|
baseUrl: string;
|
|
51
51
|
}>;
|
|
52
|
-
urlBaseEditor:
|
|
53
|
-
urlBaseWebhook:
|
|
54
|
-
versionCli:
|
|
55
|
-
instanceId:
|
|
56
|
-
pushRef:
|
|
57
|
-
defaultLocale:
|
|
58
|
-
binaryDataMode:
|
|
59
|
-
OAuthCallbackUrls:
|
|
60
|
-
jwksUri:
|
|
61
|
-
executionTimeout:
|
|
62
|
-
maxExecutionTimeout:
|
|
63
|
-
timezone:
|
|
52
|
+
urlBaseEditor: vue356.ComputedRef<string>;
|
|
53
|
+
urlBaseWebhook: vue356.ComputedRef<string>;
|
|
54
|
+
versionCli: vue356.ComputedRef<string>;
|
|
55
|
+
instanceId: vue356.ComputedRef<string>;
|
|
56
|
+
pushRef: vue356.ComputedRef<string>;
|
|
57
|
+
defaultLocale: vue356.ComputedRef<string>;
|
|
58
|
+
binaryDataMode: vue356.ComputedRef<"default" | "filesystem" | "s3" | "azure" | "database">;
|
|
59
|
+
OAuthCallbackUrls: vue356.ComputedRef<object>;
|
|
60
|
+
jwksUri: vue356.ComputedRef<string>;
|
|
61
|
+
executionTimeout: vue356.ComputedRef<number>;
|
|
62
|
+
maxExecutionTimeout: vue356.ComputedRef<number>;
|
|
63
|
+
timezone: vue356.ComputedRef<string>;
|
|
64
64
|
setUrlBaseWebhook: (value: string) => void;
|
|
65
65
|
setUrlBaseEditor: (value: string) => void;
|
|
66
66
|
setUrlBaseWebhookTest: (value: string) => void;
|
|
@@ -85,35 +85,35 @@ declare const useRootStore: pinia4.StoreDefinition<"root", Pick<{
|
|
|
85
85
|
setPushRef: (value: string) => void;
|
|
86
86
|
setPublicApiPath: (value: string) => void;
|
|
87
87
|
}, never>, Pick<{
|
|
88
|
-
baseUrl:
|
|
89
|
-
formUrl:
|
|
90
|
-
formTestUrl:
|
|
91
|
-
formWaitingUrl:
|
|
92
|
-
mcpUrl:
|
|
93
|
-
mcpTestUrl:
|
|
94
|
-
webhookUrl:
|
|
95
|
-
webhookTestUrl:
|
|
96
|
-
webhookWaitingUrl:
|
|
97
|
-
restUrl:
|
|
98
|
-
restApiContext:
|
|
88
|
+
baseUrl: vue356.ComputedRef<string>;
|
|
89
|
+
formUrl: vue356.ComputedRef<string>;
|
|
90
|
+
formTestUrl: vue356.ComputedRef<string>;
|
|
91
|
+
formWaitingUrl: vue356.ComputedRef<string>;
|
|
92
|
+
mcpUrl: vue356.ComputedRef<string>;
|
|
93
|
+
mcpTestUrl: vue356.ComputedRef<string>;
|
|
94
|
+
webhookUrl: vue356.ComputedRef<string>;
|
|
95
|
+
webhookTestUrl: vue356.ComputedRef<string>;
|
|
96
|
+
webhookWaitingUrl: vue356.ComputedRef<string>;
|
|
97
|
+
restUrl: vue356.ComputedRef<string>;
|
|
98
|
+
restApiContext: vue356.ComputedRef<{
|
|
99
99
|
baseUrl: string;
|
|
100
100
|
pushRef: string;
|
|
101
101
|
}>;
|
|
102
|
-
publicApiContext:
|
|
102
|
+
publicApiContext: vue356.ComputedRef<{
|
|
103
103
|
baseUrl: string;
|
|
104
104
|
}>;
|
|
105
|
-
urlBaseEditor:
|
|
106
|
-
urlBaseWebhook:
|
|
107
|
-
versionCli:
|
|
108
|
-
instanceId:
|
|
109
|
-
pushRef:
|
|
110
|
-
defaultLocale:
|
|
111
|
-
binaryDataMode:
|
|
112
|
-
OAuthCallbackUrls:
|
|
113
|
-
jwksUri:
|
|
114
|
-
executionTimeout:
|
|
115
|
-
maxExecutionTimeout:
|
|
116
|
-
timezone:
|
|
105
|
+
urlBaseEditor: vue356.ComputedRef<string>;
|
|
106
|
+
urlBaseWebhook: vue356.ComputedRef<string>;
|
|
107
|
+
versionCli: vue356.ComputedRef<string>;
|
|
108
|
+
instanceId: vue356.ComputedRef<string>;
|
|
109
|
+
pushRef: vue356.ComputedRef<string>;
|
|
110
|
+
defaultLocale: vue356.ComputedRef<string>;
|
|
111
|
+
binaryDataMode: vue356.ComputedRef<"default" | "filesystem" | "s3" | "azure" | "database">;
|
|
112
|
+
OAuthCallbackUrls: vue356.ComputedRef<object>;
|
|
113
|
+
jwksUri: vue356.ComputedRef<string>;
|
|
114
|
+
executionTimeout: vue356.ComputedRef<number>;
|
|
115
|
+
maxExecutionTimeout: vue356.ComputedRef<number>;
|
|
116
|
+
timezone: vue356.ComputedRef<string>;
|
|
117
117
|
setUrlBaseWebhook: (value: string) => void;
|
|
118
118
|
setUrlBaseEditor: (value: string) => void;
|
|
119
119
|
setUrlBaseWebhookTest: (value: string) => void;
|
|
@@ -138,35 +138,35 @@ declare const useRootStore: pinia4.StoreDefinition<"root", Pick<{
|
|
|
138
138
|
setPushRef: (value: string) => void;
|
|
139
139
|
setPublicApiPath: (value: string) => void;
|
|
140
140
|
}, "executionTimeout" | "maxExecutionTimeout" | "jwksUri" | "timezone" | "urlBaseWebhook" | "urlBaseEditor" | "versionCli" | "binaryDataMode" | "instanceId" | "defaultLocale" | "baseUrl" | "pushRef" | "formUrl" | "formTestUrl" | "formWaitingUrl" | "mcpUrl" | "mcpTestUrl" | "webhookUrl" | "webhookTestUrl" | "webhookWaitingUrl" | "restUrl" | "restApiContext" | "publicApiContext" | "OAuthCallbackUrls">, Pick<{
|
|
141
|
-
baseUrl:
|
|
142
|
-
formUrl:
|
|
143
|
-
formTestUrl:
|
|
144
|
-
formWaitingUrl:
|
|
145
|
-
mcpUrl:
|
|
146
|
-
mcpTestUrl:
|
|
147
|
-
webhookUrl:
|
|
148
|
-
webhookTestUrl:
|
|
149
|
-
webhookWaitingUrl:
|
|
150
|
-
restUrl:
|
|
151
|
-
restApiContext:
|
|
141
|
+
baseUrl: vue356.ComputedRef<string>;
|
|
142
|
+
formUrl: vue356.ComputedRef<string>;
|
|
143
|
+
formTestUrl: vue356.ComputedRef<string>;
|
|
144
|
+
formWaitingUrl: vue356.ComputedRef<string>;
|
|
145
|
+
mcpUrl: vue356.ComputedRef<string>;
|
|
146
|
+
mcpTestUrl: vue356.ComputedRef<string>;
|
|
147
|
+
webhookUrl: vue356.ComputedRef<string>;
|
|
148
|
+
webhookTestUrl: vue356.ComputedRef<string>;
|
|
149
|
+
webhookWaitingUrl: vue356.ComputedRef<string>;
|
|
150
|
+
restUrl: vue356.ComputedRef<string>;
|
|
151
|
+
restApiContext: vue356.ComputedRef<{
|
|
152
152
|
baseUrl: string;
|
|
153
153
|
pushRef: string;
|
|
154
154
|
}>;
|
|
155
|
-
publicApiContext:
|
|
155
|
+
publicApiContext: vue356.ComputedRef<{
|
|
156
156
|
baseUrl: string;
|
|
157
157
|
}>;
|
|
158
|
-
urlBaseEditor:
|
|
159
|
-
urlBaseWebhook:
|
|
160
|
-
versionCli:
|
|
161
|
-
instanceId:
|
|
162
|
-
pushRef:
|
|
163
|
-
defaultLocale:
|
|
164
|
-
binaryDataMode:
|
|
165
|
-
OAuthCallbackUrls:
|
|
166
|
-
jwksUri:
|
|
167
|
-
executionTimeout:
|
|
168
|
-
maxExecutionTimeout:
|
|
169
|
-
timezone:
|
|
158
|
+
urlBaseEditor: vue356.ComputedRef<string>;
|
|
159
|
+
urlBaseWebhook: vue356.ComputedRef<string>;
|
|
160
|
+
versionCli: vue356.ComputedRef<string>;
|
|
161
|
+
instanceId: vue356.ComputedRef<string>;
|
|
162
|
+
pushRef: vue356.ComputedRef<string>;
|
|
163
|
+
defaultLocale: vue356.ComputedRef<string>;
|
|
164
|
+
binaryDataMode: vue356.ComputedRef<"default" | "filesystem" | "s3" | "azure" | "database">;
|
|
165
|
+
OAuthCallbackUrls: vue356.ComputedRef<object>;
|
|
166
|
+
jwksUri: vue356.ComputedRef<string>;
|
|
167
|
+
executionTimeout: vue356.ComputedRef<number>;
|
|
168
|
+
maxExecutionTimeout: vue356.ComputedRef<number>;
|
|
169
|
+
timezone: vue356.ComputedRef<string>;
|
|
170
170
|
setUrlBaseWebhook: (value: string) => void;
|
|
171
171
|
setUrlBaseEditor: (value: string) => void;
|
|
172
172
|
setUrlBaseWebhookTest: (value: string) => void;
|
package/dist/useRootStore.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as pinia5 from "pinia";
|
|
2
2
|
import * as vue329 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/useRootStore.d.ts
|
|
@@ -31,7 +31,7 @@ type RootStoreState = {
|
|
|
31
31
|
instanceId: string;
|
|
32
32
|
binaryDataMode: 'default' | 'filesystem' | 's3' | 'azure' | 'database';
|
|
33
33
|
};
|
|
34
|
-
declare const useRootStore:
|
|
34
|
+
declare const useRootStore: pinia5.StoreDefinition<"root", Pick<{
|
|
35
35
|
baseUrl: vue329.ComputedRef<string>;
|
|
36
36
|
formUrl: vue329.ComputedRef<string>;
|
|
37
37
|
formTestUrl: vue329.ComputedRef<string>;
|
package/dist/users.store.d.cts
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
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 vue428 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";
|
|
8
|
-
import * as
|
|
8
|
+
import * as _vueuse_core2 from "@vueuse/core";
|
|
9
9
|
import * as zod0 from "zod";
|
|
10
10
|
import * as mfaApi from "@n8n/rest-api-client/api/mfa";
|
|
11
11
|
|
|
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: vue428.Ref<boolean, boolean>;
|
|
17
|
+
currentUserId: vue428.Ref<string | null, string | null>;
|
|
18
|
+
usersById: vue428.Ref<Record<string, IUser>, Record<string, IUser>>;
|
|
19
|
+
allUsers: vue428.ComputedRef<IUser[]>;
|
|
20
|
+
currentUser: vue428.ComputedRef<IUser | null>;
|
|
21
|
+
userActivated: vue428.ComputedRef<boolean>;
|
|
22
|
+
isDefaultUser: vue428.ComputedRef<boolean>;
|
|
23
|
+
isInstanceOwner: vue428.ComputedRef<boolean>;
|
|
24
|
+
isAdmin: vue428.ComputedRef<boolean>;
|
|
25
|
+
isAdminOrOwner: vue428.ComputedRef<boolean>;
|
|
26
|
+
mfaEnabled: vue428.ComputedRef<boolean>;
|
|
27
|
+
globalRoleName: vue428.ComputedRef<string>;
|
|
28
|
+
userClaimedAiCredits: vue428.ComputedRef<boolean | undefined>;
|
|
29
|
+
isEasyAIWorkflowOnboardingDone: vue428.ComputedRef<boolean>;
|
|
30
|
+
canUserUpdateVersion: vue428.ComputedRef<boolean>;
|
|
31
|
+
usersLimitNotReached: vue428.ComputedRef<boolean>;
|
|
32
32
|
addUsers: (newUsers: User[]) => void;
|
|
33
33
|
loginWithCookie: () => Promise<void>;
|
|
34
34
|
initialize: () => Promise<void>;
|
|
@@ -144,7 +144,7 @@ declare const useUsersStore: pinia2.StoreDefinition<"users", Pick<{
|
|
|
144
144
|
setCalloutDismissed: (callout: string) => void;
|
|
145
145
|
submitContactEmail: (email: string, agree: boolean) => Promise<string | null>;
|
|
146
146
|
setUserQuota: (quota?: number) => void;
|
|
147
|
-
usersList:
|
|
147
|
+
usersList: _vueuse_core2.UseAsyncStateReturn<{
|
|
148
148
|
count: number;
|
|
149
149
|
items: {
|
|
150
150
|
id: string;
|
|
@@ -191,22 +191,22 @@ declare const useUsersStore: pinia2.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: vue428.Ref<boolean, boolean>;
|
|
195
|
+
currentUserId: vue428.Ref<string | null, string | null>;
|
|
196
|
+
usersById: vue428.Ref<Record<string, IUser>, Record<string, IUser>>;
|
|
197
|
+
allUsers: vue428.ComputedRef<IUser[]>;
|
|
198
|
+
currentUser: vue428.ComputedRef<IUser | null>;
|
|
199
|
+
userActivated: vue428.ComputedRef<boolean>;
|
|
200
|
+
isDefaultUser: vue428.ComputedRef<boolean>;
|
|
201
|
+
isInstanceOwner: vue428.ComputedRef<boolean>;
|
|
202
|
+
isAdmin: vue428.ComputedRef<boolean>;
|
|
203
|
+
isAdminOrOwner: vue428.ComputedRef<boolean>;
|
|
204
|
+
mfaEnabled: vue428.ComputedRef<boolean>;
|
|
205
|
+
globalRoleName: vue428.ComputedRef<string>;
|
|
206
|
+
userClaimedAiCredits: vue428.ComputedRef<boolean | undefined>;
|
|
207
|
+
isEasyAIWorkflowOnboardingDone: vue428.ComputedRef<boolean>;
|
|
208
|
+
canUserUpdateVersion: vue428.ComputedRef<boolean>;
|
|
209
|
+
usersLimitNotReached: vue428.ComputedRef<boolean>;
|
|
210
210
|
addUsers: (newUsers: User[]) => void;
|
|
211
211
|
loginWithCookie: () => Promise<void>;
|
|
212
212
|
initialize: () => Promise<void>;
|
|
@@ -322,7 +322,7 @@ declare const useUsersStore: pinia2.StoreDefinition<"users", Pick<{
|
|
|
322
322
|
setCalloutDismissed: (callout: string) => void;
|
|
323
323
|
submitContactEmail: (email: string, agree: boolean) => Promise<string | null>;
|
|
324
324
|
setUserQuota: (quota?: number) => void;
|
|
325
|
-
usersList:
|
|
325
|
+
usersList: _vueuse_core2.UseAsyncStateReturn<{
|
|
326
326
|
count: number;
|
|
327
327
|
items: {
|
|
328
328
|
id: string;
|
|
@@ -369,22 +369,22 @@ declare const useUsersStore: pinia2.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: vue428.Ref<boolean, boolean>;
|
|
373
|
+
currentUserId: vue428.Ref<string | null, string | null>;
|
|
374
|
+
usersById: vue428.Ref<Record<string, IUser>, Record<string, IUser>>;
|
|
375
|
+
allUsers: vue428.ComputedRef<IUser[]>;
|
|
376
|
+
currentUser: vue428.ComputedRef<IUser | null>;
|
|
377
|
+
userActivated: vue428.ComputedRef<boolean>;
|
|
378
|
+
isDefaultUser: vue428.ComputedRef<boolean>;
|
|
379
|
+
isInstanceOwner: vue428.ComputedRef<boolean>;
|
|
380
|
+
isAdmin: vue428.ComputedRef<boolean>;
|
|
381
|
+
isAdminOrOwner: vue428.ComputedRef<boolean>;
|
|
382
|
+
mfaEnabled: vue428.ComputedRef<boolean>;
|
|
383
|
+
globalRoleName: vue428.ComputedRef<string>;
|
|
384
|
+
userClaimedAiCredits: vue428.ComputedRef<boolean | undefined>;
|
|
385
|
+
isEasyAIWorkflowOnboardingDone: vue428.ComputedRef<boolean>;
|
|
386
|
+
canUserUpdateVersion: vue428.ComputedRef<boolean>;
|
|
387
|
+
usersLimitNotReached: vue428.ComputedRef<boolean>;
|
|
388
388
|
addUsers: (newUsers: User[]) => void;
|
|
389
389
|
loginWithCookie: () => Promise<void>;
|
|
390
390
|
initialize: () => Promise<void>;
|
|
@@ -500,7 +500,7 @@ declare const useUsersStore: pinia2.StoreDefinition<"users", Pick<{
|
|
|
500
500
|
setCalloutDismissed: (callout: string) => void;
|
|
501
501
|
submitContactEmail: (email: string, agree: boolean) => Promise<string | null>;
|
|
502
502
|
setUserQuota: (quota?: number) => void;
|
|
503
|
-
usersList:
|
|
503
|
+
usersList: _vueuse_core2.UseAsyncStateReturn<{
|
|
504
504
|
count: number;
|
|
505
505
|
items: {
|
|
506
506
|
id: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as ModalOpeners } from "./modalOpeners2.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue329 from "vue";
|
|
3
3
|
import * as pinia5 from "pinia";
|
|
4
4
|
import { IVersionNotificationSettings } from "@n8n/api-types";
|
|
5
|
-
import * as
|
|
5
|
+
import * as n8n_workflow5 from "n8n-workflow";
|
|
6
6
|
import * as versionsApi from "@n8n/rest-api-client/api/versions";
|
|
7
7
|
import { Version } from "@n8n/rest-api-client/api/versions";
|
|
8
8
|
|
|
@@ -13,15 +13,15 @@ type SetVersionParams = {
|
|
|
13
13
|
};
|
|
14
14
|
declare const SEMVER_REGEX: RegExp;
|
|
15
15
|
declare const useVersionsStore: pinia5.StoreDefinition<"versions", Pick<{
|
|
16
|
-
currentVersion:
|
|
17
|
-
latestVersion:
|
|
16
|
+
currentVersion: vue329.Ref<versionsApi.Version | undefined, versionsApi.Version | undefined>;
|
|
17
|
+
latestVersion: vue329.ComputedRef<{
|
|
18
18
|
name: string;
|
|
19
19
|
nodes: {
|
|
20
20
|
name: string;
|
|
21
21
|
displayName: string;
|
|
22
22
|
icon: string;
|
|
23
23
|
iconUrl?: string | undefined;
|
|
24
|
-
defaults:
|
|
24
|
+
defaults: n8n_workflow5.INodeParameters;
|
|
25
25
|
iconData: {
|
|
26
26
|
type: string;
|
|
27
27
|
icon?: string | undefined;
|
|
@@ -37,14 +37,14 @@ declare const useVersionsStore: pinia5.StoreDefinition<"versions", Pick<{
|
|
|
37
37
|
hasSecurityIssue: boolean;
|
|
38
38
|
securityIssueFixVersion: string;
|
|
39
39
|
}>;
|
|
40
|
-
nextVersions:
|
|
40
|
+
nextVersions: vue329.Ref<{
|
|
41
41
|
name: string;
|
|
42
42
|
nodes: {
|
|
43
43
|
name: string;
|
|
44
44
|
displayName: string;
|
|
45
45
|
icon: string;
|
|
46
46
|
iconUrl?: string | undefined;
|
|
47
|
-
defaults:
|
|
47
|
+
defaults: n8n_workflow5.INodeParameters;
|
|
48
48
|
iconData: {
|
|
49
49
|
type: string;
|
|
50
50
|
icon?: string | undefined;
|
|
@@ -66,7 +66,7 @@ declare const useVersionsStore: pinia5.StoreDefinition<"versions", Pick<{
|
|
|
66
66
|
displayName: string;
|
|
67
67
|
icon: string;
|
|
68
68
|
iconUrl?: string | undefined;
|
|
69
|
-
defaults:
|
|
69
|
+
defaults: n8n_workflow5.INodeParameters;
|
|
70
70
|
iconData: {
|
|
71
71
|
type: string;
|
|
72
72
|
icon?: string | undefined;
|
|
@@ -82,17 +82,17 @@ declare const useVersionsStore: pinia5.StoreDefinition<"versions", Pick<{
|
|
|
82
82
|
hasSecurityIssue: boolean;
|
|
83
83
|
securityIssueFixVersion: string;
|
|
84
84
|
}[]>;
|
|
85
|
-
hasVersionUpdates:
|
|
86
|
-
hasSignificantUpdates:
|
|
87
|
-
areNotificationsEnabled:
|
|
88
|
-
infoUrl:
|
|
85
|
+
hasVersionUpdates: vue329.ComputedRef<boolean>;
|
|
86
|
+
hasSignificantUpdates: vue329.ComputedRef<boolean>;
|
|
87
|
+
areNotificationsEnabled: vue329.ComputedRef<boolean>;
|
|
88
|
+
infoUrl: vue329.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: vue329.Ref<{
|
|
96
96
|
title: string;
|
|
97
97
|
calloutText: string;
|
|
98
98
|
footer: string;
|
|
@@ -121,7 +121,7 @@ declare const useVersionsStore: pinia5.StoreDefinition<"versions", Pick<{
|
|
|
121
121
|
createdAt: string;
|
|
122
122
|
updatedAt: string | null;
|
|
123
123
|
}>;
|
|
124
|
-
whatsNewArticles:
|
|
124
|
+
whatsNewArticles: vue329.ComputedRef<{
|
|
125
125
|
id: number;
|
|
126
126
|
createdAt: string;
|
|
127
127
|
updatedAt: string | null;
|
|
@@ -135,15 +135,15 @@ declare const useVersionsStore: pinia5.StoreDefinition<"versions", Pick<{
|
|
|
135
135
|
shouldShowWhatsNewCallout: () => boolean;
|
|
136
136
|
dismissWhatsNewCallout: () => void;
|
|
137
137
|
}, "currentVersion" | "nextVersions" | "whatsNew">, Pick<{
|
|
138
|
-
currentVersion:
|
|
139
|
-
latestVersion:
|
|
138
|
+
currentVersion: vue329.Ref<versionsApi.Version | undefined, versionsApi.Version | undefined>;
|
|
139
|
+
latestVersion: vue329.ComputedRef<{
|
|
140
140
|
name: string;
|
|
141
141
|
nodes: {
|
|
142
142
|
name: string;
|
|
143
143
|
displayName: string;
|
|
144
144
|
icon: string;
|
|
145
145
|
iconUrl?: string | undefined;
|
|
146
|
-
defaults:
|
|
146
|
+
defaults: n8n_workflow5.INodeParameters;
|
|
147
147
|
iconData: {
|
|
148
148
|
type: string;
|
|
149
149
|
icon?: string | undefined;
|
|
@@ -159,14 +159,14 @@ declare const useVersionsStore: pinia5.StoreDefinition<"versions", Pick<{
|
|
|
159
159
|
hasSecurityIssue: boolean;
|
|
160
160
|
securityIssueFixVersion: string;
|
|
161
161
|
}>;
|
|
162
|
-
nextVersions:
|
|
162
|
+
nextVersions: vue329.Ref<{
|
|
163
163
|
name: string;
|
|
164
164
|
nodes: {
|
|
165
165
|
name: string;
|
|
166
166
|
displayName: string;
|
|
167
167
|
icon: string;
|
|
168
168
|
iconUrl?: string | undefined;
|
|
169
|
-
defaults:
|
|
169
|
+
defaults: n8n_workflow5.INodeParameters;
|
|
170
170
|
iconData: {
|
|
171
171
|
type: string;
|
|
172
172
|
icon?: string | undefined;
|
|
@@ -188,7 +188,7 @@ declare const useVersionsStore: pinia5.StoreDefinition<"versions", Pick<{
|
|
|
188
188
|
displayName: string;
|
|
189
189
|
icon: string;
|
|
190
190
|
iconUrl?: string | undefined;
|
|
191
|
-
defaults:
|
|
191
|
+
defaults: n8n_workflow5.INodeParameters;
|
|
192
192
|
iconData: {
|
|
193
193
|
type: string;
|
|
194
194
|
icon?: string | undefined;
|
|
@@ -204,17 +204,17 @@ declare const useVersionsStore: pinia5.StoreDefinition<"versions", Pick<{
|
|
|
204
204
|
hasSecurityIssue: boolean;
|
|
205
205
|
securityIssueFixVersion: string;
|
|
206
206
|
}[]>;
|
|
207
|
-
hasVersionUpdates:
|
|
208
|
-
hasSignificantUpdates:
|
|
209
|
-
areNotificationsEnabled:
|
|
210
|
-
infoUrl:
|
|
207
|
+
hasVersionUpdates: vue329.ComputedRef<boolean>;
|
|
208
|
+
hasSignificantUpdates: vue329.ComputedRef<boolean>;
|
|
209
|
+
areNotificationsEnabled: vue329.ComputedRef<boolean>;
|
|
210
|
+
infoUrl: vue329.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: vue329.Ref<{
|
|
218
218
|
title: string;
|
|
219
219
|
calloutText: string;
|
|
220
220
|
footer: string;
|
|
@@ -243,7 +243,7 @@ declare const useVersionsStore: pinia5.StoreDefinition<"versions", Pick<{
|
|
|
243
243
|
createdAt: string;
|
|
244
244
|
updatedAt: string | null;
|
|
245
245
|
}>;
|
|
246
|
-
whatsNewArticles:
|
|
246
|
+
whatsNewArticles: vue329.ComputedRef<{
|
|
247
247
|
id: number;
|
|
248
248
|
createdAt: string;
|
|
249
249
|
updatedAt: string | null;
|
|
@@ -257,15 +257,15 @@ declare const useVersionsStore: pinia5.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: vue329.Ref<versionsApi.Version | undefined, versionsApi.Version | undefined>;
|
|
261
|
+
latestVersion: vue329.ComputedRef<{
|
|
262
262
|
name: string;
|
|
263
263
|
nodes: {
|
|
264
264
|
name: string;
|
|
265
265
|
displayName: string;
|
|
266
266
|
icon: string;
|
|
267
267
|
iconUrl?: string | undefined;
|
|
268
|
-
defaults:
|
|
268
|
+
defaults: n8n_workflow5.INodeParameters;
|
|
269
269
|
iconData: {
|
|
270
270
|
type: string;
|
|
271
271
|
icon?: string | undefined;
|
|
@@ -281,14 +281,14 @@ declare const useVersionsStore: pinia5.StoreDefinition<"versions", Pick<{
|
|
|
281
281
|
hasSecurityIssue: boolean;
|
|
282
282
|
securityIssueFixVersion: string;
|
|
283
283
|
}>;
|
|
284
|
-
nextVersions:
|
|
284
|
+
nextVersions: vue329.Ref<{
|
|
285
285
|
name: string;
|
|
286
286
|
nodes: {
|
|
287
287
|
name: string;
|
|
288
288
|
displayName: string;
|
|
289
289
|
icon: string;
|
|
290
290
|
iconUrl?: string | undefined;
|
|
291
|
-
defaults:
|
|
291
|
+
defaults: n8n_workflow5.INodeParameters;
|
|
292
292
|
iconData: {
|
|
293
293
|
type: string;
|
|
294
294
|
icon?: string | undefined;
|
|
@@ -310,7 +310,7 @@ declare const useVersionsStore: pinia5.StoreDefinition<"versions", Pick<{
|
|
|
310
310
|
displayName: string;
|
|
311
311
|
icon: string;
|
|
312
312
|
iconUrl?: string | undefined;
|
|
313
|
-
defaults:
|
|
313
|
+
defaults: n8n_workflow5.INodeParameters;
|
|
314
314
|
iconData: {
|
|
315
315
|
type: string;
|
|
316
316
|
icon?: string | undefined;
|
|
@@ -326,17 +326,17 @@ declare const useVersionsStore: pinia5.StoreDefinition<"versions", Pick<{
|
|
|
326
326
|
hasSecurityIssue: boolean;
|
|
327
327
|
securityIssueFixVersion: string;
|
|
328
328
|
}[]>;
|
|
329
|
-
hasVersionUpdates:
|
|
330
|
-
hasSignificantUpdates:
|
|
331
|
-
areNotificationsEnabled:
|
|
332
|
-
infoUrl:
|
|
329
|
+
hasVersionUpdates: vue329.ComputedRef<boolean>;
|
|
330
|
+
hasSignificantUpdates: vue329.ComputedRef<boolean>;
|
|
331
|
+
areNotificationsEnabled: vue329.ComputedRef<boolean>;
|
|
332
|
+
infoUrl: vue329.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: vue329.Ref<{
|
|
340
340
|
title: string;
|
|
341
341
|
calloutText: string;
|
|
342
342
|
footer: string;
|
|
@@ -365,7 +365,7 @@ declare const useVersionsStore: pinia5.StoreDefinition<"versions", Pick<{
|
|
|
365
365
|
createdAt: string;
|
|
366
366
|
updatedAt: string | null;
|
|
367
367
|
}>;
|
|
368
|
-
whatsNewArticles:
|
|
368
|
+
whatsNewArticles: vue329.ComputedRef<{
|
|
369
369
|
id: number;
|
|
370
370
|
createdAt: string;
|
|
371
371
|
updatedAt: string | null;
|