@n8n/stores 2.35.2 → 2.36.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.
@@ -1,5 +1,5 @@
1
- import * as vue326 from "vue";
2
- import * as pinia5 from "pinia";
1
+ import * as vue80 from "vue";
2
+ import * as pinia4 from "pinia";
3
3
 
4
4
  //#region src/useRootStore.d.ts
5
5
  type RootStoreState = {
@@ -24,39 +24,43 @@ type RootStoreState = {
24
24
  [key: string]: string | number | undefined;
25
25
  };
26
26
  pushRef: string;
27
+ publicApiPath: string;
27
28
  urlBaseWebhook: string;
28
29
  urlBaseEditor: string;
29
30
  urlBaseWebhookTest: string;
30
31
  instanceId: string;
31
32
  binaryDataMode: 'default' | 'filesystem' | 's3' | 'azure' | 'database';
32
33
  };
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<{
34
+ declare const useRootStore: pinia4.StoreDefinition<"root", Pick<{
35
+ baseUrl: vue80.ComputedRef<string>;
36
+ formUrl: vue80.ComputedRef<string>;
37
+ formTestUrl: vue80.ComputedRef<string>;
38
+ formWaitingUrl: vue80.ComputedRef<string>;
39
+ mcpUrl: vue80.ComputedRef<string>;
40
+ mcpTestUrl: vue80.ComputedRef<string>;
41
+ webhookUrl: vue80.ComputedRef<string>;
42
+ webhookTestUrl: vue80.ComputedRef<string>;
43
+ webhookWaitingUrl: vue80.ComputedRef<string>;
44
+ restUrl: vue80.ComputedRef<string>;
45
+ restApiContext: vue80.ComputedRef<{
45
46
  baseUrl: string;
46
47
  pushRef: string;
47
48
  }>;
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>;
49
+ publicApiContext: vue80.ComputedRef<{
50
+ baseUrl: string;
51
+ }>;
52
+ urlBaseEditor: vue80.ComputedRef<string>;
53
+ urlBaseWebhook: vue80.ComputedRef<string>;
54
+ versionCli: vue80.ComputedRef<string>;
55
+ instanceId: vue80.ComputedRef<string>;
56
+ pushRef: vue80.ComputedRef<string>;
57
+ defaultLocale: vue80.ComputedRef<string>;
58
+ binaryDataMode: vue80.ComputedRef<"default" | "filesystem" | "s3" | "azure" | "database">;
59
+ OAuthCallbackUrls: vue80.ComputedRef<object>;
60
+ jwksUri: vue80.ComputedRef<string>;
61
+ executionTimeout: vue80.ComputedRef<number>;
62
+ maxExecutionTimeout: vue80.ComputedRef<number>;
63
+ timezone: vue80.ComputedRef<string>;
60
64
  setUrlBaseWebhook: (value: string) => void;
61
65
  setUrlBaseEditor: (value: string) => void;
62
66
  setUrlBaseWebhookTest: (value: string) => void;
@@ -79,33 +83,37 @@ declare const useRootStore: pinia5.StoreDefinition<"root", Pick<{
79
83
  setDefaultLocale: (value: string) => void;
80
84
  setBinaryDataMode: (value: RootStoreState["binaryDataMode"]) => void;
81
85
  setPushRef: (value: string) => void;
86
+ setPublicApiPath: (value: string) => void;
82
87
  }, never>, Pick<{
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<{
88
+ baseUrl: vue80.ComputedRef<string>;
89
+ formUrl: vue80.ComputedRef<string>;
90
+ formTestUrl: vue80.ComputedRef<string>;
91
+ formWaitingUrl: vue80.ComputedRef<string>;
92
+ mcpUrl: vue80.ComputedRef<string>;
93
+ mcpTestUrl: vue80.ComputedRef<string>;
94
+ webhookUrl: vue80.ComputedRef<string>;
95
+ webhookTestUrl: vue80.ComputedRef<string>;
96
+ webhookWaitingUrl: vue80.ComputedRef<string>;
97
+ restUrl: vue80.ComputedRef<string>;
98
+ restApiContext: vue80.ComputedRef<{
94
99
  baseUrl: string;
95
100
  pushRef: string;
96
101
  }>;
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>;
102
+ publicApiContext: vue80.ComputedRef<{
103
+ baseUrl: string;
104
+ }>;
105
+ urlBaseEditor: vue80.ComputedRef<string>;
106
+ urlBaseWebhook: vue80.ComputedRef<string>;
107
+ versionCli: vue80.ComputedRef<string>;
108
+ instanceId: vue80.ComputedRef<string>;
109
+ pushRef: vue80.ComputedRef<string>;
110
+ defaultLocale: vue80.ComputedRef<string>;
111
+ binaryDataMode: vue80.ComputedRef<"default" | "filesystem" | "s3" | "azure" | "database">;
112
+ OAuthCallbackUrls: vue80.ComputedRef<object>;
113
+ jwksUri: vue80.ComputedRef<string>;
114
+ executionTimeout: vue80.ComputedRef<number>;
115
+ maxExecutionTimeout: vue80.ComputedRef<number>;
116
+ timezone: vue80.ComputedRef<string>;
109
117
  setUrlBaseWebhook: (value: string) => void;
110
118
  setUrlBaseEditor: (value: string) => void;
111
119
  setUrlBaseWebhookTest: (value: string) => void;
@@ -128,33 +136,37 @@ declare const useRootStore: pinia5.StoreDefinition<"root", Pick<{
128
136
  setDefaultLocale: (value: string) => void;
129
137
  setBinaryDataMode: (value: RootStoreState["binaryDataMode"]) => void;
130
138
  setPushRef: (value: string) => void;
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: 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<{
139
+ setPublicApiPath: (value: string) => void;
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: vue80.ComputedRef<string>;
142
+ formUrl: vue80.ComputedRef<string>;
143
+ formTestUrl: vue80.ComputedRef<string>;
144
+ formWaitingUrl: vue80.ComputedRef<string>;
145
+ mcpUrl: vue80.ComputedRef<string>;
146
+ mcpTestUrl: vue80.ComputedRef<string>;
147
+ webhookUrl: vue80.ComputedRef<string>;
148
+ webhookTestUrl: vue80.ComputedRef<string>;
149
+ webhookWaitingUrl: vue80.ComputedRef<string>;
150
+ restUrl: vue80.ComputedRef<string>;
151
+ restApiContext: vue80.ComputedRef<{
143
152
  baseUrl: string;
144
153
  pushRef: string;
145
154
  }>;
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>;
155
+ publicApiContext: vue80.ComputedRef<{
156
+ baseUrl: string;
157
+ }>;
158
+ urlBaseEditor: vue80.ComputedRef<string>;
159
+ urlBaseWebhook: vue80.ComputedRef<string>;
160
+ versionCli: vue80.ComputedRef<string>;
161
+ instanceId: vue80.ComputedRef<string>;
162
+ pushRef: vue80.ComputedRef<string>;
163
+ defaultLocale: vue80.ComputedRef<string>;
164
+ binaryDataMode: vue80.ComputedRef<"default" | "filesystem" | "s3" | "azure" | "database">;
165
+ OAuthCallbackUrls: vue80.ComputedRef<object>;
166
+ jwksUri: vue80.ComputedRef<string>;
167
+ executionTimeout: vue80.ComputedRef<number>;
168
+ maxExecutionTimeout: vue80.ComputedRef<number>;
169
+ timezone: vue80.ComputedRef<string>;
158
170
  setUrlBaseWebhook: (value: string) => void;
159
171
  setUrlBaseEditor: (value: string) => void;
160
172
  setUrlBaseWebhookTest: (value: string) => void;
@@ -177,7 +189,8 @@ declare const useRootStore: pinia5.StoreDefinition<"root", Pick<{
177
189
  setDefaultLocale: (value: string) => void;
178
190
  setBinaryDataMode: (value: RootStoreState["binaryDataMode"]) => void;
179
191
  setPushRef: (value: string) => void;
180
- }, "setUrlBaseWebhook" | "setUrlBaseEditor" | "setUrlBaseWebhookTest" | "setEndpointForm" | "setEndpointFormTest" | "setEndpointFormWaiting" | "setEndpointWebhook" | "setEndpointWebhookTest" | "setEndpointWebhookWaiting" | "setEndpointMcp" | "setEndpointMcpTest" | "setTimezone" | "setExecutionTimeout" | "setMaxExecutionTimeout" | "setVersionCli" | "setInstanceId" | "setOauthCallbackUrls" | "setJwksUri" | "setN8nMetadata" | "setDefaultLocale" | "setBinaryDataMode" | "setPushRef">>;
192
+ setPublicApiPath: (value: string) => void;
193
+ }, "setUrlBaseWebhook" | "setUrlBaseEditor" | "setUrlBaseWebhookTest" | "setEndpointForm" | "setEndpointFormTest" | "setEndpointFormWaiting" | "setEndpointWebhook" | "setEndpointWebhookTest" | "setEndpointWebhookWaiting" | "setEndpointMcp" | "setEndpointMcpTest" | "setTimezone" | "setExecutionTimeout" | "setMaxExecutionTimeout" | "setVersionCli" | "setInstanceId" | "setOauthCallbackUrls" | "setJwksUri" | "setN8nMetadata" | "setDefaultLocale" | "setBinaryDataMode" | "setPushRef" | "setPublicApiPath">>;
181
194
  //#endregion
182
195
  export { RootStoreState, useRootStore };
183
196
  //# sourceMappingURL=useRootStore.d.cts.map
@@ -1,5 +1,5 @@
1
- import * as pinia5 from "pinia";
2
- import * as vue326 from "vue";
1
+ import * as pinia4 from "pinia";
2
+ import * as vue329 from "vue";
3
3
 
4
4
  //#region src/useRootStore.d.ts
5
5
  type RootStoreState = {
@@ -24,39 +24,43 @@ type RootStoreState = {
24
24
  [key: string]: string | number | undefined;
25
25
  };
26
26
  pushRef: string;
27
+ publicApiPath: string;
27
28
  urlBaseWebhook: string;
28
29
  urlBaseEditor: string;
29
30
  urlBaseWebhookTest: string;
30
31
  instanceId: string;
31
32
  binaryDataMode: 'default' | 'filesystem' | 's3' | 'azure' | 'database';
32
33
  };
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<{
34
+ declare const useRootStore: pinia4.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<{
45
46
  baseUrl: string;
46
47
  pushRef: string;
47
48
  }>;
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>;
49
+ publicApiContext: vue329.ComputedRef<{
50
+ baseUrl: string;
51
+ }>;
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>;
60
64
  setUrlBaseWebhook: (value: string) => void;
61
65
  setUrlBaseEditor: (value: string) => void;
62
66
  setUrlBaseWebhookTest: (value: string) => void;
@@ -79,33 +83,37 @@ declare const useRootStore: pinia5.StoreDefinition<"root", Pick<{
79
83
  setDefaultLocale: (value: string) => void;
80
84
  setBinaryDataMode: (value: RootStoreState["binaryDataMode"]) => void;
81
85
  setPushRef: (value: string) => void;
86
+ setPublicApiPath: (value: string) => void;
82
87
  }, never>, Pick<{
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<{
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<{
94
99
  baseUrl: string;
95
100
  pushRef: string;
96
101
  }>;
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>;
102
+ publicApiContext: vue329.ComputedRef<{
103
+ baseUrl: string;
104
+ }>;
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>;
109
117
  setUrlBaseWebhook: (value: string) => void;
110
118
  setUrlBaseEditor: (value: string) => void;
111
119
  setUrlBaseWebhookTest: (value: string) => void;
@@ -128,33 +136,37 @@ declare const useRootStore: pinia5.StoreDefinition<"root", Pick<{
128
136
  setDefaultLocale: (value: string) => void;
129
137
  setBinaryDataMode: (value: RootStoreState["binaryDataMode"]) => void;
130
138
  setPushRef: (value: string) => void;
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: 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<{
139
+ setPublicApiPath: (value: string) => void;
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: 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<{
143
152
  baseUrl: string;
144
153
  pushRef: string;
145
154
  }>;
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>;
155
+ publicApiContext: vue329.ComputedRef<{
156
+ baseUrl: string;
157
+ }>;
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>;
158
170
  setUrlBaseWebhook: (value: string) => void;
159
171
  setUrlBaseEditor: (value: string) => void;
160
172
  setUrlBaseWebhookTest: (value: string) => void;
@@ -177,7 +189,8 @@ declare const useRootStore: pinia5.StoreDefinition<"root", Pick<{
177
189
  setDefaultLocale: (value: string) => void;
178
190
  setBinaryDataMode: (value: RootStoreState["binaryDataMode"]) => void;
179
191
  setPushRef: (value: string) => void;
180
- }, "setUrlBaseWebhook" | "setUrlBaseEditor" | "setUrlBaseWebhookTest" | "setEndpointForm" | "setEndpointFormTest" | "setEndpointFormWaiting" | "setEndpointWebhook" | "setEndpointWebhookTest" | "setEndpointWebhookWaiting" | "setEndpointMcp" | "setEndpointMcpTest" | "setTimezone" | "setExecutionTimeout" | "setMaxExecutionTimeout" | "setVersionCli" | "setInstanceId" | "setOauthCallbackUrls" | "setJwksUri" | "setN8nMetadata" | "setDefaultLocale" | "setBinaryDataMode" | "setPushRef">>;
192
+ setPublicApiPath: (value: string) => void;
193
+ }, "setUrlBaseWebhook" | "setUrlBaseEditor" | "setUrlBaseWebhookTest" | "setEndpointForm" | "setEndpointFormTest" | "setEndpointFormWaiting" | "setEndpointWebhook" | "setEndpointWebhookTest" | "setEndpointWebhookWaiting" | "setEndpointMcp" | "setEndpointMcpTest" | "setTimezone" | "setExecutionTimeout" | "setMaxExecutionTimeout" | "setVersionCli" | "setInstanceId" | "setOauthCallbackUrls" | "setJwksUri" | "setN8nMetadata" | "setDefaultLocale" | "setBinaryDataMode" | "setPushRef" | "setPublicApiPath">>;
181
194
  //#endregion
182
195
  export { RootStoreState, useRootStore };
183
196
  //# sourceMappingURL=useRootStore.d.mts.map
@@ -28,6 +28,7 @@ const useRootStore = (0, pinia.defineStore)(require_constants.STORES.ROOT, () =>
28
28
  jwksUri: "",
29
29
  n8nMetadata: {},
30
30
  pushRef: (0, n8n_workflow.randomString)(10).toLowerCase(),
31
+ publicApiPath: "api/v1",
31
32
  urlBaseWebhook: "http://localhost:5678/",
32
33
  urlBaseEditor: "http://localhost:5678",
33
34
  urlBaseWebhookTest: "http://localhost:5678/",
@@ -60,6 +61,7 @@ const useRootStore = (0, pinia.defineStore)(require_constants.STORES.ROOT, () =>
60
61
  baseUrl: restUrl.value,
61
62
  pushRef: state.value.pushRef
62
63
  }));
64
+ const publicApiContext = (0, vue.computed)(() => ({ baseUrl: `${state.value.baseUrl}${state.value.publicApiPath}` }));
63
65
  const setUrlBaseWebhook = (value) => {
64
66
  const url = value.endsWith("/") ? value : `${value}/`;
65
67
  state.value.urlBaseWebhook = url;
@@ -130,6 +132,9 @@ const useRootStore = (0, pinia.defineStore)(require_constants.STORES.ROOT, () =>
130
132
  const setPushRef = (value) => {
131
133
  state.value.pushRef = value;
132
134
  };
135
+ const setPublicApiPath = (value) => {
136
+ state.value.publicApiPath = value;
137
+ };
133
138
  return {
134
139
  baseUrl,
135
140
  formUrl,
@@ -142,6 +147,7 @@ const useRootStore = (0, pinia.defineStore)(require_constants.STORES.ROOT, () =>
142
147
  webhookWaitingUrl,
143
148
  restUrl,
144
149
  restApiContext,
150
+ publicApiContext,
145
151
  urlBaseEditor,
146
152
  urlBaseWebhook,
147
153
  versionCli,
@@ -175,7 +181,8 @@ const useRootStore = (0, pinia.defineStore)(require_constants.STORES.ROOT, () =>
175
181
  setN8nMetadata,
176
182
  setDefaultLocale,
177
183
  setBinaryDataMode,
178
- setPushRef
184
+ setPushRef,
185
+ setPublicApiPath
179
186
  };
180
187
  });
181
188
 
@@ -1 +1 @@
1
- {"version":3,"file":"useRootStore2.cjs","names":["STORES","getConfigFromMetaTag"],"sources":["../src/useRootStore.ts"],"sourcesContent":["import { randomString, setGlobalState } from 'n8n-workflow';\nimport { defineStore } from 'pinia';\nimport { computed, ref } from 'vue';\n\nimport { STORES } from './constants';\nimport { getConfigFromMetaTag } from './metaTagConfig';\n\nconst { VUE_APP_URL_BASE_API } = import.meta.env;\n\nexport type RootStoreState = {\n\tbaseUrl: string;\n\trestEndpoint: string;\n\tdefaultLocale: string;\n\tendpointForm: string;\n\tendpointFormTest: string;\n\tendpointFormWaiting: string;\n\tendpointMcp: string;\n\tendpointMcpTest: string;\n\tendpointWebhook: string;\n\tendpointWebhookTest: string;\n\tendpointWebhookWaiting: string;\n\ttimezone: string;\n\texecutionTimeout: number;\n\tmaxExecutionTimeout: number;\n\tversionCli: string;\n\toauthCallbackUrls: object;\n\tjwksUri: string;\n\tn8nMetadata: {\n\t\t[key: string]: string | number | undefined;\n\t};\n\tpushRef: string;\n\turlBaseWebhook: string;\n\turlBaseEditor: string;\n\turlBaseWebhookTest: string;\n\tinstanceId: string;\n\tbinaryDataMode: 'default' | 'filesystem' | 's3' | 'azure' | 'database';\n};\n\nexport const useRootStore = defineStore(STORES.ROOT, () => {\n\tconst state = ref<RootStoreState>({\n\t\tbaseUrl: VUE_APP_URL_BASE_API ?? window.BASE_PATH,\n\t\trestEndpoint: getConfigFromMetaTag('rest-endpoint') ?? 'rest',\n\t\tdefaultLocale: 'en',\n\t\tendpointForm: 'form',\n\t\tendpointFormTest: 'form-test',\n\t\tendpointFormWaiting: 'form-waiting',\n\t\tendpointMcp: 'mcp',\n\t\tendpointMcpTest: 'mcp-test',\n\t\tendpointWebhook: 'webhook',\n\t\tendpointWebhookTest: 'webhook-test',\n\t\tendpointWebhookWaiting: 'webhook-waiting',\n\t\ttimezone: 'America/New_York',\n\t\texecutionTimeout: -1,\n\t\tmaxExecutionTimeout: Number.MAX_SAFE_INTEGER,\n\t\tversionCli: '0.0.0',\n\t\toauthCallbackUrls: {},\n\t\tjwksUri: '',\n\t\tn8nMetadata: {},\n\t\tpushRef: randomString(10).toLowerCase(),\n\t\turlBaseWebhook: 'http://localhost:5678/',\n\t\turlBaseEditor: 'http://localhost:5678',\n\t\turlBaseWebhookTest: 'http://localhost:5678/',\n\t\tinstanceId: '',\n\t\tbinaryDataMode: 'default',\n\t});\n\n\t// ---------------------------------------------------------------------------\n\t// #region Computed\n\t// ---------------------------------------------------------------------------\n\n\tconst baseUrl = computed(() => state.value.baseUrl);\n\n\tconst formUrl = computed(() => `${state.value.urlBaseWebhook}${state.value.endpointForm}`);\n\n\tconst formTestUrl = computed(\n\t\t() => `${state.value.urlBaseWebhookTest}${state.value.endpointFormTest}`,\n\t);\n\n\tconst formWaitingUrl = computed(\n\t\t() => `${state.value.urlBaseEditor}${state.value.endpointFormWaiting}`,\n\t);\n\n\tconst webhookUrl = computed(() => `${state.value.urlBaseWebhook}${state.value.endpointWebhook}`);\n\n\tconst webhookTestUrl = computed(\n\t\t() => `${state.value.urlBaseWebhookTest}${state.value.endpointWebhookTest}`,\n\t);\n\n\tconst webhookWaitingUrl = computed(\n\t\t() => `${state.value.urlBaseEditor}${state.value.endpointWebhookWaiting}`,\n\t);\n\n\tconst mcpUrl = computed(() => `${state.value.urlBaseWebhook}${state.value.endpointMcp}`);\n\n\tconst mcpTestUrl = computed(\n\t\t() => `${state.value.urlBaseWebhookTest}${state.value.endpointMcpTest}`,\n\t);\n\n\tconst pushRef = computed(() => state.value.pushRef);\n\n\tconst binaryDataMode = computed(() => state.value.binaryDataMode);\n\n\tconst defaultLocale = computed(() => state.value.defaultLocale);\n\n\tconst urlBaseEditor = computed(() => state.value.urlBaseEditor);\n\n\tconst urlBaseWebhook = computed(() => state.value.urlBaseWebhook);\n\n\tconst instanceId = computed(() => state.value.instanceId);\n\n\tconst versionCli = computed(() => state.value.versionCli);\n\n\tconst OAuthCallbackUrls = computed(() => state.value.oauthCallbackUrls);\n\n\tconst jwksUri = computed(() => state.value.jwksUri);\n\n\tconst restUrl = computed(() => `${state.value.baseUrl}${state.value.restEndpoint}`);\n\n\tconst executionTimeout = computed(() => state.value.executionTimeout);\n\n\tconst maxExecutionTimeout = computed(() => state.value.maxExecutionTimeout);\n\n\tconst timezone = computed(() => state.value.timezone);\n\n\tconst restApiContext = computed(() => ({\n\t\tbaseUrl: restUrl.value,\n\t\tpushRef: state.value.pushRef,\n\t}));\n\n\t// #endregion\n\n\t// ---------------------------------------------------------------------------\n\t// #region Methods\n\t// ---------------------------------------------------------------------------\n\n\tconst setUrlBaseWebhook = (value: string) => {\n\t\tconst url = value.endsWith('/') ? value : `${value}/`;\n\t\tstate.value.urlBaseWebhook = url;\n\t};\n\n\tconst setUrlBaseEditor = (value: string) => {\n\t\tconst url = value.endsWith('/') ? value : `${value}/`;\n\t\tstate.value.urlBaseEditor = url;\n\t};\n\n\tconst setUrlBaseWebhookTest = (value: string) => {\n\t\tconst url = value.endsWith('/') ? value : `${value}/`;\n\t\tstate.value.urlBaseWebhookTest = url;\n\t};\n\n\tconst setEndpointForm = (value: string) => {\n\t\tstate.value.endpointForm = value;\n\t};\n\n\tconst setEndpointFormTest = (value: string) => {\n\t\tstate.value.endpointFormTest = value;\n\t};\n\n\tconst setEndpointFormWaiting = (value: string) => {\n\t\tstate.value.endpointFormWaiting = value;\n\t};\n\n\tconst setEndpointWebhook = (value: string) => {\n\t\tstate.value.endpointWebhook = value;\n\t};\n\n\tconst setEndpointWebhookTest = (value: string) => {\n\t\tstate.value.endpointWebhookTest = value;\n\t};\n\n\tconst setEndpointWebhookWaiting = (value: string) => {\n\t\tstate.value.endpointWebhookWaiting = value;\n\t};\n\n\tconst setEndpointMcp = (value: string) => {\n\t\tstate.value.endpointMcp = value;\n\t};\n\n\tconst setEndpointMcpTest = (value: string) => {\n\t\tstate.value.endpointMcpTest = value;\n\t};\n\n\tconst setTimezone = (value: string) => {\n\t\tstate.value.timezone = value;\n\t\tsetGlobalState({ defaultTimezone: value });\n\t};\n\n\tconst setExecutionTimeout = (value: number) => {\n\t\tstate.value.executionTimeout = value;\n\t};\n\n\tconst setMaxExecutionTimeout = (value: number) => {\n\t\tstate.value.maxExecutionTimeout = value;\n\t};\n\n\tconst setVersionCli = (value: string) => {\n\t\tstate.value.versionCli = value;\n\t};\n\n\tconst setInstanceId = (value: string) => {\n\t\tstate.value.instanceId = value;\n\t};\n\n\tconst setOauthCallbackUrls = (value: RootStoreState['oauthCallbackUrls']) => {\n\t\tstate.value.oauthCallbackUrls = value;\n\t};\n\n\tconst setJwksUri = (value: string) => {\n\t\tstate.value.jwksUri = value;\n\t};\n\n\tconst setN8nMetadata = (value: RootStoreState['n8nMetadata']) => {\n\t\tstate.value.n8nMetadata = value;\n\t};\n\n\tconst setDefaultLocale = (value: string) => {\n\t\tstate.value.defaultLocale = value;\n\t};\n\n\tconst setBinaryDataMode = (value: RootStoreState['binaryDataMode']) => {\n\t\tstate.value.binaryDataMode = value;\n\t};\n\n\tconst setPushRef = (value: string) => {\n\t\tstate.value.pushRef = value;\n\t};\n\n\t// #endregion\n\n\treturn {\n\t\tbaseUrl,\n\t\tformUrl,\n\t\tformTestUrl,\n\t\tformWaitingUrl,\n\t\tmcpUrl,\n\t\tmcpTestUrl,\n\t\twebhookUrl,\n\t\twebhookTestUrl,\n\t\twebhookWaitingUrl,\n\t\trestUrl,\n\t\trestApiContext,\n\t\turlBaseEditor,\n\t\turlBaseWebhook,\n\t\tversionCli,\n\t\tinstanceId,\n\t\tpushRef,\n\t\tdefaultLocale,\n\t\tbinaryDataMode,\n\t\tOAuthCallbackUrls,\n\t\tjwksUri,\n\t\texecutionTimeout,\n\t\tmaxExecutionTimeout,\n\t\ttimezone,\n\t\tsetUrlBaseWebhook,\n\t\tsetUrlBaseEditor,\n\t\tsetUrlBaseWebhookTest,\n\t\tsetEndpointForm,\n\t\tsetEndpointFormTest,\n\t\tsetEndpointFormWaiting,\n\t\tsetEndpointWebhook,\n\t\tsetEndpointWebhookTest,\n\t\tsetEndpointWebhookWaiting,\n\t\tsetEndpointMcp,\n\t\tsetEndpointMcpTest,\n\t\tsetTimezone,\n\t\tsetExecutionTimeout,\n\t\tsetMaxExecutionTimeout,\n\t\tsetVersionCli,\n\t\tsetInstanceId,\n\t\tsetOauthCallbackUrls,\n\t\tsetJwksUri,\n\t\tsetN8nMetadata,\n\t\tsetDefaultLocale,\n\t\tsetBinaryDataMode,\n\t\tsetPushRef,\n\t};\n});\n"],"mappings":";;;;;;;;AAOA,MAAM,EAAE,4BAAqC;AA+B7C,MAAa,sCAA2BA,yBAAO,YAAY;CAC1D,MAAM,qBAA4B;EACjC,SAAS,wBAAwB,OAAO;EACxC,cAAcC,2CAAqB,gBAAgB,IAAI;EACvD,eAAe;EACf,cAAc;EACd,kBAAkB;EAClB,qBAAqB;EACrB,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,qBAAqB;EACrB,wBAAwB;EACxB,UAAU;EACV,kBAAkB;EAClB,qBAAqB,OAAO;EAC5B,YAAY;EACZ,mBAAmB,EAAE;EACrB,SAAS;EACT,aAAa,EAAE;EACf,wCAAsB,GAAG,CAAC,aAAa;EACvC,gBAAgB;EAChB,eAAe;EACf,oBAAoB;EACpB,YAAY;EACZ,gBAAgB;EAChB,CAAC;CAMF,MAAM,kCAAyB,MAAM,MAAM,QAAQ;CAEnD,MAAM,kCAAyB,GAAG,MAAM,MAAM,iBAAiB,MAAM,MAAM,eAAe;CAE1F,MAAM,sCACC,GAAG,MAAM,MAAM,qBAAqB,MAAM,MAAM,mBACtD;CAED,MAAM,yCACC,GAAG,MAAM,MAAM,gBAAgB,MAAM,MAAM,sBACjD;CAED,MAAM,qCAA4B,GAAG,MAAM,MAAM,iBAAiB,MAAM,MAAM,kBAAkB;CAEhG,MAAM,yCACC,GAAG,MAAM,MAAM,qBAAqB,MAAM,MAAM,sBACtD;CAED,MAAM,4CACC,GAAG,MAAM,MAAM,gBAAgB,MAAM,MAAM,yBACjD;CAED,MAAM,iCAAwB,GAAG,MAAM,MAAM,iBAAiB,MAAM,MAAM,cAAc;CAExF,MAAM,qCACC,GAAG,MAA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BAAkB;;CAG/B,MAAM,0BAA0B,UAAkB;AACjD,QAAM,MAAM,sBAAsB;;CAGnC,MAAM,6BAA6B,UAAkB;AACpD,QAAM,MAAM,yBAAyB;;CAGtC,MAAM,kBAAkB,UAAkB;AACzC,QAAM,MAAM,cAAc;;CAG3B,MAAM,sBAAsB,UAAkB;AAC7C,QAAM,MAAM,kBAAkB;;CAG/B,MAAM,eAAe,UAAkB;AACtC,QAAM,MAAM,WAAW;AACvB,mCAAe,EAAE,iBAAiB,OAAO,CAAC;;CAG3C,MAAM,uBAAuB,UAAkB;AAC9C,QAAM,MAAM,mBAAmB;;CAGhC,MAAM,0BAA0B,UAAkB;AACjD,QAAM,MAAM,sBAAsB;;CAGnC,MAAM,iBAAiB,UAAkB;AACxC,QAAM,MAAM,aAAa;;CAG1B,MAAM,iBAAiB,UAAkB;AACxC,QAAM,MAAM,aAAa;;CAG1B,MAAM,wBAAwB,UAA+C;AAC5E,QAAM,MAAM,oBAAoB;;CAGjC,MAAM,cAAc,UAAkB;AACrC,QAAM,MAAM,UAAU;;CAGvB,MAAM,kBAAkB,UAAyC;AAChE,QAAM,MAAM,cAAc;;CAG3B,MAAM,oBAAoB,UAAkB;AAC3C,QAAM,MAAM,gBAAgB;;CAG7B,MAAM,qBAAqB,UAA4C;AACtE,QAAM,MAAM,iBAAiB;;CAG9B,MAAM,cAAc,UAAkB;AACrC,QAAM,MAAM,UAAU;;AAKvB,QAAO;EACN;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA"}
1
+ {"version":3,"file":"useRootStore2.cjs","names":["STORES","getConfigFromMetaTag"],"sources":["../src/useRootStore.ts"],"sourcesContent":["import { randomString, setGlobalState } from 'n8n-workflow';\nimport { defineStore } from 'pinia';\nimport { computed, ref } from 'vue';\n\nimport { STORES } from './constants';\nimport { getConfigFromMetaTag } from './metaTagConfig';\n\nconst { VUE_APP_URL_BASE_API } = import.meta.env;\n\nexport type RootStoreState = {\n\tbaseUrl: string;\n\trestEndpoint: string;\n\tdefaultLocale: string;\n\tendpointForm: string;\n\tendpointFormTest: string;\n\tendpointFormWaiting: string;\n\tendpointMcp: string;\n\tendpointMcpTest: string;\n\tendpointWebhook: string;\n\tendpointWebhookTest: string;\n\tendpointWebhookWaiting: string;\n\ttimezone: string;\n\texecutionTimeout: number;\n\tmaxExecutionTimeout: number;\n\tversionCli: string;\n\toauthCallbackUrls: object;\n\tjwksUri: string;\n\tn8nMetadata: {\n\t\t[key: string]: string | number | undefined;\n\t};\n\tpushRef: string;\n\tpublicApiPath: string;\n\turlBaseWebhook: string;\n\turlBaseEditor: string;\n\turlBaseWebhookTest: string;\n\tinstanceId: string;\n\tbinaryDataMode: 'default' | 'filesystem' | 's3' | 'azure' | 'database';\n};\n\nexport const useRootStore = defineStore(STORES.ROOT, () => {\n\tconst state = ref<RootStoreState>({\n\t\tbaseUrl: VUE_APP_URL_BASE_API ?? window.BASE_PATH,\n\t\trestEndpoint: getConfigFromMetaTag('rest-endpoint') ?? 'rest',\n\t\tdefaultLocale: 'en',\n\t\tendpointForm: 'form',\n\t\tendpointFormTest: 'form-test',\n\t\tendpointFormWaiting: 'form-waiting',\n\t\tendpointMcp: 'mcp',\n\t\tendpointMcpTest: 'mcp-test',\n\t\tendpointWebhook: 'webhook',\n\t\tendpointWebhookTest: 'webhook-test',\n\t\tendpointWebhookWaiting: 'webhook-waiting',\n\t\ttimezone: 'America/New_York',\n\t\texecutionTimeout: -1,\n\t\tmaxExecutionTimeout: Number.MAX_SAFE_INTEGER,\n\t\tversionCli: '0.0.0',\n\t\toauthCallbackUrls: {},\n\t\tjwksUri: '',\n\t\tn8nMetadata: {},\n\t\tpushRef: randomString(10).toLowerCase(),\n\t\tpublicApiPath: 'api/v1',\n\t\turlBaseWebhook: 'http://localhost:5678/',\n\t\turlBaseEditor: 'http://localhost:5678',\n\t\turlBaseWebhookTest: 'http://localhost:5678/',\n\t\tinstanceId: '',\n\t\tbinaryDataMode: 'default',\n\t});\n\n\t// ---------------------------------------------------------------------------\n\t// #region Computed\n\t// ---------------------------------------------------------------------------\n\n\tconst baseUrl = computed(() => state.value.baseUrl);\n\n\tconst formUrl = computed(() => `${state.value.urlBaseWebhook}${state.value.endpointForm}`);\n\n\tconst formTestUrl = computed(\n\t\t() => `${state.value.urlBaseWebhookTest}${state.value.endpointFormTest}`,\n\t);\n\n\tconst formWaitingUrl = computed(\n\t\t() => `${state.value.urlBaseEditor}${state.value.endpointFormWaiting}`,\n\t);\n\n\tconst webhookUrl = computed(() => `${state.value.urlBaseWebhook}${state.value.endpointWebhook}`);\n\n\tconst webhookTestUrl = computed(\n\t\t() => `${state.value.urlBaseWebhookTest}${state.value.endpointWebhookTest}`,\n\t);\n\n\tconst webhookWaitingUrl = computed(\n\t\t() => `${state.value.urlBaseEditor}${state.value.endpointWebhookWaiting}`,\n\t);\n\n\tconst mcpUrl = computed(() => `${state.value.urlBaseWebhook}${state.value.endpointMcp}`);\n\n\tconst mcpTestUrl = computed(\n\t\t() => `${state.value.urlBaseWebhookTest}${state.value.endpointMcpTest}`,\n\t);\n\n\tconst pushRef = computed(() => state.value.pushRef);\n\n\tconst binaryDataMode = computed(() => state.value.binaryDataMode);\n\n\tconst defaultLocale = computed(() => state.value.defaultLocale);\n\n\tconst urlBaseEditor = computed(() => state.value.urlBaseEditor);\n\n\tconst urlBaseWebhook = computed(() => state.value.urlBaseWebhook);\n\n\tconst instanceId = computed(() => state.value.instanceId);\n\n\tconst versionCli = computed(() => state.value.versionCli);\n\n\tconst OAuthCallbackUrls = computed(() => state.value.oauthCallbackUrls);\n\n\tconst jwksUri = computed(() => state.value.jwksUri);\n\n\tconst restUrl = computed(() => `${state.value.baseUrl}${state.value.restEndpoint}`);\n\n\tconst executionTimeout = computed(() => state.value.executionTimeout);\n\n\tconst maxExecutionTimeout = computed(() => state.value.maxExecutionTimeout);\n\n\tconst timezone = computed(() => state.value.timezone);\n\n\tconst restApiContext = computed(() => ({\n\t\tbaseUrl: restUrl.value,\n\t\tpushRef: state.value.pushRef,\n\t}));\n\n\tconst publicApiContext = computed(() => ({\n\t\tbaseUrl: `${state.value.baseUrl}${state.value.publicApiPath}`,\n\t}));\n\n\t// #endregion\n\n\t// ---------------------------------------------------------------------------\n\t// #region Methods\n\t// ---------------------------------------------------------------------------\n\n\tconst setUrlBaseWebhook = (value: string) => {\n\t\tconst url = value.endsWith('/') ? value : `${value}/`;\n\t\tstate.value.urlBaseWebhook = url;\n\t};\n\n\tconst setUrlBaseEditor = (value: string) => {\n\t\tconst url = value.endsWith('/') ? value : `${value}/`;\n\t\tstate.value.urlBaseEditor = url;\n\t};\n\n\tconst setUrlBaseWebhookTest = (value: string) => {\n\t\tconst url = value.endsWith('/') ? value : `${value}/`;\n\t\tstate.value.urlBaseWebhookTest = url;\n\t};\n\n\tconst setEndpointForm = (value: string) => {\n\t\tstate.value.endpointForm = value;\n\t};\n\n\tconst setEndpointFormTest = (value: string) => {\n\t\tstate.value.endpointFormTest = value;\n\t};\n\n\tconst setEndpointFormWaiting = (value: string) => {\n\t\tstate.value.endpointFormWaiting = value;\n\t};\n\n\tconst setEndpointWebhook = (value: string) => {\n\t\tstate.value.endpointWebhook = value;\n\t};\n\n\tconst setEndpointWebhookTest = (value: string) => {\n\t\tstate.value.endpointWebhookTest = value;\n\t};\n\n\tconst setEndpointWebhookWaiting = (value: string) => {\n\t\tstate.value.endpointWebhookWaiting = value;\n\t};\n\n\tconst setEndpointMcp = (value: string) => {\n\t\tstate.value.endpointMcp = value;\n\t};\n\n\tconst setEndpointMcpTest = (value: string) => {\n\t\tstate.value.endpointMcpTest = value;\n\t};\n\n\tconst setTimezone = (value: string) => {\n\t\tstate.value.timezone = value;\n\t\tsetGlobalState({ defaultTimezone: value });\n\t};\n\n\tconst setExecutionTimeout = (value: number) => {\n\t\tstate.value.executionTimeout = value;\n\t};\n\n\tconst setMaxExecutionTimeout = (value: number) => {\n\t\tstate.value.maxExecutionTimeout = value;\n\t};\n\n\tconst setVersionCli = (value: string) => {\n\t\tstate.value.versionCli = value;\n\t};\n\n\tconst setInstanceId = (value: string) => {\n\t\tstate.value.instanceId = value;\n\t};\n\n\tconst setOauthCallbackUrls = (value: RootStoreState['oauthCallbackUrls']) => {\n\t\tstate.value.oauthCallbackUrls = value;\n\t};\n\n\tconst setJwksUri = (value: string) => {\n\t\tstate.value.jwksUri = value;\n\t};\n\n\tconst setN8nMetadata = (value: RootStoreState['n8nMetadata']) => {\n\t\tstate.value.n8nMetadata = value;\n\t};\n\n\tconst setDefaultLocale = (value: string) => {\n\t\tstate.value.defaultLocale = value;\n\t};\n\n\tconst setBinaryDataMode = (value: RootStoreState['binaryDataMode']) => {\n\t\tstate.value.binaryDataMode = value;\n\t};\n\n\tconst setPushRef = (value: string) => {\n\t\tstate.value.pushRef = value;\n\t};\n\n\tconst setPublicApiPath = (value: string) => {\n\t\tstate.value.publicApiPath = value;\n\t};\n\n\t// #endregion\n\n\treturn {\n\t\tbaseUrl,\n\t\tformUrl,\n\t\tformTestUrl,\n\t\tformWaitingUrl,\n\t\tmcpUrl,\n\t\tmcpTestUrl,\n\t\twebhookUrl,\n\t\twebhookTestUrl,\n\t\twebhookWaitingUrl,\n\t\trestUrl,\n\t\trestApiContext,\n\t\tpublicApiContext,\n\t\turlBaseEditor,\n\t\turlBaseWebhook,\n\t\tversionCli,\n\t\tinstanceId,\n\t\tpushRef,\n\t\tdefaultLocale,\n\t\tbinaryDataMode,\n\t\tOAuthCallbackUrls,\n\t\tjwksUri,\n\t\texecutionTimeout,\n\t\tmaxExecutionTimeout,\n\t\ttimezone,\n\t\tsetUrlBaseWebhook,\n\t\tsetUrlBaseEditor,\n\t\tsetUrlBaseWebhookTest,\n\t\tsetEndpointForm,\n\t\tsetEndpointFormTest,\n\t\tsetEndpointFormWaiting,\n\t\tsetEndpointWebhook,\n\t\tsetEndpointWebhookTest,\n\t\tsetEndpointWebhookWaiting,\n\t\tsetEndpointMcp,\n\t\tsetEndpointMcpTest,\n\t\tsetTimezone,\n\t\tsetExecutionTimeout,\n\t\tsetMaxExecutionTimeout,\n\t\tsetVersionCli,\n\t\tsetInstanceId,\n\t\tsetOauthCallbackUrls,\n\t\tsetJwksUri,\n\t\tsetN8nMetadata,\n\t\tsetDefaultLocale,\n\t\tsetBinaryDataMode,\n\t\tsetPushRef,\n\t\tsetPublicApiPath,\n\t};\n});\n"],"mappings":";;;;;;;;AAOA,MAAM,EAAE,4BAAqC;AAgC7C,MAAa,sCAA2BA,yBAAO,YAAY;CAC1D,MAAM,qBAA4B;EACjC,SAAS,wBAAwB,OAAO;EACxC,cAAcC,2CAAqB,gBAAgB,IAAI;EACvD,eAAe;EACf,cAAc;EACd,kBAAkB;EAClB,qBAAqB;EACrB,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,qBAAqB;EACrB,wBAAwB;EACxB,UAAU;EACV,kBAAkB;EAClB,qBAAqB,OAAO;EAC5B,YAAY;EACZ,mBAAmB,EAAE;EACrB,SAAS;EACT,aAAa,EAAE;EACf,wCAAsB,GAAG,CAAC,aAAa;EACvC,eAAe;EACf,gBAAgB;EAChB,eAAe;EACf,oBAAoB;EACpB,YAAY;EACZ,gBAAgB;EAChB,CAAC;CAMF,MAAM,kCAAyB,MAAM,MAAM,QAAQ;CAEnD,MAAM,kCAAyB,GAAG,MAAM,MAAM,iBAAiB,MAAM,MAAM,eAAe;CAE1F,MAAM,sCACC,GAAG,MAAM,MAAM,qBAAqB,MAAM,MAAM,mBACtD;CAED,MAAM,yCACC,GAAG,MAAM,MAAM,gBAAgB,MAAM,MAAM,sBACjD;CAED,MAAM,qCAA4B,GAAG,MAAM,MAAM,iBAAiB,MAAM,MAAM,kBAAkB;CAEhG,MAAM,yCACC,GAAG,MAAM,MAAM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;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA"}
@@ -27,6 +27,7 @@ const useRootStore = defineStore(STORES.ROOT, () => {
27
27
  jwksUri: "",
28
28
  n8nMetadata: {},
29
29
  pushRef: randomString(10).toLowerCase(),
30
+ publicApiPath: "api/v1",
30
31
  urlBaseWebhook: "http://localhost:5678/",
31
32
  urlBaseEditor: "http://localhost:5678",
32
33
  urlBaseWebhookTest: "http://localhost:5678/",
@@ -59,6 +60,7 @@ const useRootStore = defineStore(STORES.ROOT, () => {
59
60
  baseUrl: restUrl.value,
60
61
  pushRef: state.value.pushRef
61
62
  }));
63
+ const publicApiContext = computed(() => ({ baseUrl: `${state.value.baseUrl}${state.value.publicApiPath}` }));
62
64
  const setUrlBaseWebhook = (value) => {
63
65
  const url = value.endsWith("/") ? value : `${value}/`;
64
66
  state.value.urlBaseWebhook = url;
@@ -129,6 +131,9 @@ const useRootStore = defineStore(STORES.ROOT, () => {
129
131
  const setPushRef = (value) => {
130
132
  state.value.pushRef = value;
131
133
  };
134
+ const setPublicApiPath = (value) => {
135
+ state.value.publicApiPath = value;
136
+ };
132
137
  return {
133
138
  baseUrl,
134
139
  formUrl,
@@ -141,6 +146,7 @@ const useRootStore = defineStore(STORES.ROOT, () => {
141
146
  webhookWaitingUrl,
142
147
  restUrl,
143
148
  restApiContext,
149
+ publicApiContext,
144
150
  urlBaseEditor,
145
151
  urlBaseWebhook,
146
152
  versionCli,
@@ -174,7 +180,8 @@ const useRootStore = defineStore(STORES.ROOT, () => {
174
180
  setN8nMetadata,
175
181
  setDefaultLocale,
176
182
  setBinaryDataMode,
177
- setPushRef
183
+ setPushRef,
184
+ setPublicApiPath
178
185
  };
179
186
  });
180
187
 
@@ -1 +1 @@
1
- {"version":3,"file":"useRootStore2.mjs","names":[],"sources":["../src/useRootStore.ts"],"sourcesContent":["import { randomString, setGlobalState } from 'n8n-workflow';\nimport { defineStore } from 'pinia';\nimport { computed, ref } from 'vue';\n\nimport { STORES } from './constants';\nimport { getConfigFromMetaTag } from './metaTagConfig';\n\nconst { VUE_APP_URL_BASE_API } = import.meta.env;\n\nexport type RootStoreState = {\n\tbaseUrl: string;\n\trestEndpoint: string;\n\tdefaultLocale: string;\n\tendpointForm: string;\n\tendpointFormTest: string;\n\tendpointFormWaiting: string;\n\tendpointMcp: string;\n\tendpointMcpTest: string;\n\tendpointWebhook: string;\n\tendpointWebhookTest: string;\n\tendpointWebhookWaiting: string;\n\ttimezone: string;\n\texecutionTimeout: number;\n\tmaxExecutionTimeout: number;\n\tversionCli: string;\n\toauthCallbackUrls: object;\n\tjwksUri: string;\n\tn8nMetadata: {\n\t\t[key: string]: string | number | undefined;\n\t};\n\tpushRef: string;\n\turlBaseWebhook: string;\n\turlBaseEditor: string;\n\turlBaseWebhookTest: string;\n\tinstanceId: string;\n\tbinaryDataMode: 'default' | 'filesystem' | 's3' | 'azure' | 'database';\n};\n\nexport const useRootStore = defineStore(STORES.ROOT, () => {\n\tconst state = ref<RootStoreState>({\n\t\tbaseUrl: VUE_APP_URL_BASE_API ?? window.BASE_PATH,\n\t\trestEndpoint: getConfigFromMetaTag('rest-endpoint') ?? 'rest',\n\t\tdefaultLocale: 'en',\n\t\tendpointForm: 'form',\n\t\tendpointFormTest: 'form-test',\n\t\tendpointFormWaiting: 'form-waiting',\n\t\tendpointMcp: 'mcp',\n\t\tendpointMcpTest: 'mcp-test',\n\t\tendpointWebhook: 'webhook',\n\t\tendpointWebhookTest: 'webhook-test',\n\t\tendpointWebhookWaiting: 'webhook-waiting',\n\t\ttimezone: 'America/New_York',\n\t\texecutionTimeout: -1,\n\t\tmaxExecutionTimeout: Number.MAX_SAFE_INTEGER,\n\t\tversionCli: '0.0.0',\n\t\toauthCallbackUrls: {},\n\t\tjwksUri: '',\n\t\tn8nMetadata: {},\n\t\tpushRef: randomString(10).toLowerCase(),\n\t\turlBaseWebhook: 'http://localhost:5678/',\n\t\turlBaseEditor: 'http://localhost:5678',\n\t\turlBaseWebhookTest: 'http://localhost:5678/',\n\t\tinstanceId: '',\n\t\tbinaryDataMode: 'default',\n\t});\n\n\t// ---------------------------------------------------------------------------\n\t// #region Computed\n\t// ---------------------------------------------------------------------------\n\n\tconst baseUrl = computed(() => state.value.baseUrl);\n\n\tconst formUrl = computed(() => `${state.value.urlBaseWebhook}${state.value.endpointForm}`);\n\n\tconst formTestUrl = computed(\n\t\t() => `${state.value.urlBaseWebhookTest}${state.value.endpointFormTest}`,\n\t);\n\n\tconst formWaitingUrl = computed(\n\t\t() => `${state.value.urlBaseEditor}${state.value.endpointFormWaiting}`,\n\t);\n\n\tconst webhookUrl = computed(() => `${state.value.urlBaseWebhook}${state.value.endpointWebhook}`);\n\n\tconst webhookTestUrl = computed(\n\t\t() => `${state.value.urlBaseWebhookTest}${state.value.endpointWebhookTest}`,\n\t);\n\n\tconst webhookWaitingUrl = computed(\n\t\t() => `${state.value.urlBaseEditor}${state.value.endpointWebhookWaiting}`,\n\t);\n\n\tconst mcpUrl = computed(() => `${state.value.urlBaseWebhook}${state.value.endpointMcp}`);\n\n\tconst mcpTestUrl = computed(\n\t\t() => `${state.value.urlBaseWebhookTest}${state.value.endpointMcpTest}`,\n\t);\n\n\tconst pushRef = computed(() => state.value.pushRef);\n\n\tconst binaryDataMode = computed(() => state.value.binaryDataMode);\n\n\tconst defaultLocale = computed(() => state.value.defaultLocale);\n\n\tconst urlBaseEditor = computed(() => state.value.urlBaseEditor);\n\n\tconst urlBaseWebhook = computed(() => state.value.urlBaseWebhook);\n\n\tconst instanceId = computed(() => state.value.instanceId);\n\n\tconst versionCli = computed(() => state.value.versionCli);\n\n\tconst OAuthCallbackUrls = computed(() => state.value.oauthCallbackUrls);\n\n\tconst jwksUri = computed(() => state.value.jwksUri);\n\n\tconst restUrl = computed(() => `${state.value.baseUrl}${state.value.restEndpoint}`);\n\n\tconst executionTimeout = computed(() => state.value.executionTimeout);\n\n\tconst maxExecutionTimeout = computed(() => state.value.maxExecutionTimeout);\n\n\tconst timezone = computed(() => state.value.timezone);\n\n\tconst restApiContext = computed(() => ({\n\t\tbaseUrl: restUrl.value,\n\t\tpushRef: state.value.pushRef,\n\t}));\n\n\t// #endregion\n\n\t// ---------------------------------------------------------------------------\n\t// #region Methods\n\t// ---------------------------------------------------------------------------\n\n\tconst setUrlBaseWebhook = (value: string) => {\n\t\tconst url = value.endsWith('/') ? value : `${value}/`;\n\t\tstate.value.urlBaseWebhook = url;\n\t};\n\n\tconst setUrlBaseEditor = (value: string) => {\n\t\tconst url = value.endsWith('/') ? value : `${value}/`;\n\t\tstate.value.urlBaseEditor = url;\n\t};\n\n\tconst setUrlBaseWebhookTest = (value: string) => {\n\t\tconst url = value.endsWith('/') ? value : `${value}/`;\n\t\tstate.value.urlBaseWebhookTest = url;\n\t};\n\n\tconst setEndpointForm = (value: string) => {\n\t\tstate.value.endpointForm = value;\n\t};\n\n\tconst setEndpointFormTest = (value: string) => {\n\t\tstate.value.endpointFormTest = value;\n\t};\n\n\tconst setEndpointFormWaiting = (value: string) => {\n\t\tstate.value.endpointFormWaiting = value;\n\t};\n\n\tconst setEndpointWebhook = (value: string) => {\n\t\tstate.value.endpointWebhook = value;\n\t};\n\n\tconst setEndpointWebhookTest = (value: string) => {\n\t\tstate.value.endpointWebhookTest = value;\n\t};\n\n\tconst setEndpointWebhookWaiting = (value: string) => {\n\t\tstate.value.endpointWebhookWaiting = value;\n\t};\n\n\tconst setEndpointMcp = (value: string) => {\n\t\tstate.value.endpointMcp = value;\n\t};\n\n\tconst setEndpointMcpTest = (value: string) => {\n\t\tstate.value.endpointMcpTest = value;\n\t};\n\n\tconst setTimezone = (value: string) => {\n\t\tstate.value.timezone = value;\n\t\tsetGlobalState({ defaultTimezone: value });\n\t};\n\n\tconst setExecutionTimeout = (value: number) => {\n\t\tstate.value.executionTimeout = value;\n\t};\n\n\tconst setMaxExecutionTimeout = (value: number) => {\n\t\tstate.value.maxExecutionTimeout = value;\n\t};\n\n\tconst setVersionCli = (value: string) => {\n\t\tstate.value.versionCli = value;\n\t};\n\n\tconst setInstanceId = (value: string) => {\n\t\tstate.value.instanceId = value;\n\t};\n\n\tconst setOauthCallbackUrls = (value: RootStoreState['oauthCallbackUrls']) => {\n\t\tstate.value.oauthCallbackUrls = value;\n\t};\n\n\tconst setJwksUri = (value: string) => {\n\t\tstate.value.jwksUri = value;\n\t};\n\n\tconst setN8nMetadata = (value: RootStoreState['n8nMetadata']) => {\n\t\tstate.value.n8nMetadata = value;\n\t};\n\n\tconst setDefaultLocale = (value: string) => {\n\t\tstate.value.defaultLocale = value;\n\t};\n\n\tconst setBinaryDataMode = (value: RootStoreState['binaryDataMode']) => {\n\t\tstate.value.binaryDataMode = value;\n\t};\n\n\tconst setPushRef = (value: string) => {\n\t\tstate.value.pushRef = value;\n\t};\n\n\t// #endregion\n\n\treturn {\n\t\tbaseUrl,\n\t\tformUrl,\n\t\tformTestUrl,\n\t\tformWaitingUrl,\n\t\tmcpUrl,\n\t\tmcpTestUrl,\n\t\twebhookUrl,\n\t\twebhookTestUrl,\n\t\twebhookWaitingUrl,\n\t\trestUrl,\n\t\trestApiContext,\n\t\turlBaseEditor,\n\t\turlBaseWebhook,\n\t\tversionCli,\n\t\tinstanceId,\n\t\tpushRef,\n\t\tdefaultLocale,\n\t\tbinaryDataMode,\n\t\tOAuthCallbackUrls,\n\t\tjwksUri,\n\t\texecutionTimeout,\n\t\tmaxExecutionTimeout,\n\t\ttimezone,\n\t\tsetUrlBaseWebhook,\n\t\tsetUrlBaseEditor,\n\t\tsetUrlBaseWebhookTest,\n\t\tsetEndpointForm,\n\t\tsetEndpointFormTest,\n\t\tsetEndpointFormWaiting,\n\t\tsetEndpointWebhook,\n\t\tsetEndpointWebhookTest,\n\t\tsetEndpointWebhookWaiting,\n\t\tsetEndpointMcp,\n\t\tsetEndpointMcpTest,\n\t\tsetTimezone,\n\t\tsetExecutionTimeout,\n\t\tsetMaxExecutionTimeout,\n\t\tsetVersionCli,\n\t\tsetInstanceId,\n\t\tsetOauthCallbackUrls,\n\t\tsetJwksUri,\n\t\tsetN8nMetadata,\n\t\tsetDefaultLocale,\n\t\tsetBinaryDataMode,\n\t\tsetPushRef,\n\t};\n});\n"],"mappings":";;;;;;;AAOA,MAAM,EAAE,yBAAyB,OAAO,KAAK;AA+B7C,MAAa,eAAe,YAAY,OAAO,YAAY;CAC1D,MAAM,QAAQ,IAAoB;EACjC,SAAS,wBAAwB,OAAO;EACxC,cAAc,qBAAqB,gBAAgB,IAAI;EACvD,eAAe;EACf,cAAc;EACd,kBAAkB;EAClB,qBAAqB;EACrB,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,qBAAqB;EACrB,wBAAwB;EACxB,UAAU;EACV,kBAAkB;EAClB,qBAAqB,OAAO;EAC5B,YAAY;EACZ,mBAAmB,EAAE;EACrB,SAAS;EACT,aAAa,EAAE;EACf,SAAS,aAAa,GAAG,CAAC,aAAa;EACvC,gBAAgB;EAChB,eAAe;EACf,oBAAoB;EACpB,YAAY;EACZ,gBAAgB;EAChB,CAAC;CAMF,MAAM,UAAU,eAAe,MAAM,MAAM,QAAQ;CAEnD,MAAM,UAAU,eAAe,GAAG,MAAM,MAAM,iBAAiB,MAAM,MAAM,eAAe;CAE1F,MAAM,cAAc,eACb,GAAG,MAAM,MAAM,qBAAqB,MAAM,MAAM,mBACtD;CAED,MAAM,iBAAiB,eAChB,GAAG,MAAM,MAAM,gBAAgB,MAAM,MAAM,sBACjD;CAED,MAAM,aAAa,eAAe,GAAG,MAAM,MAAM,iBAAiB,MAAM,MAAM,kBAAkB;CAEhG,MAAM,iBAAiB,eAChB,GAAG,MAAM,MAAM,qBAAqB,MAAM,MAAM,sBACtD;CAED,MAAM,oBAAoB,eACnB,GAAG,MAAM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;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA"}
1
+ {"version":3,"file":"useRootStore2.mjs","names":[],"sources":["../src/useRootStore.ts"],"sourcesContent":["import { randomString, setGlobalState } from 'n8n-workflow';\nimport { defineStore } from 'pinia';\nimport { computed, ref } from 'vue';\n\nimport { STORES } from './constants';\nimport { getConfigFromMetaTag } from './metaTagConfig';\n\nconst { VUE_APP_URL_BASE_API } = import.meta.env;\n\nexport type RootStoreState = {\n\tbaseUrl: string;\n\trestEndpoint: string;\n\tdefaultLocale: string;\n\tendpointForm: string;\n\tendpointFormTest: string;\n\tendpointFormWaiting: string;\n\tendpointMcp: string;\n\tendpointMcpTest: string;\n\tendpointWebhook: string;\n\tendpointWebhookTest: string;\n\tendpointWebhookWaiting: string;\n\ttimezone: string;\n\texecutionTimeout: number;\n\tmaxExecutionTimeout: number;\n\tversionCli: string;\n\toauthCallbackUrls: object;\n\tjwksUri: string;\n\tn8nMetadata: {\n\t\t[key: string]: string | number | undefined;\n\t};\n\tpushRef: string;\n\tpublicApiPath: string;\n\turlBaseWebhook: string;\n\turlBaseEditor: string;\n\turlBaseWebhookTest: string;\n\tinstanceId: string;\n\tbinaryDataMode: 'default' | 'filesystem' | 's3' | 'azure' | 'database';\n};\n\nexport const useRootStore = defineStore(STORES.ROOT, () => {\n\tconst state = ref<RootStoreState>({\n\t\tbaseUrl: VUE_APP_URL_BASE_API ?? window.BASE_PATH,\n\t\trestEndpoint: getConfigFromMetaTag('rest-endpoint') ?? 'rest',\n\t\tdefaultLocale: 'en',\n\t\tendpointForm: 'form',\n\t\tendpointFormTest: 'form-test',\n\t\tendpointFormWaiting: 'form-waiting',\n\t\tendpointMcp: 'mcp',\n\t\tendpointMcpTest: 'mcp-test',\n\t\tendpointWebhook: 'webhook',\n\t\tendpointWebhookTest: 'webhook-test',\n\t\tendpointWebhookWaiting: 'webhook-waiting',\n\t\ttimezone: 'America/New_York',\n\t\texecutionTimeout: -1,\n\t\tmaxExecutionTimeout: Number.MAX_SAFE_INTEGER,\n\t\tversionCli: '0.0.0',\n\t\toauthCallbackUrls: {},\n\t\tjwksUri: '',\n\t\tn8nMetadata: {},\n\t\tpushRef: randomString(10).toLowerCase(),\n\t\tpublicApiPath: 'api/v1',\n\t\turlBaseWebhook: 'http://localhost:5678/',\n\t\turlBaseEditor: 'http://localhost:5678',\n\t\turlBaseWebhookTest: 'http://localhost:5678/',\n\t\tinstanceId: '',\n\t\tbinaryDataMode: 'default',\n\t});\n\n\t// ---------------------------------------------------------------------------\n\t// #region Computed\n\t// ---------------------------------------------------------------------------\n\n\tconst baseUrl = computed(() => state.value.baseUrl);\n\n\tconst formUrl = computed(() => `${state.value.urlBaseWebhook}${state.value.endpointForm}`);\n\n\tconst formTestUrl = computed(\n\t\t() => `${state.value.urlBaseWebhookTest}${state.value.endpointFormTest}`,\n\t);\n\n\tconst formWaitingUrl = computed(\n\t\t() => `${state.value.urlBaseEditor}${state.value.endpointFormWaiting}`,\n\t);\n\n\tconst webhookUrl = computed(() => `${state.value.urlBaseWebhook}${state.value.endpointWebhook}`);\n\n\tconst webhookTestUrl = computed(\n\t\t() => `${state.value.urlBaseWebhookTest}${state.value.endpointWebhookTest}`,\n\t);\n\n\tconst webhookWaitingUrl = computed(\n\t\t() => `${state.value.urlBaseEditor}${state.value.endpointWebhookWaiting}`,\n\t);\n\n\tconst mcpUrl = computed(() => `${state.value.urlBaseWebhook}${state.value.endpointMcp}`);\n\n\tconst mcpTestUrl = computed(\n\t\t() => `${state.value.urlBaseWebhookTest}${state.value.endpointMcpTest}`,\n\t);\n\n\tconst pushRef = computed(() => state.value.pushRef);\n\n\tconst binaryDataMode = computed(() => state.value.binaryDataMode);\n\n\tconst defaultLocale = computed(() => state.value.defaultLocale);\n\n\tconst urlBaseEditor = computed(() => state.value.urlBaseEditor);\n\n\tconst urlBaseWebhook = computed(() => state.value.urlBaseWebhook);\n\n\tconst instanceId = computed(() => state.value.instanceId);\n\n\tconst versionCli = computed(() => state.value.versionCli);\n\n\tconst OAuthCallbackUrls = computed(() => state.value.oauthCallbackUrls);\n\n\tconst jwksUri = computed(() => state.value.jwksUri);\n\n\tconst restUrl = computed(() => `${state.value.baseUrl}${state.value.restEndpoint}`);\n\n\tconst executionTimeout = computed(() => state.value.executionTimeout);\n\n\tconst maxExecutionTimeout = computed(() => state.value.maxExecutionTimeout);\n\n\tconst timezone = computed(() => state.value.timezone);\n\n\tconst restApiContext = computed(() => ({\n\t\tbaseUrl: restUrl.value,\n\t\tpushRef: state.value.pushRef,\n\t}));\n\n\tconst publicApiContext = computed(() => ({\n\t\tbaseUrl: `${state.value.baseUrl}${state.value.publicApiPath}`,\n\t}));\n\n\t// #endregion\n\n\t// ---------------------------------------------------------------------------\n\t// #region Methods\n\t// ---------------------------------------------------------------------------\n\n\tconst setUrlBaseWebhook = (value: string) => {\n\t\tconst url = value.endsWith('/') ? value : `${value}/`;\n\t\tstate.value.urlBaseWebhook = url;\n\t};\n\n\tconst setUrlBaseEditor = (value: string) => {\n\t\tconst url = value.endsWith('/') ? value : `${value}/`;\n\t\tstate.value.urlBaseEditor = url;\n\t};\n\n\tconst setUrlBaseWebhookTest = (value: string) => {\n\t\tconst url = value.endsWith('/') ? value : `${value}/`;\n\t\tstate.value.urlBaseWebhookTest = url;\n\t};\n\n\tconst setEndpointForm = (value: string) => {\n\t\tstate.value.endpointForm = value;\n\t};\n\n\tconst setEndpointFormTest = (value: string) => {\n\t\tstate.value.endpointFormTest = value;\n\t};\n\n\tconst setEndpointFormWaiting = (value: string) => {\n\t\tstate.value.endpointFormWaiting = value;\n\t};\n\n\tconst setEndpointWebhook = (value: string) => {\n\t\tstate.value.endpointWebhook = value;\n\t};\n\n\tconst setEndpointWebhookTest = (value: string) => {\n\t\tstate.value.endpointWebhookTest = value;\n\t};\n\n\tconst setEndpointWebhookWaiting = (value: string) => {\n\t\tstate.value.endpointWebhookWaiting = value;\n\t};\n\n\tconst setEndpointMcp = (value: string) => {\n\t\tstate.value.endpointMcp = value;\n\t};\n\n\tconst setEndpointMcpTest = (value: string) => {\n\t\tstate.value.endpointMcpTest = value;\n\t};\n\n\tconst setTimezone = (value: string) => {\n\t\tstate.value.timezone = value;\n\t\tsetGlobalState({ defaultTimezone: value });\n\t};\n\n\tconst setExecutionTimeout = (value: number) => {\n\t\tstate.value.executionTimeout = value;\n\t};\n\n\tconst setMaxExecutionTimeout = (value: number) => {\n\t\tstate.value.maxExecutionTimeout = value;\n\t};\n\n\tconst setVersionCli = (value: string) => {\n\t\tstate.value.versionCli = value;\n\t};\n\n\tconst setInstanceId = (value: string) => {\n\t\tstate.value.instanceId = value;\n\t};\n\n\tconst setOauthCallbackUrls = (value: RootStoreState['oauthCallbackUrls']) => {\n\t\tstate.value.oauthCallbackUrls = value;\n\t};\n\n\tconst setJwksUri = (value: string) => {\n\t\tstate.value.jwksUri = value;\n\t};\n\n\tconst setN8nMetadata = (value: RootStoreState['n8nMetadata']) => {\n\t\tstate.value.n8nMetadata = value;\n\t};\n\n\tconst setDefaultLocale = (value: string) => {\n\t\tstate.value.defaultLocale = value;\n\t};\n\n\tconst setBinaryDataMode = (value: RootStoreState['binaryDataMode']) => {\n\t\tstate.value.binaryDataMode = value;\n\t};\n\n\tconst setPushRef = (value: string) => {\n\t\tstate.value.pushRef = value;\n\t};\n\n\tconst setPublicApiPath = (value: string) => {\n\t\tstate.value.publicApiPath = value;\n\t};\n\n\t// #endregion\n\n\treturn {\n\t\tbaseUrl,\n\t\tformUrl,\n\t\tformTestUrl,\n\t\tformWaitingUrl,\n\t\tmcpUrl,\n\t\tmcpTestUrl,\n\t\twebhookUrl,\n\t\twebhookTestUrl,\n\t\twebhookWaitingUrl,\n\t\trestUrl,\n\t\trestApiContext,\n\t\tpublicApiContext,\n\t\turlBaseEditor,\n\t\turlBaseWebhook,\n\t\tversionCli,\n\t\tinstanceId,\n\t\tpushRef,\n\t\tdefaultLocale,\n\t\tbinaryDataMode,\n\t\tOAuthCallbackUrls,\n\t\tjwksUri,\n\t\texecutionTimeout,\n\t\tmaxExecutionTimeout,\n\t\ttimezone,\n\t\tsetUrlBaseWebhook,\n\t\tsetUrlBaseEditor,\n\t\tsetUrlBaseWebhookTest,\n\t\tsetEndpointForm,\n\t\tsetEndpointFormTest,\n\t\tsetEndpointFormWaiting,\n\t\tsetEndpointWebhook,\n\t\tsetEndpointWebhookTest,\n\t\tsetEndpointWebhookWaiting,\n\t\tsetEndpointMcp,\n\t\tsetEndpointMcpTest,\n\t\tsetTimezone,\n\t\tsetExecutionTimeout,\n\t\tsetMaxExecutionTimeout,\n\t\tsetVersionCli,\n\t\tsetInstanceId,\n\t\tsetOauthCallbackUrls,\n\t\tsetJwksUri,\n\t\tsetN8nMetadata,\n\t\tsetDefaultLocale,\n\t\tsetBinaryDataMode,\n\t\tsetPushRef,\n\t\tsetPublicApiPath,\n\t};\n});\n"],"mappings":";;;;;;;AAOA,MAAM,EAAE,yBAAyB,OAAO,KAAK;AAgC7C,MAAa,eAAe,YAAY,OAAO,YAAY;CAC1D,MAAM,QAAQ,IAAoB;EACjC,SAAS,wBAAwB,OAAO;EACxC,cAAc,qBAAqB,gBAAgB,IAAI;EACvD,eAAe;EACf,cAAc;EACd,kBAAkB;EAClB,qBAAqB;EACrB,aAAa;EACb,iBAAiB;EACjB,iBAAiB;EACjB,qBAAqB;EACrB,wBAAwB;EACxB,UAAU;EACV,kBAAkB;EAClB,qBAAqB,OAAO;EAC5B,YAAY;EACZ,mBAAmB,EAAE;EACrB,SAAS;EACT,aAAa,EAAE;EACf,SAAS,aAAa,GAAG,CAAC,aAAa;EACvC,eAAe;EACf,gBAAgB;EAChB,eAAe;EACf,oBAAoB;EACpB,YAAY;EACZ,gBAAgB;EAChB,CAAC;CAMF,MAAM,UAAU,eAAe,MAAM,MAAM,QAAQ;CAEnD,MAAM,UAAU,eAAe,GAAG,MAAM,MAAM,iBAAiB,MAAM,MAAM,eAAe;CAE1F,MAAM,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