@primuslabs/por-client-sdk 0.1.22 → 0.1.24
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/README.md +1 -1
- package/dist/client/data_service_client.d.ts +5 -0
- package/dist/client/data_service_client.js +1 -0
- package/dist/client/data_service_client.js.map +1 -1
- package/dist/client/por_client.d.ts +3 -2
- package/dist/client/por_client.js +27 -5
- package/dist/client/por_client.js.map +1 -1
- package/dist/client/zktls_client.js +9 -0
- package/dist/client/zktls_client.js.map +1 -1
- package/dist/config_schema.d.ts +505 -3
- package/dist/config_schema.js +35 -6
- package/dist/config_schema.js.map +1 -1
- package/dist/datasource/aster.d.ts +4 -0
- package/dist/datasource/binance.d.ts +12 -0
- package/dist/datasource/bybit.d.ts +2 -0
- package/dist/datasource/datasource_manager.d.ts +4 -0
- package/dist/datasource/datasource_manager.js +8 -0
- package/dist/datasource/datasource_manager.js.map +1 -1
- package/dist/datasource/extended.d.ts +2 -0
- package/dist/datasource/grvt.d.ts +2 -0
- package/dist/datasource/helper.d.ts +3 -2
- package/dist/datasource/helper.js +48 -0
- package/dist/datasource/helper.js.map +1 -1
- package/dist/datasource/hyperliquid.d.ts +2 -0
- package/dist/datasource/lighter.d.ts +2 -0
- package/dist/datasource/moomoo.d.ts +22 -0
- package/dist/datasource/moomoo.js +28 -0
- package/dist/datasource/moomoo.js.map +1 -0
- package/dist/datasource/okx.d.ts +21 -4
- package/dist/datasource/okx.js +27 -13
- package/dist/datasource/okx.js.map +1 -1
- package/dist/datasource/pacifica.d.ts +2 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/paths.d.ts +22 -0
- package/dist/paths.js +63 -0
- package/dist/paths.js.map +1 -0
- package/dist/scheduler.d.ts +5 -3
- package/dist/scheduler.js +18 -9
- package/dist/scheduler.js.map +1 -1
- package/package.json +3 -2
package/dist/config_schema.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export type DATASOURCE = "binance" | "aster" | "grvt" | "bybit" | "hyperliquid" | "pacifica" | "extended" | "lighter";
|
|
2
|
+
export type DATASOURCE = "binance" | "aster" | "grvt" | "bybit" | "moomoo" | "okx" | "hyperliquid" | "pacifica" | "extended" | "lighter";
|
|
3
3
|
declare const BinanceKindSchema: z.ZodEnum<{
|
|
4
4
|
spot: "spot";
|
|
5
5
|
"usds-futures": "usds-futures";
|
|
@@ -22,6 +22,14 @@ declare const BybitKindSchema: z.ZodEnum<{
|
|
|
22
22
|
main: "main";
|
|
23
23
|
}>;
|
|
24
24
|
export type BybitKind = z.infer<typeof BybitKindSchema>;
|
|
25
|
+
declare const MoomooKindSchema: z.ZodEnum<{
|
|
26
|
+
main: "main";
|
|
27
|
+
}>;
|
|
28
|
+
export type MoomooKind = z.infer<typeof MoomooKindSchema>;
|
|
29
|
+
declare const OkxKindSchema: z.ZodEnum<{
|
|
30
|
+
main: "main";
|
|
31
|
+
}>;
|
|
32
|
+
export type OkxKind = z.infer<typeof OkxKindSchema>;
|
|
25
33
|
declare const HyperliquidKindSchema: z.ZodEnum<{
|
|
26
34
|
main: "main";
|
|
27
35
|
}>;
|
|
@@ -48,6 +56,8 @@ export declare const BinanceAccountSchema: z.ZodObject<{
|
|
|
48
56
|
address: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
49
57
|
accountIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
50
58
|
poolIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
59
|
+
passphrase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
60
|
+
requestFile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
51
61
|
kind: z.ZodArray<z.ZodEnum<{
|
|
52
62
|
spot: "spot";
|
|
53
63
|
"usds-futures": "usds-futures";
|
|
@@ -68,6 +78,8 @@ export declare const AsterAccountSchema: z.ZodObject<{
|
|
|
68
78
|
address: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
69
79
|
accountIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
70
80
|
poolIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
81
|
+
passphrase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
82
|
+
requestFile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
71
83
|
kind: z.ZodArray<z.ZodEnum<{
|
|
72
84
|
spot: "spot";
|
|
73
85
|
"usds-futures": "usds-futures";
|
|
@@ -84,6 +96,8 @@ export declare const GrvtAccountSchema: z.ZodObject<{
|
|
|
84
96
|
address: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
85
97
|
accountIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
86
98
|
poolIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
99
|
+
passphrase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
100
|
+
requestFile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
87
101
|
kind: z.ZodArray<z.ZodEnum<{
|
|
88
102
|
main: "main";
|
|
89
103
|
}>>;
|
|
@@ -99,11 +113,47 @@ export declare const BybitAccountSchema: z.ZodObject<{
|
|
|
99
113
|
address: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
100
114
|
accountIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
101
115
|
poolIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
116
|
+
passphrase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
117
|
+
requestFile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
102
118
|
kind: z.ZodArray<z.ZodEnum<{
|
|
103
119
|
main: "main";
|
|
104
120
|
}>>;
|
|
105
121
|
}, z.core.$strip>;
|
|
106
122
|
export type BybitAccount = z.infer<typeof BybitAccountSchema>;
|
|
123
|
+
export declare const MoomooAccountSchema: z.ZodObject<{
|
|
124
|
+
apiKey: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
125
|
+
apiSecret: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
126
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
127
|
+
description: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
128
|
+
subAccountId: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
129
|
+
vaultId: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
130
|
+
address: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
131
|
+
accountIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
132
|
+
poolIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
133
|
+
passphrase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
134
|
+
requestFile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
135
|
+
kind: z.ZodArray<z.ZodEnum<{
|
|
136
|
+
main: "main";
|
|
137
|
+
}>>;
|
|
138
|
+
}, z.core.$strip>;
|
|
139
|
+
export type MoomooAccount = z.infer<typeof MoomooAccountSchema>;
|
|
140
|
+
export declare const OkxAccountSchema: z.ZodObject<{
|
|
141
|
+
apiKey: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
142
|
+
apiSecret: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
143
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
144
|
+
description: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
145
|
+
subAccountId: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
146
|
+
vaultId: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
147
|
+
address: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
148
|
+
accountIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
149
|
+
poolIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
150
|
+
passphrase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
151
|
+
requestFile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
152
|
+
kind: z.ZodArray<z.ZodEnum<{
|
|
153
|
+
main: "main";
|
|
154
|
+
}>>;
|
|
155
|
+
}, z.core.$strip>;
|
|
156
|
+
export type OkxAccount = z.infer<typeof OkxAccountSchema>;
|
|
107
157
|
export declare const HyperliquidAccountSchema: z.ZodObject<{
|
|
108
158
|
apiKey: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
109
159
|
apiSecret: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -114,6 +164,8 @@ export declare const HyperliquidAccountSchema: z.ZodObject<{
|
|
|
114
164
|
address: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
115
165
|
accountIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
116
166
|
poolIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
167
|
+
passphrase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
168
|
+
requestFile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
117
169
|
kind: z.ZodArray<z.ZodEnum<{
|
|
118
170
|
main: "main";
|
|
119
171
|
}>>;
|
|
@@ -129,6 +181,8 @@ export declare const PacificaAccountSchema: z.ZodObject<{
|
|
|
129
181
|
address: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
130
182
|
accountIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
131
183
|
poolIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
184
|
+
passphrase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
185
|
+
requestFile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
132
186
|
kind: z.ZodArray<z.ZodEnum<{
|
|
133
187
|
main: "main";
|
|
134
188
|
}>>;
|
|
@@ -144,6 +198,8 @@ export declare const ExtendedAccountSchema: z.ZodObject<{
|
|
|
144
198
|
address: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
145
199
|
accountIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
146
200
|
poolIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
201
|
+
passphrase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
202
|
+
requestFile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
147
203
|
kind: z.ZodArray<z.ZodEnum<{
|
|
148
204
|
main: "main";
|
|
149
205
|
}>>;
|
|
@@ -159,6 +215,8 @@ export declare const LighterAccountSchema: z.ZodObject<{
|
|
|
159
215
|
address: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
160
216
|
accountIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
161
217
|
poolIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
218
|
+
passphrase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
219
|
+
requestFile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
162
220
|
kind: z.ZodArray<z.ZodEnum<{
|
|
163
221
|
main: "main";
|
|
164
222
|
}>>;
|
|
@@ -194,8 +252,11 @@ declare const AppConfigSchema: z.ZodObject<{
|
|
|
194
252
|
}, z.core.$strict>>;
|
|
195
253
|
blockchain: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodObject<{
|
|
196
254
|
network: z.ZodDefault<z.ZodEnum<{
|
|
255
|
+
unknown: "unknown";
|
|
197
256
|
base: "base";
|
|
198
257
|
"base-sepolia": "base-sepolia";
|
|
258
|
+
"bsc-mainnet": "bsc-mainnet";
|
|
259
|
+
"bsc-testnet": "bsc-testnet";
|
|
199
260
|
}>>;
|
|
200
261
|
rpcUrl: z.ZodOptional<z.ZodURL>;
|
|
201
262
|
signer: z.ZodOptional<z.ZodObject<{
|
|
@@ -214,6 +275,8 @@ declare const DatasourceConfigSchema: z.ZodObject<{
|
|
|
214
275
|
address: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
215
276
|
accountIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
216
277
|
poolIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
278
|
+
passphrase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
279
|
+
requestFile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
217
280
|
kind: z.ZodArray<z.ZodEnum<{
|
|
218
281
|
spot: "spot";
|
|
219
282
|
"usds-futures": "usds-futures";
|
|
@@ -233,6 +296,8 @@ declare const DatasourceConfigSchema: z.ZodObject<{
|
|
|
233
296
|
address: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
234
297
|
accountIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
235
298
|
poolIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
299
|
+
passphrase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
300
|
+
requestFile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
236
301
|
kind: z.ZodArray<z.ZodEnum<{
|
|
237
302
|
spot: "spot";
|
|
238
303
|
"usds-futures": "usds-futures";
|
|
@@ -248,6 +313,8 @@ declare const DatasourceConfigSchema: z.ZodObject<{
|
|
|
248
313
|
address: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
249
314
|
accountIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
250
315
|
poolIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
316
|
+
passphrase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
317
|
+
requestFile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
251
318
|
kind: z.ZodArray<z.ZodEnum<{
|
|
252
319
|
main: "main";
|
|
253
320
|
}>>;
|
|
@@ -262,6 +329,40 @@ declare const DatasourceConfigSchema: z.ZodObject<{
|
|
|
262
329
|
address: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
263
330
|
accountIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
264
331
|
poolIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
332
|
+
passphrase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
333
|
+
requestFile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
334
|
+
kind: z.ZodArray<z.ZodEnum<{
|
|
335
|
+
main: "main";
|
|
336
|
+
}>>;
|
|
337
|
+
}, z.core.$strip>>>;
|
|
338
|
+
moomoo: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
339
|
+
apiKey: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
340
|
+
apiSecret: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
341
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
342
|
+
description: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
343
|
+
subAccountId: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
344
|
+
vaultId: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
345
|
+
address: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
346
|
+
accountIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
347
|
+
poolIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
348
|
+
passphrase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
349
|
+
requestFile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
350
|
+
kind: z.ZodArray<z.ZodEnum<{
|
|
351
|
+
main: "main";
|
|
352
|
+
}>>;
|
|
353
|
+
}, z.core.$strip>>>;
|
|
354
|
+
okx: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
355
|
+
apiKey: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
356
|
+
apiSecret: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
357
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
358
|
+
description: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
359
|
+
subAccountId: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
360
|
+
vaultId: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
361
|
+
address: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
362
|
+
accountIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
363
|
+
poolIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
364
|
+
passphrase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
365
|
+
requestFile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
265
366
|
kind: z.ZodArray<z.ZodEnum<{
|
|
266
367
|
main: "main";
|
|
267
368
|
}>>;
|
|
@@ -276,6 +377,8 @@ declare const DatasourceConfigSchema: z.ZodObject<{
|
|
|
276
377
|
address: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
277
378
|
accountIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
278
379
|
poolIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
380
|
+
passphrase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
381
|
+
requestFile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
279
382
|
kind: z.ZodArray<z.ZodEnum<{
|
|
280
383
|
main: "main";
|
|
281
384
|
}>>;
|
|
@@ -290,6 +393,8 @@ declare const DatasourceConfigSchema: z.ZodObject<{
|
|
|
290
393
|
address: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
291
394
|
accountIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
292
395
|
poolIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
396
|
+
passphrase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
397
|
+
requestFile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
293
398
|
kind: z.ZodArray<z.ZodEnum<{
|
|
294
399
|
main: "main";
|
|
295
400
|
}>>;
|
|
@@ -304,6 +409,8 @@ declare const DatasourceConfigSchema: z.ZodObject<{
|
|
|
304
409
|
address: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
305
410
|
accountIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
306
411
|
poolIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
412
|
+
passphrase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
413
|
+
requestFile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
307
414
|
kind: z.ZodArray<z.ZodEnum<{
|
|
308
415
|
main: "main";
|
|
309
416
|
}>>;
|
|
@@ -318,12 +425,14 @@ declare const DatasourceConfigSchema: z.ZodObject<{
|
|
|
318
425
|
address: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
319
426
|
accountIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
320
427
|
poolIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
428
|
+
passphrase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
429
|
+
requestFile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
321
430
|
kind: z.ZodArray<z.ZodEnum<{
|
|
322
431
|
main: "main";
|
|
323
432
|
}>>;
|
|
324
433
|
}, z.core.$strip>>>;
|
|
325
434
|
}, z.core.$strict>;
|
|
326
|
-
declare const ConfigSchema: z.ZodObject<{
|
|
435
|
+
declare const ConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
327
436
|
app: z.ZodObject<{
|
|
328
437
|
identity: z.ZodObject<{
|
|
329
438
|
userToken: z.ZodString;
|
|
@@ -349,8 +458,11 @@ declare const ConfigSchema: z.ZodObject<{
|
|
|
349
458
|
}, z.core.$strict>>;
|
|
350
459
|
blockchain: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodObject<{
|
|
351
460
|
network: z.ZodDefault<z.ZodEnum<{
|
|
461
|
+
unknown: "unknown";
|
|
352
462
|
base: "base";
|
|
353
463
|
"base-sepolia": "base-sepolia";
|
|
464
|
+
"bsc-mainnet": "bsc-mainnet";
|
|
465
|
+
"bsc-testnet": "bsc-testnet";
|
|
354
466
|
}>>;
|
|
355
467
|
rpcUrl: z.ZodOptional<z.ZodURL>;
|
|
356
468
|
signer: z.ZodOptional<z.ZodObject<{
|
|
@@ -369,6 +481,8 @@ declare const ConfigSchema: z.ZodObject<{
|
|
|
369
481
|
address: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
370
482
|
accountIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
371
483
|
poolIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
484
|
+
passphrase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
485
|
+
requestFile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
372
486
|
kind: z.ZodArray<z.ZodEnum<{
|
|
373
487
|
spot: "spot";
|
|
374
488
|
"usds-futures": "usds-futures";
|
|
@@ -388,6 +502,8 @@ declare const ConfigSchema: z.ZodObject<{
|
|
|
388
502
|
address: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
389
503
|
accountIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
390
504
|
poolIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
505
|
+
passphrase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
506
|
+
requestFile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
391
507
|
kind: z.ZodArray<z.ZodEnum<{
|
|
392
508
|
spot: "spot";
|
|
393
509
|
"usds-futures": "usds-futures";
|
|
@@ -403,6 +519,8 @@ declare const ConfigSchema: z.ZodObject<{
|
|
|
403
519
|
address: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
404
520
|
accountIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
405
521
|
poolIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
522
|
+
passphrase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
523
|
+
requestFile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
406
524
|
kind: z.ZodArray<z.ZodEnum<{
|
|
407
525
|
main: "main";
|
|
408
526
|
}>>;
|
|
@@ -417,6 +535,40 @@ declare const ConfigSchema: z.ZodObject<{
|
|
|
417
535
|
address: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
418
536
|
accountIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
419
537
|
poolIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
538
|
+
passphrase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
539
|
+
requestFile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
540
|
+
kind: z.ZodArray<z.ZodEnum<{
|
|
541
|
+
main: "main";
|
|
542
|
+
}>>;
|
|
543
|
+
}, z.core.$strip>>>;
|
|
544
|
+
moomoo: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
545
|
+
apiKey: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
546
|
+
apiSecret: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
547
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
548
|
+
description: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
549
|
+
subAccountId: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
550
|
+
vaultId: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
551
|
+
address: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
552
|
+
accountIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
553
|
+
poolIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
554
|
+
passphrase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
555
|
+
requestFile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
556
|
+
kind: z.ZodArray<z.ZodEnum<{
|
|
557
|
+
main: "main";
|
|
558
|
+
}>>;
|
|
559
|
+
}, z.core.$strip>>>;
|
|
560
|
+
okx: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
561
|
+
apiKey: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
562
|
+
apiSecret: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
563
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
564
|
+
description: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
565
|
+
subAccountId: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
566
|
+
vaultId: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
567
|
+
address: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
568
|
+
accountIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
569
|
+
poolIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
570
|
+
passphrase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
571
|
+
requestFile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
420
572
|
kind: z.ZodArray<z.ZodEnum<{
|
|
421
573
|
main: "main";
|
|
422
574
|
}>>;
|
|
@@ -431,6 +583,8 @@ declare const ConfigSchema: z.ZodObject<{
|
|
|
431
583
|
address: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
432
584
|
accountIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
433
585
|
poolIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
586
|
+
passphrase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
587
|
+
requestFile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
434
588
|
kind: z.ZodArray<z.ZodEnum<{
|
|
435
589
|
main: "main";
|
|
436
590
|
}>>;
|
|
@@ -445,6 +599,8 @@ declare const ConfigSchema: z.ZodObject<{
|
|
|
445
599
|
address: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
446
600
|
accountIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
447
601
|
poolIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
602
|
+
passphrase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
603
|
+
requestFile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
448
604
|
kind: z.ZodArray<z.ZodEnum<{
|
|
449
605
|
main: "main";
|
|
450
606
|
}>>;
|
|
@@ -459,6 +615,8 @@ declare const ConfigSchema: z.ZodObject<{
|
|
|
459
615
|
address: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
460
616
|
accountIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
461
617
|
poolIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
618
|
+
passphrase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
619
|
+
requestFile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
462
620
|
kind: z.ZodArray<z.ZodEnum<{
|
|
463
621
|
main: "main";
|
|
464
622
|
}>>;
|
|
@@ -473,12 +631,356 @@ declare const ConfigSchema: z.ZodObject<{
|
|
|
473
631
|
address: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
474
632
|
accountIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
475
633
|
poolIndex: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
634
|
+
passphrase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
635
|
+
requestFile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
476
636
|
kind: z.ZodArray<z.ZodEnum<{
|
|
477
637
|
main: "main";
|
|
478
638
|
}>>;
|
|
479
639
|
}, z.core.$strip>>>;
|
|
480
640
|
}, z.core.$strict>;
|
|
481
|
-
}, z.core.$strict
|
|
641
|
+
}, z.core.$strict>, z.ZodTransform<{
|
|
642
|
+
app: {
|
|
643
|
+
identity: {
|
|
644
|
+
userToken: string;
|
|
645
|
+
projectId: string;
|
|
646
|
+
};
|
|
647
|
+
runtime: {
|
|
648
|
+
version: string;
|
|
649
|
+
env: "development" | "production";
|
|
650
|
+
logVerbose: number;
|
|
651
|
+
jobInterval: number;
|
|
652
|
+
};
|
|
653
|
+
services: {
|
|
654
|
+
zkvm: {
|
|
655
|
+
url: string;
|
|
656
|
+
getProofResultTimeout: number;
|
|
657
|
+
};
|
|
658
|
+
data: {
|
|
659
|
+
url: string;
|
|
660
|
+
};
|
|
661
|
+
};
|
|
662
|
+
blockchain: {
|
|
663
|
+
network: "unknown" | "base" | "base-sepolia" | "bsc-mainnet" | "bsc-testnet";
|
|
664
|
+
rpcUrl?: string | undefined;
|
|
665
|
+
signer?: {
|
|
666
|
+
privateKey: string;
|
|
667
|
+
} | undefined;
|
|
668
|
+
};
|
|
669
|
+
};
|
|
670
|
+
datasource: {
|
|
671
|
+
binance?: {
|
|
672
|
+
apiKey: string;
|
|
673
|
+
apiSecret: string;
|
|
674
|
+
enabled: boolean;
|
|
675
|
+
description: string;
|
|
676
|
+
subAccountId: string;
|
|
677
|
+
vaultId: string;
|
|
678
|
+
address: string;
|
|
679
|
+
accountIndex: string;
|
|
680
|
+
poolIndex: string;
|
|
681
|
+
passphrase: string;
|
|
682
|
+
requestFile: string;
|
|
683
|
+
kind: ("spot" | "usds-futures" | "coin-futures" | "unified" | "margin" | "funding")[];
|
|
684
|
+
}[] | undefined;
|
|
685
|
+
aster?: {
|
|
686
|
+
apiKey: string;
|
|
687
|
+
apiSecret: string;
|
|
688
|
+
enabled: boolean;
|
|
689
|
+
description: string;
|
|
690
|
+
subAccountId: string;
|
|
691
|
+
vaultId: string;
|
|
692
|
+
address: string;
|
|
693
|
+
accountIndex: string;
|
|
694
|
+
poolIndex: string;
|
|
695
|
+
passphrase: string;
|
|
696
|
+
requestFile: string;
|
|
697
|
+
kind: ("spot" | "usds-futures")[];
|
|
698
|
+
}[] | undefined;
|
|
699
|
+
grvt?: {
|
|
700
|
+
apiKey: string;
|
|
701
|
+
apiSecret: string;
|
|
702
|
+
enabled: boolean;
|
|
703
|
+
description: string;
|
|
704
|
+
subAccountId: string;
|
|
705
|
+
vaultId: string;
|
|
706
|
+
address: string;
|
|
707
|
+
accountIndex: string;
|
|
708
|
+
poolIndex: string;
|
|
709
|
+
passphrase: string;
|
|
710
|
+
requestFile: string;
|
|
711
|
+
kind: "main"[];
|
|
712
|
+
}[] | undefined;
|
|
713
|
+
bybit?: {
|
|
714
|
+
apiKey: string;
|
|
715
|
+
apiSecret: string;
|
|
716
|
+
enabled: boolean;
|
|
717
|
+
description: string;
|
|
718
|
+
subAccountId: string;
|
|
719
|
+
vaultId: string;
|
|
720
|
+
address: string;
|
|
721
|
+
accountIndex: string;
|
|
722
|
+
poolIndex: string;
|
|
723
|
+
passphrase: string;
|
|
724
|
+
requestFile: string;
|
|
725
|
+
kind: "main"[];
|
|
726
|
+
}[] | undefined;
|
|
727
|
+
moomoo?: {
|
|
728
|
+
apiKey: string;
|
|
729
|
+
apiSecret: string;
|
|
730
|
+
enabled: boolean;
|
|
731
|
+
description: string;
|
|
732
|
+
subAccountId: string;
|
|
733
|
+
vaultId: string;
|
|
734
|
+
address: string;
|
|
735
|
+
accountIndex: string;
|
|
736
|
+
poolIndex: string;
|
|
737
|
+
passphrase: string;
|
|
738
|
+
requestFile: string;
|
|
739
|
+
kind: "main"[];
|
|
740
|
+
}[] | undefined;
|
|
741
|
+
okx?: {
|
|
742
|
+
apiKey: string;
|
|
743
|
+
apiSecret: string;
|
|
744
|
+
enabled: boolean;
|
|
745
|
+
description: string;
|
|
746
|
+
subAccountId: string;
|
|
747
|
+
vaultId: string;
|
|
748
|
+
address: string;
|
|
749
|
+
accountIndex: string;
|
|
750
|
+
poolIndex: string;
|
|
751
|
+
passphrase: string;
|
|
752
|
+
requestFile: string;
|
|
753
|
+
kind: "main"[];
|
|
754
|
+
}[] | undefined;
|
|
755
|
+
hyperliquid?: {
|
|
756
|
+
apiKey: string;
|
|
757
|
+
apiSecret: string;
|
|
758
|
+
enabled: boolean;
|
|
759
|
+
description: string;
|
|
760
|
+
subAccountId: string;
|
|
761
|
+
vaultId: string;
|
|
762
|
+
address: string;
|
|
763
|
+
accountIndex: string;
|
|
764
|
+
poolIndex: string;
|
|
765
|
+
passphrase: string;
|
|
766
|
+
requestFile: string;
|
|
767
|
+
kind: "main"[];
|
|
768
|
+
}[] | undefined;
|
|
769
|
+
pacifica?: {
|
|
770
|
+
apiKey: string;
|
|
771
|
+
apiSecret: string;
|
|
772
|
+
enabled: boolean;
|
|
773
|
+
description: string;
|
|
774
|
+
subAccountId: string;
|
|
775
|
+
vaultId: string;
|
|
776
|
+
address: string;
|
|
777
|
+
accountIndex: string;
|
|
778
|
+
poolIndex: string;
|
|
779
|
+
passphrase: string;
|
|
780
|
+
requestFile: string;
|
|
781
|
+
kind: "main"[];
|
|
782
|
+
}[] | undefined;
|
|
783
|
+
extended?: {
|
|
784
|
+
apiKey: string;
|
|
785
|
+
apiSecret: string;
|
|
786
|
+
enabled: boolean;
|
|
787
|
+
description: string;
|
|
788
|
+
subAccountId: string;
|
|
789
|
+
vaultId: string;
|
|
790
|
+
address: string;
|
|
791
|
+
accountIndex: string;
|
|
792
|
+
poolIndex: string;
|
|
793
|
+
passphrase: string;
|
|
794
|
+
requestFile: string;
|
|
795
|
+
kind: "main"[];
|
|
796
|
+
}[] | undefined;
|
|
797
|
+
lighter?: {
|
|
798
|
+
apiKey: string;
|
|
799
|
+
apiSecret: string;
|
|
800
|
+
enabled: boolean;
|
|
801
|
+
description: string;
|
|
802
|
+
subAccountId: string;
|
|
803
|
+
vaultId: string;
|
|
804
|
+
address: string;
|
|
805
|
+
accountIndex: string;
|
|
806
|
+
poolIndex: string;
|
|
807
|
+
passphrase: string;
|
|
808
|
+
requestFile: string;
|
|
809
|
+
kind: "main"[];
|
|
810
|
+
}[] | undefined;
|
|
811
|
+
};
|
|
812
|
+
}, {
|
|
813
|
+
app: {
|
|
814
|
+
identity: {
|
|
815
|
+
userToken: string;
|
|
816
|
+
projectId: string;
|
|
817
|
+
};
|
|
818
|
+
runtime: {
|
|
819
|
+
version: string;
|
|
820
|
+
env: "development" | "production";
|
|
821
|
+
logVerbose: number;
|
|
822
|
+
jobInterval: number;
|
|
823
|
+
};
|
|
824
|
+
services: {
|
|
825
|
+
zkvm: {
|
|
826
|
+
url: string;
|
|
827
|
+
getProofResultTimeout: number;
|
|
828
|
+
};
|
|
829
|
+
data: {
|
|
830
|
+
url: string;
|
|
831
|
+
};
|
|
832
|
+
};
|
|
833
|
+
blockchain: {
|
|
834
|
+
network: "unknown" | "base" | "base-sepolia" | "bsc-mainnet" | "bsc-testnet";
|
|
835
|
+
rpcUrl?: string | undefined;
|
|
836
|
+
signer?: {
|
|
837
|
+
privateKey: string;
|
|
838
|
+
} | undefined;
|
|
839
|
+
};
|
|
840
|
+
};
|
|
841
|
+
datasource: {
|
|
842
|
+
binance?: {
|
|
843
|
+
apiKey: string;
|
|
844
|
+
apiSecret: string;
|
|
845
|
+
enabled: boolean;
|
|
846
|
+
description: string;
|
|
847
|
+
subAccountId: string;
|
|
848
|
+
vaultId: string;
|
|
849
|
+
address: string;
|
|
850
|
+
accountIndex: string;
|
|
851
|
+
poolIndex: string;
|
|
852
|
+
passphrase: string;
|
|
853
|
+
requestFile: string;
|
|
854
|
+
kind: ("spot" | "usds-futures" | "coin-futures" | "unified" | "margin" | "funding")[];
|
|
855
|
+
}[] | undefined;
|
|
856
|
+
aster?: {
|
|
857
|
+
apiKey: string;
|
|
858
|
+
apiSecret: string;
|
|
859
|
+
enabled: boolean;
|
|
860
|
+
description: string;
|
|
861
|
+
subAccountId: string;
|
|
862
|
+
vaultId: string;
|
|
863
|
+
address: string;
|
|
864
|
+
accountIndex: string;
|
|
865
|
+
poolIndex: string;
|
|
866
|
+
passphrase: string;
|
|
867
|
+
requestFile: string;
|
|
868
|
+
kind: ("spot" | "usds-futures")[];
|
|
869
|
+
}[] | undefined;
|
|
870
|
+
grvt?: {
|
|
871
|
+
apiKey: string;
|
|
872
|
+
apiSecret: string;
|
|
873
|
+
enabled: boolean;
|
|
874
|
+
description: string;
|
|
875
|
+
subAccountId: string;
|
|
876
|
+
vaultId: string;
|
|
877
|
+
address: string;
|
|
878
|
+
accountIndex: string;
|
|
879
|
+
poolIndex: string;
|
|
880
|
+
passphrase: string;
|
|
881
|
+
requestFile: string;
|
|
882
|
+
kind: "main"[];
|
|
883
|
+
}[] | undefined;
|
|
884
|
+
bybit?: {
|
|
885
|
+
apiKey: string;
|
|
886
|
+
apiSecret: string;
|
|
887
|
+
enabled: boolean;
|
|
888
|
+
description: string;
|
|
889
|
+
subAccountId: string;
|
|
890
|
+
vaultId: string;
|
|
891
|
+
address: string;
|
|
892
|
+
accountIndex: string;
|
|
893
|
+
poolIndex: string;
|
|
894
|
+
passphrase: string;
|
|
895
|
+
requestFile: string;
|
|
896
|
+
kind: "main"[];
|
|
897
|
+
}[] | undefined;
|
|
898
|
+
moomoo?: {
|
|
899
|
+
apiKey: string;
|
|
900
|
+
apiSecret: string;
|
|
901
|
+
enabled: boolean;
|
|
902
|
+
description: string;
|
|
903
|
+
subAccountId: string;
|
|
904
|
+
vaultId: string;
|
|
905
|
+
address: string;
|
|
906
|
+
accountIndex: string;
|
|
907
|
+
poolIndex: string;
|
|
908
|
+
passphrase: string;
|
|
909
|
+
requestFile: string;
|
|
910
|
+
kind: "main"[];
|
|
911
|
+
}[] | undefined;
|
|
912
|
+
okx?: {
|
|
913
|
+
apiKey: string;
|
|
914
|
+
apiSecret: string;
|
|
915
|
+
enabled: boolean;
|
|
916
|
+
description: string;
|
|
917
|
+
subAccountId: string;
|
|
918
|
+
vaultId: string;
|
|
919
|
+
address: string;
|
|
920
|
+
accountIndex: string;
|
|
921
|
+
poolIndex: string;
|
|
922
|
+
passphrase: string;
|
|
923
|
+
requestFile: string;
|
|
924
|
+
kind: "main"[];
|
|
925
|
+
}[] | undefined;
|
|
926
|
+
hyperliquid?: {
|
|
927
|
+
apiKey: string;
|
|
928
|
+
apiSecret: string;
|
|
929
|
+
enabled: boolean;
|
|
930
|
+
description: string;
|
|
931
|
+
subAccountId: string;
|
|
932
|
+
vaultId: string;
|
|
933
|
+
address: string;
|
|
934
|
+
accountIndex: string;
|
|
935
|
+
poolIndex: string;
|
|
936
|
+
passphrase: string;
|
|
937
|
+
requestFile: string;
|
|
938
|
+
kind: "main"[];
|
|
939
|
+
}[] | undefined;
|
|
940
|
+
pacifica?: {
|
|
941
|
+
apiKey: string;
|
|
942
|
+
apiSecret: string;
|
|
943
|
+
enabled: boolean;
|
|
944
|
+
description: string;
|
|
945
|
+
subAccountId: string;
|
|
946
|
+
vaultId: string;
|
|
947
|
+
address: string;
|
|
948
|
+
accountIndex: string;
|
|
949
|
+
poolIndex: string;
|
|
950
|
+
passphrase: string;
|
|
951
|
+
requestFile: string;
|
|
952
|
+
kind: "main"[];
|
|
953
|
+
}[] | undefined;
|
|
954
|
+
extended?: {
|
|
955
|
+
apiKey: string;
|
|
956
|
+
apiSecret: string;
|
|
957
|
+
enabled: boolean;
|
|
958
|
+
description: string;
|
|
959
|
+
subAccountId: string;
|
|
960
|
+
vaultId: string;
|
|
961
|
+
address: string;
|
|
962
|
+
accountIndex: string;
|
|
963
|
+
poolIndex: string;
|
|
964
|
+
passphrase: string;
|
|
965
|
+
requestFile: string;
|
|
966
|
+
kind: "main"[];
|
|
967
|
+
}[] | undefined;
|
|
968
|
+
lighter?: {
|
|
969
|
+
apiKey: string;
|
|
970
|
+
apiSecret: string;
|
|
971
|
+
enabled: boolean;
|
|
972
|
+
description: string;
|
|
973
|
+
subAccountId: string;
|
|
974
|
+
vaultId: string;
|
|
975
|
+
address: string;
|
|
976
|
+
accountIndex: string;
|
|
977
|
+
poolIndex: string;
|
|
978
|
+
passphrase: string;
|
|
979
|
+
requestFile: string;
|
|
980
|
+
kind: "main"[];
|
|
981
|
+
}[] | undefined;
|
|
982
|
+
};
|
|
983
|
+
}>>;
|
|
482
984
|
export type AppConfig = z.infer<typeof AppConfigSchema>;
|
|
483
985
|
export type DatasourceConfig = z.infer<typeof DatasourceConfigSchema>;
|
|
484
986
|
export type Config = z.infer<typeof ConfigSchema>;
|