@n8n/stores 2.34.2 → 2.35.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/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/roles.store.d.mts +2 -2
- package/dist/settings.store.d.cts +10 -1
- package/dist/settings.store.d.mts +12 -3
- package/dist/settings2.store.cjs +2 -0
- package/dist/settings2.store.cjs.map +1 -1
- package/dist/settings2.store.mjs +2 -0
- package/dist/settings2.store.mjs.map +1 -1
- package/dist/useAgentRequestStore.d.cts +6 -6
- package/dist/useAgentRequestStore.d.mts +2 -2
- package/dist/useRootStore.d.cts +72 -72
- package/dist/useRootStore.d.mts +70 -70
- package/dist/users.store.d.cts +55 -55
- package/dist/users.store.d.mts +49 -49
- package/dist/versions.store.d.cts +30 -30
- package/dist/versions.store.d.mts +28 -28
- package/package.json +12 -12
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as pinia2 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: pinia2.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 vue326 from "vue";
|
|
2
|
+
import * as pinia5 from "pinia";
|
|
3
3
|
|
|
4
4
|
//#region src/useRootStore.d.ts
|
|
5
5
|
type RootStoreState = {
|
|
@@ -30,33 +30,33 @@ type RootStoreState = {
|
|
|
30
30
|
instanceId: string;
|
|
31
31
|
binaryDataMode: 'default' | 'filesystem' | 's3' | 'azure' | 'database';
|
|
32
32
|
};
|
|
33
|
-
declare const useRootStore:
|
|
34
|
-
baseUrl:
|
|
35
|
-
formUrl:
|
|
36
|
-
formTestUrl:
|
|
37
|
-
formWaitingUrl:
|
|
38
|
-
mcpUrl:
|
|
39
|
-
mcpTestUrl:
|
|
40
|
-
webhookUrl:
|
|
41
|
-
webhookTestUrl:
|
|
42
|
-
webhookWaitingUrl:
|
|
43
|
-
restUrl:
|
|
44
|
-
restApiContext:
|
|
33
|
+
declare const useRootStore: pinia5.StoreDefinition<"root", Pick<{
|
|
34
|
+
baseUrl: vue326.ComputedRef<string>;
|
|
35
|
+
formUrl: vue326.ComputedRef<string>;
|
|
36
|
+
formTestUrl: vue326.ComputedRef<string>;
|
|
37
|
+
formWaitingUrl: vue326.ComputedRef<string>;
|
|
38
|
+
mcpUrl: vue326.ComputedRef<string>;
|
|
39
|
+
mcpTestUrl: vue326.ComputedRef<string>;
|
|
40
|
+
webhookUrl: vue326.ComputedRef<string>;
|
|
41
|
+
webhookTestUrl: vue326.ComputedRef<string>;
|
|
42
|
+
webhookWaitingUrl: vue326.ComputedRef<string>;
|
|
43
|
+
restUrl: vue326.ComputedRef<string>;
|
|
44
|
+
restApiContext: vue326.ComputedRef<{
|
|
45
45
|
baseUrl: string;
|
|
46
46
|
pushRef: string;
|
|
47
47
|
}>;
|
|
48
|
-
urlBaseEditor:
|
|
49
|
-
urlBaseWebhook:
|
|
50
|
-
versionCli:
|
|
51
|
-
instanceId:
|
|
52
|
-
pushRef:
|
|
53
|
-
defaultLocale:
|
|
54
|
-
binaryDataMode:
|
|
55
|
-
OAuthCallbackUrls:
|
|
56
|
-
jwksUri:
|
|
57
|
-
executionTimeout:
|
|
58
|
-
maxExecutionTimeout:
|
|
59
|
-
timezone:
|
|
48
|
+
urlBaseEditor: vue326.ComputedRef<string>;
|
|
49
|
+
urlBaseWebhook: vue326.ComputedRef<string>;
|
|
50
|
+
versionCli: vue326.ComputedRef<string>;
|
|
51
|
+
instanceId: vue326.ComputedRef<string>;
|
|
52
|
+
pushRef: vue326.ComputedRef<string>;
|
|
53
|
+
defaultLocale: vue326.ComputedRef<string>;
|
|
54
|
+
binaryDataMode: vue326.ComputedRef<"default" | "filesystem" | "s3" | "azure" | "database">;
|
|
55
|
+
OAuthCallbackUrls: vue326.ComputedRef<object>;
|
|
56
|
+
jwksUri: vue326.ComputedRef<string>;
|
|
57
|
+
executionTimeout: vue326.ComputedRef<number>;
|
|
58
|
+
maxExecutionTimeout: vue326.ComputedRef<number>;
|
|
59
|
+
timezone: vue326.ComputedRef<string>;
|
|
60
60
|
setUrlBaseWebhook: (value: string) => void;
|
|
61
61
|
setUrlBaseEditor: (value: string) => void;
|
|
62
62
|
setUrlBaseWebhookTest: (value: string) => void;
|
|
@@ -80,32 +80,32 @@ declare const useRootStore: pinia4.StoreDefinition<"root", Pick<{
|
|
|
80
80
|
setBinaryDataMode: (value: RootStoreState["binaryDataMode"]) => void;
|
|
81
81
|
setPushRef: (value: string) => void;
|
|
82
82
|
}, never>, Pick<{
|
|
83
|
-
baseUrl:
|
|
84
|
-
formUrl:
|
|
85
|
-
formTestUrl:
|
|
86
|
-
formWaitingUrl:
|
|
87
|
-
mcpUrl:
|
|
88
|
-
mcpTestUrl:
|
|
89
|
-
webhookUrl:
|
|
90
|
-
webhookTestUrl:
|
|
91
|
-
webhookWaitingUrl:
|
|
92
|
-
restUrl:
|
|
93
|
-
restApiContext:
|
|
83
|
+
baseUrl: vue326.ComputedRef<string>;
|
|
84
|
+
formUrl: vue326.ComputedRef<string>;
|
|
85
|
+
formTestUrl: vue326.ComputedRef<string>;
|
|
86
|
+
formWaitingUrl: vue326.ComputedRef<string>;
|
|
87
|
+
mcpUrl: vue326.ComputedRef<string>;
|
|
88
|
+
mcpTestUrl: vue326.ComputedRef<string>;
|
|
89
|
+
webhookUrl: vue326.ComputedRef<string>;
|
|
90
|
+
webhookTestUrl: vue326.ComputedRef<string>;
|
|
91
|
+
webhookWaitingUrl: vue326.ComputedRef<string>;
|
|
92
|
+
restUrl: vue326.ComputedRef<string>;
|
|
93
|
+
restApiContext: vue326.ComputedRef<{
|
|
94
94
|
baseUrl: string;
|
|
95
95
|
pushRef: string;
|
|
96
96
|
}>;
|
|
97
|
-
urlBaseEditor:
|
|
98
|
-
urlBaseWebhook:
|
|
99
|
-
versionCli:
|
|
100
|
-
instanceId:
|
|
101
|
-
pushRef:
|
|
102
|
-
defaultLocale:
|
|
103
|
-
binaryDataMode:
|
|
104
|
-
OAuthCallbackUrls:
|
|
105
|
-
jwksUri:
|
|
106
|
-
executionTimeout:
|
|
107
|
-
maxExecutionTimeout:
|
|
108
|
-
timezone:
|
|
97
|
+
urlBaseEditor: vue326.ComputedRef<string>;
|
|
98
|
+
urlBaseWebhook: vue326.ComputedRef<string>;
|
|
99
|
+
versionCli: vue326.ComputedRef<string>;
|
|
100
|
+
instanceId: vue326.ComputedRef<string>;
|
|
101
|
+
pushRef: vue326.ComputedRef<string>;
|
|
102
|
+
defaultLocale: vue326.ComputedRef<string>;
|
|
103
|
+
binaryDataMode: vue326.ComputedRef<"default" | "filesystem" | "s3" | "azure" | "database">;
|
|
104
|
+
OAuthCallbackUrls: vue326.ComputedRef<object>;
|
|
105
|
+
jwksUri: vue326.ComputedRef<string>;
|
|
106
|
+
executionTimeout: vue326.ComputedRef<number>;
|
|
107
|
+
maxExecutionTimeout: vue326.ComputedRef<number>;
|
|
108
|
+
timezone: vue326.ComputedRef<string>;
|
|
109
109
|
setUrlBaseWebhook: (value: string) => void;
|
|
110
110
|
setUrlBaseEditor: (value: string) => void;
|
|
111
111
|
setUrlBaseWebhookTest: (value: string) => void;
|
|
@@ -129,32 +129,32 @@ declare const useRootStore: pinia4.StoreDefinition<"root", Pick<{
|
|
|
129
129
|
setBinaryDataMode: (value: RootStoreState["binaryDataMode"]) => void;
|
|
130
130
|
setPushRef: (value: string) => void;
|
|
131
131
|
}, "executionTimeout" | "maxExecutionTimeout" | "jwksUri" | "timezone" | "urlBaseWebhook" | "urlBaseEditor" | "versionCli" | "binaryDataMode" | "instanceId" | "defaultLocale" | "baseUrl" | "pushRef" | "formUrl" | "formTestUrl" | "formWaitingUrl" | "mcpUrl" | "mcpTestUrl" | "webhookUrl" | "webhookTestUrl" | "webhookWaitingUrl" | "restUrl" | "restApiContext" | "OAuthCallbackUrls">, Pick<{
|
|
132
|
-
baseUrl:
|
|
133
|
-
formUrl:
|
|
134
|
-
formTestUrl:
|
|
135
|
-
formWaitingUrl:
|
|
136
|
-
mcpUrl:
|
|
137
|
-
mcpTestUrl:
|
|
138
|
-
webhookUrl:
|
|
139
|
-
webhookTestUrl:
|
|
140
|
-
webhookWaitingUrl:
|
|
141
|
-
restUrl:
|
|
142
|
-
restApiContext:
|
|
132
|
+
baseUrl: vue326.ComputedRef<string>;
|
|
133
|
+
formUrl: vue326.ComputedRef<string>;
|
|
134
|
+
formTestUrl: vue326.ComputedRef<string>;
|
|
135
|
+
formWaitingUrl: vue326.ComputedRef<string>;
|
|
136
|
+
mcpUrl: vue326.ComputedRef<string>;
|
|
137
|
+
mcpTestUrl: vue326.ComputedRef<string>;
|
|
138
|
+
webhookUrl: vue326.ComputedRef<string>;
|
|
139
|
+
webhookTestUrl: vue326.ComputedRef<string>;
|
|
140
|
+
webhookWaitingUrl: vue326.ComputedRef<string>;
|
|
141
|
+
restUrl: vue326.ComputedRef<string>;
|
|
142
|
+
restApiContext: vue326.ComputedRef<{
|
|
143
143
|
baseUrl: string;
|
|
144
144
|
pushRef: string;
|
|
145
145
|
}>;
|
|
146
|
-
urlBaseEditor:
|
|
147
|
-
urlBaseWebhook:
|
|
148
|
-
versionCli:
|
|
149
|
-
instanceId:
|
|
150
|
-
pushRef:
|
|
151
|
-
defaultLocale:
|
|
152
|
-
binaryDataMode:
|
|
153
|
-
OAuthCallbackUrls:
|
|
154
|
-
jwksUri:
|
|
155
|
-
executionTimeout:
|
|
156
|
-
maxExecutionTimeout:
|
|
157
|
-
timezone:
|
|
146
|
+
urlBaseEditor: vue326.ComputedRef<string>;
|
|
147
|
+
urlBaseWebhook: vue326.ComputedRef<string>;
|
|
148
|
+
versionCli: vue326.ComputedRef<string>;
|
|
149
|
+
instanceId: vue326.ComputedRef<string>;
|
|
150
|
+
pushRef: vue326.ComputedRef<string>;
|
|
151
|
+
defaultLocale: vue326.ComputedRef<string>;
|
|
152
|
+
binaryDataMode: vue326.ComputedRef<"default" | "filesystem" | "s3" | "azure" | "database">;
|
|
153
|
+
OAuthCallbackUrls: vue326.ComputedRef<object>;
|
|
154
|
+
jwksUri: vue326.ComputedRef<string>;
|
|
155
|
+
executionTimeout: vue326.ComputedRef<number>;
|
|
156
|
+
maxExecutionTimeout: vue326.ComputedRef<number>;
|
|
157
|
+
timezone: vue326.ComputedRef<string>;
|
|
158
158
|
setUrlBaseWebhook: (value: string) => void;
|
|
159
159
|
setUrlBaseEditor: (value: string) => void;
|
|
160
160
|
setUrlBaseWebhookTest: (value: string) => void;
|
package/dist/useRootStore.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as pinia5 from "pinia";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue326 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/useRootStore.d.ts
|
|
5
5
|
type RootStoreState = {
|
|
@@ -31,32 +31,32 @@ type RootStoreState = {
|
|
|
31
31
|
binaryDataMode: 'default' | 'filesystem' | 's3' | 'azure' | 'database';
|
|
32
32
|
};
|
|
33
33
|
declare const useRootStore: pinia5.StoreDefinition<"root", Pick<{
|
|
34
|
-
baseUrl:
|
|
35
|
-
formUrl:
|
|
36
|
-
formTestUrl:
|
|
37
|
-
formWaitingUrl:
|
|
38
|
-
mcpUrl:
|
|
39
|
-
mcpTestUrl:
|
|
40
|
-
webhookUrl:
|
|
41
|
-
webhookTestUrl:
|
|
42
|
-
webhookWaitingUrl:
|
|
43
|
-
restUrl:
|
|
44
|
-
restApiContext:
|
|
34
|
+
baseUrl: vue326.ComputedRef<string>;
|
|
35
|
+
formUrl: vue326.ComputedRef<string>;
|
|
36
|
+
formTestUrl: vue326.ComputedRef<string>;
|
|
37
|
+
formWaitingUrl: vue326.ComputedRef<string>;
|
|
38
|
+
mcpUrl: vue326.ComputedRef<string>;
|
|
39
|
+
mcpTestUrl: vue326.ComputedRef<string>;
|
|
40
|
+
webhookUrl: vue326.ComputedRef<string>;
|
|
41
|
+
webhookTestUrl: vue326.ComputedRef<string>;
|
|
42
|
+
webhookWaitingUrl: vue326.ComputedRef<string>;
|
|
43
|
+
restUrl: vue326.ComputedRef<string>;
|
|
44
|
+
restApiContext: vue326.ComputedRef<{
|
|
45
45
|
baseUrl: string;
|
|
46
46
|
pushRef: string;
|
|
47
47
|
}>;
|
|
48
|
-
urlBaseEditor:
|
|
49
|
-
urlBaseWebhook:
|
|
50
|
-
versionCli:
|
|
51
|
-
instanceId:
|
|
52
|
-
pushRef:
|
|
53
|
-
defaultLocale:
|
|
54
|
-
binaryDataMode:
|
|
55
|
-
OAuthCallbackUrls:
|
|
56
|
-
jwksUri:
|
|
57
|
-
executionTimeout:
|
|
58
|
-
maxExecutionTimeout:
|
|
59
|
-
timezone:
|
|
48
|
+
urlBaseEditor: vue326.ComputedRef<string>;
|
|
49
|
+
urlBaseWebhook: vue326.ComputedRef<string>;
|
|
50
|
+
versionCli: vue326.ComputedRef<string>;
|
|
51
|
+
instanceId: vue326.ComputedRef<string>;
|
|
52
|
+
pushRef: vue326.ComputedRef<string>;
|
|
53
|
+
defaultLocale: vue326.ComputedRef<string>;
|
|
54
|
+
binaryDataMode: vue326.ComputedRef<"default" | "filesystem" | "s3" | "azure" | "database">;
|
|
55
|
+
OAuthCallbackUrls: vue326.ComputedRef<object>;
|
|
56
|
+
jwksUri: vue326.ComputedRef<string>;
|
|
57
|
+
executionTimeout: vue326.ComputedRef<number>;
|
|
58
|
+
maxExecutionTimeout: vue326.ComputedRef<number>;
|
|
59
|
+
timezone: vue326.ComputedRef<string>;
|
|
60
60
|
setUrlBaseWebhook: (value: string) => void;
|
|
61
61
|
setUrlBaseEditor: (value: string) => void;
|
|
62
62
|
setUrlBaseWebhookTest: (value: string) => void;
|
|
@@ -80,32 +80,32 @@ declare const useRootStore: pinia5.StoreDefinition<"root", Pick<{
|
|
|
80
80
|
setBinaryDataMode: (value: RootStoreState["binaryDataMode"]) => void;
|
|
81
81
|
setPushRef: (value: string) => void;
|
|
82
82
|
}, never>, Pick<{
|
|
83
|
-
baseUrl:
|
|
84
|
-
formUrl:
|
|
85
|
-
formTestUrl:
|
|
86
|
-
formWaitingUrl:
|
|
87
|
-
mcpUrl:
|
|
88
|
-
mcpTestUrl:
|
|
89
|
-
webhookUrl:
|
|
90
|
-
webhookTestUrl:
|
|
91
|
-
webhookWaitingUrl:
|
|
92
|
-
restUrl:
|
|
93
|
-
restApiContext:
|
|
83
|
+
baseUrl: vue326.ComputedRef<string>;
|
|
84
|
+
formUrl: vue326.ComputedRef<string>;
|
|
85
|
+
formTestUrl: vue326.ComputedRef<string>;
|
|
86
|
+
formWaitingUrl: vue326.ComputedRef<string>;
|
|
87
|
+
mcpUrl: vue326.ComputedRef<string>;
|
|
88
|
+
mcpTestUrl: vue326.ComputedRef<string>;
|
|
89
|
+
webhookUrl: vue326.ComputedRef<string>;
|
|
90
|
+
webhookTestUrl: vue326.ComputedRef<string>;
|
|
91
|
+
webhookWaitingUrl: vue326.ComputedRef<string>;
|
|
92
|
+
restUrl: vue326.ComputedRef<string>;
|
|
93
|
+
restApiContext: vue326.ComputedRef<{
|
|
94
94
|
baseUrl: string;
|
|
95
95
|
pushRef: string;
|
|
96
96
|
}>;
|
|
97
|
-
urlBaseEditor:
|
|
98
|
-
urlBaseWebhook:
|
|
99
|
-
versionCli:
|
|
100
|
-
instanceId:
|
|
101
|
-
pushRef:
|
|
102
|
-
defaultLocale:
|
|
103
|
-
binaryDataMode:
|
|
104
|
-
OAuthCallbackUrls:
|
|
105
|
-
jwksUri:
|
|
106
|
-
executionTimeout:
|
|
107
|
-
maxExecutionTimeout:
|
|
108
|
-
timezone:
|
|
97
|
+
urlBaseEditor: vue326.ComputedRef<string>;
|
|
98
|
+
urlBaseWebhook: vue326.ComputedRef<string>;
|
|
99
|
+
versionCli: vue326.ComputedRef<string>;
|
|
100
|
+
instanceId: vue326.ComputedRef<string>;
|
|
101
|
+
pushRef: vue326.ComputedRef<string>;
|
|
102
|
+
defaultLocale: vue326.ComputedRef<string>;
|
|
103
|
+
binaryDataMode: vue326.ComputedRef<"default" | "filesystem" | "s3" | "azure" | "database">;
|
|
104
|
+
OAuthCallbackUrls: vue326.ComputedRef<object>;
|
|
105
|
+
jwksUri: vue326.ComputedRef<string>;
|
|
106
|
+
executionTimeout: vue326.ComputedRef<number>;
|
|
107
|
+
maxExecutionTimeout: vue326.ComputedRef<number>;
|
|
108
|
+
timezone: vue326.ComputedRef<string>;
|
|
109
109
|
setUrlBaseWebhook: (value: string) => void;
|
|
110
110
|
setUrlBaseEditor: (value: string) => void;
|
|
111
111
|
setUrlBaseWebhookTest: (value: string) => void;
|
|
@@ -129,32 +129,32 @@ declare const useRootStore: pinia5.StoreDefinition<"root", Pick<{
|
|
|
129
129
|
setBinaryDataMode: (value: RootStoreState["binaryDataMode"]) => void;
|
|
130
130
|
setPushRef: (value: string) => void;
|
|
131
131
|
}, "executionTimeout" | "maxExecutionTimeout" | "jwksUri" | "timezone" | "urlBaseWebhook" | "urlBaseEditor" | "versionCli" | "binaryDataMode" | "instanceId" | "defaultLocale" | "baseUrl" | "pushRef" | "formUrl" | "formTestUrl" | "formWaitingUrl" | "mcpUrl" | "mcpTestUrl" | "webhookUrl" | "webhookTestUrl" | "webhookWaitingUrl" | "restUrl" | "restApiContext" | "OAuthCallbackUrls">, Pick<{
|
|
132
|
-
baseUrl:
|
|
133
|
-
formUrl:
|
|
134
|
-
formTestUrl:
|
|
135
|
-
formWaitingUrl:
|
|
136
|
-
mcpUrl:
|
|
137
|
-
mcpTestUrl:
|
|
138
|
-
webhookUrl:
|
|
139
|
-
webhookTestUrl:
|
|
140
|
-
webhookWaitingUrl:
|
|
141
|
-
restUrl:
|
|
142
|
-
restApiContext:
|
|
132
|
+
baseUrl: vue326.ComputedRef<string>;
|
|
133
|
+
formUrl: vue326.ComputedRef<string>;
|
|
134
|
+
formTestUrl: vue326.ComputedRef<string>;
|
|
135
|
+
formWaitingUrl: vue326.ComputedRef<string>;
|
|
136
|
+
mcpUrl: vue326.ComputedRef<string>;
|
|
137
|
+
mcpTestUrl: vue326.ComputedRef<string>;
|
|
138
|
+
webhookUrl: vue326.ComputedRef<string>;
|
|
139
|
+
webhookTestUrl: vue326.ComputedRef<string>;
|
|
140
|
+
webhookWaitingUrl: vue326.ComputedRef<string>;
|
|
141
|
+
restUrl: vue326.ComputedRef<string>;
|
|
142
|
+
restApiContext: vue326.ComputedRef<{
|
|
143
143
|
baseUrl: string;
|
|
144
144
|
pushRef: string;
|
|
145
145
|
}>;
|
|
146
|
-
urlBaseEditor:
|
|
147
|
-
urlBaseWebhook:
|
|
148
|
-
versionCli:
|
|
149
|
-
instanceId:
|
|
150
|
-
pushRef:
|
|
151
|
-
defaultLocale:
|
|
152
|
-
binaryDataMode:
|
|
153
|
-
OAuthCallbackUrls:
|
|
154
|
-
jwksUri:
|
|
155
|
-
executionTimeout:
|
|
156
|
-
maxExecutionTimeout:
|
|
157
|
-
timezone:
|
|
146
|
+
urlBaseEditor: vue326.ComputedRef<string>;
|
|
147
|
+
urlBaseWebhook: vue326.ComputedRef<string>;
|
|
148
|
+
versionCli: vue326.ComputedRef<string>;
|
|
149
|
+
instanceId: vue326.ComputedRef<string>;
|
|
150
|
+
pushRef: vue326.ComputedRef<string>;
|
|
151
|
+
defaultLocale: vue326.ComputedRef<string>;
|
|
152
|
+
binaryDataMode: vue326.ComputedRef<"default" | "filesystem" | "s3" | "azure" | "database">;
|
|
153
|
+
OAuthCallbackUrls: vue326.ComputedRef<object>;
|
|
154
|
+
jwksUri: vue326.ComputedRef<string>;
|
|
155
|
+
executionTimeout: vue326.ComputedRef<number>;
|
|
156
|
+
maxExecutionTimeout: vue326.ComputedRef<number>;
|
|
157
|
+
timezone: vue326.ComputedRef<string>;
|
|
158
158
|
setUrlBaseWebhook: (value: string) => void;
|
|
159
159
|
setUrlBaseEditor: (value: string) => void;
|
|
160
160
|
setUrlBaseWebhookTest: (value: string) => void;
|
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 vue395 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";
|
|
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: pinia6.StoreDefinition<"users", Pick<{
|
|
16
|
+
initialized: vue395.Ref<boolean, boolean>;
|
|
17
|
+
currentUserId: vue395.Ref<string | null, string | null>;
|
|
18
|
+
usersById: vue395.Ref<Record<string, IUser>, Record<string, IUser>>;
|
|
19
|
+
allUsers: vue395.ComputedRef<IUser[]>;
|
|
20
|
+
currentUser: vue395.ComputedRef<IUser | null>;
|
|
21
|
+
userActivated: vue395.ComputedRef<boolean>;
|
|
22
|
+
isDefaultUser: vue395.ComputedRef<boolean>;
|
|
23
|
+
isInstanceOwner: vue395.ComputedRef<boolean>;
|
|
24
|
+
isAdmin: vue395.ComputedRef<boolean>;
|
|
25
|
+
isAdminOrOwner: vue395.ComputedRef<boolean>;
|
|
26
|
+
mfaEnabled: vue395.ComputedRef<boolean>;
|
|
27
|
+
globalRoleName: vue395.ComputedRef<string>;
|
|
28
|
+
userClaimedAiCredits: vue395.ComputedRef<boolean | undefined>;
|
|
29
|
+
isEasyAIWorkflowOnboardingDone: vue395.ComputedRef<boolean>;
|
|
30
|
+
canUserUpdateVersion: vue395.ComputedRef<boolean>;
|
|
31
|
+
usersLimitNotReached: vue395.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: pinia5.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: pinia5.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: vue395.Ref<boolean, boolean>;
|
|
195
|
+
currentUserId: vue395.Ref<string | null, string | null>;
|
|
196
|
+
usersById: vue395.Ref<Record<string, IUser>, Record<string, IUser>>;
|
|
197
|
+
allUsers: vue395.ComputedRef<IUser[]>;
|
|
198
|
+
currentUser: vue395.ComputedRef<IUser | null>;
|
|
199
|
+
userActivated: vue395.ComputedRef<boolean>;
|
|
200
|
+
isDefaultUser: vue395.ComputedRef<boolean>;
|
|
201
|
+
isInstanceOwner: vue395.ComputedRef<boolean>;
|
|
202
|
+
isAdmin: vue395.ComputedRef<boolean>;
|
|
203
|
+
isAdminOrOwner: vue395.ComputedRef<boolean>;
|
|
204
|
+
mfaEnabled: vue395.ComputedRef<boolean>;
|
|
205
|
+
globalRoleName: vue395.ComputedRef<string>;
|
|
206
|
+
userClaimedAiCredits: vue395.ComputedRef<boolean | undefined>;
|
|
207
|
+
isEasyAIWorkflowOnboardingDone: vue395.ComputedRef<boolean>;
|
|
208
|
+
canUserUpdateVersion: vue395.ComputedRef<boolean>;
|
|
209
|
+
usersLimitNotReached: vue395.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: pinia5.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: pinia5.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: vue395.Ref<boolean, boolean>;
|
|
373
|
+
currentUserId: vue395.Ref<string | null, string | null>;
|
|
374
|
+
usersById: vue395.Ref<Record<string, IUser>, Record<string, IUser>>;
|
|
375
|
+
allUsers: vue395.ComputedRef<IUser[]>;
|
|
376
|
+
currentUser: vue395.ComputedRef<IUser | null>;
|
|
377
|
+
userActivated: vue395.ComputedRef<boolean>;
|
|
378
|
+
isDefaultUser: vue395.ComputedRef<boolean>;
|
|
379
|
+
isInstanceOwner: vue395.ComputedRef<boolean>;
|
|
380
|
+
isAdmin: vue395.ComputedRef<boolean>;
|
|
381
|
+
isAdminOrOwner: vue395.ComputedRef<boolean>;
|
|
382
|
+
mfaEnabled: vue395.ComputedRef<boolean>;
|
|
383
|
+
globalRoleName: vue395.ComputedRef<string>;
|
|
384
|
+
userClaimedAiCredits: vue395.ComputedRef<boolean | undefined>;
|
|
385
|
+
isEasyAIWorkflowOnboardingDone: vue395.ComputedRef<boolean>;
|
|
386
|
+
canUserUpdateVersion: vue395.ComputedRef<boolean>;
|
|
387
|
+
usersLimitNotReached: vue395.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: pinia5.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;
|