@n8n/stores 2.36.2 → 2.36.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/settings.store.d.cts +2 -2
- package/dist/useAgentRequestStore.d.cts +2 -2
- package/dist/useRootStore.d.cts +75 -75
- package/dist/users.store.d.cts +51 -51
- package/dist/versions.store.d.cts +30 -30
- package/package.json +11 -11
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as vue95 from "vue";
|
|
2
|
-
import * as
|
|
2
|
+
import * as pinia3 from "pinia";
|
|
3
3
|
import * as _n8n_api_types0 from "@n8n/api-types";
|
|
4
4
|
import { AuthenticationMethod, FrontendModuleSettings, FrontendSettings, IUserManagementSettings, WorkflowReviewsPolicy } from "@n8n/api-types";
|
|
5
5
|
import * as n8n_workflow0 from "n8n-workflow";
|
|
6
6
|
import { IDataObject, WorkflowSettings } from "n8n-workflow";
|
|
7
7
|
|
|
8
8
|
//#region src/settings.store.d.ts
|
|
9
|
-
declare const useSettingsStore:
|
|
9
|
+
declare const useSettingsStore: pinia3.StoreDefinition<"settings", Pick<{
|
|
10
10
|
settings: vue95.Ref<{
|
|
11
11
|
settingsMode?: "public" | "authenticated" | undefined;
|
|
12
12
|
inE2ETests: boolean;
|
|
@@ -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 vue329 from "vue";
|
|
2
|
+
import * as pinia5 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: pinia5.StoreDefinition<"root", Pick<{
|
|
35
|
+
baseUrl: vue329.ComputedRef<string>;
|
|
36
|
+
formUrl: vue329.ComputedRef<string>;
|
|
37
|
+
formTestUrl: vue329.ComputedRef<string>;
|
|
38
|
+
formWaitingUrl: vue329.ComputedRef<string>;
|
|
39
|
+
mcpUrl: vue329.ComputedRef<string>;
|
|
40
|
+
mcpTestUrl: vue329.ComputedRef<string>;
|
|
41
|
+
webhookUrl: vue329.ComputedRef<string>;
|
|
42
|
+
webhookTestUrl: vue329.ComputedRef<string>;
|
|
43
|
+
webhookWaitingUrl: vue329.ComputedRef<string>;
|
|
44
|
+
restUrl: vue329.ComputedRef<string>;
|
|
45
|
+
restApiContext: vue329.ComputedRef<{
|
|
46
46
|
baseUrl: string;
|
|
47
47
|
pushRef: string;
|
|
48
48
|
}>;
|
|
49
|
-
publicApiContext:
|
|
49
|
+
publicApiContext: vue329.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: vue329.ComputedRef<string>;
|
|
53
|
+
urlBaseWebhook: vue329.ComputedRef<string>;
|
|
54
|
+
versionCli: vue329.ComputedRef<string>;
|
|
55
|
+
instanceId: vue329.ComputedRef<string>;
|
|
56
|
+
pushRef: vue329.ComputedRef<string>;
|
|
57
|
+
defaultLocale: vue329.ComputedRef<string>;
|
|
58
|
+
binaryDataMode: vue329.ComputedRef<"default" | "filesystem" | "s3" | "azure" | "database">;
|
|
59
|
+
OAuthCallbackUrls: vue329.ComputedRef<object>;
|
|
60
|
+
jwksUri: vue329.ComputedRef<string>;
|
|
61
|
+
executionTimeout: vue329.ComputedRef<number>;
|
|
62
|
+
maxExecutionTimeout: vue329.ComputedRef<number>;
|
|
63
|
+
timezone: vue329.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: pinia6.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: vue329.ComputedRef<string>;
|
|
89
|
+
formUrl: vue329.ComputedRef<string>;
|
|
90
|
+
formTestUrl: vue329.ComputedRef<string>;
|
|
91
|
+
formWaitingUrl: vue329.ComputedRef<string>;
|
|
92
|
+
mcpUrl: vue329.ComputedRef<string>;
|
|
93
|
+
mcpTestUrl: vue329.ComputedRef<string>;
|
|
94
|
+
webhookUrl: vue329.ComputedRef<string>;
|
|
95
|
+
webhookTestUrl: vue329.ComputedRef<string>;
|
|
96
|
+
webhookWaitingUrl: vue329.ComputedRef<string>;
|
|
97
|
+
restUrl: vue329.ComputedRef<string>;
|
|
98
|
+
restApiContext: vue329.ComputedRef<{
|
|
99
99
|
baseUrl: string;
|
|
100
100
|
pushRef: string;
|
|
101
101
|
}>;
|
|
102
|
-
publicApiContext:
|
|
102
|
+
publicApiContext: vue329.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: vue329.ComputedRef<string>;
|
|
106
|
+
urlBaseWebhook: vue329.ComputedRef<string>;
|
|
107
|
+
versionCli: vue329.ComputedRef<string>;
|
|
108
|
+
instanceId: vue329.ComputedRef<string>;
|
|
109
|
+
pushRef: vue329.ComputedRef<string>;
|
|
110
|
+
defaultLocale: vue329.ComputedRef<string>;
|
|
111
|
+
binaryDataMode: vue329.ComputedRef<"default" | "filesystem" | "s3" | "azure" | "database">;
|
|
112
|
+
OAuthCallbackUrls: vue329.ComputedRef<object>;
|
|
113
|
+
jwksUri: vue329.ComputedRef<string>;
|
|
114
|
+
executionTimeout: vue329.ComputedRef<number>;
|
|
115
|
+
maxExecutionTimeout: vue329.ComputedRef<number>;
|
|
116
|
+
timezone: vue329.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: pinia6.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: vue329.ComputedRef<string>;
|
|
142
|
+
formUrl: vue329.ComputedRef<string>;
|
|
143
|
+
formTestUrl: vue329.ComputedRef<string>;
|
|
144
|
+
formWaitingUrl: vue329.ComputedRef<string>;
|
|
145
|
+
mcpUrl: vue329.ComputedRef<string>;
|
|
146
|
+
mcpTestUrl: vue329.ComputedRef<string>;
|
|
147
|
+
webhookUrl: vue329.ComputedRef<string>;
|
|
148
|
+
webhookTestUrl: vue329.ComputedRef<string>;
|
|
149
|
+
webhookWaitingUrl: vue329.ComputedRef<string>;
|
|
150
|
+
restUrl: vue329.ComputedRef<string>;
|
|
151
|
+
restApiContext: vue329.ComputedRef<{
|
|
152
152
|
baseUrl: string;
|
|
153
153
|
pushRef: string;
|
|
154
154
|
}>;
|
|
155
|
-
publicApiContext:
|
|
155
|
+
publicApiContext: vue329.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: vue329.ComputedRef<string>;
|
|
159
|
+
urlBaseWebhook: vue329.ComputedRef<string>;
|
|
160
|
+
versionCli: vue329.ComputedRef<string>;
|
|
161
|
+
instanceId: vue329.ComputedRef<string>;
|
|
162
|
+
pushRef: vue329.ComputedRef<string>;
|
|
163
|
+
defaultLocale: vue329.ComputedRef<string>;
|
|
164
|
+
binaryDataMode: vue329.ComputedRef<"default" | "filesystem" | "s3" | "azure" | "database">;
|
|
165
|
+
OAuthCallbackUrls: vue329.ComputedRef<object>;
|
|
166
|
+
jwksUri: vue329.ComputedRef<string>;
|
|
167
|
+
executionTimeout: vue329.ComputedRef<number>;
|
|
168
|
+
maxExecutionTimeout: vue329.ComputedRef<number>;
|
|
169
|
+
timezone: vue329.ComputedRef<string>;
|
|
170
170
|
setUrlBaseWebhook: (value: string) => void;
|
|
171
171
|
setUrlBaseEditor: (value: string) => void;
|
|
172
172
|
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 vue401 from "vue";
|
|
4
|
+
import * as pinia6 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: pinia6.StoreDefinition<"users", Pick<{
|
|
16
|
+
initialized: vue401.Ref<boolean, boolean>;
|
|
17
|
+
currentUserId: vue401.Ref<string | null, string | null>;
|
|
18
|
+
usersById: vue401.Ref<Record<string, IUser>, Record<string, IUser>>;
|
|
19
|
+
allUsers: vue401.ComputedRef<IUser[]>;
|
|
20
|
+
currentUser: vue401.ComputedRef<IUser | null>;
|
|
21
|
+
userActivated: vue401.ComputedRef<boolean>;
|
|
22
|
+
isDefaultUser: vue401.ComputedRef<boolean>;
|
|
23
|
+
isInstanceOwner: vue401.ComputedRef<boolean>;
|
|
24
|
+
isAdmin: vue401.ComputedRef<boolean>;
|
|
25
|
+
isAdminOrOwner: vue401.ComputedRef<boolean>;
|
|
26
|
+
mfaEnabled: vue401.ComputedRef<boolean>;
|
|
27
|
+
globalRoleName: vue401.ComputedRef<string>;
|
|
28
|
+
userClaimedAiCredits: vue401.ComputedRef<boolean | undefined>;
|
|
29
|
+
isEasyAIWorkflowOnboardingDone: vue401.ComputedRef<boolean>;
|
|
30
|
+
canUserUpdateVersion: vue401.ComputedRef<boolean>;
|
|
31
|
+
usersLimitNotReached: vue401.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: pinia7.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: vue401.Ref<boolean, boolean>;
|
|
195
|
+
currentUserId: vue401.Ref<string | null, string | null>;
|
|
196
|
+
usersById: vue401.Ref<Record<string, IUser>, Record<string, IUser>>;
|
|
197
|
+
allUsers: vue401.ComputedRef<IUser[]>;
|
|
198
|
+
currentUser: vue401.ComputedRef<IUser | null>;
|
|
199
|
+
userActivated: vue401.ComputedRef<boolean>;
|
|
200
|
+
isDefaultUser: vue401.ComputedRef<boolean>;
|
|
201
|
+
isInstanceOwner: vue401.ComputedRef<boolean>;
|
|
202
|
+
isAdmin: vue401.ComputedRef<boolean>;
|
|
203
|
+
isAdminOrOwner: vue401.ComputedRef<boolean>;
|
|
204
|
+
mfaEnabled: vue401.ComputedRef<boolean>;
|
|
205
|
+
globalRoleName: vue401.ComputedRef<string>;
|
|
206
|
+
userClaimedAiCredits: vue401.ComputedRef<boolean | undefined>;
|
|
207
|
+
isEasyAIWorkflowOnboardingDone: vue401.ComputedRef<boolean>;
|
|
208
|
+
canUserUpdateVersion: vue401.ComputedRef<boolean>;
|
|
209
|
+
usersLimitNotReached: vue401.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: pinia7.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: vue401.Ref<boolean, boolean>;
|
|
373
|
+
currentUserId: vue401.Ref<string | null, string | null>;
|
|
374
|
+
usersById: vue401.Ref<Record<string, IUser>, Record<string, IUser>>;
|
|
375
|
+
allUsers: vue401.ComputedRef<IUser[]>;
|
|
376
|
+
currentUser: vue401.ComputedRef<IUser | null>;
|
|
377
|
+
userActivated: vue401.ComputedRef<boolean>;
|
|
378
|
+
isDefaultUser: vue401.ComputedRef<boolean>;
|
|
379
|
+
isInstanceOwner: vue401.ComputedRef<boolean>;
|
|
380
|
+
isAdmin: vue401.ComputedRef<boolean>;
|
|
381
|
+
isAdminOrOwner: vue401.ComputedRef<boolean>;
|
|
382
|
+
mfaEnabled: vue401.ComputedRef<boolean>;
|
|
383
|
+
globalRoleName: vue401.ComputedRef<string>;
|
|
384
|
+
userClaimedAiCredits: vue401.ComputedRef<boolean | undefined>;
|
|
385
|
+
isEasyAIWorkflowOnboardingDone: vue401.ComputedRef<boolean>;
|
|
386
|
+
canUserUpdateVersion: vue401.ComputedRef<boolean>;
|
|
387
|
+
usersLimitNotReached: vue401.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 vue449 from "vue";
|
|
3
|
+
import * as pinia7 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: pinia7.StoreDefinition<"versions", Pick<{
|
|
16
|
+
currentVersion: vue449.Ref<versionsApi.Version | undefined, versionsApi.Version | undefined>;
|
|
17
|
+
latestVersion: vue449.ComputedRef<{
|
|
18
18
|
name: string;
|
|
19
19
|
nodes: {
|
|
20
20
|
name: string;
|
|
@@ -37,7 +37,7 @@ declare const useVersionsStore: pinia5.StoreDefinition<"versions", Pick<{
|
|
|
37
37
|
hasSecurityIssue: boolean;
|
|
38
38
|
securityIssueFixVersion: string;
|
|
39
39
|
}>;
|
|
40
|
-
nextVersions:
|
|
40
|
+
nextVersions: vue449.Ref<{
|
|
41
41
|
name: string;
|
|
42
42
|
nodes: {
|
|
43
43
|
name: string;
|
|
@@ -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: vue449.ComputedRef<boolean>;
|
|
86
|
+
hasSignificantUpdates: vue449.ComputedRef<boolean>;
|
|
87
|
+
areNotificationsEnabled: vue449.ComputedRef<boolean>;
|
|
88
|
+
infoUrl: vue449.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: vue449.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: vue449.ComputedRef<{
|
|
125
125
|
id: number;
|
|
126
126
|
createdAt: string;
|
|
127
127
|
updatedAt: string | null;
|
|
@@ -135,8 +135,8 @@ 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: vue449.Ref<versionsApi.Version | undefined, versionsApi.Version | undefined>;
|
|
139
|
+
latestVersion: vue449.ComputedRef<{
|
|
140
140
|
name: string;
|
|
141
141
|
nodes: {
|
|
142
142
|
name: string;
|
|
@@ -159,7 +159,7 @@ declare const useVersionsStore: pinia5.StoreDefinition<"versions", Pick<{
|
|
|
159
159
|
hasSecurityIssue: boolean;
|
|
160
160
|
securityIssueFixVersion: string;
|
|
161
161
|
}>;
|
|
162
|
-
nextVersions:
|
|
162
|
+
nextVersions: vue449.Ref<{
|
|
163
163
|
name: string;
|
|
164
164
|
nodes: {
|
|
165
165
|
name: string;
|
|
@@ -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: vue449.ComputedRef<boolean>;
|
|
208
|
+
hasSignificantUpdates: vue449.ComputedRef<boolean>;
|
|
209
|
+
areNotificationsEnabled: vue449.ComputedRef<boolean>;
|
|
210
|
+
infoUrl: vue449.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: vue449.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: vue449.ComputedRef<{
|
|
247
247
|
id: number;
|
|
248
248
|
createdAt: string;
|
|
249
249
|
updatedAt: string | null;
|
|
@@ -257,8 +257,8 @@ 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: vue449.Ref<versionsApi.Version | undefined, versionsApi.Version | undefined>;
|
|
261
|
+
latestVersion: vue449.ComputedRef<{
|
|
262
262
|
name: string;
|
|
263
263
|
nodes: {
|
|
264
264
|
name: string;
|
|
@@ -281,7 +281,7 @@ declare const useVersionsStore: pinia5.StoreDefinition<"versions", Pick<{
|
|
|
281
281
|
hasSecurityIssue: boolean;
|
|
282
282
|
securityIssueFixVersion: string;
|
|
283
283
|
}>;
|
|
284
|
-
nextVersions:
|
|
284
|
+
nextVersions: vue449.Ref<{
|
|
285
285
|
name: string;
|
|
286
286
|
nodes: {
|
|
287
287
|
name: string;
|
|
@@ -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: vue449.ComputedRef<boolean>;
|
|
330
|
+
hasSignificantUpdates: vue449.ComputedRef<boolean>;
|
|
331
|
+
areNotificationsEnabled: vue449.ComputedRef<boolean>;
|
|
332
|
+
infoUrl: vue449.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: vue449.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: vue449.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.36.
|
|
4
|
+
"version": "2.36.4",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
7
|
-
"
|
|
8
|
-
"
|
|
7
|
+
"LICENSE.md",
|
|
8
|
+
"LICENSE_EE.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.36.
|
|
31
|
-
"@n8n/
|
|
32
|
-
"@n8n/frontend-constants": "0.4.0",
|
|
30
|
+
"@n8n/api-types": "1.36.4",
|
|
31
|
+
"@n8n/composables": "1.26.4",
|
|
33
32
|
"@n8n/constants": "0.35.0",
|
|
34
|
-
"@n8n/
|
|
33
|
+
"@n8n/i18n": "2.36.3",
|
|
35
34
|
"@n8n/permissions": "0.73.0",
|
|
36
|
-
"n8n-
|
|
37
|
-
"@n8n/rest-api-client": "2.36.
|
|
35
|
+
"@n8n/frontend-constants": "0.4.0",
|
|
36
|
+
"@n8n/rest-api-client": "2.36.4",
|
|
37
|
+
"n8n-workflow": "2.36.3"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@testing-library/jest-dom": "^6.6.3",
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"vue-tsc": "^2.2.8",
|
|
52
52
|
"@n8n/eslint-config": "0.0.1",
|
|
53
53
|
"@n8n/playwright-janitor": "0.1.0",
|
|
54
|
-
"@n8n/
|
|
55
|
-
"@n8n/
|
|
54
|
+
"@n8n/typescript-config": "1.10.0",
|
|
55
|
+
"@n8n/vitest-config": "1.21.0"
|
|
56
56
|
},
|
|
57
57
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
58
58
|
"homepage": "https://n8n.io",
|