@merkl/api 0.10.192 → 0.10.194

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.
@@ -301,7 +301,7 @@ declare const eden: {
301
301
  get: (options: {
302
302
  headers?: Record<string, unknown> | undefined;
303
303
  query: {
304
- sort?: undefined;
304
+ sort?: "tvl" | "apr" | "rewards" | undefined;
305
305
  name?: string | undefined;
306
306
  tokens?: string | undefined;
307
307
  status?: string | undefined;
@@ -311,7 +311,7 @@ declare const eden: {
311
311
  page?: number | undefined;
312
312
  action?: string | undefined;
313
313
  mainProtocolId?: string | undefined;
314
- order?: undefined;
314
+ order?: "asc" | "desc" | undefined;
315
315
  test?: boolean | undefined;
316
316
  minimumTvl?: number | undefined;
317
317
  };
@@ -410,7 +410,7 @@ declare const eden: {
410
410
  get: (options: {
411
411
  headers?: Record<string, unknown> | undefined;
412
412
  query: {
413
- sort?: undefined;
413
+ sort?: "tvl" | "apr" | "rewards" | undefined;
414
414
  name?: string | undefined;
415
415
  tokens?: string | undefined;
416
416
  status?: string | undefined;
@@ -420,7 +420,7 @@ declare const eden: {
420
420
  page?: number | undefined;
421
421
  action?: string | undefined;
422
422
  mainProtocolId?: string | undefined;
423
- order?: undefined;
423
+ order?: "asc" | "desc" | undefined;
424
424
  test?: boolean | undefined;
425
425
  minimumTvl?: number | undefined;
426
426
  };
@@ -435,7 +435,7 @@ declare const eden: {
435
435
  get: (options: {
436
436
  headers?: Record<string, unknown> | undefined;
437
437
  query: {
438
- sort?: undefined;
438
+ sort?: "tvl" | "apr" | "rewards" | undefined;
439
439
  name?: string | undefined;
440
440
  tokens?: string | undefined;
441
441
  status?: string | undefined;
@@ -445,7 +445,7 @@ declare const eden: {
445
445
  page?: number | undefined;
446
446
  action?: string | undefined;
447
447
  mainProtocolId?: string | undefined;
448
- order?: undefined;
448
+ order?: "asc" | "desc" | undefined;
449
449
  test?: boolean | undefined;
450
450
  minimumTvl?: number | undefined;
451
451
  };
@@ -2303,7 +2303,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2303
2303
  body: unknown;
2304
2304
  params: {};
2305
2305
  query: {
2306
- sort?: undefined;
2306
+ sort?: "tvl" | "apr" | "rewards" | undefined;
2307
2307
  name?: string | undefined;
2308
2308
  tokens?: string | undefined;
2309
2309
  status?: string | undefined;
@@ -2313,7 +2313,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2313
2313
  page?: number | undefined;
2314
2314
  action?: string | undefined;
2315
2315
  mainProtocolId?: string | undefined;
2316
- order?: undefined;
2316
+ order?: "asc" | "desc" | undefined;
2317
2317
  test?: boolean | undefined;
2318
2318
  minimumTvl?: number | undefined;
2319
2319
  };
@@ -2417,7 +2417,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2417
2417
  body: unknown;
2418
2418
  params: {};
2419
2419
  query: {
2420
- sort?: undefined;
2420
+ sort?: "tvl" | "apr" | "rewards" | undefined;
2421
2421
  name?: string | undefined;
2422
2422
  tokens?: string | undefined;
2423
2423
  status?: string | undefined;
@@ -2427,7 +2427,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2427
2427
  page?: number | undefined;
2428
2428
  action?: string | undefined;
2429
2429
  mainProtocolId?: string | undefined;
2430
- order?: undefined;
2430
+ order?: "asc" | "desc" | undefined;
2431
2431
  test?: boolean | undefined;
2432
2432
  minimumTvl?: number | undefined;
2433
2433
  };
@@ -2448,7 +2448,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2448
2448
  field: never;
2449
2449
  };
2450
2450
  query: {
2451
- sort?: undefined;
2451
+ sort?: "tvl" | "apr" | "rewards" | undefined;
2452
2452
  name?: string | undefined;
2453
2453
  tokens?: string | undefined;
2454
2454
  status?: string | undefined;
@@ -2458,7 +2458,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2458
2458
  page?: number | undefined;
2459
2459
  action?: string | undefined;
2460
2460
  mainProtocolId?: string | undefined;
2461
- order?: undefined;
2461
+ order?: "asc" | "desc" | undefined;
2462
2462
  test?: boolean | undefined;
2463
2463
  minimumTvl?: number | undefined;
2464
2464
  };
@@ -4739,7 +4739,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4739
4739
  get: (options: {
4740
4740
  headers?: Record<string, unknown> | undefined;
4741
4741
  query: {
4742
- sort?: undefined;
4742
+ sort?: "tvl" | "apr" | "rewards" | undefined;
4743
4743
  name?: string | undefined;
4744
4744
  tokens?: string | undefined;
4745
4745
  status?: string | undefined;
@@ -4749,7 +4749,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4749
4749
  page?: number | undefined;
4750
4750
  action?: string | undefined;
4751
4751
  mainProtocolId?: string | undefined;
4752
- order?: undefined;
4752
+ order?: "asc" | "desc" | undefined;
4753
4753
  test?: boolean | undefined;
4754
4754
  minimumTvl?: number | undefined;
4755
4755
  };
@@ -4848,7 +4848,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4848
4848
  get: (options: {
4849
4849
  headers?: Record<string, unknown> | undefined;
4850
4850
  query: {
4851
- sort?: undefined;
4851
+ sort?: "tvl" | "apr" | "rewards" | undefined;
4852
4852
  name?: string | undefined;
4853
4853
  tokens?: string | undefined;
4854
4854
  status?: string | undefined;
@@ -4858,7 +4858,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4858
4858
  page?: number | undefined;
4859
4859
  action?: string | undefined;
4860
4860
  mainProtocolId?: string | undefined;
4861
- order?: undefined;
4861
+ order?: "asc" | "desc" | undefined;
4862
4862
  test?: boolean | undefined;
4863
4863
  minimumTvl?: number | undefined;
4864
4864
  };
@@ -4873,7 +4873,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4873
4873
  get: (options: {
4874
4874
  headers?: Record<string, unknown> | undefined;
4875
4875
  query: {
4876
- sort?: undefined;
4876
+ sort?: "tvl" | "apr" | "rewards" | undefined;
4877
4877
  name?: string | undefined;
4878
4878
  tokens?: string | undefined;
4879
4879
  status?: string | undefined;
@@ -4883,7 +4883,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4883
4883
  page?: number | undefined;
4884
4884
  action?: string | undefined;
4885
4885
  mainProtocolId?: string | undefined;
4886
- order?: undefined;
4886
+ order?: "asc" | "desc" | undefined;
4887
4887
  test?: boolean | undefined;
4888
4888
  minimumTvl?: number | undefined;
4889
4889
  };
@@ -326,7 +326,7 @@ declare const app: Elysia<"", false, {
326
326
  body: unknown;
327
327
  params: {};
328
328
  query: {
329
- sort?: undefined;
329
+ sort?: "tvl" | "apr" | "rewards" | undefined;
330
330
  name?: string | undefined;
331
331
  tokens?: string | undefined;
332
332
  status?: string | undefined;
@@ -336,7 +336,7 @@ declare const app: Elysia<"", false, {
336
336
  page?: number | undefined;
337
337
  action?: string | undefined;
338
338
  mainProtocolId?: string | undefined;
339
- order?: undefined;
339
+ order?: "asc" | "desc" | undefined;
340
340
  test?: boolean | undefined;
341
341
  minimumTvl?: number | undefined;
342
342
  };
@@ -440,7 +440,7 @@ declare const app: Elysia<"", false, {
440
440
  body: unknown;
441
441
  params: {};
442
442
  query: {
443
- sort?: undefined;
443
+ sort?: "tvl" | "apr" | "rewards" | undefined;
444
444
  name?: string | undefined;
445
445
  tokens?: string | undefined;
446
446
  status?: string | undefined;
@@ -450,7 +450,7 @@ declare const app: Elysia<"", false, {
450
450
  page?: number | undefined;
451
451
  action?: string | undefined;
452
452
  mainProtocolId?: string | undefined;
453
- order?: undefined;
453
+ order?: "asc" | "desc" | undefined;
454
454
  test?: boolean | undefined;
455
455
  minimumTvl?: number | undefined;
456
456
  };
@@ -471,7 +471,7 @@ declare const app: Elysia<"", false, {
471
471
  field: never;
472
472
  };
473
473
  query: {
474
- sort?: undefined;
474
+ sort?: "tvl" | "apr" | "rewards" | undefined;
475
475
  name?: string | undefined;
476
476
  tokens?: string | undefined;
477
477
  status?: string | undefined;
@@ -481,7 +481,7 @@ declare const app: Elysia<"", false, {
481
481
  page?: number | undefined;
482
482
  action?: string | undefined;
483
483
  mainProtocolId?: string | undefined;
484
- order?: undefined;
484
+ order?: "asc" | "desc" | undefined;
485
485
  test?: boolean | undefined;
486
486
  minimumTvl?: number | undefined;
487
487
  };
@@ -12,11 +12,12 @@ import type { Status } from "../status";
12
12
  export type Campaign<C extends CampaignType = CampaignType> = Resource<"Campaign", "opportunityId" | "rewardTokenId" | "params", {
13
13
  chain: Chain["model"];
14
14
  rewardToken: Token["model"];
15
- params: CampaignParameters<ConvertedCampaignType<C>>["campaignParameters"];
16
15
  distributionChain?: Chain["model"];
17
16
  campaignStatus?: Status["model"];
18
17
  }>;
19
- export type CampaignWithParams<C extends CampaignType = CampaignType> = Campaign<C> & Resource<"Campaign", "opportunityId" | "rewardTokenId" | (keyof Campaign["model"] & keyof Resource<"Campaign">)>;
18
+ export type CampaignWithParams<C extends CampaignType = CampaignType> = Campaign<C> & Resource<"Campaign", "opportunityId" | "rewardTokenId" | (keyof Campaign["model"] & keyof Resource<"Campaign">), {
19
+ params: CampaignParameters<ConvertedCampaignType<C>>["campaignParameters"];
20
+ }>;
20
21
  export declare const campaignTypeToEnumMap: {
21
22
  readonly INVALID: any;
22
23
  readonly CLAMM: any;
@@ -299,7 +299,7 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
299
299
  body: unknown;
300
300
  params: {};
301
301
  query: {
302
- sort?: undefined;
302
+ sort?: "tvl" | "apr" | "rewards" | undefined;
303
303
  name?: string | undefined;
304
304
  tokens?: string | undefined;
305
305
  status?: string | undefined;
@@ -309,7 +309,7 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
309
309
  page?: number | undefined;
310
310
  action?: string | undefined;
311
311
  mainProtocolId?: string | undefined;
312
- order?: undefined;
312
+ order?: "asc" | "desc" | undefined;
313
313
  test?: boolean | undefined;
314
314
  minimumTvl?: number | undefined;
315
315
  };
@@ -413,7 +413,7 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
413
413
  body: unknown;
414
414
  params: {};
415
415
  query: {
416
- sort?: undefined;
416
+ sort?: "tvl" | "apr" | "rewards" | undefined;
417
417
  name?: string | undefined;
418
418
  tokens?: string | undefined;
419
419
  status?: string | undefined;
@@ -423,7 +423,7 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
423
423
  page?: number | undefined;
424
424
  action?: string | undefined;
425
425
  mainProtocolId?: string | undefined;
426
- order?: undefined;
426
+ order?: "asc" | "desc" | undefined;
427
427
  test?: boolean | undefined;
428
428
  minimumTvl?: number | undefined;
429
429
  };
@@ -444,7 +444,7 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
444
444
  field: never;
445
445
  };
446
446
  query: {
447
- sort?: undefined;
447
+ sort?: "tvl" | "apr" | "rewards" | undefined;
448
448
  name?: string | undefined;
449
449
  tokens?: string | undefined;
450
450
  status?: string | undefined;
@@ -454,7 +454,7 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
454
454
  page?: number | undefined;
455
455
  action?: string | undefined;
456
456
  mainProtocolId?: string | undefined;
457
- order?: undefined;
457
+ order?: "asc" | "desc" | undefined;
458
458
  test?: boolean | undefined;
459
459
  minimumTvl?: number | undefined;
460
460
  };
@@ -62,8 +62,8 @@ export declare const GetOpportunitiesQueryDto: import("@sinclair/typebox").TObje
62
62
  LIVE: "LIVE";
63
63
  SOON: "SOON";
64
64
  }>, import("@sinclair/typebox").TRegExp]>>;
65
- sort: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<"tvl" | "apr" | "rewards">[]>>;
66
- order: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<"asc" | "desc">[]>>;
65
+ sort: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"apr">, import("@sinclair/typebox").TLiteral<"tvl">, import("@sinclair/typebox").TLiteral<"rewards">]>>;
66
+ order: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"asc">, import("@sinclair/typebox").TLiteral<"desc">]>>;
67
67
  mainProtocolId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
68
68
  page: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
69
69
  items: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
@@ -19,8 +19,8 @@ export const GetOpportunitiesQueryDto = t.Object({
19
19
  minimumTvl: t.Optional(t.Number()),
20
20
  tokens: t.Optional(t.String({ title: "Symbol" })),
21
21
  status: t.Optional(t.Union([t.Enum(Status), t.RegExp(/^(LIVE|PAST|SOON)+(,(LIVE|PAST|SOON)+)*$/)])),
22
- sort: t.Optional(t.Union(["apr", "tvl", "rewards"].map(v => t.Literal(v)))),
23
- order: t.Optional(t.Union(["desc", "asc"].map(v => t.Literal(v)))),
22
+ sort: t.Optional(t.Union([t.Literal("apr"), t.Literal("tvl"), t.Literal("rewards")])),
23
+ order: t.Optional(t.Union([t.Literal("asc"), t.Literal("desc")])),
24
24
  mainProtocolId: t.Optional(t.String()),
25
25
  page: t.Optional(t.Numeric()), // 0-indexed
26
26
  items: t.Optional(t.Numeric()), // items per page
@@ -308,7 +308,7 @@ export declare const v4: Elysia<"/v4", false, {
308
308
  body: unknown;
309
309
  params: {};
310
310
  query: {
311
- sort?: undefined;
311
+ sort?: "tvl" | "apr" | "rewards" | undefined;
312
312
  name?: string | undefined;
313
313
  tokens?: string | undefined;
314
314
  status?: string | undefined;
@@ -318,7 +318,7 @@ export declare const v4: Elysia<"/v4", false, {
318
318
  page?: number | undefined;
319
319
  action?: string | undefined;
320
320
  mainProtocolId?: string | undefined;
321
- order?: undefined;
321
+ order?: "asc" | "desc" | undefined;
322
322
  test?: boolean | undefined;
323
323
  minimumTvl?: number | undefined;
324
324
  };
@@ -422,7 +422,7 @@ export declare const v4: Elysia<"/v4", false, {
422
422
  body: unknown;
423
423
  params: {};
424
424
  query: {
425
- sort?: undefined;
425
+ sort?: "tvl" | "apr" | "rewards" | undefined;
426
426
  name?: string | undefined;
427
427
  tokens?: string | undefined;
428
428
  status?: string | undefined;
@@ -432,7 +432,7 @@ export declare const v4: Elysia<"/v4", false, {
432
432
  page?: number | undefined;
433
433
  action?: string | undefined;
434
434
  mainProtocolId?: string | undefined;
435
- order?: undefined;
435
+ order?: "asc" | "desc" | undefined;
436
436
  test?: boolean | undefined;
437
437
  minimumTvl?: number | undefined;
438
438
  };
@@ -453,7 +453,7 @@ export declare const v4: Elysia<"/v4", false, {
453
453
  field: never;
454
454
  };
455
455
  query: {
456
- sort?: undefined;
456
+ sort?: "tvl" | "apr" | "rewards" | undefined;
457
457
  name?: string | undefined;
458
458
  tokens?: string | undefined;
459
459
  status?: string | undefined;
@@ -463,7 +463,7 @@ export declare const v4: Elysia<"/v4", false, {
463
463
  page?: number | undefined;
464
464
  action?: string | undefined;
465
465
  mainProtocolId?: string | undefined;
466
- order?: undefined;
466
+ order?: "asc" | "desc" | undefined;
467
467
  test?: boolean | undefined;
468
468
  minimumTvl?: number | undefined;
469
469
  };
@@ -332,7 +332,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
332
332
  body: unknown;
333
333
  params: {};
334
334
  query: {
335
- sort?: undefined;
335
+ sort?: "tvl" | "apr" | "rewards" | undefined;
336
336
  name?: string | undefined;
337
337
  tokens?: string | undefined;
338
338
  status?: string | undefined;
@@ -342,7 +342,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
342
342
  page?: number | undefined;
343
343
  action?: string | undefined;
344
344
  mainProtocolId?: string | undefined;
345
- order?: undefined;
345
+ order?: "asc" | "desc" | undefined;
346
346
  test?: boolean | undefined;
347
347
  minimumTvl?: number | undefined;
348
348
  };
@@ -446,7 +446,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
446
446
  body: unknown;
447
447
  params: {};
448
448
  query: {
449
- sort?: undefined;
449
+ sort?: "tvl" | "apr" | "rewards" | undefined;
450
450
  name?: string | undefined;
451
451
  tokens?: string | undefined;
452
452
  status?: string | undefined;
@@ -456,7 +456,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
456
456
  page?: number | undefined;
457
457
  action?: string | undefined;
458
458
  mainProtocolId?: string | undefined;
459
- order?: undefined;
459
+ order?: "asc" | "desc" | undefined;
460
460
  test?: boolean | undefined;
461
461
  minimumTvl?: number | undefined;
462
462
  };
@@ -477,7 +477,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
477
477
  field: never;
478
478
  };
479
479
  query: {
480
- sort?: undefined;
480
+ sort?: "tvl" | "apr" | "rewards" | undefined;
481
481
  name?: string | undefined;
482
482
  tokens?: string | undefined;
483
483
  status?: string | undefined;
@@ -487,7 +487,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
487
487
  page?: number | undefined;
488
488
  action?: string | undefined;
489
489
  mainProtocolId?: string | undefined;
490
- order?: undefined;
490
+ order?: "asc" | "desc" | undefined;
491
491
  test?: boolean | undefined;
492
492
  minimumTvl?: number | undefined;
493
493
  };
@@ -335,7 +335,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
335
335
  body: unknown;
336
336
  params: {};
337
337
  query: {
338
- sort?: undefined;
338
+ sort?: "tvl" | "apr" | "rewards" | undefined;
339
339
  name?: string | undefined;
340
340
  tokens?: string | undefined;
341
341
  status?: string | undefined;
@@ -345,7 +345,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
345
345
  page?: number | undefined;
346
346
  action?: string | undefined;
347
347
  mainProtocolId?: string | undefined;
348
- order?: undefined;
348
+ order?: "asc" | "desc" | undefined;
349
349
  test?: boolean | undefined;
350
350
  minimumTvl?: number | undefined;
351
351
  };
@@ -449,7 +449,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
449
449
  body: unknown;
450
450
  params: {};
451
451
  query: {
452
- sort?: undefined;
452
+ sort?: "tvl" | "apr" | "rewards" | undefined;
453
453
  name?: string | undefined;
454
454
  tokens?: string | undefined;
455
455
  status?: string | undefined;
@@ -459,7 +459,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
459
459
  page?: number | undefined;
460
460
  action?: string | undefined;
461
461
  mainProtocolId?: string | undefined;
462
- order?: undefined;
462
+ order?: "asc" | "desc" | undefined;
463
463
  test?: boolean | undefined;
464
464
  minimumTvl?: number | undefined;
465
465
  };
@@ -480,7 +480,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
480
480
  field: never;
481
481
  };
482
482
  query: {
483
- sort?: undefined;
483
+ sort?: "tvl" | "apr" | "rewards" | undefined;
484
484
  name?: string | undefined;
485
485
  tokens?: string | undefined;
486
486
  status?: string | undefined;
@@ -490,7 +490,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
490
490
  page?: number | undefined;
491
491
  action?: string | undefined;
492
492
  mainProtocolId?: string | undefined;
493
- order?: undefined;
493
+ order?: "asc" | "desc" | undefined;
494
494
  test?: boolean | undefined;
495
495
  minimumTvl?: number | undefined;
496
496
  };
@@ -326,7 +326,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
326
326
  body: unknown;
327
327
  params: {};
328
328
  query: {
329
- sort?: undefined;
329
+ sort?: "tvl" | "apr" | "rewards" | undefined;
330
330
  name?: string | undefined;
331
331
  tokens?: string | undefined;
332
332
  status?: string | undefined;
@@ -336,7 +336,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
336
336
  page?: number | undefined;
337
337
  action?: string | undefined;
338
338
  mainProtocolId?: string | undefined;
339
- order?: undefined;
339
+ order?: "asc" | "desc" | undefined;
340
340
  test?: boolean | undefined;
341
341
  minimumTvl?: number | undefined;
342
342
  };
@@ -440,7 +440,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
440
440
  body: unknown;
441
441
  params: {};
442
442
  query: {
443
- sort?: undefined;
443
+ sort?: "tvl" | "apr" | "rewards" | undefined;
444
444
  name?: string | undefined;
445
445
  tokens?: string | undefined;
446
446
  status?: string | undefined;
@@ -450,7 +450,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
450
450
  page?: number | undefined;
451
451
  action?: string | undefined;
452
452
  mainProtocolId?: string | undefined;
453
- order?: undefined;
453
+ order?: "asc" | "desc" | undefined;
454
454
  test?: boolean | undefined;
455
455
  minimumTvl?: number | undefined;
456
456
  };
@@ -471,7 +471,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
471
471
  field: never;
472
472
  };
473
473
  query: {
474
- sort?: undefined;
474
+ sort?: "tvl" | "apr" | "rewards" | undefined;
475
475
  name?: string | undefined;
476
476
  tokens?: string | undefined;
477
477
  status?: string | undefined;
@@ -481,7 +481,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
481
481
  page?: number | undefined;
482
482
  action?: string | undefined;
483
483
  mainProtocolId?: string | undefined;
484
- order?: undefined;
484
+ order?: "asc" | "desc" | undefined;
485
485
  test?: boolean | undefined;
486
486
  minimumTvl?: number | undefined;
487
487
  };
@@ -331,7 +331,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
331
331
  body: unknown;
332
332
  params: {};
333
333
  query: {
334
- sort?: undefined;
334
+ sort?: "tvl" | "apr" | "rewards" | undefined;
335
335
  name?: string | undefined;
336
336
  tokens?: string | undefined;
337
337
  status?: string | undefined;
@@ -341,7 +341,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
341
341
  page?: number | undefined;
342
342
  action?: string | undefined;
343
343
  mainProtocolId?: string | undefined;
344
- order?: undefined;
344
+ order?: "asc" | "desc" | undefined;
345
345
  test?: boolean | undefined;
346
346
  minimumTvl?: number | undefined;
347
347
  };
@@ -445,7 +445,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
445
445
  body: unknown;
446
446
  params: {};
447
447
  query: {
448
- sort?: undefined;
448
+ sort?: "tvl" | "apr" | "rewards" | undefined;
449
449
  name?: string | undefined;
450
450
  tokens?: string | undefined;
451
451
  status?: string | undefined;
@@ -455,7 +455,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
455
455
  page?: number | undefined;
456
456
  action?: string | undefined;
457
457
  mainProtocolId?: string | undefined;
458
- order?: undefined;
458
+ order?: "asc" | "desc" | undefined;
459
459
  test?: boolean | undefined;
460
460
  minimumTvl?: number | undefined;
461
461
  };
@@ -476,7 +476,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
476
476
  field: never;
477
477
  };
478
478
  query: {
479
- sort?: undefined;
479
+ sort?: "tvl" | "apr" | "rewards" | undefined;
480
480
  name?: string | undefined;
481
481
  tokens?: string | undefined;
482
482
  status?: string | undefined;
@@ -486,7 +486,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
486
486
  page?: number | undefined;
487
487
  action?: string | undefined;
488
488
  mainProtocolId?: string | undefined;
489
- order?: undefined;
489
+ order?: "asc" | "desc" | undefined;
490
490
  test?: boolean | undefined;
491
491
  minimumTvl?: number | undefined;
492
492
  };
@@ -349,7 +349,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
349
349
  body: unknown;
350
350
  params: {};
351
351
  query: {
352
- sort?: undefined;
352
+ sort?: "tvl" | "apr" | "rewards" | undefined;
353
353
  name?: string | undefined;
354
354
  tokens?: string | undefined;
355
355
  status?: string | undefined;
@@ -359,7 +359,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
359
359
  page?: number | undefined;
360
360
  action?: string | undefined;
361
361
  mainProtocolId?: string | undefined;
362
- order?: undefined;
362
+ order?: "asc" | "desc" | undefined;
363
363
  test?: boolean | undefined;
364
364
  minimumTvl?: number | undefined;
365
365
  };
@@ -463,7 +463,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
463
463
  body: unknown;
464
464
  params: {};
465
465
  query: {
466
- sort?: undefined;
466
+ sort?: "tvl" | "apr" | "rewards" | undefined;
467
467
  name?: string | undefined;
468
468
  tokens?: string | undefined;
469
469
  status?: string | undefined;
@@ -473,7 +473,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
473
473
  page?: number | undefined;
474
474
  action?: string | undefined;
475
475
  mainProtocolId?: string | undefined;
476
- order?: undefined;
476
+ order?: "asc" | "desc" | undefined;
477
477
  test?: boolean | undefined;
478
478
  minimumTvl?: number | undefined;
479
479
  };
@@ -494,7 +494,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
494
494
  field: never;
495
495
  };
496
496
  query: {
497
- sort?: undefined;
497
+ sort?: "tvl" | "apr" | "rewards" | undefined;
498
498
  name?: string | undefined;
499
499
  tokens?: string | undefined;
500
500
  status?: string | undefined;
@@ -504,7 +504,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
504
504
  page?: number | undefined;
505
505
  action?: string | undefined;
506
506
  mainProtocolId?: string | undefined;
507
- order?: undefined;
507
+ order?: "asc" | "desc" | undefined;
508
508
  test?: boolean | undefined;
509
509
  minimumTvl?: number | undefined;
510
510
  };