@merkl/api 1.4.42 → 1.4.44

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.
@@ -85,12 +85,11 @@ export declare abstract class CampaignRepository {
85
85
  };
86
86
  };
87
87
  Creator: {
88
- tags?: undefined;
89
88
  OR: ({
90
- tags?: undefined;
91
89
  Creator: {
92
90
  id: string;
93
91
  };
92
+ tags?: undefined;
94
93
  } | {
95
94
  Creator?: undefined;
96
95
  tags: {
@@ -98,12 +97,13 @@ export declare abstract class CampaignRepository {
98
97
  };
99
98
  })[];
100
99
  Creator?: undefined;
100
+ tags?: undefined;
101
101
  } | {
102
102
  OR?: undefined;
103
- tags?: undefined;
104
103
  Creator: {
105
104
  id: string;
106
105
  };
106
+ tags?: undefined;
107
107
  } | {
108
108
  OR?: undefined;
109
109
  Creator?: undefined;
@@ -134,9 +134,9 @@ export declare abstract class CampaignRepository {
134
134
  contains: string;
135
135
  mode: "insensitive";
136
136
  };
137
+ Opportunity?: undefined;
137
138
  campaignId?: undefined;
138
139
  creatorAddress?: undefined;
139
- Opportunity?: undefined;
140
140
  RewardToken?: undefined;
141
141
  } | {
142
142
  id?: undefined;
@@ -144,22 +144,20 @@ export declare abstract class CampaignRepository {
144
144
  contains: string;
145
145
  mode: "insensitive";
146
146
  };
147
- creatorAddress?: undefined;
148
147
  Opportunity?: undefined;
148
+ creatorAddress?: undefined;
149
149
  RewardToken?: undefined;
150
150
  } | {
151
151
  id?: undefined;
152
- campaignId?: undefined;
153
152
  creatorAddress: {
154
153
  contains: string;
155
154
  mode: "insensitive";
156
155
  };
157
156
  Opportunity?: undefined;
157
+ campaignId?: undefined;
158
158
  RewardToken?: undefined;
159
159
  } | {
160
160
  id?: undefined;
161
- campaignId?: undefined;
162
- creatorAddress?: undefined;
163
161
  Opportunity: {
164
162
  identifier: {
165
163
  contains: string;
@@ -167,23 +165,23 @@ export declare abstract class CampaignRepository {
167
165
  };
168
166
  mainProtocolId?: undefined;
169
167
  };
168
+ campaignId?: undefined;
169
+ creatorAddress?: undefined;
170
170
  RewardToken?: undefined;
171
171
  } | {
172
172
  id?: undefined;
173
- campaignId?: undefined;
174
- creatorAddress?: undefined;
175
173
  Opportunity: {
176
- identifier?: undefined;
177
174
  mainProtocolId: {
178
175
  contains: string;
179
176
  mode: "insensitive";
180
177
  };
178
+ identifier?: undefined;
181
179
  };
180
+ campaignId?: undefined;
181
+ creatorAddress?: undefined;
182
182
  RewardToken?: undefined;
183
183
  } | {
184
184
  id?: undefined;
185
- campaignId?: undefined;
186
- creatorAddress?: undefined;
187
185
  Opportunity?: undefined;
188
186
  RewardToken: {
189
187
  OR: ({
@@ -209,6 +207,8 @@ export declare abstract class CampaignRepository {
209
207
  };
210
208
  })[];
211
209
  };
210
+ campaignId?: undefined;
211
+ creatorAddress?: undefined;
212
212
  })[];
213
213
  }[] | undefined;
214
214
  } | {
@@ -292,12 +292,11 @@ export declare abstract class CampaignRepository {
292
292
  };
293
293
  };
