@eyettea/zeta-backend 0.0.1-rc.12 → 0.0.1-rc.4

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.
Files changed (33) hide show
  1. package/dist/types/api/index.d.ts +3 -4
  2. package/dist/types/api/index.d.ts.map +1 -1
  3. package/dist/types/app.d.ts +270 -485
  4. package/dist/types/app.d.ts.map +1 -1
  5. package/dist/types/database/mints.d.ts +1 -1
  6. package/dist/types/database/mints.d.ts.map +1 -1
  7. package/dist/types/lib/errors.d.ts +3 -86
  8. package/dist/types/lib/errors.d.ts.map +1 -1
  9. package/dist/types/lib/logger.d.ts +1 -1
  10. package/dist/types/lib/logger.d.ts.map +1 -1
  11. package/dist/types/routes/compute.d.ts +17 -38
  12. package/dist/types/routes/compute.d.ts.map +1 -1
  13. package/dist/types/routes/ohlcv.d.ts +9 -19
  14. package/dist/types/routes/ohlcv.d.ts.map +1 -1
  15. package/dist/types/routes/pools.d.ts +66 -174
  16. package/dist/types/routes/pools.d.ts.map +1 -1
  17. package/dist/types/routes/response.d.ts +16 -63
  18. package/dist/types/routes/response.d.ts.map +1 -1
  19. package/dist/types/services/Services.d.ts +1 -1
  20. package/dist/types/services/Services.d.ts.map +1 -1
  21. package/dist/types/services/computeService.d.ts +2 -2
  22. package/dist/types/services/computeService.d.ts.map +1 -1
  23. package/dist/types/services/poolEventsHandler.d.ts +1 -1
  24. package/dist/types/services/poolEventsHandler.d.ts.map +1 -1
  25. package/dist/types/services/poolEventsSubscriptionService.d.ts +1 -1
  26. package/dist/types/services/poolEventsSubscriptionService.d.ts.map +1 -1
  27. package/dist/types/services/poolService.d.ts +42 -16
  28. package/dist/types/services/poolService.d.ts.map +1 -1
  29. package/dist/types/services/poolStatsService.d.ts +2 -15
  30. package/dist/types/services/poolStatsService.d.ts.map +1 -1
  31. package/dist/types/services/priceService.d.ts +1 -1
  32. package/dist/types/services/priceService.d.ts.map +1 -1
  33. package/package.json +5 -12
@@ -1,5 +1,4 @@
1
1
  import { Elysia } from 'elysia';
