@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.
@@ -1,4 +1,4 @@
1
- import * as pinia2 from "pinia";
1
+ import * as pinia1 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: pinia2.StoreDefinition<"agentRequest", Pick<{
15
+ declare const useAgentRequestStore: pinia1.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;
@@ -1,5 +1,5 @@
1
1
  import * as pinia3 from "pinia";
2
- import * as vue266 from "vue";
2
+ import * as vue248 from "vue";
3
3
 
4
4
  //#region src/useRootStore.d.ts
5
5
  type RootStoreState = {
@@ -32,35 +32,35 @@ type RootStoreState = {
32
32
  binaryDataMode: 'default' | 'filesystem' | 's3' | 'azure' | 'database';
33
33
  };
34
34
  declare const useRootStore: pinia3.StoreDefinition<"root", Pick<{
35
- baseUrl: vue266.ComputedRef<string>;
36
- formUrl: vue266.ComputedRef<string>;
37
- formTestUrl: vue266.ComputedRef<string>;
38
- formWaitingUrl: vue266.ComputedRef<string>;
39
- mcpUrl: vue266.ComputedRef<string>;
40
- mcpTestUrl: vue266.ComputedRef<string>;
41
- webhookUrl: vue266.ComputedRef<string>;
42
- webhookTestUrl: vue266.ComputedRef<string>;
43
- webhookWaitingUrl: vue266.ComputedRef<string>;
44
- restUrl: vue266.ComputedRef<string>;
45
- restApiContext: vue266.ComputedRef<{
35
+ baseUrl: vue248.ComputedRef<string>;
36
+ formUrl: vue248.ComputedRef<string>;
37
+ formTestUrl: vue248.ComputedRef<string>;
38
+ formWaitingUrl: vue248.ComputedRef<string>;
39
+ mcpUrl: vue248.ComputedRef<string>;
40
+ mcpTestUrl: vue248.ComputedRef<string>;
41
+ webhookUrl: vue248.ComputedRef<string>;
42
+ webhookTestUrl: vue248.ComputedRef<string>;
43
+ webhookWaitingUrl: vue248.ComputedRef<string>;
44
+ restUrl: vue248.ComputedRef<string>;
45
+ restApiContext: vue248.ComputedRef<{
46
46
  baseUrl: string;
47
47
  pushRef: string;
48
48
  }>;
49
- publicApiContext: vue266.ComputedRef<{
49
+ publicApiContext: vue248.ComputedRef<{
50
50
  baseUrl: string;
51
51
  }>;
52
- urlBaseEditor: vue266.ComputedRef<string>;
53
- urlBaseWebhook: vue266.ComputedRef<string>;
54
- versionCli: vue266.ComputedRef<string>;
55
- instanceId: vue266.ComputedRef<string>;
56
- pushRef: vue266.ComputedRef<string>;
57
- defaultLocale: vue266.ComputedRef<string>;
58
- binaryDataMode: vue266.ComputedRef<"default" | "filesystem" | "s3" | "azure" | "database">;
59
- OAuthCallbackUrls: vue266.ComputedRef<object>;
60
- jwksUri: vue266.ComputedRef<string>;
61
- executionTimeout: vue266.ComputedRef<number>;
62
- maxExecutionTimeout: vue266.ComputedRef<number>;
63
- timezone: vue266.ComputedRef<string>;
52
+ urlBaseEditor: vue248.ComputedRef<string>;
53
+ urlBaseWebhook: vue248.ComputedRef<string>;
54
+ versionCli: vue248.ComputedRef<string>;
55
+ instanceId: vue248.ComputedRef<string>;
56
+ pushRef: vue248.ComputedRef<string>;
57
+ defaultLocale: vue248.ComputedRef<string>;
58
+ binaryDataMode: vue248.ComputedRef<"default" | "filesystem" | "s3" | "azure" | "database">;
59
+ OAuthCallbackUrls: vue248.ComputedRef<object>;
60
+ jwksUri: vue248.ComputedRef<string>;
61
+ executionTimeout: vue248.ComputedRef<number>;
62
+ maxExecutionTimeout: vue248.ComputedRef<number>;
63
+ timezone: vue248.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: pinia3.StoreDefinition<"root", Pick<{
85
85
  setPushRef: (value: string) => void;
86
86
  setPublicApiPath: (value: string) => void;
87
87
  }, never>, Pick<{
88
- baseUrl: vue266.ComputedRef<string>;
89
- formUrl: vue266.ComputedRef<string>;
90
- formTestUrl: vue266.ComputedRef<string>;
91
- formWaitingUrl: vue266.ComputedRef<string>;
92
- mcpUrl: vue266.ComputedRef<string>;
93
- mcpTestUrl: vue266.ComputedRef<string>;
94
- webhookUrl: vue266.ComputedRef<string>;
95
- webhookTestUrl: vue266.ComputedRef<string>;
96
- webhookWaitingUrl: vue266.ComputedRef<string>;
97
- restUrl: vue266.ComputedRef<string>;
98
- restApiContext: vue266.ComputedRef<{
88
+ baseUrl: vue248.ComputedRef<string>;
89
+ formUrl: vue248.ComputedRef<string>;
90
+ formTestUrl: vue248.ComputedRef<string>;
91
+ formWaitingUrl: vue248.ComputedRef<string>;
92
+ mcpUrl: vue248.ComputedRef<string>;
93
+ mcpTestUrl: vue248.ComputedRef<string>;
94
+ webhookUrl: vue248.ComputedRef<string>;
95
+ webhookTestUrl: vue248.ComputedRef<string>;
96
+ webhookWaitingUrl: vue248.ComputedRef<string>;
97
+ restUrl: vue248.ComputedRef<string>;
98
+ restApiContext: vue248.ComputedRef<{
99
99
  baseUrl: string;
100
100
  pushRef: string;
101
101
  }>;
102
- publicApiContext: vue266.ComputedRef<{
102
+ publicApiContext: vue248.ComputedRef<{
103
103
  baseUrl: string;
104
104
  }>;
105
- urlBaseEditor: vue266.ComputedRef<string>;
106
- urlBaseWebhook: vue266.ComputedRef<string>;
107
- versionCli: vue266.ComputedRef<string>;
108
- instanceId: vue266.ComputedRef<string>;
109
- pushRef: vue266.ComputedRef<string>;
110
- defaultLocale: vue266.ComputedRef<string>;
111
- binaryDataMode: vue266.ComputedRef<"default" | "filesystem" | "s3" | "azure" | "database">;
112
- OAuthCallbackUrls: vue266.ComputedRef<object>;
113
- jwksUri: vue266.ComputedRef<string>;
114
- executionTimeout: vue266.ComputedRef<number>;
115
- maxExecutionTimeout: vue266.ComputedRef<number>;
116
- timezone: vue266.ComputedRef<string>;
105
+ urlBaseEditor: vue248.ComputedRef<string>;
106
+ urlBaseWebhook: vue248.ComputedRef<string>;
107
+ versionCli: vue248.ComputedRef<string>;
108
+ instanceId: vue248.ComputedRef<string>;
109
+ pushRef: vue248.ComputedRef<string>;
110
+ defaultLocale: vue248.ComputedRef<string>;
111
+ binaryDataMode: vue248.ComputedRef<"default" | "filesystem" | "s3" | "azure" | "database">;
112
+ OAuthCallbackUrls: vue248.ComputedRef<object>;
113
+ jwksUri: vue248.ComputedRef<string>;
114
+ executionTimeout: vue248.ComputedRef<number>;
115
+ maxExecutionTimeout: vue248.ComputedRef<number>;
116
+ timezone: vue248.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: pinia3.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: vue266.ComputedRef<string>;
142
- formUrl: vue266.ComputedRef<string>;
143
- formTestUrl: vue266.ComputedRef<string>;
144
- formWaitingUrl: vue266.ComputedRef<string>;
145
- mcpUrl: vue266.ComputedRef<string>;
146
- mcpTestUrl: vue266.ComputedRef<string>;
147
- webhookUrl: vue266.ComputedRef<string>;
148
- webhookTestUrl: vue266.ComputedRef<string>;
149
- webhookWaitingUrl: vue266.ComputedRef<string>;
150
- restUrl: vue266.ComputedRef<string>;
151
- restApiContext: vue266.ComputedRef<{
141
+ baseUrl: vue248.ComputedRef<string>;
142
+ formUrl: vue248.ComputedRef<string>;
143
+ formTestUrl: vue248.ComputedRef<string>;
144
+ formWaitingUrl: vue248.ComputedRef<string>;
145
+ mcpUrl: vue248.ComputedRef<string>;
146
+ mcpTestUrl: vue248.ComputedRef<string>;
147
+ webhookUrl: vue248.ComputedRef<string>;
148
+ webhookTestUrl: vue248.ComputedRef<string>;
149
+ webhookWaitingUrl: vue248.ComputedRef<string>;
150
+ restUrl: vue248.ComputedRef<string>;
151
+ restApiContext: vue248.ComputedRef<{
152
152
  baseUrl: string;
153
153
  pushRef: string;
154
154
  }>;
155
- publicApiContext: vue266.ComputedRef<{
155
+ publicApiContext: vue248.ComputedRef<{
156
156
  baseUrl: string;
157
157
  }>;
158
- urlBaseEditor: vue266.ComputedRef<string>;
159
- urlBaseWebhook: vue266.ComputedRef<string>;
160
- versionCli: vue266.ComputedRef<string>;
161
- instanceId: vue266.ComputedRef<string>;
162
- pushRef: vue266.ComputedRef<string>;
163
- defaultLocale: vue266.ComputedRef<string>;
164
- binaryDataMode: vue266.ComputedRef<"default" | "filesystem" | "s3" | "azure" | "database">;
165
- OAuthCallbackUrls: vue266.ComputedRef<object>;
166
- jwksUri: vue266.ComputedRef<string>;
167
- executionTimeout: vue266.ComputedRef<number>;
168
- maxExecutionTimeout: vue266.ComputedRef<number>;
169
- timezone: vue266.ComputedRef<string>;
158
+ urlBaseEditor: vue248.ComputedRef<string>;
159
+ urlBaseWebhook: vue248.ComputedRef<string>;
160
+ versionCli: vue248.ComputedRef<string>;
161
+ instanceId: vue248.ComputedRef<string>;
162
+ pushRef: vue248.ComputedRef<string>;
163
+ defaultLocale: vue248.ComputedRef<string>;
164
+ binaryDataMode: vue248.ComputedRef<"default" | "filesystem" | "s3" | "azure" | "database">;
165
+ OAuthCallbackUrls: vue248.ComputedRef<object>;
166
+ jwksUri: vue248.ComputedRef<string>;
167
+ executionTimeout: vue248.ComputedRef<number>;
168
+ maxExecutionTimeout: vue248.ComputedRef<number>;
169
+ timezone: vue248.ComputedRef<string>;
170
170
  setUrlBaseWebhook: (value: string) => void;
171
171
  setUrlBaseEditor: (value: string) => void;
172
172
  setUrlBaseWebhookTest: (value: string) => void;
@@ -546,7 +546,7 @@ declare const useUsersStore: pinia6.StoreDefinition<"users", Pick<{
546
546
  isManagedByEnv?: boolean | undefined;
547
547
  }[];
548
548
  }, [filter?: UsersListFilterDto | undefined], true>;
549
- }, "generateInviteLink" | "initialize" | "addUsers" | "loginWithCookie" | "setPersonalizationAnswers" | "loginWithCreds" | "logout" | "registerLoginHook" | "registerLogoutHook" | "registerModalOpeners" | "setPermissionsResolvers" | "createOwner" | "validateSignupToken" | "acceptInvitation" | "sendForgotPasswordEmail" | "validatePasswordToken" | "changePassword" | "updateUser" | "updateUserName" | "updateUserSettings" | "updateOtherUserSettings" | "updateCurrentUserPassword" | "deleteUser" | "fetchUsers" | "inviteUsers" | "reinviteUser" | "getUserPasswordResetLink" | "submitPersonalizationSurvey" | "showPersonalizationSurvey" | "fetchMfaQR" | "verifyMfaCode" | "enableMfa" | "disableMfa" | "updateEnforceMfa" | "canEnableMFA" | "sendConfirmationEmail" | "updateGlobalRole" | "setEasyAIWorkflowOnboardingDone" | "isCalloutDismissed" | "setCalloutDismissed" | "submitContactEmail" | "setUserQuota">>;
549
+ }, "initialize" | "generateInviteLink" | "addUsers" | "loginWithCookie" | "setPersonalizationAnswers" | "loginWithCreds" | "logout" | "registerLoginHook" | "registerLogoutHook" | "registerModalOpeners" | "setPermissionsResolvers" | "createOwner" | "validateSignupToken" | "acceptInvitation" | "sendForgotPasswordEmail" | "validatePasswordToken" | "changePassword" | "updateUser" | "updateUserName" | "updateUserSettings" | "updateOtherUserSettings" | "updateCurrentUserPassword" | "deleteUser" | "fetchUsers" | "inviteUsers" | "reinviteUser" | "getUserPasswordResetLink" | "submitPersonalizationSurvey" | "showPersonalizationSurvey" | "fetchMfaQR" | "verifyMfaCode" | "enableMfa" | "disableMfa" | "updateEnforceMfa" | "canEnableMFA" | "sendConfirmationEmail" | "updateGlobalRole" | "setEasyAIWorkflowOnboardingDone" | "isCalloutDismissed" | "setCalloutDismissed" | "submitContactEmail" | "setUserQuota">>;
550
550
  //#endregion
551
551
  export { LoginHook, useUsersStore };
552
552
  //# sourceMappingURL=users.store.d.cts.map
@@ -1,6 +1,6 @@
1
1
  import { t as IInviteResponse } from "./invitation2.api.mjs";
2
2
  import { t as ModalOpeners } from "./modalOpeners2.mjs";
3
- import * as pinia4 from "pinia";
3
+ import * as pinia5 from "pinia";
4
4
  import * as vue338 from "vue";
5
5
  import { LoginRequestDto, PasswordUpdateRequestDto, SettingsUpdateRequestDto, User, UserSelfSettingsUpdateRequestDto, UserUpdateRequestDto, UsersListFilterDto } from "@n8n/api-types";
6
6
  import { AssignableGlobalRole } from "@n8n/permissions";
@@ -12,7 +12,7 @@ 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: pinia4.StoreDefinition<"users", Pick<{
15
+ declare const useUsersStore: pinia5.StoreDefinition<"users", Pick<{
16
16
  initialized: vue338.Ref<boolean, boolean>;
17
17
  currentUserId: vue338.Ref<string | null, string | null>;
18
18
  usersById: vue338.Ref<Record<string, IUser>, Record<string, IUser>>;
@@ -546,7 +546,7 @@ declare const useUsersStore: pinia4.StoreDefinition<"users", Pick<{
546
546
  isManagedByEnv?: boolean | undefined;
547
547
  }[];
548
548
  }, [filter?: UsersListFilterDto | undefined], true>;
549
- }, "generateInviteLink" | "initialize" | "addUsers" | "loginWithCookie" | "setPersonalizationAnswers" | "loginWithCreds" | "logout" | "registerLoginHook" | "registerLogoutHook" | "registerModalOpeners" | "setPermissionsResolvers" | "createOwner" | "validateSignupToken" | "acceptInvitation" | "sendForgotPasswordEmail" | "validatePasswordToken" | "changePassword" | "updateUser" | "updateUserName" | "updateUserSettings" | "updateOtherUserSettings" | "updateCurrentUserPassword" | "deleteUser" | "fetchUsers" | "inviteUsers" | "reinviteUser" | "getUserPasswordResetLink" | "submitPersonalizationSurvey" | "showPersonalizationSurvey" | "fetchMfaQR" | "verifyMfaCode" | "enableMfa" | "disableMfa" | "updateEnforceMfa" | "canEnableMFA" | "sendConfirmationEmail" | "updateGlobalRole" | "setEasyAIWorkflowOnboardingDone" | "isCalloutDismissed" | "setCalloutDismissed" | "submitContactEmail" | "setUserQuota">>;
549
+ }, "initialize" | "generateInviteLink" | "addUsers" | "loginWithCookie" | "setPersonalizationAnswers" | "loginWithCreds" | "logout" | "registerLoginHook" | "registerLogoutHook" | "registerModalOpeners" | "setPermissionsResolvers" | "createOwner" | "validateSignupToken" | "acceptInvitation" | "sendForgotPasswordEmail" | "validatePasswordToken" | "changePassword" | "updateUser" | "updateUserName" | "updateUserSettings" | "updateOtherUserSettings" | "updateCurrentUserPassword" | "deleteUser" | "fetchUsers" | "inviteUsers" | "reinviteUser" | "getUserPasswordResetLink" | "submitPersonalizationSurvey" | "showPersonalizationSurvey" | "fetchMfaQR" | "verifyMfaCode" | "enableMfa" | "disableMfa" | "updateEnforceMfa" | "canEnableMFA" | "sendConfirmationEmail" | "updateGlobalRole" | "setEasyAIWorkflowOnboardingDone" | "isCalloutDismissed" | "setCalloutDismissed" | "submitContactEmail" | "setUserQuota">>;
550
550
  //#endregion
551
551
  export { LoginHook, useUsersStore };
552
552
  //# sourceMappingURL=users.store.d.mts.map
@@ -1,5 +1,5 @@
1
1
  import { t as ModalOpeners } from "./modalOpeners2.mjs";
2
- import * as pinia5 from "pinia";
2
+ import * as pinia6 from "pinia";
3
3
  import * as vue386 from "vue";
4
4
  import { IVersionNotificationSettings } from "@n8n/api-types";
5
5
  import * as n8n_workflow5 from "n8n-workflow";
@@ -12,7 +12,7 @@ type SetVersionParams = {
12
12
  currentVersion: string;
13
13
  };
14
14
  declare const SEMVER_REGEX: RegExp;
15
- declare const useVersionsStore: pinia5.StoreDefinition<"versions", Pick<{
15
+ declare const useVersionsStore: pinia6.StoreDefinition<"versions", Pick<{
16
16
  currentVersion: vue386.Ref<versionsApi.Version | undefined, versionsApi.Version | undefined>;
17
17
  latestVersion: vue386.ComputedRef<{
18
18
  name: string;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@n8n/stores",
3
3
  "type": "module",
4
- "version": "2.36.3",
4
+ "version": "2.36.5",
5
5
  "files": [
6
6
  "dist",
7
- "LICENSE_EE.md",
8
- "LICENSE.md"
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.3",
31
- "@n8n/composables": "1.26.3",
30
+ "@n8n/api-types": "1.36.5",
31
+ "@n8n/composables": "1.26.5",
32
32
  "@n8n/constants": "0.35.0",
33
- "@n8n/i18n": "2.36.3",
34
- "@n8n/rest-api-client": "2.36.3",
35
- "@n8n/frontend-constants": "0.4.0",
33
+ "@n8n/i18n": "2.36.4",
36
34
  "@n8n/permissions": "0.73.0",
37
- "n8n-workflow": "2.36.3"
35
+ "@n8n/rest-api-client": "2.36.5",
36
+ "n8n-workflow": "2.36.4",
37
+ "@n8n/frontend-constants": "0.4.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@testing-library/jest-dom": "^6.6.3",
@@ -49,10 +49,10 @@
49
49
  "vitest": "^4.1.9",
50
50
  "vitest-mock-extended": "^3.1.0",
51
51
  "vue-tsc": "^2.2.8",
52
- "@n8n/eslint-config": "0.0.1",
53
52
  "@n8n/playwright-janitor": "0.1.0",
54
- "@n8n/vitest-config": "1.21.0",
55
- "@n8n/typescript-config": "1.10.0"
53
+ "@n8n/eslint-config": "0.0.1",
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",