294
294
  Creator: {
295
- tags?: undefined;
296
295
  OR: ({
297
- tags?: undefined;
298
296
  Creator: {
299
297
  id: string;
300
298
  };
299
+ tags?: undefined;
301
300
  } | {
302
301
  Creator?: undefined;
303
302
  tags: {
@@ -305,12 +304,13 @@ export declare abstract class CampaignRepository {
305
304
  };
306
305
  })[];
307
306
  Creator?: undefined;
307
+ tags?: undefined;
308
308
  } | {
309
309
  OR?: undefined;
310
- tags?: undefined;
311
310
  Creator: {
312
311
  id: string;
313
312
  };
313
+ tags?: undefined;
314
314
  } | {
315
315
  OR?: undefined;
316
316
  Creator?: undefined;
@@ -341,9 +341,9 @@ export declare abstract class CampaignRepository {
341
341
  contains: string;
342
342
  mode: "insensitive";
343
343
  };
344
+ Opportunity?: undefined;
344
345
  campaignId?: undefined;
345
346
  creatorAddress?: undefined;
346
- Opportunity?: undefined;
347
347
  RewardToken?: undefined;
348
348
  } | {
349
349
  id?: undefined;
@@ -351,22 +351,20 @@ export declare abstract class CampaignRepository {
351
351
  contains: string;
352
352
  mode: "insensitive";
353
353
  };
354
- creatorAddress?: undefined;
355
354
  Opportunity?: undefined;
355
+ creatorAddress?: undefined;
356
356
  RewardToken?: undefined;
357
357
  } | {
358
358
  id?: undefined;
359
- campaignId?: undefined;
360
359
  creatorAddress: {
361
360
  contains: string;
362
361
  mode: "insensitive";
363
362
  };
364
363
  Opportunity?: undefined;
364
+ campaignId?: undefined;
365
365
  RewardToken?: undefined;
366
366
  } | {
367
367
  id?: undefined;
368
- campaignId?: undefined;
369
- creatorAddress?: undefined;
370
368
  Opportunity: {
371
369
  identifier: {
372
370
  contains: string;
@@ -374,23 +372,23 @@ export declare abstract class CampaignRepository {
374
372
  };
375
373
  mainProtocolId?: undefined;
376
374
  };
375
+ campaignId?: undefined;
376
+ creatorAddress?: undefined;
377
377
  RewardToken?: undefined;
378
378
  } | {
379
379
  id?: undefined;
380
- campaignId?: undefined;
381
- creatorAddress?: undefined;
382
380
  Opportunity: {
383
- identifier?: undefined;
384
381
  mainProtocolId: {
385
382
  contains: string;
386
383
  mode: "insensitive";
387
384
  };
385
+ identifier?: undefined;
388
386
  };
387
+ campaignId?: undefined;
388
+ creatorAddress?: undefined;
389
389
  RewardToken?: undefined;
390
390
  } | {
391
391
  id?: undefined;
392
- campaignId?: undefined;
393
- creatorAddress?: undefined;
394
392
  Opportunity?: undefined;
395
393
  RewardToken: {
396
394
  OR: ({
@@ -416,6 +414,8 @@ export declare abstract class CampaignRepository {
416
414
  };
417
415
  })[];
418
416
  };
417
+ campaignId?: undefined;
418
+ creatorAddress?: undefined;
419
419
  })[];
420
420
  }[] | undefined;
421
421
  endTimestamp: {
@@ -509,12 +509,11 @@ export declare abstract class CampaignRepository {
509
509
  };
510
510
  };