2
- import { BadRequest, NotFound, ValidationError, InternalServerError } from './lib/errors';
3
2
  export declare function createApp(): Elysia<"", {
4
3
  decorator: {};
5
4
  store: {};
@@ -8,14 +7,6 @@ export declare function createApp(): Elysia<"", {
8
7
  }, {
9
8
  typebox: {};
10
9
  error: {};
11
- } & {
12
- typebox: {};
13
- error: {
14
- readonly BadRequest: BadRequest;
15
- readonly NotFound: NotFound;
16
- readonly ValidationError: ValidationError;
17
- readonly InternalServerError: InternalServerError;
18
- };
19
10
  } & {
20
11
  typebox: {};
21
12
  error: {};
@@ -36,7 +27,29 @@ export declare function createApp(): Elysia<"", {
36
27
  macroFn: {};
37
28
  parser: {};
38
29
  response: {
39
- 200: Response;
30
+ 200: {
31
+ success: boolean;
32
+ error: string;
33
+ message: string;
34
+ details?: undefined;
35
+ } | {
36
+ success: boolean;
37
+ error: string;
38
+ message: string;
39
+ details: ({
40
+ summary: undefined;
41
+ } | {
42
+ summary: string;
43
+ } | {
44
+ summary: string;
45
+ type: import("@sinclair/typebox/build/cjs/errors").ValueErrorType;
46
+ schema: import("elysia").TSchema;
47
+ path: string;
48
+ value: unknown;
49
+ message: string;
50
+ errors: import("@sinclair/typebox/build/cjs/errors").ValueErrorIterator[];
51
+ })[];
52
+ };
40
53
  };
41
54
  } & {
42
55
  schema: {};
@@ -51,7 +64,6 @@ export declare function createApp(): Elysia<"", {
51
64
  macro: {};
52
65
  macroFn: {};
53
66
  parser: {};
54
- response: {};
55
67
  }, {
56
68
  "token-list": {
57
69
  "devnet.json": {
@@ -61,7 +73,29 @@ export declare function createApp(): Elysia<"", {
61
73
  query: unknown;
62
74
  headers: unknown;
63
75
  response: {
64
- 200: Response;
76
+ 200: Response | {
77
+ success: boolean;
78
+ error: string;
79
+ message: string;
80
+ details?: undefined;
81
+ } | {
82
+ success: boolean;
83
+ error: string;
84
+ message: string;
85
+ details: ({
86
+ summary: undefined;
87
+ } | {
88
+ summary: string;
89
+ } | {
90
+ summary: string;
91
+ type: import("@sinclair/typebox/build/cjs/errors").ValueErrorType;
92
+ schema: import("elysia").TSchema;
93
+ path: string;
94
+ value: unknown;
95
+ message: string;
96
+ errors: import("@sinclair/typebox/build/cjs/errors").ValueErrorIterator[];
97
+ })[];
98
+ };
65
99
  };
66
100
  };
67
101
  };
@@ -75,27 +109,7 @@ export declare function createApp(): Elysia<"", {
75
109
  query: unknown;
76
110
  headers: unknown;
77
111
  response: {
78
- 400: {
79
- message: string;
80
- error: "Bad request";
81
- details?: Record<string, unknown> | undefined;
82
- };
83
- 404: {
84
- message: string;
85
- error: "Resource not found";
86
- details?: Record<string, unknown> | undefined;
87
- };
88
- 422: {
89
- message: string;
90
- error: "Validation error";
91
- details?: Record<string, unknown> | undefined;
92
- };
93
- 500: {
94
- message: string;
95
- error: "Internal server error";
96
- details?: Record<string, unknown> | undefined;
97
- };
98
- 200: import("./routes/pools").TokenListResponse;
112
+ 200: import("./api").ApiResponse<import("./routes/pools").TokenListResponse>;
99
113
  };
100
114
  };
101
115
  };
@@ -112,27 +126,16 @@ export declare function createApp(): Elysia<"", {
112
126
  };
113
127
  headers: unknown;
114
128
  response: {
115
- 400: {
116
- message: string;
117
- error: "Bad request";
118
- details?: Record<string, unknown> | undefined;
119
- };
120
- 404: {
121
- message: string;
122
- error: "Resource not found";
123
- details?: Record<string, unknown> | undefined;
124
- };
129
+ 200: import("./api").ApiResponse<import("./routes/pools").ClmmLiquidityLinePayload>;
125
130
  422: {
126
- message: string;
127
- error: "Validation error";
128
- details?: Record<string, unknown> | undefined;
129
- };
130
- 500: {
131
- message: string;
132
- error: "Internal server error";
133
- details?: Record<string, unknown> | undefined;
131
+ type: "validation";
132
+ on: string;
133
+ summary?: string;
134
+ message?: string;
135
+ found?: unknown;
136
+ property?: string;
137
+ expected?: string;
134
138
  };
135
- 200: import("./routes/pools").ClmmLiquidityLinePayload;
136
139
  };
137
140
  };
138
141
  };
@@ -150,27 +153,16 @@ export declare function createApp(): Elysia<"", {
150
153
  };
151
154
  headers: unknown;
152
155
  response: {
153
- 400: {
154
- message: string;
155
- error: "Bad request";
156
- details?: Record<string, unknown> | undefined;
157
- };
158
- 404: {
159
- message: string;
160
- error: "Resource not found";
161
- details?: Record<string, unknown> | undefined;
162
- };
156
+ 200: import("./api").ApiResponse<import("./routes/pools").TokenPricesResponse>;
163
157
  422: {
164
- message: string;
165
- error: "Validation error";
166
- details?: Record<string, unknown> | undefined;
158
+ type: "validation";
159
+ on: string;
160
+ summary?: string;
161
+ message?: string;
162
+ found?: unknown;
163
+ property?: string;
164
+ expected?: string;
167
165
  };
168
- 500: {
169
- message: string;
170
- error: "Internal server error";
171
- details?: Record<string, unknown> | undefined;
172
- };
173
- 200: import("./routes/pools").TokenPricesResponse;
174
166
  };
175
167
  };
176
168
  };
@@ -191,27 +183,16 @@ export declare function createApp(): Elysia<"", {
191
183
  };
192
184
  headers: unknown;
