@h0ngcha0/zeta-backend 0.0.1-rc.17 → 0.0.1-rc.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/api/index.d.ts +3 -2
- package/dist/types/api/index.d.ts.map +1 -1
- package/dist/types/api/serializers.d.ts +2 -0
- package/dist/types/api/serializers.d.ts.map +1 -1
- package/dist/types/api/types.d.ts +27 -6
- package/dist/types/api/types.d.ts.map +1 -1
- package/dist/types/api/utils.d.ts +6 -0
- package/dist/types/api/utils.d.ts.map +1 -0
- package/dist/types/app.d.ts +246 -2
- package/dist/types/app.d.ts.map +1 -1
- package/dist/types/cron.d.ts +54 -0
- package/dist/types/cron.d.ts.map +1 -0
- package/dist/types/database/clmmPositions.d.ts +28 -0
- package/dist/types/database/clmmPositions.d.ts.map +1 -0
- package/dist/types/database/cpmmPositions.d.ts +16 -0
- package/dist/types/database/cpmmPositions.d.ts.map +1 -0
- package/dist/types/database/mints.d.ts.map +1 -1
- package/dist/types/database/types.d.ts +14 -3
- package/dist/types/database/types.d.ts.map +1 -1
- package/dist/types/lib/error-codes.d.ts +12 -0
- package/dist/types/lib/error-codes.d.ts.map +1 -0
- package/dist/types/lib/errors.d.ts +22 -4
- package/dist/types/lib/errors.d.ts.map +1 -1
- package/dist/types/routes/addresses.d.ts +73 -0
- package/dist/types/routes/addresses.d.ts.map +1 -0
- package/dist/types/routes/compute.d.ts +8 -0
- package/dist/types/routes/compute.d.ts.map +1 -1
- package/dist/types/routes/ohlcv.d.ts +4 -0
- package/dist/types/routes/ohlcv.d.ts.map +1 -1
- package/dist/types/routes/pools.d.ts +36 -0
- package/dist/types/routes/pools.d.ts.map +1 -1
- package/dist/types/routes/response.d.ts +12 -0
- package/dist/types/routes/response.d.ts.map +1 -1
- package/dist/types/routes/stats.d.ts +45 -0
- package/dist/types/routes/stats.d.ts.map +1 -0
- package/dist/types/services/poolEventsSubscriptionService.d.ts.map +1 -1
- package/dist/types/services/poolService.d.ts +16 -5
- package/dist/types/services/poolService.d.ts.map +1 -1
- package/dist/types/services/priceService.d.ts +0 -1
- package/dist/types/services/priceService.d.ts.map +1 -1
- package/dist/types/utils/cacheUtil.d.ts +26 -0
- package/dist/types/utils/cacheUtil.d.ts.map +1 -0
- package/package.json +3 -2
package/dist/types/app.d.ts
CHANGED
|
@@ -2,7 +2,9 @@ import { Elysia } from 'elysia';
|
|
|
2
2
|
import { BadRequest, NotFound, ValidationError, InternalServerError } from './lib/errors';
|
|
3
3
|
export declare function createApp(): Elysia<"", {
|
|
4
4
|
decorator: {};
|
|
5
|
-
store: {
|
|
5
|
+
store: {
|
|
6
|
+
cron: Record<"global-stats-cache-updater", import("croner").Cron>;
|
|
7
|
+
};
|
|
6
8
|
derive: {};
|
|
7
9
|
resolve: {};
|
|
8
10
|
}, {
|
|
@@ -22,6 +24,9 @@ export declare function createApp(): Elysia<"", {
|
|
|
22
24
|
} & {
|
|
23
25
|
typebox: {};
|
|
24
26
|
error: {};
|
|
27
|
+
} & {
|
|
28
|
+
typebox: {};
|
|
29
|
+
error: {};
|
|
25
30
|
}, {
|
|
26
31
|
schema: {};
|
|
27
32
|
standaloneSchema: {};
|
|
@@ -52,6 +57,13 @@ export declare function createApp(): Elysia<"", {
|
|
|
52
57
|
macroFn: {};
|
|
53
58
|
parser: {};
|
|
54
59
|
response: {};
|
|
60
|
+
} & {
|
|
61
|
+
schema: {};
|
|
62
|
+
standaloneSchema: {};
|
|
63
|
+
macro: {};
|
|
64
|
+
macroFn: {};
|
|
65
|
+
parser: {};
|
|
66
|
+
response: {};
|
|
55
67
|
}, {
|
|
56
68
|
"token-list": {
|
|
57
69
|
"devnet.json": {
|
|
@@ -66,6 +78,48 @@ export declare function createApp(): Elysia<"", {
|
|
|
66
78
|
};
|
|
67
79
|
};
|
|
68
80
|
};
|
|
81
|
+
} & {
|
|
82
|
+
addresses: {
|
|
83
|
+
":address": {
|
|
84
|
+
"cpmm-positions": {
|
|
85
|
+
get: {
|
|
86
|
+
body: unknown;
|
|
87
|
+
params: {
|
|
88
|
+
address: string;
|
|
89
|
+
};
|
|
90
|
+
query: unknown;
|
|
91
|
+
headers: unknown;
|
|
92
|
+
response: {
|
|
93
|
+
400: {
|
|
94
|
+
code: "BAD_REQUEST" | "INVALID_FILE_TYPE" | "PARSE" | "INVALID_COOKIE_SIGNATURE";
|
|
95
|
+
message: string;
|
|
96
|
+
error: "Bad request";
|
|
97
|
+
details?: Record<string, unknown> | undefined;
|
|
98
|
+
};
|
|
99
|
+
404: {
|
|
100
|
+
code: "RESOURCE_NOT_FOUND";
|
|
101
|
+
message: string;
|
|
102
|
+
error: "Resource not found";
|
|
103
|
+
details?: Record<string, unknown> | undefined;
|
|
104
|
+
};
|
|
105
|
+
422: {
|
|
106
|
+
code: "VALIDATION";
|
|
107
|
+
message: string;
|
|
108
|
+
error: "Validation error";
|
|
109
|
+
details?: Record<string, unknown> | undefined;
|
|
110
|
+
};
|
|
111
|
+
500: {
|
|
112
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
113
|
+
message: string;
|
|
114
|
+
error: "Internal server error";
|
|
115
|
+
details?: Record<string, unknown> | undefined;
|
|
116
|
+
};
|
|
117
|
+
200: import("./api").ApiCpmmPosition[];
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
};
|
|
69
123
|
} & {
|
|
70
124
|
pools: {
|
|
71
125
|
tokens: {
|
|
@@ -76,21 +130,25 @@ export declare function createApp(): Elysia<"", {
|
|
|
76
130
|
headers: unknown;
|
|
77
131
|
response: {
|
|
78
132
|
400: {
|
|
133
|
+
code: "BAD_REQUEST" | "INVALID_FILE_TYPE" | "PARSE" | "INVALID_COOKIE_SIGNATURE";
|
|
79
134
|
message: string;
|
|
80
135
|
error: "Bad request";
|
|
81
136
|
details?: Record<string, unknown> | undefined;
|
|
82
137
|
};
|
|
83
138
|
404: {
|
|
139
|
+
code: "RESOURCE_NOT_FOUND";
|
|
84
140
|
message: string;
|
|
85
141
|
error: "Resource not found";
|
|
86
142
|
details?: Record<string, unknown> | undefined;
|
|
87
143
|
};
|
|
88
144
|
422: {
|
|
145
|
+
code: "VALIDATION";
|
|
89
146
|
message: string;
|
|
90
147
|
error: "Validation error";
|
|
91
148
|
details?: Record<string, unknown> | undefined;
|
|
92
149
|
};
|
|
93
150
|
500: {
|
|
151
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
94
152
|
message: string;
|
|
95
153
|
error: "Internal server error";
|
|
96
154
|
details?: Record<string, unknown> | undefined;
|
|
@@ -113,21 +171,25 @@ export declare function createApp(): Elysia<"", {
|
|
|
113
171
|
headers: unknown;
|
|
114
172
|
response: {
|
|
115
173
|
400: {
|
|
174
|
+
code: "BAD_REQUEST" | "INVALID_FILE_TYPE" | "PARSE" | "INVALID_COOKIE_SIGNATURE";
|
|
116
175
|
message: string;
|
|
117
176
|
error: "Bad request";
|
|
118
177
|
details?: Record<string, unknown> | undefined;
|
|
119
178
|
};
|
|
120
179
|
404: {
|
|
180
|
+
code: "RESOURCE_NOT_FOUND";
|
|
121
181
|
message: string;
|
|
122
182
|
error: "Resource not found";
|
|
123
183
|
details?: Record<string, unknown> | undefined;
|
|
124
184
|
};
|
|
125
185
|
422: {
|
|
186
|
+
code: "VALIDATION";
|
|
126
187
|
message: string;
|
|
127
188
|
error: "Validation error";
|
|
128
189
|
details?: Record<string, unknown> | undefined;
|
|
129
190
|
};
|
|
130
191
|
500: {
|
|
192
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
131
193
|
message: string;
|
|
132
194
|
error: "Internal server error";
|
|
133
195
|
details?: Record<string, unknown> | undefined;
|
|
@@ -151,21 +213,25 @@ export declare function createApp(): Elysia<"", {
|
|
|
151
213
|
headers: unknown;
|
|
152
214
|
response: {
|
|
153
215
|
400: {
|
|
216
|
+
code: "BAD_REQUEST" | "INVALID_FILE_TYPE" | "PARSE" | "INVALID_COOKIE_SIGNATURE";
|
|
154
217
|
message: string;
|
|
155
218
|
error: "Bad request";
|
|
156
219
|
details?: Record<string, unknown> | undefined;
|
|
157
220
|
};
|
|
158
221
|
404: {
|
|
222
|
+
code: "RESOURCE_NOT_FOUND";
|
|
159
223
|
message: string;
|
|
160
224
|
error: "Resource not found";
|
|
161
225
|
details?: Record<string, unknown> | undefined;
|
|
162
226
|
};
|
|
163
227
|
422: {
|
|
228
|
+
code: "VALIDATION";
|
|
164
229
|
message: string;
|
|
165
230
|
error: "Validation error";
|
|
166
231
|
details?: Record<string, unknown> | undefined;
|
|
167
232
|
};
|
|
168
233
|
500: {
|
|
234
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
169
235
|
message: string;
|
|
170
236
|
error: "Internal server error";
|
|
171
237
|
details?: Record<string, unknown> | undefined;
|
|
@@ -192,21 +258,25 @@ export declare function createApp(): Elysia<"", {
|
|
|
192
258
|
headers: unknown;
|
|
193
259
|
response: {
|
|
194
260
|
400: {
|
|
261
|
+
code: "BAD_REQUEST" | "INVALID_FILE_TYPE" | "PARSE" | "INVALID_COOKIE_SIGNATURE";
|
|
195
262
|
message: string;
|
|
196
263
|
error: "Bad request";
|
|
197
264
|
details?: Record<string, unknown> | undefined;
|
|
198
265
|
};
|
|
199
266
|
404: {
|
|
267
|
+
code: "RESOURCE_NOT_FOUND";
|
|
200
268
|
message: string;
|
|
201
269
|
error: "Resource not found";
|
|
202
270
|
details?: Record<string, unknown> | undefined;
|
|
203
271
|
};
|
|
204
272
|
422: {
|
|
273
|
+
code: "VALIDATION";
|
|
205
274
|
message: string;
|
|
206
275
|
error: "Validation error";
|
|
207
276
|
details?: Record<string, unknown> | undefined;
|
|
208
277
|
};
|
|
209
278
|
500: {
|
|
279
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
210
280
|
message: string;
|
|
211
281
|
error: "Internal server error";
|
|
212
282
|
details?: Record<string, unknown> | undefined;
|
|
@@ -230,21 +300,25 @@ export declare function createApp(): Elysia<"", {
|
|
|
230
300
|
headers: unknown;
|
|
231
301
|
response: {
|
|
232
302
|
400: {
|
|
303
|
+
code: "BAD_REQUEST" | "INVALID_FILE_TYPE" | "PARSE" | "INVALID_COOKIE_SIGNATURE";
|
|
233
304
|
message: string;
|
|
234
305
|
error: "Bad request";
|
|
235
306
|
details?: Record<string, unknown> | undefined;
|
|
236
307
|
};
|
|
237
308
|
404: {
|
|
309
|
+
code: "RESOURCE_NOT_FOUND";
|
|
238
310
|
message: string;
|
|
239
311
|
error: "Resource not found";
|
|
240
312
|
details?: Record<string, unknown> | undefined;
|
|
241
313
|
};
|
|
242
314
|
422: {
|
|
315
|
+
code: "VALIDATION";
|
|
243
316
|
message: string;
|
|
244
317
|
error: "Validation error";
|
|
245
318
|
details?: Record<string, unknown> | undefined;
|
|
246
319
|
};
|
|
247
320
|
500: {
|
|
321
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
248
322
|
message: string;
|
|
249
323
|
error: "Internal server error";
|
|
250
324
|
details?: Record<string, unknown> | undefined;
|
|
@@ -268,21 +342,25 @@ export declare function createApp(): Elysia<"", {
|
|
|
268
342
|
headers: unknown;
|
|
269
343
|
response: {
|
|
270
344
|
400: {
|
|
345
|
+
code: "BAD_REQUEST" | "INVALID_FILE_TYPE" | "PARSE" | "INVALID_COOKIE_SIGNATURE";
|
|
271
346
|
message: string;
|
|
272
347
|
error: "Bad request";
|
|
273
348
|
details?: Record<string, unknown> | undefined;
|
|
274
349
|
};
|
|
275
350
|
404: {
|
|
351
|
+
code: "RESOURCE_NOT_FOUND";
|
|
276
352
|
message: string;
|
|
277
353
|
error: "Resource not found";
|
|
278
354
|
details?: Record<string, unknown> | undefined;
|
|
279
355
|
};
|
|
280
356
|
422: {
|
|
357
|
+
code: "VALIDATION";
|
|
281
358
|
message: string;
|
|
282
359
|
error: "Validation error";
|
|
283
360
|
details?: Record<string, unknown> | undefined;
|
|
284
361
|
};
|
|
285
362
|
500: {
|
|
363
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
286
364
|
message: string;
|
|
287
365
|
error: "Internal server error";
|
|
288
366
|
details?: Record<string, unknown> | undefined;
|
|
@@ -306,21 +384,25 @@ export declare function createApp(): Elysia<"", {
|
|
|
306
384
|
headers: unknown;
|
|
307
385
|
response: {
|
|
308
386
|
400: {
|
|
387
|
+
code: "BAD_REQUEST" | "INVALID_FILE_TYPE" | "PARSE" | "INVALID_COOKIE_SIGNATURE";
|
|
309
388
|
message: string;
|
|
310
389
|
error: "Bad request";
|
|
311
390
|
details?: Record<string, unknown> | undefined;
|
|
312
391
|
};
|
|
313
392
|
404: {
|
|
393
|
+
code: "RESOURCE_NOT_FOUND";
|
|
314
394
|
message: string;
|
|
315
395
|
error: "Resource not found";
|
|
316
396
|
details?: Record<string, unknown> | undefined;
|
|
317
397
|
};
|
|
318
398
|
422: {
|
|
399
|
+
code: "VALIDATION";
|
|
319
400
|
message: string;
|
|
320
401
|
error: "Validation error";
|
|
321
402
|
details?: Record<string, unknown> | undefined;
|
|
322
403
|
};
|
|
323
404
|
500: {
|
|
405
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
324
406
|
message: string;
|
|
325
407
|
error: "Internal server error";
|
|
326
408
|
details?: Record<string, unknown> | undefined;
|
|
@@ -347,21 +429,25 @@ export declare function createApp(): Elysia<"", {
|
|
|
347
429
|
headers: unknown;
|
|
348
430
|
response: {
|
|
349
431
|
400: {
|
|
432
|
+
code: "BAD_REQUEST" | "INVALID_FILE_TYPE" | "PARSE" | "INVALID_COOKIE_SIGNATURE";
|
|
350
433
|
message: string;
|
|
351
434
|
error: "Bad request";
|
|
352
435
|
details?: Record<string, unknown> | undefined;
|
|
353
436
|
};
|
|
354
437
|
404: {
|
|
438
|
+
code: "RESOURCE_NOT_FOUND";
|
|
355
439
|
message: string;
|
|
356
440
|
error: "Resource not found";
|
|
357
441
|
details?: Record<string, unknown> | undefined;
|
|
358
442
|
};
|
|
359
443
|
422: {
|
|
444
|
+
code: "VALIDATION";
|
|
360
445
|
message: string;
|
|
361
446
|
error: "Validation error";
|
|
362
447
|
details?: Record<string, unknown> | undefined;
|
|
363
448
|
};
|
|
364
449
|
500: {
|
|
450
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
365
451
|
message: string;
|
|
366
452
|
error: "Internal server error";
|
|
367
453
|
details?: Record<string, unknown> | undefined;
|
|
@@ -387,21 +473,25 @@ export declare function createApp(): Elysia<"", {
|
|
|
387
473
|
headers: unknown;
|
|
388
474
|
response: {
|
|
389
475
|
400: {
|
|
476
|
+
code: "BAD_REQUEST" | "INVALID_FILE_TYPE" | "PARSE" | "INVALID_COOKIE_SIGNATURE";
|
|
390
477
|
message: string;
|
|
391
478
|
error: "Bad request";
|
|
392
479
|
details?: Record<string, unknown> | undefined;
|
|
393
480
|
};
|
|
394
481
|
404: {
|
|
482
|
+
code: "RESOURCE_NOT_FOUND";
|
|
395
483
|
message: string;
|
|
396
484
|
error: "Resource not found";
|
|
397
485
|
details?: Record<string, unknown> | undefined;
|
|
398
486
|
};
|
|
399
487
|
422: {
|
|
488
|
+
code: "VALIDATION";
|
|
400
489
|
message: string;
|
|
401
490
|
error: "Validation error";
|
|
402
491
|
details?: Record<string, unknown> | undefined;
|
|
403
492
|
};
|
|
404
493
|
500: {
|
|
494
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
405
495
|
message: string;
|
|
406
496
|
error: "Internal server error";
|
|
407
497
|
details?: Record<string, unknown> | undefined;
|
|
@@ -428,21 +518,25 @@ export declare function createApp(): Elysia<"", {
|
|
|
428
518
|
headers: unknown;
|
|
429
519
|
response: {
|
|
430
520
|
400: {
|
|
521
|
+
code: "BAD_REQUEST" | "INVALID_FILE_TYPE" | "PARSE" | "INVALID_COOKIE_SIGNATURE";
|
|
431
522
|
message: string;
|
|
432
523
|
error: "Bad request";
|
|
433
524
|
details?: Record<string, unknown> | undefined;
|
|
434
525
|
};
|
|
435
526
|
404: {
|
|
527
|
+
code: "RESOURCE_NOT_FOUND";
|
|
436
528
|
message: string;
|
|
437
529
|
error: "Resource not found";
|
|
438
530
|
details?: Record<string, unknown> | undefined;
|
|
439
531
|
};
|
|
440
532
|
422: {
|
|
533
|
+
code: "VALIDATION";
|
|
441
534
|
message: string;
|
|
442
535
|
error: "Validation error";
|
|
443
536
|
details?: Record<string, unknown> | undefined;
|
|
444
537
|
};
|
|
445
538
|
500: {
|
|
539
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
446
540
|
message: string;
|
|
447
541
|
error: "Internal server error";
|
|
448
542
|
details?: Record<string, unknown> | undefined;
|
|
@@ -468,21 +562,25 @@ export declare function createApp(): Elysia<"", {
|
|
|
468
562
|
headers: unknown;
|
|
469
563
|
response: {
|
|
470
564
|
400: {
|
|
565
|
+
code: "BAD_REQUEST" | "INVALID_FILE_TYPE" | "PARSE" | "INVALID_COOKIE_SIGNATURE";
|
|
471
566
|
message: string;
|
|
472
567
|
error: "Bad request";
|
|
473
568
|
details?: Record<string, unknown> | undefined;
|
|
474
569
|
};
|
|
475
570
|
404: {
|
|
571
|
+
code: "RESOURCE_NOT_FOUND";
|
|
476
572
|
message: string;
|
|
477
573
|
error: "Resource not found";
|
|
478
574
|
details?: Record<string, unknown> | undefined;
|
|
479
575
|
};
|
|
480
576
|
422: {
|
|
577
|
+
code: "VALIDATION";
|
|
481
578
|
message: string;
|
|
482
579
|
error: "Validation error";
|
|
483
580
|
details?: Record<string, unknown> | undefined;
|
|
484
581
|
};
|
|
485
582
|
500: {
|
|
583
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
486
584
|
message: string;
|
|
487
585
|
error: "Internal server error";
|
|
488
586
|
details?: Record<string, unknown> | undefined;
|
|
@@ -510,21 +608,25 @@ export declare function createApp(): Elysia<"", {
|
|
|
510
608
|
headers: unknown;
|
|
511
609
|
response: {
|
|
512
610
|
400: {
|
|
611
|
+
code: "BAD_REQUEST" | "INVALID_FILE_TYPE" | "PARSE" | "INVALID_COOKIE_SIGNATURE";
|
|
513
612
|
message: string;
|
|
514
613
|
error: "Bad request";
|
|
515
614
|
details?: Record<string, unknown> | undefined;
|
|
516
615
|
};
|
|
517
616
|
404: {
|
|
617
|
+
code: "RESOURCE_NOT_FOUND";
|
|
518
618
|
message: string;
|
|
519
619
|
error: "Resource not found";
|
|
520
620
|
details?: Record<string, unknown> | undefined;
|
|
521
621
|
};
|
|
522
622
|
422: {
|
|
623
|
+
code: "VALIDATION";
|
|
523
624
|
message: string;
|
|
524
625
|
error: "Validation error";
|
|
525
626
|
details?: Record<string, unknown> | undefined;
|
|
526
627
|
};
|
|
527
628
|
500: {
|
|
629
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
528
630
|
message: string;
|
|
529
631
|
error: "Internal server error";
|
|
530
632
|
details?: Record<string, unknown> | undefined;
|
|
@@ -535,6 +637,20 @@ export declare function createApp(): Elysia<"", {
|
|
|
535
637
|
};
|
|
536
638
|
};
|
|
537
639
|
};
|
|
640
|
+
} & {
|
|
641
|
+
stats: {
|
|
642
|
+
global: {
|
|
643
|
+
get: {
|
|
644
|
+
body: unknown;
|
|
645
|
+
params: {};
|
|
646
|
+
query: unknown;
|
|
647
|
+
headers: unknown;
|
|
648
|
+
response: {
|
|
649
|
+
200: import("./api").ApiGlobalStats;
|
|
650
|
+
};
|
|
651
|
+
};
|
|
652
|
+
};
|
|
653
|
+
};
|
|
538
654
|
} & {
|
|
539
655
|
ws: {
|
|
540
656
|
"pool-state": {
|
|
@@ -577,10 +693,18 @@ export declare function createApp(): Elysia<"", {
|
|
|
577
693
|
schema: {};
|
|
578
694
|
standaloneSchema: {};
|
|
579
695
|
response: {};
|
|
696
|
+
} & {
|
|
697
|
+
derive: {};
|
|
698
|
+
resolve: {};
|
|
699
|
+
schema: {};
|
|
700
|
+
standaloneSchema: {};
|
|
701
|
+
response: {};
|
|
580
702
|
}>;
|
|
581
703
|
export declare const app: Elysia<"", {
|
|
582
704
|
decorator: {};
|
|
583
|
-
store: {
|
|
705
|
+
store: {
|
|
706
|
+
cron: Record<"global-stats-cache-updater", import("croner").Cron>;
|
|
707
|
+
};
|
|
584
708
|
derive: {};
|
|
585
709
|
resolve: {};
|
|
586
710
|
}, {
|
|
@@ -600,6 +724,9 @@ export declare const app: Elysia<"", {
|
|
|
600
724
|
} & {
|
|
601
725
|
typebox: {};
|
|
602
726
|
error: {};
|
|
727
|
+
} & {
|
|
728
|
+
typebox: {};
|
|
729
|
+
error: {};
|
|
603
730
|
}, {
|
|
604
731
|
schema: {};
|
|
605
732
|
standaloneSchema: {};
|
|
@@ -630,6 +757,13 @@ export declare const app: Elysia<"", {
|
|
|
630
757
|
macroFn: {};
|
|
631
758
|
parser: {};
|
|
632
759
|
response: {};
|
|
760
|
+
} & {
|
|
761
|
+
schema: {};
|
|
762
|
+
standaloneSchema: {};
|
|
763
|
+
macro: {};
|
|
764
|
+
macroFn: {};
|
|
765
|
+
parser: {};
|
|
766
|
+
response: {};
|
|
633
767
|
}, {
|
|
634
768
|
"token-list": {
|
|
635
769
|
"devnet.json": {
|
|
@@ -644,6 +778,48 @@ export declare const app: Elysia<"", {
|
|
|
644
778
|
};
|
|
645
779
|
};
|
|
646
780
|
};
|
|
781
|
+
} & {
|
|
782
|
+
addresses: {
|
|
783
|
+
":address": {
|
|
784
|
+
"cpmm-positions": {
|
|
785
|
+
get: {
|
|
786
|
+
body: unknown;
|
|
787
|
+
params: {
|
|
788
|
+
address: string;
|
|
789
|
+
};
|
|
790
|
+
query: unknown;
|
|
791
|
+
headers: unknown;
|
|
792
|
+
response: {
|
|
793
|
+
400: {
|
|
794
|
+
code: "BAD_REQUEST" | "INVALID_FILE_TYPE" | "PARSE" | "INVALID_COOKIE_SIGNATURE";
|
|
795
|
+
message: string;
|
|
796
|
+
error: "Bad request";
|
|
797
|
+
details?: Record<string, unknown> | undefined;
|
|
798
|
+
};
|
|
799
|
+
404: {
|
|
800
|
+
code: "RESOURCE_NOT_FOUND";
|
|
801
|
+
message: string;
|
|
802
|
+
error: "Resource not found";
|
|
803
|
+
details?: Record<string, unknown> | undefined;
|
|
804
|
+
};
|
|
805
|
+
422: {
|
|
806
|
+
code: "VALIDATION";
|
|
807
|
+
message: string;
|
|
808
|
+
error: "Validation error";
|
|
809
|
+
details?: Record<string, unknown> | undefined;
|
|
810
|
+
};
|
|
811
|
+
500: {
|
|
812
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
813
|
+
message: string;
|
|
814
|
+
error: "Internal server error";
|
|
815
|
+
details?: Record<string, unknown> | undefined;
|
|
816
|
+
};
|
|
817
|
+
200: import("./api").ApiCpmmPosition[];
|
|
818
|
+
};
|
|
819
|
+
};
|
|
820
|
+
};
|
|
821
|
+
};
|
|
822
|
+
};
|
|
647
823
|
} & {
|
|
648
824
|
pools: {
|
|
649
825
|
tokens: {
|
|
@@ -654,21 +830,25 @@ export declare const app: Elysia<"", {
|
|
|
654
830
|
headers: unknown;
|
|
655
831
|
response: {
|
|
656
832
|
400: {
|
|
833
|
+
code: "BAD_REQUEST" | "INVALID_FILE_TYPE" | "PARSE" | "INVALID_COOKIE_SIGNATURE";
|
|
657
834
|
message: string;
|
|
658
835
|
error: "Bad request";
|
|
659
836
|
details?: Record<string, unknown> | undefined;
|
|
660
837
|
};
|
|
661
838
|
404: {
|
|
839
|
+
code: "RESOURCE_NOT_FOUND";
|
|
662
840
|
message: string;
|
|
663
841
|
error: "Resource not found";
|
|
664
842
|
details?: Record<string, unknown> | undefined;
|
|
665
843
|
};
|
|
666
844
|
422: {
|
|
845
|
+
code: "VALIDATION";
|
|
667
846
|
message: string;
|
|
668
847
|
error: "Validation error";
|
|
669
848
|
details?: Record<string, unknown> | undefined;
|
|
670
849
|
};
|
|
671
850
|
500: {
|
|
851
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
672
852
|
message: string;
|
|
673
853
|
error: "Internal server error";
|
|
674
854
|
details?: Record<string, unknown> | undefined;
|
|
@@ -691,21 +871,25 @@ export declare const app: Elysia<"", {
|
|
|
691
871
|
headers: unknown;
|
|
692
872
|
response: {
|
|
693
873
|
400: {
|
|
874
|
+
code: "BAD_REQUEST" | "INVALID_FILE_TYPE" | "PARSE" | "INVALID_COOKIE_SIGNATURE";
|
|
694
875
|
message: string;
|
|
695
876
|
error: "Bad request";
|
|
696
877
|
details?: Record<string, unknown> | undefined;
|
|
697
878
|
};
|
|
698
879
|
404: {
|
|
880
|
+
code: "RESOURCE_NOT_FOUND";
|
|
699
881
|
message: string;
|
|
700
882
|
error: "Resource not found";
|
|
701
883
|
details?: Record<string, unknown> | undefined;
|
|
702
884
|
};
|
|
703
885
|
422: {
|
|
886
|
+
code: "VALIDATION";
|
|
704
887
|
message: string;
|
|
705
888
|
error: "Validation error";
|
|
706
889
|
details?: Record<string, unknown> | undefined;
|
|
707
890
|
};
|
|
708
891
|
500: {
|
|
892
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
709
893
|
message: string;
|
|
710
894
|
error: "Internal server error";
|
|
711
895
|
details?: Record<string, unknown> | undefined;
|
|
@@ -729,21 +913,25 @@ export declare const app: Elysia<"", {
|
|
|
729
913
|
headers: unknown;
|
|
730
914
|
response: {
|
|
731
915
|
400: {
|
|
916
|
+
code: "BAD_REQUEST" | "INVALID_FILE_TYPE" | "PARSE" | "INVALID_COOKIE_SIGNATURE";
|
|
732
917
|
message: string;
|
|
733
918
|
error: "Bad request";
|
|
734
919
|
details?: Record<string, unknown> | undefined;
|
|
735
920
|
};
|
|
736
921
|
404: {
|
|
922
|
+
code: "RESOURCE_NOT_FOUND";
|
|
737
923
|
message: string;
|
|
738
924
|
error: "Resource not found";
|
|
739
925
|
details?: Record<string, unknown> | undefined;
|
|
740
926
|
};
|
|
741
927
|
422: {
|
|
928
|
+
code: "VALIDATION";
|
|
742
929
|
message: string;
|
|
743
930
|
error: "Validation error";
|
|
744
931
|
details?: Record<string, unknown> | undefined;
|
|
745
932
|
};
|
|
746
933
|
500: {
|
|
934
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
747
935
|
message: string;
|
|
748
936
|
error: "Internal server error";
|
|
749
937
|
details?: Record<string, unknown> | undefined;
|
|
@@ -770,21 +958,25 @@ export declare const app: Elysia<"", {
|
|
|
770
958
|
headers: unknown;
|
|
771
959
|
response: {
|
|
772
960
|
400: {
|
|
961
|
+
code: "BAD_REQUEST" | "INVALID_FILE_TYPE" | "PARSE" | "INVALID_COOKIE_SIGNATURE";
|
|
773
962
|
message: string;
|
|
774
963
|
error: "Bad request";
|
|
775
964
|
details?: Record<string, unknown> | undefined;
|
|
776
965
|
};
|
|
777
966
|
404: {
|
|
967
|
+
code: "RESOURCE_NOT_FOUND";
|
|
778
968
|
message: string;
|
|
779
969
|
error: "Resource not found";
|
|
780
970
|
details?: Record<string, unknown> | undefined;
|
|
781
971
|
};
|
|
782
972
|
422: {
|
|
973
|
+
code: "VALIDATION";
|
|
783
974
|
message: string;
|
|
784
975
|
error: "Validation error";
|
|
785
976
|
details?: Record<string, unknown> | undefined;
|
|
786
977
|
};
|
|
787
978
|
500: {
|
|
979
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
788
980
|
message: string;
|
|
789
981
|
error: "Internal server error";
|
|
790
982
|
details?: Record<string, unknown> | undefined;
|
|
@@ -808,21 +1000,25 @@ export declare const app: Elysia<"", {
|
|
|
808
1000
|
headers: unknown;
|
|
809
1001
|
response: {
|
|
810
1002
|
400: {
|
|
1003
|
+
code: "BAD_REQUEST" | "INVALID_FILE_TYPE" | "PARSE" | "INVALID_COOKIE_SIGNATURE";
|
|
811
1004
|
message: string;
|
|
812
1005
|
error: "Bad request";
|
|
813
1006
|
details?: Record<string, unknown> | undefined;
|
|
814
1007
|
};
|
|
815
1008
|
404: {
|
|
1009
|
+
code: "RESOURCE_NOT_FOUND";
|
|
816
1010
|
message: string;
|
|
817
1011
|
error: "Resource not found";
|
|
818
1012
|
details?: Record<string, unknown> | undefined;
|
|
819
1013
|
};
|
|
820
1014
|
422: {
|
|
1015
|
+
code: "VALIDATION";
|
|
821
1016
|
message: string;
|
|
822
1017
|
error: "Validation error";
|
|
823
1018
|
details?: Record<string, unknown> | undefined;
|
|
824
1019
|
};
|
|
825
1020
|
500: {
|
|
1021
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
826
1022
|
message: string;
|
|
827
1023
|
error: "Internal server error";
|
|
828
1024
|
details?: Record<string, unknown> | undefined;
|
|
@@ -846,21 +1042,25 @@ export declare const app: Elysia<"", {
|
|
|
846
1042
|
headers: unknown;
|
|
847
1043
|
response: {
|
|
848
1044
|
400: {
|
|
1045
|
+
code: "BAD_REQUEST" | "INVALID_FILE_TYPE" | "PARSE" | "INVALID_COOKIE_SIGNATURE";
|
|
849
1046
|
message: string;
|
|
850
1047
|
error: "Bad request";
|
|
851
1048
|
details?: Record<string, unknown> | undefined;
|
|
852
1049
|
};
|
|
853
1050
|
404: {
|
|
1051
|
+
code: "RESOURCE_NOT_FOUND";
|
|
854
1052
|
message: string;
|
|
855
1053
|
error: "Resource not found";
|
|
856
1054
|
details?: Record<string, unknown> | undefined;
|
|
857
1055
|
};
|
|
858
1056
|
422: {
|
|
1057
|
+
code: "VALIDATION";
|
|
859
1058
|
message: string;
|
|
860
1059
|
error: "Validation error";
|
|
861
1060
|
details?: Record<string, unknown> | undefined;
|
|
862
1061
|
};
|
|
863
1062
|
500: {
|
|
1063
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
864
1064
|
message: string;
|
|
865
1065
|
error: "Internal server error";
|
|
866
1066
|
details?: Record<string, unknown> | undefined;
|
|
@@ -884,21 +1084,25 @@ export declare const app: Elysia<"", {
|
|
|
884
1084
|
headers: unknown;
|
|
885
1085
|
response: {
|
|
886
1086
|
400: {
|
|
1087
|
+
code: "BAD_REQUEST" | "INVALID_FILE_TYPE" | "PARSE" | "INVALID_COOKIE_SIGNATURE";
|
|
887
1088
|
message: string;
|
|
888
1089
|
error: "Bad request";
|
|
889
1090
|
details?: Record<string, unknown> | undefined;
|
|
890
1091
|
};
|
|
891
1092
|
404: {
|
|
1093
|
+
code: "RESOURCE_NOT_FOUND";
|
|
892
1094
|
message: string;
|
|
893
1095
|
error: "Resource not found";
|
|
894
1096
|
details?: Record<string, unknown> | undefined;
|
|
895
1097
|
};
|
|
896
1098
|
422: {
|
|
1099
|
+
code: "VALIDATION";
|
|
897
1100
|
message: string;
|
|
898
1101
|
error: "Validation error";
|
|
899
1102
|
details?: Record<string, unknown> | undefined;
|
|
900
1103
|
};
|
|
901
1104
|
500: {
|
|
1105
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
902
1106
|
message: string;
|
|
903
1107
|
error: "Internal server error";
|
|
904
1108
|
details?: Record<string, unknown> | undefined;
|
|
@@ -925,21 +1129,25 @@ export declare const app: Elysia<"", {
|
|
|
925
1129
|
headers: unknown;
|
|
926
1130
|
response: {
|
|
927
1131
|
400: {
|
|
1132
|
+
code: "BAD_REQUEST" | "INVALID_FILE_TYPE" | "PARSE" | "INVALID_COOKIE_SIGNATURE";
|
|
928
1133
|
message: string;
|
|
929
1134
|
error: "Bad request";
|
|
930
1135
|
details?: Record<string, unknown> | undefined;
|
|
931
1136
|
};
|
|
932
1137
|
404: {
|
|
1138
|
+
code: "RESOURCE_NOT_FOUND";
|
|
933
1139
|
message: string;
|
|
934
1140
|
error: "Resource not found";
|
|
935
1141
|
details?: Record<string, unknown> | undefined;
|
|
936
1142
|
};
|
|
937
1143
|
422: {
|
|
1144
|
+
code: "VALIDATION";
|
|
938
1145
|
message: string;
|
|
939
1146
|
error: "Validation error";
|
|
940
1147
|
details?: Record<string, unknown> | undefined;
|
|
941
1148
|
};
|
|
942
1149
|
500: {
|
|
1150
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
943
1151
|
message: string;
|
|
944
1152
|
error: "Internal server error";
|
|
945
1153
|
details?: Record<string, unknown> | undefined;
|
|
@@ -965,21 +1173,25 @@ export declare const app: Elysia<"", {
|
|
|
965
1173
|
headers: unknown;
|
|
966
1174
|
response: {
|
|
967
1175
|
400: {
|
|
1176
|
+
code: "BAD_REQUEST" | "INVALID_FILE_TYPE" | "PARSE" | "INVALID_COOKIE_SIGNATURE";
|
|
968
1177
|
message: string;
|
|
969
1178
|
error: "Bad request";
|
|
970
1179
|
details?: Record<string, unknown> | undefined;
|
|
971
1180
|
};
|
|
972
1181
|
404: {
|
|
1182
|
+
code: "RESOURCE_NOT_FOUND";
|
|
973
1183
|
message: string;
|
|
974
1184
|
error: "Resource not found";
|
|
975
1185
|
details?: Record<string, unknown> | undefined;
|
|
976
1186
|
};
|
|
977
1187
|
422: {
|
|
1188
|
+
code: "VALIDATION";
|
|
978
1189
|
message: string;
|
|
979
1190
|
error: "Validation error";
|
|
980
1191
|
details?: Record<string, unknown> | undefined;
|
|
981
1192
|
};
|
|
982
1193
|
500: {
|
|
1194
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
983
1195
|
message: string;
|
|
984
1196
|
error: "Internal server error";
|
|
985
1197
|
details?: Record<string, unknown> | undefined;
|
|
@@ -1006,21 +1218,25 @@ export declare const app: Elysia<"", {
|
|
|
1006
1218
|
headers: unknown;
|
|
1007
1219
|
response: {
|
|
1008
1220
|
400: {
|
|
1221
|
+
code: "BAD_REQUEST" | "INVALID_FILE_TYPE" | "PARSE" | "INVALID_COOKIE_SIGNATURE";
|
|
1009
1222
|
message: string;
|
|
1010
1223
|
error: "Bad request";
|
|
1011
1224
|
details?: Record<string, unknown> | undefined;
|
|
1012
1225
|
};
|
|
1013
1226
|
404: {
|
|
1227
|
+
code: "RESOURCE_NOT_FOUND";
|
|
1014
1228
|
message: string;
|
|
1015
1229
|
error: "Resource not found";
|
|
1016
1230
|
details?: Record<string, unknown> | undefined;
|
|
1017
1231
|
};
|
|
1018
1232
|
422: {
|
|
1233
|
+
code: "VALIDATION";
|
|
1019
1234
|
message: string;
|
|
1020
1235
|
error: "Validation error";
|
|
1021
1236
|
details?: Record<string, unknown> | undefined;
|
|
1022
1237
|
};
|
|
1023
1238
|
500: {
|
|
1239
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
1024
1240
|
message: string;
|
|
1025
1241
|
error: "Internal server error";
|
|
1026
1242
|
details?: Record<string, unknown> | undefined;
|
|
@@ -1046,21 +1262,25 @@ export declare const app: Elysia<"", {
|
|
|
1046
1262
|
headers: unknown;
|
|
1047
1263
|
response: {
|
|
1048
1264
|
400: {
|
|
1265
|
+
code: "BAD_REQUEST" | "INVALID_FILE_TYPE" | "PARSE" | "INVALID_COOKIE_SIGNATURE";
|
|
1049
1266
|
message: string;
|
|
1050
1267
|
error: "Bad request";
|
|
1051
1268
|
details?: Record<string, unknown> | undefined;
|
|
1052
1269
|
};
|
|
1053
1270
|
404: {
|
|
1271
|
+
code: "RESOURCE_NOT_FOUND";
|
|
1054
1272
|
message: string;
|
|
1055
1273
|
error: "Resource not found";
|
|
1056
1274
|
details?: Record<string, unknown> | undefined;
|
|
1057
1275
|
};
|
|
1058
1276
|
422: {
|
|
1277
|
+
code: "VALIDATION";
|
|
1059
1278
|
message: string;
|
|
1060
1279
|
error: "Validation error";
|
|
1061
1280
|
details?: Record<string, unknown> | undefined;
|
|
1062
1281
|
};
|
|
1063
1282
|
500: {
|
|
1283
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
1064
1284
|
message: string;
|
|
1065
1285
|
error: "Internal server error";
|
|
1066
1286
|
details?: Record<string, unknown> | undefined;
|
|
@@ -1088,21 +1308,25 @@ export declare const app: Elysia<"", {
|
|
|
1088
1308
|
headers: unknown;
|
|
1089
1309
|
response: {
|
|
1090
1310
|
400: {
|
|
1311
|
+
code: "BAD_REQUEST" | "INVALID_FILE_TYPE" | "PARSE" | "INVALID_COOKIE_SIGNATURE";
|
|
1091
1312
|
message: string;
|
|
1092
1313
|
error: "Bad request";
|
|
1093
1314
|
details?: Record<string, unknown> | undefined;
|
|
1094
1315
|
};
|
|
1095
1316
|
404: {
|
|
1317
|
+
code: "RESOURCE_NOT_FOUND";
|
|
1096
1318
|
message: string;
|
|
1097
1319
|
error: "Resource not found";
|
|
1098
1320
|
details?: Record<string, unknown> | undefined;
|
|
1099
1321
|
};
|
|
1100
1322
|
422: {
|
|
1323
|
+
code: "VALIDATION";
|
|
1101
1324
|
message: string;
|
|
1102
1325
|
error: "Validation error";
|
|
1103
1326
|
details?: Record<string, unknown> | undefined;
|
|
1104
1327
|
};
|
|
1105
1328
|
500: {
|
|
1329
|
+
code: "INTERNAL_SERVER_ERROR";
|
|
1106
1330
|
message: string;
|
|
1107
1331
|
error: "Internal server error";
|
|
1108
1332
|
details?: Record<string, unknown> | undefined;
|
|
@@ -1113,6 +1337,20 @@ export declare const app: Elysia<"", {
|
|
|
1113
1337
|
};
|
|
1114
1338
|
};
|
|
1115
1339
|
};
|
|
1340
|
+
} & {
|
|
1341
|
+
stats: {
|
|
1342
|
+
global: {
|
|
1343
|
+
get: {
|
|
1344
|
+
body: unknown;
|
|
1345
|
+
params: {};
|
|
1346
|
+
query: unknown;
|
|
1347
|
+
headers: unknown;
|
|
1348
|
+
response: {
|
|
1349
|
+
200: import("./api").ApiGlobalStats;
|
|
1350
|
+
};
|
|
1351
|
+
};
|
|
1352
|
+
};
|
|
1353
|
+
};
|
|
1116
1354
|
} & {
|
|
1117
1355
|
ws: {
|
|
1118
1356
|
"pool-state": {
|
|
@@ -1155,6 +1393,12 @@ export declare const app: Elysia<"", {
|
|
|
1155
1393
|
schema: {};
|
|
1156
1394
|
standaloneSchema: {};
|
|
1157
1395
|
response: {};
|
|
1396
|
+
} & {
|
|
1397
|
+
derive: {};
|
|
1398
|
+
resolve: {};
|
|
1399
|
+
schema: {};
|
|
1400
|
+
standaloneSchema: {};
|
|
1401
|
+
response: {};
|
|
1158
1402
|
}>;
|
|
1159
1403
|
export type App = typeof app;
|
|
1160
1404
|
//# sourceMappingURL=app.d.ts.map
|