511
511
  Creator: {
512
- tags?: undefined;
513
512
  OR: ({
514
- tags?: undefined;
515
513
  Creator: {
516
514
  id: string;
517
515
  };
516
+ tags?: undefined;
518
517
  } | {
519
518
  Creator?: undefined;
520
519
  tags: {
@@ -522,12 +521,13 @@ export declare abstract class CampaignRepository {
522
521
  };
523
522
  })[];
524
523
  Creator?: undefined;
524
+ tags?: undefined;
525
525
  } | {
526
526
  OR?: undefined;
527
- tags?: undefined;
528
527
  Creator: {
529
528
  id: string;
530
529
  };
530
+ tags?: undefined;
531
531
  } | {
532
532
  OR?: undefined;
533
533
  Creator?: undefined;
@@ -558,9 +558,9 @@ export declare abstract class CampaignRepository {
558
558
  contains: string;
559
559
  mode: "insensitive";
560
560
  };
561
+ Opportunity?: undefined;
561
562
  campaignId?: undefined;
562
563
  creatorAddress?: undefined;
563
- Opportunity?: undefined;
564
564
  RewardToken?: undefined;
565
565
  } | {
566
566
  id?: undefined;
@@ -568,22 +568,20 @@ export declare abstract class CampaignRepository {
568
568
  contains: string;
569
569
  mode: "insensitive";
570
570
  };
571
- creatorAddress?: undefined;
572
571
  Opportunity?: undefined;
572
+ creatorAddress?: undefined;
573
573
  RewardToken?: undefined;
574
574
  } | {
575
575
  id?: undefined;
576
- campaignId?: undefined;
577
576
  creatorAddress: {
578
577
  contains: string;
579
578
  mode: "insensitive";
580
579
  };
581
580
  Opportunity?: undefined;
581
+ campaignId?: undefined;
582
582
  RewardToken?: undefined;
583
583
  } | {
584
584
  id?: undefined;
585
- campaignId?: undefined;
586
- creatorAddress?: undefined;
587
585
  Opportunity: {
588
586
  identifier: {
589
587
  contains: string;
@@ -591,23 +589,23 @@ export declare abstract class CampaignRepository {
591
589
  };
592
590
  mainProtocolId?: undefined;
593
591
  };
592
+ campaignId?: undefined;
593
+ creatorAddress?: undefined;
594
594
  RewardToken?: undefined;
595
595
  } | {
596
596
  id?: undefined;
597
- campaignId?: undefined;
598
- creatorAddress?: undefined;
599
597
  Opportunity: {
600
- identifier?: undefined;
601
598
  mainProtocolId: {
602
599
  contains: string;
603
600
  mode: "insensitive";
604
601
  };
602
+ identifier?: undefined;
605
603
  };
604
+ campaignId?: undefined;
605
+ creatorAddress?: undefined;
606
606
  RewardToken?: undefined;
607
607
  } | {
608
608
  id?: undefined;
609
- campaignId?: undefined;
610
- creatorAddress?: undefined;
611
609
  Opportunity?: undefined;
612
610
  RewardToken: {
613
611
  OR: ({
@@ -633,6 +631,8 @@ export declare abstract class CampaignRepository {
633
631
  };
634
632
  })[];
635
633
  };
634
+ campaignId?: undefined;
635
+ creatorAddress?: undefined;
636
636
  })[];
637
637
  }[] | undefined;
638
638
  endTimestamp: {
@@ -722,12 +722,11 @@ export declare abstract class CampaignRepository {
722
722
  };
723
723
  };
724
724
  Creator: {
725
- tags?: undefined;
726
725
  OR: ({
727
- tags?: undefined;
728
726
  Creator: {
729
727
  id: string;
730
728
  };
729
+ tags?: undefined;
731
730
  } | {
732
731
  Creator?: undefined;
733
732
  tags: {
@@ -735,12 +734,13 @@ export declare abstract class CampaignRepository {
735
734
  };
736
735
  })[];
737
736
  Creator?: undefined;
737
+ tags?: undefined;
738
738
  } | {
739
739
  OR?: undefined;
740
- tags?: undefined;
741
740
  Creator: {
742
741
  id: string;
743
742
  };
743
+ tags?: undefined;
744
744
  } | {
745
745
  OR?: undefined;
746
746
  Creator?: undefined;
@@ -771,9 +771,9 @@ export declare abstract class CampaignRepository {
771
771
  contains: string;
772
772
  mode: "insensitive";
773
773
  };
774
+ Opportunity?: undefined;
774
775
  campaignId?: undefined;
775
776
  creatorAddress?: undefined;
776
- Opportunity?: undefined;
777
777
  RewardToken?: undefined;
778
778
  } | {
779
779
  id?: undefined;
@@ -781,22 +781,20 @@ export declare abstract class CampaignRepository {
781
781
  contains: string;
782
782
  mode: "insensitive";
783
783
  };
784
- creatorAddress?: undefined;
785
784
  Opportunity?: undefined;
785
+ creatorAddress?: undefined;
786
786
  RewardToken?: undefined;
787
787
  } | {
788
788
  id?: undefined;
789
- campaignId?: undefined;
790
789
  creatorAddress: {
791
790
  contains: string;
792
791
  mode: "insensitive";
793
792
  };
794
793
  Opportunity?: undefined;
794
+ campaignId?: undefined;
795
795
  RewardToken?: undefined;
796
796
  } | {
797
797
  id?: undefined;
798
- campaignId?: undefined;
799
- creatorAddress?: undefined;
800
798
  Opportunity: {
801
799
  identifier: {
802
800
  contains: string;
@@ -804,23 +802,23 @@ export declare abstract class CampaignRepository {
804
802
  };
805
803
  mainProtocolId?: undefined;
806
804
  };
805
+ campaignId?: undefined;
806
+ creatorAddress?: undefined;
807
807
  RewardToken?: undefined;
808
808
  } | {
809
809
  id?: undefined;
810
- campaignId?: undefined;
811
- creatorAddress?: undefined;
812
810
  Opportunity: {
813
- identifier?: undefined;
814
811
  mainProtocolId: {
815
812
  contains: string;
816
813
  mode: "insensitive";
817
814
  };
815
+ identifier?: undefined;
818
816
  };
817
+ campaignId?: undefined;
818
+ creatorAddress?: undefined;
819
819
  RewardToken?: undefined;
820
820
  } | {
821
821
  id?: undefined;
822
- campaignId?: undefined;
823
- creatorAddress?: undefined;
824
822
  Opportunity?: undefined;
825
823
  RewardToken: {
826
824
  OR: ({
@@ -846,6 +844,8 @@ export declare abstract class CampaignRepository {
846
844
  };
847
845
  })[];
848
846
  };
847
+ campaignId?: undefined;
848
+ creatorAddress?: undefined;
849
849
  })[];
850
850
  }[] | undefined;