193
185
  response: {
194
- 400: {
195
- message: string;
196
- error: "Bad request";
197
- details?: Record<string, unknown> | undefined;
198
- };
199
- 404: {
200
- message: string;
201
- error: "Resource not found";
202
- details?: Record<string, unknown> | undefined;
203
- };
186
+ 200: import("./api").ApiResponse<import("./routes/pools").PoolListResponse>;
204
187
  422: {
205
- message: string;
206
- error: "Validation error";
207
- details?: Record<string, unknown> | undefined;
208
- };
209
- 500: {
210
- message: string;
211
- error: "Internal server error";
212
- details?: Record<string, unknown> | undefined;
188
+ type: "validation";
189
+ on: string;
190
+ summary?: string;
191
+ message?: string;
192
+ found?: unknown;
193
+ property?: string;
194
+ expected?: string;
213
195
  };
214
- 200: import("./api").PaginatedApiResponse<import("./routes/pools").PoolListResponse>;
215
196
  };
216
197
  };
217
198
  };
@@ -229,27 +210,16 @@ export declare function createApp(): Elysia<"", {
229
210
  };
230
211
  headers: unknown;
231
212
  response: {
232
- 400: {
233
- message: string;
234
- error: "Bad request";
235
- details?: Record<string, unknown> | undefined;
236
- };
237
- 404: {
238
- message: string;
239
- error: "Resource not found";
240
- details?: Record<string, unknown> | undefined;
241
- };
213
+ 200: import("./api").ApiResponse<import("./routes/pools").PoolListFromIdsResponse>;
242
214
  422: {
243
- message: string;
244
- error: "Validation error";
245
- details?: Record<string, unknown> | undefined;
215
+ type: "validation";
216
+ on: string;
217
+ summary?: string;
218
+ message?: string;
219
+ found?: unknown;
220
+ property?: string;
221
+ expected?: string;
246
222
  };
247
- 500: {
248
- message: string;
249
- error: "Internal server error";
250
- details?: Record<string, unknown> | undefined;
251
- };
252
- 200: import("./routes/pools").PoolListFromIdsResponse;
253
223
  };
254
224
  };
255
225
  };
@@ -267,27 +237,16 @@ export declare function createApp(): Elysia<"", {
267
237
  };
268
238
  headers: unknown;
269
239
  response: {
270
- 400: {
271
- message: string;
272
- error: "Bad request";
273
- details?: Record<string, unknown> | undefined;
274
- };
275
- 404: {
276
- message: string;
277
- error: "Resource not found";
278
- details?: Record<string, unknown> | undefined;
279
- };
240
+ 200: import("./api").ApiResponse<import("./routes/pools").Events>;
280
241
  422: {
281
- message: string;
282
- error: "Validation error";
283
- details?: Record<string, unknown> | undefined;
284
- };
285
- 500: {
286
- message: string;
287
- error: "Internal server error";
288
- details?: Record<string, unknown> | undefined;
242
+ type: "validation";
243
+ on: string;
244
+ summary?: string;
245
+ message?: string;
246
+ found?: unknown;
247
+ property?: string;
248
+ expected?: string;
289
249
  };
290
- 200: import("./routes/pools").Events;
291
250
  };
292
251
  };
293
252
  };
@@ -305,27 +264,16 @@ export declare function createApp(): Elysia<"", {
305
264
  };
306
265
  headers: unknown;
307
266
  response: {
308
- 400: {
309
- message: string;
310
- error: "Bad request";
311
- details?: Record<string, unknown> | undefined;
312
- };
313
- 404: {
314
- message: string;
315
- error: "Resource not found";
316
- details?: Record<string, unknown> | undefined;
317
- };
267
+ 200: import("./api").ApiResponse<import("./api").ClmmPosition[]>;
318
268
  422: {
319
- message: string;
320
- error: "Validation error";
321
- details?: Record<string, unknown> | undefined;
322
- };
323
- 500: {
324
- message: string;
325
- error: "Internal server error";
326
- details?: Record<string, unknown> | undefined;
269
+ type: "validation";
270
+ on: string;
271
+ summary?: string;
272
+ message?: string;
273
+ found?: unknown;
274
+ property?: string;
275
+ expected?: string;
327
276
  };
328
- 200: import("./api").ClmmPosition[];
329
277
  };
330
278
  };
331
279
  };
@@ -346,27 +294,16 @@ export declare function createApp(): Elysia<"", {
346
294
  };
347
295
  headers: unknown;
