@eyettea/zeta-backend 0.0.1-rc.3

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 (66) hide show
  1. package/README.md +1 -0
  2. package/dist/types/api/index.d.ts +9 -0
  3. package/dist/types/api/index.d.ts.map +1 -0
  4. package/dist/types/api/types.d.ts +19 -0
  5. package/dist/types/api/types.d.ts.map +1 -0
  6. package/dist/types/app.d.ts +945 -0
  7. package/dist/types/app.d.ts.map +1 -0
  8. package/dist/types/config/database.d.ts +17 -0
  9. package/dist/types/config/database.d.ts.map +1 -0
  10. package/dist/types/config/env.d.ts +20 -0
  11. package/dist/types/config/env.d.ts.map +1 -0
  12. package/dist/types/database/aggregates.d.ts +14 -0
  13. package/dist/types/database/aggregates.d.ts.map +1 -0
  14. package/dist/types/database/clmmTicks.d.ts +9 -0
  15. package/dist/types/database/clmmTicks.d.ts.map +1 -0
  16. package/dist/types/database/liquidityTicks.d.ts +7 -0
  17. package/dist/types/database/liquidityTicks.d.ts.map +1 -0
  18. package/dist/types/database/mints.d.ts +18 -0
  19. package/dist/types/database/mints.d.ts.map +1 -0
  20. package/dist/types/database/poolEvents.d.ts +37 -0
  21. package/dist/types/database/poolEvents.d.ts.map +1 -0
  22. package/dist/types/database/pools.d.ts +47 -0
  23. package/dist/types/database/pools.d.ts.map +1 -0
  24. package/dist/types/database/priceTicks.d.ts +7 -0
  25. package/dist/types/database/priceTicks.d.ts.map +1 -0
  26. package/dist/types/database/schemas.d.ts +134 -0
  27. package/dist/types/database/schemas.d.ts.map +1 -0
  28. package/dist/types/database/types.d.ts +114 -0
  29. package/dist/types/database/types.d.ts.map +1 -0
  30. package/dist/types/index.d.ts +2 -0
  31. package/dist/types/index.d.ts.map +1 -0
  32. package/dist/types/lib/errors.d.ts +8 -0
  33. package/dist/types/lib/errors.d.ts.map +1 -0
  34. package/dist/types/lib/logger.d.ts +2 -0
  35. package/dist/types/lib/logger.d.ts.map +1 -0
  36. package/dist/types/lib/validation.d.ts +3 -0
  37. package/dist/types/lib/validation.d.ts.map +1 -0
  38. package/dist/types/routes/compute.d.ts +103 -0
  39. package/dist/types/routes/compute.d.ts.map +1 -0
  40. package/dist/types/routes/ohlcv.d.ts +64 -0
  41. package/dist/types/routes/ohlcv.d.ts.map +1 -0
  42. package/dist/types/routes/pools.d.ts +305 -0
  43. package/dist/types/routes/pools.d.ts.map +1 -0
  44. package/dist/types/routes/response.d.ts +26 -0
  45. package/dist/types/routes/response.d.ts.map +1 -0
  46. package/dist/types/routes/websocket.d.ts +42 -0
  47. package/dist/types/routes/websocket.d.ts.map +1 -0
  48. package/dist/types/services/Services.d.ts +21 -0
  49. package/dist/types/services/Services.d.ts.map +1 -0
  50. package/dist/types/services/computeService.d.ts +103 -0
  51. package/dist/types/services/computeService.d.ts.map +1 -0
  52. package/dist/types/services/poolEventsHandler.d.ts +26 -0
  53. package/dist/types/services/poolEventsHandler.d.ts.map +1 -0
  54. package/dist/types/services/poolEventsSubscriptionService.d.ts +16 -0
  55. package/dist/types/services/poolEventsSubscriptionService.d.ts.map +1 -0
  56. package/dist/types/services/poolService.d.ts +140 -0
  57. package/dist/types/services/poolService.d.ts.map +1 -0
  58. package/dist/types/services/poolStateWebsocketService.d.ts +13 -0
  59. package/dist/types/services/poolStateWebsocketService.d.ts.map +1 -0
  60. package/dist/types/services/poolStatsService.d.ts +53 -0
  61. package/dist/types/services/poolStatsService.d.ts.map +1 -0
  62. package/dist/types/services/priceService.d.ts +36 -0
  63. package/dist/types/services/priceService.d.ts.map +1 -0
  64. package/dist/types/utils/period.d.ts +8 -0
  65. package/dist/types/utils/period.d.ts.map +1 -0
  66. package/package.json +48 -0
