@n8n/stores 2.37.1 → 2.38.0
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/constants2.cjs +1 -0
- package/dist/constants2.cjs.map +1 -1
- package/dist/constants2.d.cts +1 -0
- package/dist/constants2.d.mts +1 -0
- package/dist/constants2.mjs +1 -0
- package/dist/constants2.mjs.map +1 -1
- package/dist/notifications.store.d.cts +2 -2
- package/dist/roles.store.d.cts +21 -21
- package/dist/settings.store.d.cts +250 -250
- package/dist/settings.store.d.mts +2 -2
- package/dist/useAgentRequestStore.d.cts +2 -2
- package/dist/useAgentRequestStore.d.mts +2 -2
- package/dist/useRootStore.d.cts +76 -81
- package/dist/useRootStore.d.mts +76 -81
- package/dist/useRootStore2.cjs.map +1 -1
- package/dist/useRootStore2.mjs.map +1 -1
- package/dist/users.store.d.cts +51 -51
- package/dist/users.store.d.mts +51 -51
- package/dist/versions.store.d.cts +40 -40
- package/package.json +14 -14
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 vue131 from "vue";
|
|
4
|
+
import * as pinia5 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: pinia5.StoreDefinition<"users", Pick<{
|
|
16
|
+
initialized: vue131.Ref<boolean, boolean>;
|
|
17
|
+
currentUserId: vue131.Ref<string | null, string | null>;
|
|
18
|
+
usersById: vue131.Ref<Record<string, IUser>, Record<string, IUser>>;
|
|
19
|
+
allUsers: vue131.ComputedRef<IUser[]>;
|
|
20
|
+
currentUser: vue131.ComputedRef<IUser | null>;
|
|
21
|
+
userActivated: vue131.ComputedRef<boolean>;
|
|
22
|
+
isDefaultUser: vue131.ComputedRef<boolean>;
|
|
23
|
+
isInstanceOwner: vue131.ComputedRef<boolean>;
|
|
24
|
+
isAdmin: vue131.ComputedRef<boolean>;
|
|
25
|
+
isAdminOrOwner: vue131.ComputedRef<boolean>;
|
|
26
|
+
mfaEnabled: vue131.ComputedRef<boolean>;
|
|
27
|
+
globalRoleName: vue131.ComputedRef<string>;
|
|
28
|
+
userClaimedAiCredits: vue131.ComputedRef<boolean | undefined>;
|
|
29
|
+
isEasyAIWorkflowOnboardingDone: vue131.ComputedRef<boolean>;
|
|
30
|
+
canUserUpdateVersion: vue131.ComputedRef<boolean>;
|
|
31
|
+
usersLimitNotReached: vue131.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: 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: vue131.Ref<boolean, boolean>;
|
|
195
|
+
currentUserId: vue131.Ref<string | null, string | null>;
|
|
196
|
+
usersById: vue131.Ref<Record<string, IUser>, Record<string, IUser>>;
|
|
197
|
+
allUsers: vue131.ComputedRef<IUser[]>;
|
|
198
|
+
currentUser: vue131.ComputedRef<IUser | null>;
|
|
199
|
+
userActivated: vue131.ComputedRef<boolean>;
|
|
200
|
+
isDefaultUser: vue131.ComputedRef<boolean>;
|
|
201
|
+
isInstanceOwner: vue131.ComputedRef<boolean>;
|
|
202
|
+
isAdmin: vue131.ComputedRef<boolean>;
|
|
203
|
+
isAdminOrOwner: vue131.ComputedRef<boolean>;
|
|
204
|
+
mfaEnabled: vue131.ComputedRef<boolean>;
|
|
205
|
+
globalRoleName: vue131.ComputedRef<string>;
|
|
206
|
+
userClaimedAiCredits: vue131.ComputedRef<boolean | undefined>;
|
|
207
|
+
isEasyAIWorkflowOnboardingDone: vue131.ComputedRef<boolean>;
|
|
208
|
+
canUserUpdateVersion: vue131.ComputedRef<boolean>;
|
|
209
|
+
usersLimitNotReached: vue131.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: 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: vue131.Ref<boolean, boolean>;
|
|
373
|
+
currentUserId: vue131.Ref<string | null, string | null>;
|
|
374
|
+
usersById: vue131.Ref<Record<string, IUser>, Record<string, IUser>>;
|
|
375
|
+
allUsers: vue131.ComputedRef<IUser[]>;
|
|
376
|
+
currentUser: vue131.ComputedRef<IUser | null>;
|
|
377
|
+
userActivated: vue131.ComputedRef<boolean>;
|
|
378
|
+
isDefaultUser: vue131.ComputedRef<boolean>;
|
|
379
|
+
isInstanceOwner: vue131.ComputedRef<boolean>;
|
|
380
|
+
isAdmin: vue131.ComputedRef<boolean>;
|
|
381
|
+
isAdminOrOwner: vue131.ComputedRef<boolean>;
|
|
382
|
+
mfaEnabled: vue131.ComputedRef<boolean>;
|
|
383
|
+
globalRoleName: vue131.ComputedRef<string>;
|
|
384
|
+
userClaimedAiCredits: vue131.ComputedRef<boolean | undefined>;
|
|
385
|
+
isEasyAIWorkflowOnboardingDone: vue131.ComputedRef<boolean>;
|
|
386
|
+
canUserUpdateVersion: vue131.ComputedRef<boolean>;
|
|
387
|
+
usersLimitNotReached: vue131.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 vue335 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: vue335.Ref<boolean, boolean>;
|
|
17
|
+
currentUserId: vue335.Ref<string | null, string | null>;
|
|
18
|
+
usersById: vue335.Ref<Record<string, IUser>, Record<string, IUser>>;
|
|
19
|
+
allUsers: vue335.ComputedRef<IUser[]>;
|
|
20
|
+
currentUser: vue335.ComputedRef<IUser | null>;
|
|
21
|
+
userActivated: vue335.ComputedRef<boolean>;
|
|
22
|
+
isDefaultUser: vue335.ComputedRef<boolean>;
|
|
23
|
+
isInstanceOwner: vue335.ComputedRef<boolean>;
|
|
24
|
+
isAdmin: vue335.ComputedRef<boolean>;
|
|
25
|
+
isAdminOrOwner: vue335.ComputedRef<boolean>;
|
|
26
|
+
mfaEnabled: vue335.ComputedRef<boolean>;
|
|
27
|
+
globalRoleName: vue335.ComputedRef<string>;
|
|
28
|
+
userClaimedAiCredits: vue335.ComputedRef<boolean | undefined>;
|
|
29
|
+
isEasyAIWorkflowOnboardingDone: vue335.ComputedRef<boolean>;
|
|
30
|
+
canUserUpdateVersion: vue335.ComputedRef<boolean>;
|
|
31
|
+
usersLimitNotReached: vue335.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: vue335.Ref<boolean, boolean>;
|
|
195
|
+
currentUserId: vue335.Ref<string | null, string | null>;
|
|
196
|
+
usersById: vue335.Ref<Record<string, IUser>, Record<string, IUser>>;
|
|
197
|
+
allUsers: vue335.ComputedRef<IUser[]>;
|
|
198
|
+
currentUser: vue335.ComputedRef<IUser | null>;
|
|
199
|
+
userActivated: vue335.ComputedRef<boolean>;
|
|
200
|
+
isDefaultUser: vue335.ComputedRef<boolean>;
|
|
201
|
+
isInstanceOwner: vue335.ComputedRef<boolean>;
|
|
202
|
+
isAdmin: vue335.ComputedRef<boolean>;
|
|
203
|
+
isAdminOrOwner: vue335.ComputedRef<boolean>;
|
|
204
|
+
mfaEnabled: vue335.ComputedRef<boolean>;
|
|
205
|
+
globalRoleName: vue335.ComputedRef<string>;
|
|
206
|
+
userClaimedAiCredits: vue335.ComputedRef<boolean | undefined>;
|
|
207
|
+
isEasyAIWorkflowOnboardingDone: vue335.ComputedRef<boolean>;
|
|
208
|
+
canUserUpdateVersion: vue335.ComputedRef<boolean>;
|
|
209
|
+
usersLimitNotReached: vue335.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: vue335.Ref<boolean, boolean>;
|
|
373
|
+
currentUserId: vue335.Ref<string | null, string | null>;
|
|
374
|
+
usersById: vue335.Ref<Record<string, IUser>, Record<string, IUser>>;
|
|
375
|
+
allUsers: vue335.ComputedRef<IUser[]>;
|
|
376
|
+
currentUser: vue335.ComputedRef<IUser | null>;
|
|
377
|
+
userActivated: vue335.ComputedRef<boolean>;
|
|
378
|
+
isDefaultUser: vue335.ComputedRef<boolean>;
|
|
379
|
+
isInstanceOwner: vue335.ComputedRef<boolean>;
|
|
380
|
+
isAdmin: vue335.ComputedRef<boolean>;
|
|
381
|
+
isAdminOrOwner: vue335.ComputedRef<boolean>;
|
|
382
|
+
mfaEnabled: vue335.ComputedRef<boolean>;
|
|
383
|
+
globalRoleName: vue335.ComputedRef<string>;
|
|
384
|
+
userClaimedAiCredits: vue335.ComputedRef<boolean | undefined>;
|
|
385
|
+
isEasyAIWorkflowOnboardingDone: vue335.ComputedRef<boolean>;
|
|
386
|
+
canUserUpdateVersion: vue335.ComputedRef<boolean>;
|
|
387
|
+
usersLimitNotReached: vue335.ComputedRef<boolean>;
|
|
388
388
|
addUsers: (newUsers: User[]) => void;
|
|
389
389
|
loginWithCookie: () => Promise<void>;
|
|
390
390
|
initialize: () => Promise<void>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as ModalOpeners } from "./modalOpeners2.cjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue32 from "vue";
|
|
3
|
+
import * as pinia3 from "pinia";
|
|
4
4
|
import { IVersionNotificationSettings } from "@n8n/api-types";
|
|
5
|
-
import * as
|
|
5
|
+
import * as n8n_workflow0 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
|
|
|
@@ -12,16 +12,16 @@ 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: pinia3.StoreDefinition<"versions", Pick<{
|
|
16
|
+
currentVersion: vue32.Ref<versionsApi.Version | undefined, versionsApi.Version | undefined>;
|
|
17
|
+
latestVersion: vue32.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_workflow0.INodeParameters;
|
|
25
25
|
iconData: {
|
|
26
26
|
type: string;
|
|
27
27
|
icon?: string | undefined;
|
|
@@ -37,14 +37,14 @@ declare const useVersionsStore: pinia6.StoreDefinition<"versions", Pick<{
|
|
|
37
37
|
hasSecurityIssue: boolean;
|
|
38
38
|
securityIssueFixVersion: string;
|
|
39
39
|
}>;
|
|
40
|
-
nextVersions:
|
|
40
|
+
nextVersions: vue32.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_workflow0.INodeParameters;
|
|
48
48
|
iconData: {
|
|
49
49
|
type: string;
|
|
50
50
|
icon?: string | undefined;
|
|
@@ -66,7 +66,7 @@ declare const useVersionsStore: pinia6.StoreDefinition<"versions", Pick<{
|
|
|
66
66
|
displayName: string;
|
|
67
67
|
icon: string;
|
|
68
68
|
iconUrl?: string | undefined;
|
|
69
|
-
defaults:
|
|
69
|
+
defaults: n8n_workflow0.INodeParameters;
|
|
70
70
|
iconData: {
|
|
71
71
|
type: string;
|
|
72
72
|
icon?: string | undefined;
|
|
@@ -82,17 +82,17 @@ declare const useVersionsStore: pinia6.StoreDefinition<"versions", Pick<{
|
|
|
82
82
|
hasSecurityIssue: boolean;
|
|
83
83
|
securityIssueFixVersion: string;
|
|
84
84
|
}[]>;
|
|
85
|
-
hasVersionUpdates:
|
|
86
|
-
hasSignificantUpdates:
|
|
87
|
-
areNotificationsEnabled:
|
|
88
|
-
infoUrl:
|
|
85
|
+
hasVersionUpdates: vue32.ComputedRef<boolean>;
|
|
86
|
+
hasSignificantUpdates: vue32.ComputedRef<boolean>;
|
|
87
|
+
areNotificationsEnabled: vue32.ComputedRef<boolean>;
|
|
88
|
+
infoUrl: vue32.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: vue32.Ref<{
|
|
96
96
|
title: string;
|
|
97
97
|
calloutText: string;
|
|
98
98
|
footer: string;
|
|
@@ -121,7 +121,7 @@ declare const useVersionsStore: pinia6.StoreDefinition<"versions", Pick<{
|
|
|
121
121
|
createdAt: string;
|
|
122
122
|
updatedAt: string | null;
|
|
123
123
|
}>;
|
|
124
|
-
whatsNewArticles:
|
|
124
|
+
whatsNewArticles: vue32.ComputedRef<{
|
|
125
125
|
id: number;
|
|
126
126
|
createdAt: string;
|
|
127
127
|
updatedAt: string | null;
|
|
@@ -135,15 +135,15 @@ declare const useVersionsStore: pinia6.StoreDefinition<"versions", Pick<{
|
|
|
135
135
|
shouldShowWhatsNewCallout: () => boolean;
|
|
136
136
|
dismissWhatsNewCallout: () => void;
|
|
137
137
|
}, "currentVersion" | "nextVersions" | "whatsNew">, Pick<{
|
|
138
|
-
currentVersion:
|
|
139
|
-
latestVersion:
|
|
138
|
+
currentVersion: vue32.Ref<versionsApi.Version | undefined, versionsApi.Version | undefined>;
|
|
139
|
+
latestVersion: vue32.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_workflow0.INodeParameters;
|
|
147
147
|
iconData: {
|
|
148
148
|
type: string;
|
|
149
149
|
icon?: string | undefined;
|
|
@@ -159,14 +159,14 @@ declare const useVersionsStore: pinia6.StoreDefinition<"versions", Pick<{
|
|
|
159
159
|
hasSecurityIssue: boolean;
|
|
160
160
|
securityIssueFixVersion: string;
|
|
161
161
|
}>;
|
|
162
|
-
nextVersions:
|
|
162
|
+
nextVersions: vue32.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_workflow0.INodeParameters;
|
|
170
170
|
iconData: {
|
|
171
171
|
type: string;
|
|
172
172
|
icon?: string | undefined;
|
|
@@ -188,7 +188,7 @@ declare const useVersionsStore: pinia6.StoreDefinition<"versions", Pick<{
|
|
|
188
188
|
displayName: string;
|
|
189
189
|
icon: string;
|
|
190
190
|
iconUrl?: string | undefined;
|
|
191
|
-
defaults:
|
|
191
|
+
defaults: n8n_workflow0.INodeParameters;
|
|
192
192
|
iconData: {
|
|
193
193
|
type: string;
|
|
194
194
|
icon?: string | undefined;
|
|
@@ -204,17 +204,17 @@ declare const useVersionsStore: pinia6.StoreDefinition<"versions", Pick<{
|
|
|
204
204
|
hasSecurityIssue: boolean;
|
|
205
205
|
securityIssueFixVersion: string;
|
|
206
206
|
}[]>;
|
|
207
|
-
hasVersionUpdates:
|
|
208
|
-
hasSignificantUpdates:
|
|
209
|
-
areNotificationsEnabled:
|
|
210
|
-
infoUrl:
|
|
207
|
+
hasVersionUpdates: vue32.ComputedRef<boolean>;
|
|
208
|
+
hasSignificantUpdates: vue32.ComputedRef<boolean>;
|
|
209
|
+
areNotificationsEnabled: vue32.ComputedRef<boolean>;
|
|
210
|
+
infoUrl: vue32.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: vue32.Ref<{
|
|
218
218
|
title: string;
|
|
219
219
|
calloutText: string;
|
|
220
220
|
footer: string;
|
|
@@ -243,7 +243,7 @@ declare const useVersionsStore: pinia6.StoreDefinition<"versions", Pick<{
|
|
|
243
243
|
createdAt: string;
|
|
244
244
|
updatedAt: string | null;
|
|
245
245
|
}>;
|
|
246
|
-
whatsNewArticles:
|
|
246
|
+
whatsNewArticles: vue32.ComputedRef<{
|
|
247
247
|
id: number;
|
|
248
248
|
createdAt: string;
|
|
249
249
|
updatedAt: string | null;
|
|
@@ -257,15 +257,15 @@ declare const useVersionsStore: pinia6.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: vue32.Ref<versionsApi.Version | undefined, versionsApi.Version | undefined>;
|
|
261
|
+
latestVersion: vue32.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_workflow0.INodeParameters;
|
|
269
269
|
iconData: {
|
|
270
270
|
type: string;
|
|
271
271
|
icon?: string | undefined;
|
|
@@ -281,14 +281,14 @@ declare const useVersionsStore: pinia6.StoreDefinition<"versions", Pick<{
|
|
|
281
281
|
hasSecurityIssue: boolean;
|
|
282
282
|
securityIssueFixVersion: string;
|
|
283
283
|
}>;
|
|
284
|
-
nextVersions:
|
|
284
|
+
nextVersions: vue32.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_workflow0.INodeParameters;
|
|
292
292
|
iconData: {
|
|
293
293
|
type: string;
|
|
294
294
|
icon?: string | undefined;
|
|
@@ -310,7 +310,7 @@ declare const useVersionsStore: pinia6.StoreDefinition<"versions", Pick<{
|
|
|
310
310
|
displayName: string;
|
|
311
311
|
icon: string;
|
|
312
312
|
iconUrl?: string | undefined;
|
|
313
|
-
defaults:
|
|
313
|
+
defaults: n8n_workflow0.INodeParameters;
|
|
314
314
|
iconData: {
|
|
315
315
|
type: string;
|
|
316
316
|
icon?: string | undefined;
|
|
@@ -326,17 +326,17 @@ declare const useVersionsStore: pinia6.StoreDefinition<"versions", Pick<{
|
|
|
326
326
|
hasSecurityIssue: boolean;
|
|
327
327
|
securityIssueFixVersion: string;
|
|
328
328
|
}[]>;
|
|
329
|
-
hasVersionUpdates:
|
|
330
|
-
hasSignificantUpdates:
|
|
331
|
-
areNotificationsEnabled:
|
|
332
|
-
infoUrl:
|
|
329
|
+
hasVersionUpdates: vue32.ComputedRef<boolean>;
|
|
330
|
+
hasSignificantUpdates: vue32.ComputedRef<boolean>;
|
|
331
|
+
areNotificationsEnabled: vue32.ComputedRef<boolean>;
|
|
332
|
+
infoUrl: vue32.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: vue32.Ref<{
|
|
340
340
|
title: string;
|
|
341
341
|
calloutText: string;
|
|
342
342
|
footer: string;
|
|
@@ -365,7 +365,7 @@ declare const useVersionsStore: pinia6.StoreDefinition<"versions", Pick<{
|
|
|
365
365
|
createdAt: string;
|
|
366
366
|
updatedAt: string | null;
|
|
367
367
|
}>;
|
|
368
|
-
whatsNewArticles:
|
|
368
|
+
whatsNewArticles: vue32.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.
|
|
4
|
+
"version": "2.38.0",
|
|
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/composables": "1.
|
|
31
|
-
"@n8n/constants": "0.
|
|
32
|
-
"@n8n/
|
|
33
|
-
"@n8n/
|
|
34
|
-
"@n8n/
|
|
35
|
-
"@n8n/
|
|
36
|
-
"@n8n/
|
|
37
|
-
"n8n-workflow": "2.
|
|
30
|
+
"@n8n/composables": "1.28.0",
|
|
31
|
+
"@n8n/constants": "0.37.0",
|
|
32
|
+
"@n8n/api-types": "1.38.0",
|
|
33
|
+
"@n8n/i18n": "2.38.0",
|
|
34
|
+
"@n8n/frontend-constants": "0.6.0",
|
|
35
|
+
"@n8n/rest-api-client": "2.38.0",
|
|
36
|
+
"@n8n/permissions": "0.75.0",
|
|
37
|
+
"n8n-workflow": "2.38.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@testing-library/jest-dom": "^6.6.3",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"vitest-mock-extended": "^3.1.0",
|
|
51
51
|
"vue-tsc": "^2.2.8",
|
|
52
52
|
"@n8n/playwright-janitor": "0.1.0",
|
|
53
|
-
"@n8n/
|
|
54
|
-
"@n8n/
|
|
55
|
-
"@n8n/
|
|
53
|
+
"@n8n/typescript-config": "1.11.0",
|
|
54
|
+
"@n8n/vitest-config": "1.21.0",
|
|
55
|
+
"@n8n/eslint-config": "0.0.1"
|
|
56
56
|
},
|
|
57
57
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
58
58
|
"homepage": "https://n8n.io",
|