348
296
  response: {
349
- 400: {
350
- message: string;
351
- error: "Bad request";
352
- details?: Record<string, unknown> | undefined;
353
- };
354
- 404: {
355
- message: string;
356
- error: "Resource not found";
357
- details?: Record<string, unknown> | undefined;
358
- };
297
+ 200: import("./api").ApiResponse<import("./routes/pools").PoolListResponse>;
359
298
  422: {
360
- message: string;
361
- error: "Validation error";
362
- details?: Record<string, unknown> | undefined;
299
+ type: "validation";
300
+ on: string;
301
+ summary?: string;
302
+ message?: string;
303
+ found?: unknown;
304
+ property?: string;
305
+ expected?: string;
363
306
  };
364
- 500: {
365
- message: string;
366
- error: "Internal server error";
367
- details?: Record<string, unknown> | undefined;
368
- };
369
- 200: import("./api").PaginatedApiResponse<import("./routes/pools").PoolListResponse>;
370
307
  };
371
308
  };
372
309
  };
@@ -386,27 +323,16 @@ export declare function createApp(): Elysia<"", {
386
323
  };
387
324
  headers: unknown;
388
325
  response: {
389
- 400: {
390
- message: string;
391
- error: "Bad request";
392
- details?: Record<string, unknown> | undefined;
393
- };
394
- 404: {
395
- message: string;
396
- error: "Resource not found";
397
- details?: Record<string, unknown> | undefined;
398
- };
326
+ 200: import("./api").ApiResponse<import("./api").LiquidityLineData>;
399
327
  422: {
400
- message: string;
401
- error: "Validation error";
402
- details?: Record<string, unknown> | undefined;
403
- };
404
- 500: {
405
- message: string;
406
- error: "Internal server error";
407
- details?: Record<string, unknown> | undefined;
328
+ type: "validation";
329
+ on: string;
330
+ summary?: string;
331
+ message?: string;
332
+ found?: unknown;
333
+ property?: string;
334
+ expected?: string;
408
335
  };
409
- 200: import("./api").LiquidityLineData;
410
336
  };
411
337
  };
412
338
  };
@@ -427,27 +353,16 @@ export declare function createApp(): Elysia<"", {
427
353
  };
428
354
  headers: unknown;
429
355
  response: {
430
- 400: {
431
- message: string;
432
- error: "Bad request";
433
- details?: Record<string, unknown> | undefined;
434
- };
435
- 404: {
436
- message: string;
437
- error: "Resource not found";
438
- details?: Record<string, unknown> | undefined;
439
- };
356
+ 200: import("./api").ApiResponse<import("./api").SwapComputeResult>;
440
357
  422: {
441
- message: string;
442
- error: "Validation error";
443
- details?: Record<string, unknown> | undefined;
358
+ type: "validation";
359
+ on: string;
360
+ summary?: string;
361
+ message?: string;
362
+ found?: unknown;
363
+ property?: string;
364
+ expected?: string;
444
365
  };
445
- 500: {
446
- message: string;
447
- error: "Internal server error";
448
- details?: Record<string, unknown> | undefined;
449
- };
450
- 200: import("./api").SwapComputeResult;
451
366
  };
452
367
  };
453
368
  };
@@ -467,27 +382,16 @@ export declare function createApp(): Elysia<"", {
467
382
  };
468
383
  headers: unknown;
469
384
  response: {
470
- 400: {
471
- message: string;
472
- error: "Bad request";
473
- details?: Record<string, unknown> | undefined;
474
- };
475
- 404: {
476
- message: string;
477
- error: "Resource not found";
478
- details?: Record<string, unknown> | undefined;
479
- };
385
+ 200: import("./api").ApiResponse<import("./api").SwapComputeResult>;
480
386
  422: {
481
- message: string;
482
- error: "Validation error";
483
- details?: Record<string, unknown> | undefined;
484
- };
485
- 500: {
486
- message: string;
487
- error: "Internal server error";
488
- details?: Record<string, unknown> | undefined;
387
+ type: "validation";
388
+ on: string;
389
+ summary?: string;
390
+ message?: string;
391
+ found?: unknown;
392
+ property?: string;
393
+ expected?: string;
489
394
  };
490
- 200: import("./api").SwapComputeResult;
491
395
  };
492
396
  };
493
397
  };
@@ -509,27 +413,16 @@ export declare function createApp(): Elysia<"", {
509
413
  };