@@ -0,0 +1,945 @@
1
+ import { Elysia } from 'elysia';
2
+ export declare function createApp(): Elysia<"", {
3
+ decorator: {};
4
+ store: {};
5
+ derive: {};
6
+ resolve: {};
7
+ }, {
8
+ typebox: {};
9
+ error: {};
10
+ } & {
11
+ typebox: {};
12
+ error: {};
13
+ } & {
14
+ typebox: {};
15
+ error: {};
16
+ }, {
17
+ schema: {};
18
+ standaloneSchema: {};
19
+ macro: {};
20
+ macroFn: {};
21
+ parser: {};
22
+ response: {};
23
+ } & {
24
+ schema: {};
25
+ standaloneSchema: {};
26
+ macro: {};
27
+ macroFn: {};
28
+ parser: {};
29
+ 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
+ };
53
+ };
54
+ } & {
55
+ schema: {};
56
+ standaloneSchema: {};
57
+ macro: {};
58
+ macroFn: {};
59
+ parser: {};
60
+ response: {};
61
+ } & {
62
+ schema: {};
63
+ standaloneSchema: {};
64
+ macro: {};
65
+ macroFn: {};
66
+ parser: {};
67
+ }, {
68
+ "token-list": {
69
+ "devnet.json": {
70
+ get: {
71
+ body: unknown;
72
+ params: {};
73
+ query: unknown;
74
+ headers: unknown;
75
+ 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
+ };
99
+ };
100
+ };
101
+ };
102
+ };
103
+ } & {
104
+ pools: {
105
+ tokens: {
106
+ get: {
107
+ body: unknown;
108
+ params: {};
109
+ query: unknown;
110
+ headers: unknown;
111
+ response: {
112
+ 200: import("./api").ApiResponse<import("./routes/pools").TokenListResponse>;
113
+ };
114
+ };
115
+ };
116
+ };
117
+ } & {
118
+ pools: {
119
+ line: {
120
+ position: {
121
+ get: {
122
+ body: unknown;
123
+ params: {};
124
+ query: {
125
+ id: string;
126
+ };
127
+ headers: unknown;
128
+ response: {
129
+ 200: import("./api").ApiResponse<import("./routes/pools").ClmmLiquidityLinePayload>;
130
+ 422: {
131
+ type: "validation";
132
+ on: string;
133
+ summary?: string;
134
+ message?: string;
135
+ found?: unknown;
136
+ property?: string;
137
+ expected?: string;
138
+ };
139
+ };
140
+ };
141
+ };
142
+ };
143
+ };
144
+ } & {
145
+ pools: {
146
+ prices: {
147
+ get: {
148
+ body: unknown;
149
+ params: {};
150
+ query: {
151
+ symbols?: string | undefined;
152
+ ids?: string | undefined;
153
+ };
154
+ headers: unknown;
155
+ response: {
156
+ 200: import("./api").ApiResponse<import("./routes/pools").TokenPricesResponse>;
157
+ 422: {
158
+ type: "validation";
159
+ on: string;
160
+ summary?: string;
161
+ message?: string;
162
+ found?: unknown;
163
+ property?: string;
164
+ expected?: string;
165
+ };
166
+ };
167
+ };
168
+ };
169
+ };
170
+ } & {
171
+ pools: {
172
+ info: {
173
+ mint: {
174
+ get: {
175
+ body: unknown;
176
+ params: {};
177
+ query: {
178
+ poolType?: "standard" | "concentrated" | "all" | undefined;
179
+ page?: number | undefined;
180
+ pageSize?: number | undefined;
181
+ mint2?: string | undefined;
182
+ mint1: string;
183
+ };
184
+ headers: unknown;
185
+ response: {
186
+ 200: import("./api").ApiResponse<import("./routes/pools").PoolListResponse>;
187
+ 422: {
188
+ type: "validation";
189
+ on: string;
190
+ summary?: string;
191
+ message?: string;
192
+ found?: unknown;
193
+ property?: string;
194
+ expected?: string;
195
+ };
196
+ };
197
+ };
198
+ };
199
+ };
200
+ };
201
+ } & {
202
+ pools: {
203
+ info: {
204
+ ids: {
205
+ get: {
206
+ body: unknown;
207
+ params: {};
208
+ query: {
209
+ ids: string;
210
+ };
211
+ headers: unknown;
212
+ response: {
213
+ 200: import("./api").ApiResponse<import("./routes/pools").PoolListFromIdsResponse>;
214
+ 422: {
215
+ type: "validation";
216
+ on: string;
217
+ summary?: string;
218
+ message?: string;
219
+ found?: unknown;
220
+ property?: string;
221
+ expected?: string;
222
+ };
223
+ };
224
+ };
225
+ };
226
+ };
227
+ };
228
+ } & {
229
+ pools: {
230
+ info: {
231
+ events: {
232
+ get: {
233
+ body: unknown;
234
+ params: {};
235
+ query: {
236
+ id: string;
237
+ };
238
+ headers: unknown;
239
+ response: {
240
+ 200: import("./api").ApiResponse<import("./routes/pools").Events>;
241
+ 422: {
242
+ type: "validation";
243
+ on: string;
244
+ summary?: string;
245
+ message?: string;
246
+ found?: unknown;
247
+ property?: string;
248
+ expected?: string;
249
+ };
250
+ };
251
+ };
252
+ };
253
+ };
254
+ };
255
+ } & {
256
+ pools: {
257
+ info: {
258
+ "clmm-positions": {
259
+ get: {
260
+ body: unknown;
261
+ params: {};
262
+ query: {
263
+ address: string;
264
+ };
265
+ headers: unknown;
266
+ response: {
267
+ 200: import("./api").ApiResponse<import("./api").ClmmPosition[]>;
268
+ 422: {
269
+ type: "validation";
270
+ on: string;
271
+ summary?: string;
272
+ message?: string;
273
+ found?: unknown;
274
+ property?: string;
275
+ expected?: string;
276
+ };
277
+ };
278
+ };
279
+ };
280
+ };
281
+ };
282
+ } & {
283
+ pools: {
284
+ info: {
285
+ list: {
286
+ get: {
287
+ body: unknown;
288
+ params: {};
289
+ query: {
290
+ poolType?: "standard" | "concentrated" | "all" | undefined;
291
+ page?: number | undefined;
292
+ pageSize?: number | undefined;
293
+ sortType?: "asc" | "desc" | undefined;
294
+ };
295
+ headers: unknown;
296
+ response: {
297
+ 200: import("./api").ApiResponse<import("./routes/pools").PoolListResponse>;
298
+ 422: {
299
+ type: "validation";
300
+ on: string;
301
+ summary?: string;
302
+ message?: string;
303
+ found?: unknown;
304
+ property?: string;
305
+ expected?: string;
306
+ };
307
+ };
308
+ };
309
+ };
310
+ };
311
+ };
312
+ } & {
313
+ pools: {
314
+ line: {
315
+ liquidity: {
316
+ get: {
317
+ body: unknown;
318
+ params: {};
319
+ query: {
320
+ startTime?: number | undefined;
321
+ endTime?: number | undefined;
322
+ id: string;
323
+ };
324
+ headers: unknown;
325
+ response: {
326
+ 200: import("./api").ApiResponse<import("./api").LiquidityLineData>;
327
+ 422: {
328
+ type: "validation";
329
+ on: string;
330
+ summary?: string;
331
+ message?: string;
332
+ found?: unknown;
333
+ property?: string;
334
+ expected?: string;
335
+ };
336
+ };
337
+ };
338
+ };
339
+ };
340
+ };
341
+ } & {
342
+ compute: {
343
+ "swap-base-in": {
344
+ get: {
345
+ body: unknown;
346
+ params: {};
347
+ query: {
348
+ slippageBps?: string | undefined;
349
+ poolType: "standard" | "concentrated";
350
+ inputMint: string;
351
+ outputMint: string;
352
+ amount: string;
353
+ };
354
+ headers: unknown;
355
+ response: {
356
+ 200: import("./api").ApiResponse<import("./api").SwapComputeResult>;
357
+ 422: {
358
+ type: "validation";
359
+ on: string;
360
+ summary?: string;
361
+ message?: string;
362
+ found?: unknown;
363
+ property?: string;
364
+ expected?: string;
365
+ };
366
+ };
367
+ };
368
+ };
369
+ };
370
+ } & {
371
+ compute: {
372
+ "swap-base-out": {
373
+ get: {
374
+ body: unknown;
375
+ params: {};
376
+ query: {
377
+ slippageBps?: string | undefined;
378
+ poolType: "standard" | "concentrated";
379
+ inputMint: string;
380
+ outputMint: string;
381
+ amount: string;
382
+ };
383
+ headers: unknown;
384
+ response: {
385
+ 200: import("./api").ApiResponse<import("./api").SwapComputeResult>;
386
+ 422: {
387
+ type: "validation";
388
+ on: string;
389
+ summary?: string;
390
+ message?: string;
391
+ found?: unknown;
392
+ property?: string;
393
+ expected?: string;
394
+ };
395
+ };
396
+ };
397
+ };
398
+ };
399
+ } & {
400
+ api: {
401
+ v1: {
402
+ ohlcv: {
403
+ get: {
404
+ body: unknown;
405
+ params: {};
406
+ query: {
407
+ type?: "1m" | "5m" | "15m" | "1h" | "4h" | "1d" | "1w" | undefined;
408
+ token0?: string | undefined;
409
+ token1?: string | undefined;
410
+ poolId?: string | undefined;
411
+ time_from?: number | undefined;
412
+ time_to?: number | undefined;
413
+ };
414
+ headers: unknown;
415
+ response: {
416
+ 200: import("./api").ApiResponse<import("./api").OHLVCResult>;
417
+ 422: {
418
+ type: "validation";
419
+ on: string;
420
+ summary?: string;
421
+ message?: string;
422
+ found?: unknown;
423
+ property?: string;
424
+ expected?: string;
425
+ };
426
+ };
427
+ };
428
+ };
429
+ };
430
+ };
431
+ } & {
432
+ ws: {
433
+ "pool-state": {
434
+ subscribe: {
435
+ body: unknown;
436
+ params: {};
437
+ query: unknown;
438
+ headers: unknown;
439
+ response: {};
440
+ };
441
+ };
442
+ };
443
+ }, {
444
+ derive: {};
445
+ resolve: {};
446
+ schema: {};
447
+ standaloneSchema: {};
448
+ response: {};
449
+ }, {
450
+ derive: {};
451
+ resolve: {};
452
+ schema: {};
453
+ standaloneSchema: {};
454
+ response: {};
455
+ } & {
456
+ derive: {};
457
+ resolve: {};
458
+ schema: {};
459
+ standaloneSchema: {};
460
+ response: {};
461
+ } & {
462
+ derive: {};
463
+ resolve: {};
464
+ schema: {};
465
+ standaloneSchema: {};
466
+ response: {};
467
+ } & {
468
+ derive: {};
469
+ resolve: {};
470
+ schema: {};
471
+ standaloneSchema: {};
472
+ }>;
473
+ export declare const app: Elysia<"", {
474
+ decorator: {};
475
+ store: {};
476
+ derive: {};
477
+ resolve: {};
478
+ }, {
479
+ typebox: {};
480
+ error: {};
481
+ } & {
482
+ typebox: {};
483
+ error: {};
484
+ } & {
485
+ typebox: {};
486
+ error: {};
487
+ }, {
488
+ schema: {};
489
+ standaloneSchema: {};
490
+ macro: {};
491
+ macroFn: {};
492
+ parser: {};
493
+ response: {};
494
+ } & {
495
+ schema: {};
496
+ standaloneSchema: {};
497
+ macro: {};
498
+ macroFn: {};
499
+ parser: {};
500
+ 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
+ };
524
+ };
525
+ } & {
526
+ schema: {};
527
+ standaloneSchema: {};
528
+ macro: {};
529
+ macroFn: {};
530
+ parser: {};
531
+ response: {};
532
+ } & {
533
+ schema: {};
534
+ standaloneSchema: {};
535
+ macro: {};
536
+ macroFn: {};
537
+ parser: {};
538
+ }, {
539
+ "token-list": {
540
+ "devnet.json": {
541
+ get: {
542
+ body: unknown;
543
+ params: {};
544
+ query: unknown;
545
+ headers: unknown;
546
+ 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
+ };
570
+ };
571
+ };
572
+ };
573
+ };
574
+ } & {
575
+ pools: {
576
+ tokens: {
577
+ get: {
578
+ body: unknown;
579
+ params: {};
580
+ query: unknown;
581
+ headers: unknown;
582
+ response: {
583
+ 200: import("./api").ApiResponse<import("./routes/pools").TokenListResponse>;
584
+ };
585
+ };
586
+ };
587
+ };
588
+ } & {
589
+ pools: {
590
+ line: {
591
+ position: {
592
+ get: {
593
+ body: unknown;
594
+ params: {};
595
+ query: {
596
+ id: string;
597
+ };
598
+ headers: unknown;
599
+ response: {
600
+ 200: import("./api").ApiResponse<import("./routes/pools").ClmmLiquidityLinePayload>;
601
+ 422: {
602
+ type: "validation";
603
+ on: string;
604
+ summary?: string;
605
+ message?: string;
606
+ found?: unknown;
607
+ property?: string;
608
+ expected?: string;
609
+ };
610
+ };
611
+ };
612
+ };
613
+ };
614
+ };
615
+ } & {
616
+ pools: {
617
+ prices: {
618
+ get: {
619
+ body: unknown;
620
+ params: {};
621
+ query: {
622
+ symbols?: string | undefined;
623
+ ids?: string | undefined;
624
+ };
625
+ headers: unknown;
626
+ response: {
627
+ 200: import("./api").ApiResponse<import("./routes/pools").TokenPricesResponse>;
628
+ 422: {
629
+ type: "validation";
630
+ on: string;
631
+ summary?: string;
632
+ message?: string;
633
+ found?: unknown;
634
+ property?: string;
635
+ expected?: string;
636
+ };
637
+ };
638
+ };
639
+ };
640
+ };
641
+ } & {
642
+ pools: {
643
+ info: {
644
+ mint: {
645
+ get: {
646
+ body: unknown;
647
+ params: {};
648
+ query: {
649
+ poolType?: "standard" | "concentrated" | "all" | undefined;
650
+ page?: number | undefined;
651
+ pageSize?: number | undefined;
652
+ mint2?: string | undefined;
653
+ mint1: string;
654
+ };
655
+ headers: unknown;
656
+ response: {
657
+ 200: import("./api").ApiResponse<import("./routes/pools").PoolListResponse>;
658
+ 422: {
659
+ type: "validation";
660
+ on: string;
661
+ summary?: string;
662
+ message?: string;
663
+ found?: unknown;
664
+ property?: string;
665
+ expected?: string;
666
+ };
667
+ };
668
+ };
669
+ };
670
+ };
671
+ };
672
+ } & {
673
+ pools: {
674
+ info: {
675
+ ids: {
676
+ get: {
677
+ body: unknown;
678
+ params: {};
679
+ query: {
680
+ ids: string;
681
+ };
682
+ headers: unknown;
683
+ response: {
684
+ 200: import("./api").ApiResponse<import("./routes/pools").PoolListFromIdsResponse>;
685
+ 422: {
686
+ type: "validation";
687
+ on: string;
688
+ summary?: string;
689
+ message?: string;
690
+ found?: unknown;
691
+ property?: string;
692
+ expected?: string;
693
+ };
694
+ };
695
+ };
696
+ };
697
+ };
698
+ };
699
+ } & {
700
+ pools: {
701
+ info: {
702
+ events: {
703
+ get: {
704
+ body: unknown;
705
+ params: {};
706
+ query: {
707
+ id: string;
708
+ };
709
+ headers: unknown;
710
+ response: {
711
+ 200: import("./api").ApiResponse<import("./routes/pools").Events>;
712
+ 422: {
713
+ type: "validation";
714
+ on: string;
715
+ summary?: string;
716
+ message?: string;
717
+ found?: unknown;
718
+ property?: string;
719
+ expected?: string;
720
+ };
721
+ };
722
+ };
723
+ };
724
+ };
725
+ };
726
+ } & {
727
+ pools: {
728
+ info: {
729
+ "clmm-positions": {
730
+ get: {
731
+ body: unknown;
732
+ params: {};
733
+ query: {
734
+ address: string;
735
+ };
736
+ headers: unknown;
737
+ response: {
738
+ 200: import("./api").ApiResponse<import("./api").ClmmPosition[]>;
739
+ 422: {
740
+ type: "validation";
741
+ on: string;
742
+ summary?: string;
743
+ message?: string;
744
+ found?: unknown;
745
+ property?: string;
746
+ expected?: string;
747
+ };
748
+ };
749
+ };
750
+ };
751
+ };
752
+ };
753
+ } & {
754
+ pools: {
755
+ info: {
756
+ list: {
757
+ get: {
758
+ body: unknown;
759
+ params: {};
760
+ query: {
761
+ poolType?: "standard" | "concentrated" | "all" | undefined;
762
+ page?: number | undefined;
763
+ pageSize?: number | undefined;
764
+ sortType?: "asc" | "desc" | undefined;
765
+ };
766
+ headers: unknown;
767
+ response: {
768
+ 200: import("./api").ApiResponse<import("./routes/pools").PoolListResponse>;
769
+ 422: {
770
+ type: "validation";
771
+ on: string;
772
+ summary?: string;
773
+ message?: string;
774
+ found?: unknown;
775
+ property?: string;
776
+ expected?: string;
777
+ };
778
+ };
779
+ };
780
+ };
781
+ };
782
+ };
783
+ } & {
784
+ pools: {
785
+ line: {
786
+ liquidity: {
787
+ get: {
788
+ body: unknown;
789
+ params: {};
790
+ query: {
791
+ startTime?: number | undefined;
792
+ endTime?: number | undefined;
793
+ id: string;
794
+ };
795
+ headers: unknown;
796
+ response: {
797
+ 200: import("./api").ApiResponse<import("./api").LiquidityLineData>;
798
+ 422: {
799
+ type: "validation";
800
+ on: string;
801
+ summary?: string;
802
+ message?: string;
803
+ found?: unknown;
804
+ property?: string;
805
+ expected?: string;
806
+ };
807
+ };
808
+ };
809
+ };
810
+ };
811
+ };
812
+ } & {
813
+ compute: {
814
+ "swap-base-in": {
815
+ get: {
816
+ body: unknown;
817
+ params: {};
818
+ query: {
819
+ slippageBps?: string | undefined;
820
+ poolType: "standard" | "concentrated";
821
+ inputMint: string;
822
+ outputMint: string;
823
+ amount: string;
824
+ };
825
+ headers: unknown;
826
+ response: {
827
+ 200: import("./api").ApiResponse<import("./api").SwapComputeResult>;
828
+ 422: {
829
+ type: "validation";
830
+ on: string;
831
+ summary?: string;
832
+ message?: string;
833
+ found?: unknown;
834
+ property?: string;
835
+ expected?: string;
836
+ };
837
+ };
838
+ };
839
+ };
840
+ };
841
+ } & {
842
+ compute: {
843
+ "swap-base-out": {
844
+ get: {
845
+ body: unknown;
846
+ params: {};
847
+ query: {
848
+ slippageBps?: string | undefined;
849
+ poolType: "standard" | "concentrated";
850
+ inputMint: string;
851
+ outputMint: string;
852
+ amount: string;
853
+ };
854
+ headers: unknown;
855
+ response: {
856
+ 200: import("./api").ApiResponse<import("./api").SwapComputeResult>;
857
+ 422: {
858
+ type: "validation";
859
+ on: string;
860
+ summary?: string;
861
+ message?: string;
862
+ found?: unknown;
863
+ property?: string;
864
+ expected?: string;
865
+ };
866
+ };
867
+ };
868
+ };
869
+ };
870
+ } & {
871
+ api: {
872
+ v1: {
873
+ ohlcv: {
874
+ get: {
875
+ body: unknown;
876
+ params: {};
877
+ query: {
878
+ type?: "1m" | "5m" | "15m" | "1h" | "4h" | "1d" | "1w" | undefined;
879
+ token0?: string | undefined;
880
+ token1?: string | undefined;
881
+ poolId?: string | undefined;
882
+ time_from?: number | undefined;
883
+ time_to?: number | undefined;
884
+ };
885
+ headers: unknown;
886
+ response: {
887
+ 200: import("./api").ApiResponse<import("./api").OHLVCResult>;
888
+ 422: {
889
+ type: "validation";
890
+ on: string;
891
+ summary?: string;
892
+ message?: string;
893
+ found?: unknown;
894
+ property?: string;
895
+ expected?: string;
896
+ };
897
+ };
898
+ };
899
+ };
900
+ };
901
+ };
902
+ } & {
903
+ ws: {
904
+ "pool-state": {
905
+ subscribe: {
906
+ body: unknown;
907
+ params: {};
908
+ query: unknown;
909
+ headers: unknown;
910
+ response: {};
911
+ };
912
+ };
913
+ };
914
+ }, {
915
+ derive: {};
916
+ resolve: {};
917
+ schema: {};
918
+ standaloneSchema: {};
919
+ response: {};
920
+ }, {
921
+ derive: {};
922
+ resolve: {};
923
+ schema: {};
924
+ standaloneSchema: {};
925
+ response: {};
926
+ } & {
927
+ derive: {};
928
+ resolve: {};
929
+ schema: {};
930
+ standaloneSchema: {};
931
+ response: {};
932
+ } & {
933
+ derive: {};
934
+ resolve: {};
935
+ schema: {};
936
+ standaloneSchema: {};
937
+ response: {};
938
+ } & {
939
+ derive: {};
940
+ resolve: {};
941
+ schema: {};
942
+ standaloneSchema: {};
943
+ }>;
944
+ export type App = typeof app;
945
+ //# sourceMappingURL=app.d.ts.map