851
851
  startTimestamp: {
@@ -935,12 +935,11 @@ export declare abstract class CampaignRepository {
935
935
  };
936
936
  };
937
937
  Creator: {
938
- tags?: undefined;
939
938
  OR: ({
940
- tags?: undefined;
941
939
  Creator: {
942
940
  id: string;
943
941
  };
942
+ tags?: undefined;
944
943
  } | {
945
944
  Creator?: undefined;
946
945
  tags: {
@@ -948,12 +947,13 @@ export declare abstract class CampaignRepository {
948
947
  };
949
948
  })[];
950
949
  Creator?: undefined;
950
+ tags?: undefined;
951
951
  } | {
952
952
  OR?: undefined;
953
- tags?: undefined;
954
953
  Creator: {
955
954
  id: string;
956
955
  };
956
+ tags?: undefined;
957
957
  } | {
958
958
  OR?: undefined;
959
959
  Creator?: undefined;
@@ -984,9 +984,9 @@ export declare abstract class CampaignRepository {
984
984
  contains: string;
985
985
  mode: "insensitive";
986
986
  };
987
+ Opportunity?: undefined;
987
988
  campaignId?: undefined;
988
989
  creatorAddress?: undefined;
989
- Opportunity?: undefined;
990
990
  RewardToken?: undefined;
991
991
  } | {
992
992
  id?: undefined;
@@ -994,22 +994,20 @@ export declare abstract class CampaignRepository {
994
994
  contains: string;
995
995
  mode: "insensitive";
996
996
  };
997
- creatorAddress?: undefined;
998
997
  Opportunity?: undefined;
998
+ creatorAddress?: undefined;
999
999
  RewardToken?: undefined;
1000
1000
  } | {
1001
1001
  id?: undefined;
1002
- campaignId?: undefined;
1003
1002
  creatorAddress: {
1004
1003
  contains: string;
1005
1004
  mode: "insensitive";
1006
1005
  };
1007
1006
  Opportunity?: undefined;
1007
+ campaignId?: undefined;
1008
1008
  RewardToken?: undefined;
1009
1009
  } | {
1010
1010
  id?: undefined;
1011
- campaignId?: undefined;
1012
- creatorAddress?: undefined;
1013
1011
  Opportunity: {
1014
1012
  identifier: {
1015
1013
  contains: string;
@@ -1017,23 +1015,23 @@ export declare abstract class CampaignRepository {
1017
1015
  };
1018
1016
  mainProtocolId?: undefined;
1019
1017
  };
1018
+ campaignId?: undefined;
1019
+ creatorAddress?: undefined;
1020
1020
  RewardToken?: undefined;
1021
1021
  } | {
1022
1022
  id?: undefined;
1023
- campaignId?: undefined;
1024
- creatorAddress?: undefined;
1025
1023
  Opportunity: {
1026
- identifier?: undefined;
1027
1024
  mainProtocolId: {
1028
1025
  contains: string;
1029
1026
  mode: "insensitive";
1030
1027
  };
1028
+ identifier?: undefined;
1031
1029
  };
1030
+ campaignId?: undefined;
1031
+ creatorAddress?: undefined;
1032
1032
  RewardToken?: undefined;
1033
1033
  } | {
1034
1034
  id?: undefined;
1035
- campaignId?: undefined;
1036
- creatorAddress?: undefined;
1037
1035
  Opportunity?: undefined;
1038
1036
  RewardToken: {
1039
1037
  OR: ({
@@ -1059,6 +1057,8 @@ export declare abstract class CampaignRepository {
1059
1057
  };
1060
1058
  })[];
1061
1059
  };
1060
+ campaignId?: undefined;
1061
+ creatorAddress?: undefined;
1062
1062
  })[];
1063
1063
  }[] | undefined;