510
414
  headers: unknown;
511
415
  response: {
512
- 400: {
513
- message: string;
514
- error: "Bad request";
515
- details?: Record<string, unknown> | undefined;
516
- };
517
- 404: {
518
- message: string;
519
- error: "Resource not found";
520
- details?: Record<string, unknown> | undefined;
521
- };
416
+ 200: import("./api").ApiResponse<import("./api").OHLVCResult>;
522
417
  422: {
523
- message: string;
524
- error: "Validation error";
525
- details?: Record<string, unknown> | undefined;
418
+ type: "validation";
419
+ on: string;
420
+ summary?: string;
421
+ message?: string;
422
+ found?: unknown;
423
+ property?: string;
424
+ expected?: string;
526
425
  };
527
- 500: {
528
- message: string;
529
- error: "Internal server error";
530
- details?: Record<string, unknown> | undefined;
531
- };
532
- 200: import("./api").OHLVCResult;
533
426
  };
534
427
  };
535
428
  };
@@ -576,7 +469,6 @@ export declare function createApp(): Elysia<"", {
576
469
  resolve: {};
577
470
  schema: {};
578
471
  standaloneSchema: {};
579
- response: {};
580
472
  }>;
581
473
  export declare const app: Elysia<"", {
582
474
  decorator: {};
@@ -586,14 +478,6 @@ export declare const app: Elysia<"", {
586
478
  }, {
587
479
  typebox: {};
588
480
  error: {};
589
- } & {
590
- typebox: {};
591
- error: {
592
- readonly BadRequest: BadRequest;
593
- readonly NotFound: NotFound;
594
- readonly ValidationError: ValidationError;
595
- readonly InternalServerError: InternalServerError;
596
- };
597
481
  } & {
598
482
  typebox: {};
599
483
  error: {};
@@ -614,7 +498,29 @@ export declare const app: Elysia<"", {
614
498
  macroFn: {};
615
499
  parser: {};
616
500
  response: {
617
- 200: Response;
501
+ 200: {
502
+ success: boolean;
503
+ error: string;
504
+ message: string;
505
+ details?: undefined;
506
+ } | {
507
+ success: boolean;
508
+ error: string;
509
+ message: string;
510
+ details: ({
511
+ summary: undefined;
512
+ } | {
513
+ summary: string;
514
+ } | {
515
+ summary: string;
516
+ type: import("@sinclair/typebox/build/cjs/errors").ValueErrorType;
517
+ schema: import("elysia").TSchema;
518
+ path: string;
519
+ value: unknown;
520
+ message: string;
521
+ errors: import("@sinclair/typebox/build/cjs/errors").ValueErrorIterator[];
522
+ })[];
523
+ };
618
524
  };
619
525
  } & {
620
526
  schema: {};
@@ -629,7 +535,6 @@ export declare const app: Elysia<"", {
629
535
  macro: {};
630
536
  macroFn: {};
631
537
  parser: {};
632
- response: {};
633
538
  }, {
634
539
  "token-list": {
635
540
  "devnet.json": {
@@ -639,7 +544,29 @@ export declare const app: Elysia<"", {
639
544
  query: unknown;
640
545
  headers: unknown;
641
546
  response: {
642
- 200: Response;
547
+ 200: Response | {
548
+ success: boolean;
549
+ error: string;
550
+ message: string;
551
+ details?: undefined;
552
+ } | {
553
+ success: boolean;
554
+ error: string;
555
+ message: string;
556
+ details: ({
557
+ summary: undefined;
558
+ } | {
559
+ summary: string;
560
+ } | {
561
+ summary: string;
562
+ type: import("@sinclair/typebox/build/cjs/errors").ValueErrorType;
563
+ schema: import("elysia").TSchema;
564
+ path: string;
565
+ value: unknown;
566
+ message: string;
567
+ errors: import("@sinclair/typebox/build/cjs/errors").ValueErrorIterator[];
568
+ })[];
569
+ };
643
570
  };
644
571
  };
645
572
  };
@@ -653,27 +580,7 @@ export declare const app: Elysia<"", {
653
580
  query: unknown;
654
581
  headers: unknown;
655
582
  response: {
656
- 400: {
657
- message: string;
658
- error: "Bad request";
659
- details?: Record<string, unknown> | undefined;
660
- };
661
- 404: {
662
- message: string;
663
- error: "Resource not found";
664
- details?: Record<string, unknown> | undefined;
665
- };
666
- 422: {
667
- message: string;
668
- error: "Validation error";
669
- details?: Record<string, unknown> | undefined;
670
- };
671
- 500: {
672
- message: string;
673
- error: "Internal server error";
674
- details?: Record<string, unknown> | undefined;
675
- };
676
- 200: import("./routes/pools").TokenListResponse;
583
+ 200: import("./api").ApiResponse<import("./routes/pools").TokenListResponse>;
677
584
  };
678
585
  };
679
586
  };
@@ -690,27 +597,16 @@ export declare const app: Elysia<"", {
690
597
  };
691
598
  headers: unknown;
692
599
  response: {
693
- 400: {
694
- message: string;
695
- error: "Bad request";
696
- details?: Record<string, unknown> | undefined;
697
- };
698
- 404: {
699
- message: string;
700
- error: "Resource not found";
701
- details?: Record<string, unknown> | undefined;
702
- };
600
+ 200: import("./api").ApiResponse<import("./routes/pools").ClmmLiquidityLinePayload>;
703
601
  422: {
704
- message: string;
705
- error: "Validation error";
706
- details?: Record<string, unknown> | undefined;
707
- };
708
- 500: {
709
- message: string;
710
- error: "Internal server error";
711
- details?: Record<string, unknown> | undefined;
602
+ type: "validation";
603
+ on: string;
604
+ summary?: string;
605
+ message?: string;
606
+ found?: unknown;
607
+ property?: string;
608
+ expected?: string;
712
609
  };
713
- 200: import("./routes/pools").ClmmLiquidityLinePayload;
714
610
  };
715
611
  };
716
612
  };
@@ -728,27 +624,16 @@ export declare const app: Elysia<"", {
728
624
  };
729
625
  headers: unknown;
730
626
  response: {
731
- 400: {
732
- message: string;
733
- error: "Bad request";
734
- details?: Record<string, unknown> | undefined;
735
- };
736
- 404: {
737
- message: string;
738
- error: "Resource not found";
739
- details?: Record<string, unknown> | undefined;
740
- };
627
+ 200: import("./api").ApiResponse<import("./routes/pools").TokenPricesResponse>;
741
628
  422: {
742
- message: string;
743
- error: "Validation error";
744
- details?: Record<string, unknown> | undefined;
629
+ type: "validation";
630
+ on: string;
631
+ summary?: string;
632
+ message?: string;
633
+ found?: unknown;
634
+ property?: string;
635
+ expected?: string;
745
636
  };
746
- 500: {
747
- message: string;
748
- error: "Internal server error";
749
- details?: Record<string, unknown> | undefined;
750
- };
751
- 200: import("./routes/pools").TokenPricesResponse;
752
637
  };
753
638
  };
754
639
  };
@@ -769,27 +654,16 @@ export declare const app: Elysia<"", {
769
654
  };
770
655
  headers: unknown;
771
656
  response: {
772
- 400: {
773
- message: string;
774
- error: "Bad request";
775
- details?: Record<string, unknown> | undefined;
776
- };
777
- 404: {
778
- message: string;
779
- error: "Resource not found";
780
- details?: Record<string, unknown> | undefined;
781
- };
657
+ 200: import("./api").ApiResponse<import("./routes/pools").PoolListResponse>;
782
658
  422: {
783
- message: string;
784
- error: "Validation error";
785
- details?: Record<string, unknown> | undefined;
786
- };
787
- 500: {
788
- message: string;
789
- error: "Internal server error";
790
- details?: Record<string, unknown> | undefined;
659
+ type: "validation";
660
+ on: string;
661
+ summary?: string;
662
+ message?: string;
663
+ found?: unknown;
664
+ property?: string;
665
+ expected?: string;
791
666
  };
792
- 200: import("./api").PaginatedApiResponse<import("./routes/pools").PoolListResponse>;
793
667
  };
794
668
  };
795
669
  };
@@ -807,27 +681,16 @@ export declare const app: Elysia<"", {
807
681
  };
808
682
  headers: unknown;
809
683
  response: {
810
- 400: {
811
- message: string;
812
- error: "Bad request";
813
- details?: Record<string, unknown> | undefined;
814
- };
815
- 404: {
816
- message: string;
817
- error: "Resource not found";
818
- details?: Record<string, unknown> | undefined;
819
- };
684
+ 200: import("./api").ApiResponse<import("./routes/pools").PoolListFromIdsResponse>;
820
685
  422: {
821
- message: string;
822
- error: "Validation error";
823
- details?: Record<string, unknown> | undefined;
686
+ type: "validation";
687
+ on: string;
688
+ summary?: string;
689
+ message?: string;
690
+ found?: unknown;
691
+ property?: string;
692
+ expected?: string;
824
693
  };
825
- 500: {
826
- message: string;
827
- error: "Internal server error";
828
- details?: Record<string, unknown> | undefined;
829
- };
830
- 200: import("./routes/pools").PoolListFromIdsResponse;
831
694
  };