1064
1064
  endTimestamp: {
@@ -88,6 +88,144 @@ export declare const ComputedValueController: Elysia<"/value", {
88
88
  };
89
89
  };
90
90
  };
91
+ } & {
92
+ value: {
93
+ tvl: {
94
+ post: {
95
+ body: {
96
+ campaignId: string;
97
+ tvl?: number | undefined;
98
+ };
99
+ params: {};
100
+ query: unknown;
101
+ headers: {
102
+ authorization: string;
103
+ };
104
+ response: {
105
+ 200: {
106
+ campaignId: string;
107
+ apr: {
108
+ breakdowns: ({
109
+ identifier: string;
110
+ timestamp: bigint;
111
+ type: import("@package/databases").AprType;
112
+ value: number;
113
+ } & {
114
+ campaignId?: string | undefined;
115
+ distributionType?: import("@package/databases").DistributionType | undefined;
116
+ })[];
117
+ cumulated: number;
118
+ timestamp: bigint;
119
+ } & {};
120
+ tvl: {
121
+ breakdowns: ({
122
+ identifier: string;
123
+ type: import("@package/databases").TvlType;
124
+ value: number;
125
+ } & {})[];
126
+ timestamp: bigint;
127
+ total: number;
128
+ } & {};
129
+ dailyRewards: {
130
+ breakdowns: ({
131
+ amount: bigint;
132
+ campaignId: string;
133
+ timestamp: bigint;
134
+ token: {
135
+ address: string;
136
+ chainId: number;
137
+ decimals: number;
138
+ icon: string;
139
+ id: string;
140
+ isNative: boolean;
141
+ isTest: boolean;
142
+ name: string | null;
143
+ symbol: string;
144
+ type: import("@package/databases").TokenType;
145
+ verified: boolean;
146
+ } & {
147
+ price?: number | null | undefined;
148
+ updatedAt?: number | null | undefined;
149
+ priceSource?: string | null | undefined;
150
+ isTokenWrapper?: boolean | undefined;
151
+ tokenWrapperAddress?: string | undefined;
152
+ };
153
+ value: number;
154
+ } & {
155
+ distributionType?: import("@package/databases").DistributionType | undefined;
156
+ })[];
157
+ timestamp: bigint;
158
+ total: number;
159
+ } & {};
160
+ }[] | {
161
+ opportunityId: string;
162
+ apr: {
163
+ breakdowns: ({
164
+ identifier: string;
165
+ timestamp: bigint;
166
+ type: import("@package/databases").AprType;
167
+ value: number;
168
+ } & {
169
+ campaignId?: string | undefined;
170
+ distributionType?: import("@package/databases").DistributionType | undefined;
171
+ })[];
172
+ cumulated: number;
173
+ timestamp: bigint;
174
+ } & {};
175
+ tvl: {
176
+ breakdowns: ({
177
+ identifier: string;
178
+ type: import("@package/databases").TvlType;
179
+ value: number;
180
+ } & {})[];
181
+ timestamp: bigint;
182
+ total: number;
183
+ } & {};
184
+ dailyRewards: {
185
+ breakdowns: ({
186
+ amount: bigint;
187
+ campaignId: string;
188
+ timestamp: bigint;
189
+ token: {
190
+ address: string;
191
+ chainId: number;
192
+ decimals: number;
193
+ icon: string;
194
+ id: string;
195
+ isNative: boolean;
196
+ isTest: boolean;
197
+ name: string | null;
198
+ symbol: string;
199
+ type: import("@package/databases").TokenType;
200
+ verified: boolean;
201
+ } & {
202
+ price?: number | null | undefined;
203
+ updatedAt?: number | null | undefined;
204
+ priceSource?: string | null | undefined;
205
+ isTokenWrapper?: boolean | undefined;
206
+ tokenWrapperAddress?: string | undefined;
207
+ };
208
+ value: number;
209
+ } & {
210
+ distributionType?: import("@package/databases").DistributionType | undefined;
211
+ })[];
212
+ timestamp: bigint;
213
+ total: number;
214
+ } & {};
215
+ }[];
216
+ 422: {
217
+ type: "validation";
218
+ on: string;
219
+ summary?: string | undefined;
220
+ message?: string | undefined;
221
+ found?: unknown;
222
+ property?: string | undefined;
223
+ expected?: string | undefined;
224
+ };
225
+ };
226
+ };
227
+ };
228
+ };
91
229
  } & {
92
230
  value: {
93
231
  engine: {
@@ -1 +1 @@
1
- {"version":3,"file":"computedValue.controller.js","sourceRoot":"","sources":["../../../../../../../apps/api/src/modules/v4/computedValue/computedValue.controller.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,uBAAuB,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACpF,OAAO,EAAE,eAAe,EAAE,MAAM,+CAA+C,CAAC;AAChF,OAAO,EAAE,6BAA6B,EAAE,MAAM,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E,OAAO,EAAE,CAAC,CAAC;IAAA,CAC1B;IACD,MAAM,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE;CACvB,CAAC;KAED,IAAI,CAAC,aAAa,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,MAAM,oBAAoB,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAE;IAC3F,OAAO,EAAE,uBAAuB;IAChC,IAAI,EAAE,0BAA0B;IAChC,YAAY,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;QAC7B,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC;IAAA,CAC1B;IACD,MAAM,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE;CACvB,CAAC;IAEF,uJAAqE;KAEpE,IAAI,CAAC,cAAc,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,MAAM,oBAAoB,CAAC,wBAAwB,CAAC,IAAI,CAAC,EAAE;IACnG,OAAO,EAAE,uBAAuB;IAChC,IAAI,EAAE,wBAAwB;IAC9B,YAAY,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;QACzC,MAAM,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC;QAC/B,KAAK,MAAM,IAAI,IAAI,IAAI,EAAE,CAAC;YACxB,IAAI,CAAC,OAAO,GAAG,6BAA6B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7D,CAAC;IAAA,CACF;IACD,MAAM,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE;CACvB,CAAC,CAAC"}
1
+ {"version":3,"file":"computedValue.controller.js","sourceRoot":"","sources":["../../../../../../../apps/api/src/modules/v4/computedValue/computedValue.controller.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,eAAe,EA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clair/typebox").TOb
25
25
  value: import("@sinclair/typebox").TNumber;
26
26
  }>>>;
27
27
  }>;
28
+ export declare const UpsertCampaignTvlDto: import("@sinclair/typebox").TObject<{
29
+ campaignId: import("@sinclair/typebox").TString;
30
+ tvl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
31
+ }>;
28
32
  export declare const FindUserComputedValuesDto: import("@sinclair/typebox").TObject<{
29
33
  address: import("@sinclair/typebox").TString;
30
34
  field: import("@sinclair/typebox").TString;
@@ -51,6 +55,7 @@ export declare const TvlForApiDto: import("@sinclair/typebox").TObject<{
51
55
  export type FindCampaignComputedValueModel = typeof FindCampaignComputedValueDto.static;
52
56
  export type UpsertCampaignComputedValueModel = typeof UpsertCampaignComputedValue.static;
53
57
  export type UpsertCampaignEngineTvlModel = typeof UpsertCampaignEngineTvlDto.static;
58
+ export type UpsertCampaignTvlModel = typeof UpsertCampaignTvlDto.static;
54
59
  export type FindUserComputedValuesModel = typeof FindUserComputedValuesDto.static;
55
60
  export type UpsertUserComputedValuesModel = typeof UpsertUserComputedValues.static;
56
61
  export type TvlForApiInput = typeof TvlForApiDto.static;