832
695
  };
833
696
  };
@@ -845,27 +708,16 @@ export declare const app: Elysia<"", {
845
708
  };
846
709
  headers: unknown;
847
710
  response: {
848
- 400: {
849
- message: string;
850
- error: "Bad request";
851
- details?: Record<string, unknown> | undefined;
852
- };
853
- 404: {
854
- message: string;
855
- error: "Resource not found";
856
- details?: Record<string, unknown> | undefined;
857
- };
711
+ 200: import("./api").ApiResponse<import("./routes/pools").Events>;
858
712
  422: {
859
- message: string;
860
- error: "Validation error";
861
- details?: Record<string, unknown> | undefined;
862
- };
863
- 500: {
864
- message: string;
865
- error: "Internal server error";
866
- details?: Record<string, unknown> | undefined;
713
+ type: "validation";
714
+ on: string;
715
+ summary?: string;
716
+ message?: string;
717
+ found?: unknown;
718
+ property?: string;
719
+ expected?: string;
867
720
  };
868
- 200: import("./routes/pools").Events;
869
721
  };
870
722
  };
871
723
  };
@@ -883,27 +735,16 @@ export declare const app: Elysia<"", {
883
735
  };
884
736
  headers: unknown;
885
737
  response: {
886
- 400: {
887
- message: string;
888
- error: "Bad request";
889
- details?: Record<string, unknown> | undefined;
890
- };
891
- 404: {
892
- message: string;
893
- error: "Resource not found";
894
- details?: Record<string, unknown> | undefined;
895
- };
738
+ 200: import("./api").ApiResponse<import("./api").ClmmPosition[]>;
896
739
  422: {
897
- message: string;
898
- error: "Validation error";
899
- details?: Record<string, unknown> | undefined;
900
- };
901
- 500: {
902
- message: string;
903
- error: "Internal server error";
904
- details?: Record<string, unknown> | undefined;
740
+ type: "validation";
741
+ on: string;
742
+ summary?: string;
743
+ message?: string;
744
+ found?: unknown;
745
+ property?: string;
746
+ expected?: string;
905
747
  };
906
- 200: import("./api").ClmmPosition[];
907
748
  };
908
749
  };
909
750
  };
@@ -924,27 +765,16 @@ export declare const app: Elysia<"", {
924
765
  };
925
766
  headers: unknown;
926
767
  response: {
927
- 400: {
928
- message: string;
929
- error: "Bad request";
930
- details?: Record<string, unknown> | undefined;
931
- };
932
- 404: {
933
- message: string;
934
- error: "Resource not found";
935
- details?: Record<string, unknown> | undefined;
936
- };
768
+ 200: import("./api").ApiResponse<import("./routes/pools").PoolListResponse>;
937
769
  422: {
938
- message: string;
939
- error: "Validation error";
940
- details?: Record<string, unknown> | undefined;
770
+ type: "validation";
771
+ on: string;
772
+ summary?: string;
773
+ message?: string;
774
+ found?: unknown;
775
+ property?: string;
776
+ expected?: string;
941
777
  };
942
- 500: {
943
- message: string;
944
- error: "Internal server error";
945
- details?: Record<string, unknown> | undefined;
946
- };
947
- 200: import("./api").PaginatedApiResponse<import("./routes/pools").PoolListResponse>;
948
778
  };
949
779
  };
950
780
  };
@@ -964,27 +794,16 @@ export declare const app: Elysia<"", {
964
794
  };
965
795
  headers: unknown;
966
796
  response: {
967
- 400: {
968
- message: string;
969
- error: "Bad request";
970
- details?: Record<string, unknown> | undefined;
971
- };
972
- 404: {
973
- message: string;
974
- error: "Resource not found";
975
- details?: Record<string, unknown> | undefined;
976
- };
797
+ 200: import("./api").ApiResponse<import("./api").LiquidityLineData>;
977
798
  422: {
978
- message: string;
979
- error: "Validation error";
980
- details?: Record<string, unknown> | undefined;
981
- };
982
- 500: {
983
- message: string;
984
- error: "Internal server error";
985
- details?: Record<string, unknown> | undefined;
799
+ type: "validation";
800
+ on: string;
801
+ summary?: string;
802
+ message?: string;
803
+ found?: unknown;
804
+ property?: string;
805
+ expected?: string;
986
806
  };
987
- 200: import("./api").LiquidityLineData;
988
807
  };
989
808
  };
990
809
  };
@@ -1005,27 +824,16 @@ export declare const app: Elysia<"", {
1005
824
  };
1006
825
  headers: unknown;
1007
826
  response: {
1008
- 400: {
1009
- message: string;
1010
- error: "Bad request";
1011
- details?: Record<string, unknown> | undefined;
1012
- };
1013
- 404: {
1014
- message: string;
1015
- error: "Resource not found";
1016
- details?: Record<string, unknown> | undefined;
1017
- };
827
+ 200: import("./api").ApiResponse<import("./api").SwapComputeResult>;
1018
828
  422: {
1019
- message: string;
1020
- error: "Validation error";
1021
- details?: Record<string, unknown> | undefined;
829
+ type: "validation";
830
+ on: string;
831
+ summary?: string;
832
+ message?: string;
833
+ found?: unknown;
834
+ property?: string;
835
+ expected?: string;
1022
836
  };
1023
- 500: {
1024
- message: string;
1025
- error: "Internal server error";
1026
- details?: Record<string, unknown> | undefined;
1027
- };
1028
- 200: import("./api").SwapComputeResult;
1029
837
  };
1030
838
  };
1031
839
  };
@@ -1045,27 +853,16 @@ export declare const app: Elysia<"", {
1045
853
  };
1046
854
  headers: unknown;
1047
855
  response: {
1048
- 400: {
1049
- message: string;
1050
- error: "Bad request";
1051
- details?: Record<string, unknown> | undefined;
1052
- };
1053
- 404: {
1054
- message: string;
1055
- error: "Resource not found";
1056
- details?: Record<string, unknown> | undefined;
1057
- };
856
+ 200: import("./api").ApiResponse<import("./api").SwapComputeResult>;
1058
857
  422: {
1059
- message: string;
1060
- error: "Validation error";
1061
- details?: Record<string, unknown> | undefined;
1062
- };
1063
- 500: {
1064
- message: string;
1065
- error: "Internal server error";
1066
- details?: Record<string, unknown> | undefined;
858
+ type: "validation";
859
+ on: string;
860
+ summary?: string;
861
+ message?: string;
862
+ found?: unknown;
863
+ property?: string;
864
+ expected?: string;
1067
865
  };
1068
- 200: import("./api").SwapComputeResult;
1069
866
  };
1070
867
  };
1071
868
  };
@@ -1087,27 +884,16 @@ export declare const app: Elysia<"", {
1087
884
  };
1088
885
  headers: unknown;
1089
886
  response: {
1090
- 400: {
1091
- message: string;
1092
- error: "Bad request";
1093
- details?: Record<string, unknown> | undefined;
1094
- };
1095
- 404: {
1096
- message: string;
1097
- error: "Resource not found";
1098
- details?: Record<string, unknown> | undefined;
1099
- };
887
+ 200: import("./api").ApiResponse<import("./api").OHLVCResult>;
1100
888
  422: {
1101
- message: string;
1102
- error: "Validation error";
1103
- details?: Record<string, unknown> | undefined;
889
+ type: "validation";
890
+ on: string;
891
+ summary?: string;
892
+ message?: string;
893
+ found?: unknown;
894
+ property?: string;
895
+ expected?: string;
1104
896
  };
1105
- 500: {
1106
- message: string;
1107
- error: "Internal server error";
1108
- details?: Record<string, unknown> | undefined;
1109
- };
1110
- 200: import("./api").OHLVCResult;
1111
897
  };
1112
898
  };
1113
899
  };
@@ -1154,7 +940,6 @@ export declare const app: Elysia<"", {
1154
940
  resolve: {};
1155
941
  schema: {};
1156
942
  standaloneSchema: {};
1157
- response: {};
1158
943
  }>;
1159
944
  export type App = typeof app;
1160
945
  //# sourceMappingURL=app.d.ts.map