@merkl/api 1.9.24 → 1.9.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/modules/v4/campaign/campaign.query-transformer.d.ts +111 -111
- package/dist/src/modules/v4/opportunity/opportunity.query-transformer.d.ts +17 -17
- package/dist/src/modules/v4/transaction/transaction.service.d.ts +28 -28
- package/dist/src/utils/getAPR.d.ts +14 -14
- package/dist/src/utils/parseDistributionType.d.ts +14 -14
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -181,11 +181,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
181
181
|
};
|
|
182
182
|
displaySymbol?: undefined;
|
|
183
183
|
} | {
|
|
184
|
+
symbol?: undefined;
|
|
184
185
|
displaySymbol: {
|
|
185
186
|
equals: string;
|
|
186
187
|
mode: "insensitive";
|
|
187
188
|
};
|
|
188
|
-
symbol?: undefined;
|
|
189
189
|
})[] | undefined;
|
|
190
190
|
isTest: false | undefined;
|
|
191
191
|
type: {
|
|
@@ -194,11 +194,12 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
194
194
|
};
|
|
195
195
|
};
|
|
196
196
|
Creator: {
|
|
197
|
+
tags?: undefined;
|
|
197
198
|
OR: ({
|
|
199
|
+
tags?: undefined;
|
|
198
200
|
Creator: {
|
|
199
201
|
id: string;
|
|
200
202
|
};
|
|
201
|
-
tags?: undefined;
|
|
202
203
|
} | {
|
|
203
204
|
Creator?: undefined;
|
|
204
205
|
tags: {
|
|
@@ -206,10 +207,9 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
206
207
|
};
|
|
207
208
|
})[];
|
|
208
209
|
Creator?: undefined;
|
|
209
|
-
tags?: undefined;
|
|
210
210
|
} | {
|
|
211
|
-
OR?: undefined;
|
|
212
211
|
tags?: undefined;
|
|
212
|
+
OR?: undefined;
|
|
213
213
|
Creator: {
|
|
214
214
|
id: string;
|
|
215
215
|
};
|
|
@@ -227,13 +227,13 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
227
227
|
in: import("@package/resources/enums").DistributionType[];
|
|
228
228
|
} | undefined;
|
|
229
229
|
rootCampaignId: {
|
|
230
|
+
not?: undefined;
|
|
230
231
|
equals: string;
|
|
231
232
|
mode: "insensitive";
|
|
232
|
-
not?: undefined;
|
|
233
233
|
} | {
|
|
234
|
+
not?: undefined;
|
|
234
235
|
mode?: undefined;
|
|
235
236
|
equals: null;
|
|
236
|
-
not?: undefined;
|
|
237
237
|
} | {
|
|
238
238
|
mode?: undefined;
|
|
239
239
|
equals?: undefined;
|
|
@@ -245,47 +245,49 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
245
245
|
} | undefined;
|
|
246
246
|
AND: {
|
|
247
247
|
OR: ({
|
|
248
|
+
campaignId?: undefined;
|
|
249
|
+
creatorAddress?: undefined;
|
|
250
|
+
RewardToken?: undefined;
|
|
248
251
|
id: {
|
|
249
252
|
contains: string;
|
|
250
253
|
mode: "insensitive";
|
|
251
254
|
};
|
|
252
|
-
campaignId?: undefined;
|
|
253
|
-
creatorAddress?: undefined;
|
|
254
255
|
Opportunity?: undefined;
|
|
255
|
-
RewardToken?: undefined;
|
|
256
256
|
} | {
|
|
257
|
+
id?: undefined;
|
|
258
|
+
creatorAddress?: undefined;
|
|
259
|
+
RewardToken?: undefined;
|
|
257
260
|
campaignId: {
|
|
258
261
|
contains: string;
|
|
259
262
|
mode: "insensitive";
|
|
260
263
|
};
|
|
261
|
-
creatorAddress?: undefined;
|
|
262
264
|
Opportunity?: undefined;
|
|
263
|
-
RewardToken?: undefined;
|
|
264
|
-
id?: undefined;
|
|
265
265
|
} | {
|
|
266
|
+
id?: undefined;
|
|
266
267
|
campaignId?: undefined;
|
|
268
|
+
RewardToken?: undefined;
|
|
267
269
|
creatorAddress: {
|
|
268
270
|
contains: string;
|
|
269
271
|
mode: "insensitive";
|
|
270
272
|
};
|
|
271
273
|
Opportunity?: undefined;
|
|
272
|
-
RewardToken?: undefined;
|
|
273
|
-
id?: undefined;
|
|
274
274
|
} | {
|
|
275
|
+
id?: undefined;
|
|
275
276
|
campaignId?: undefined;
|
|
276
277
|
creatorAddress?: undefined;
|
|
278
|
+
RewardToken?: undefined;
|
|
277
279
|
Opportunity: {
|
|
280
|
+
mainProtocolId?: undefined;
|
|
278
281
|
identifier: {
|
|
279
282
|
contains: string;
|
|
280
283
|
mode: "insensitive";
|
|
281
284
|
};
|
|
282
|
-
mainProtocolId?: undefined;
|
|
283
285
|
};
|
|
284
|
-
RewardToken?: undefined;
|
|
285
|
-
id?: undefined;
|
|
286
286
|
} | {
|
|
287
|
+
id?: undefined;
|
|
287
288
|
campaignId?: undefined;
|
|
288
289
|
creatorAddress?: undefined;
|
|
290
|
+
RewardToken?: undefined;
|
|
289
291
|
Opportunity: {
|
|
290
292
|
identifier?: undefined;
|
|
291
293
|
mainProtocolId: {
|
|
@@ -293,27 +295,26 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
293
295
|
mode: "insensitive";
|
|
294
296
|
};
|
|
295
297
|
};
|
|
296
|
-
RewardToken?: undefined;
|
|
297
|
-
id?: undefined;
|
|
298
298
|
} | {
|
|
299
|
+
id?: undefined;
|
|
299
300
|
campaignId?: undefined;
|
|
300
301
|
creatorAddress?: undefined;
|
|
301
302
|
Opportunity?: undefined;
|
|
302
303
|
RewardToken: {
|
|
303
304
|
OR: ({
|
|
305
|
+
address?: undefined;
|
|
304
306
|
symbol: {
|
|
305
307
|
contains: string;
|
|
306
308
|
mode: "insensitive";
|
|
307
309
|
};
|
|
308
310
|
displaySymbol?: undefined;
|
|
309
|
-
address?: undefined;
|
|
310
311
|
} | {
|
|
311
312
|
symbol?: undefined;
|
|
313
|
+
address?: undefined;
|
|
312
314
|
displaySymbol: {
|
|
313
315
|
contains: string;
|
|
314
316
|
mode: "insensitive";
|
|
315
317
|
};
|
|
316
|
-
address?: undefined;
|
|
317
318
|
} | {
|
|
318
319
|
symbol?: undefined;
|
|
319
320
|
displaySymbol?: undefined;
|
|
@@ -323,7 +324,6 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
323
324
|
};
|
|
324
325
|
})[];
|
|
325
326
|
};
|
|
326
|
-
id?: undefined;
|
|
327
327
|
})[];
|
|
328
328
|
}[] | undefined;
|
|
329
329
|
} | {
|
|
@@ -332,6 +332,7 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
332
332
|
gt?: undefined;
|
|
333
333
|
gte?: undefined;
|
|
334
334
|
};
|
|
335
|
+
startTimestamp?: undefined;
|
|
335
336
|
OR: {
|
|
336
337
|
id: string;
|
|
337
338
|
}[] | ({
|
|
@@ -401,11 +402,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
401
402
|
};
|
|
402
403
|
displaySymbol?: undefined;
|
|
403
404
|
} | {
|
|
405
|
+
symbol?: undefined;
|
|
404
406
|
displaySymbol: {
|
|
405
407
|
equals: string;
|
|
406
408
|
mode: "insensitive";
|
|
407
409
|
};
|
|
408
|
-
symbol?: undefined;
|
|
409
410
|
})[] | undefined;
|
|
410
411
|
isTest: false | undefined;
|
|
411
412
|
type: {
|
|
@@ -414,11 +415,12 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
414
415
|
};
|
|
415
416
|
};
|
|
416
417
|
Creator: {
|
|
418
|
+
tags?: undefined;
|
|
417
419
|
OR: ({
|
|
420
|
+
tags?: undefined;
|
|
418
421
|
Creator: {
|
|
419
422
|
id: string;
|
|
420
423
|
};
|
|
421
|
-
tags?: undefined;
|
|
422
424
|
} | {
|
|
423
425
|
Creator?: undefined;
|
|
424
426
|
tags: {
|
|
@@ -426,10 +428,9 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
426
428
|
};
|
|
427
429
|
})[];
|
|
428
430
|
Creator?: undefined;
|
|
429
|
-
tags?: undefined;
|
|
430
431
|
} | {
|
|
431
|
-
OR?: undefined;
|
|
432
432
|
tags?: undefined;
|
|
433
|
+
OR?: undefined;
|
|
433
434
|
Creator: {
|
|
434
435
|
id: string;
|
|
435
436
|
};
|
|
@@ -447,13 +448,13 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
447
448
|
in: import("@package/resources/enums").DistributionType[];
|
|
448
449
|
} | undefined;
|
|
449
450
|
rootCampaignId: {
|
|
451
|
+
not?: undefined;
|
|
450
452
|
equals: string;
|
|
451
453
|
mode: "insensitive";
|
|
452
|
-
not?: undefined;
|
|
453
454
|
} | {
|
|
455
|
+
not?: undefined;
|
|
454
456
|
mode?: undefined;
|
|
455
457
|
equals: null;
|
|
456
|
-
not?: undefined;
|
|
457
458
|
} | {
|
|
458
459
|
mode?: undefined;
|
|
459
460
|
equals?: undefined;
|
|
@@ -465,47 +466,49 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
465
466
|
} | undefined;
|
|
466
467
|
AND: {
|
|
467
468
|
OR: ({
|
|
469
|
+
campaignId?: undefined;
|
|
470
|
+
creatorAddress?: undefined;
|
|
471
|
+
RewardToken?: undefined;
|
|
468
472
|
id: {
|
|
469
473
|
contains: string;
|
|
470
474
|
mode: "insensitive";
|
|
471
475
|
};
|
|
472
|
-
campaignId?: undefined;
|
|
473
|
-
creatorAddress?: undefined;
|
|
474
476
|
Opportunity?: undefined;
|
|
475
|
-
RewardToken?: undefined;
|
|
476
477
|
} | {
|
|
478
|
+
id?: undefined;
|
|
479
|
+
creatorAddress?: undefined;
|
|
480
|
+
RewardToken?: undefined;
|
|
477
481
|
campaignId: {
|
|
478
482
|
contains: string;
|
|
479
483
|
mode: "insensitive";
|
|
480
484
|
};
|
|
481
|
-
creatorAddress?: undefined;
|
|
482
485
|
Opportunity?: undefined;
|
|
483
|
-
RewardToken?: undefined;
|
|
484
|
-
id?: undefined;
|
|
485
486
|
} | {
|
|
487
|
+
id?: undefined;
|
|
486
488
|
campaignId?: undefined;
|
|
489
|
+
RewardToken?: undefined;
|
|
487
490
|
creatorAddress: {
|
|
488
491
|
contains: string;
|
|
489
492
|
mode: "insensitive";
|
|
490
493
|
};
|
|
491
494
|
Opportunity?: undefined;
|
|
492
|
-
RewardToken?: undefined;
|
|
493
|
-
id?: undefined;
|
|
494
495
|
} | {
|
|
496
|
+
id?: undefined;
|
|
495
497
|
campaignId?: undefined;
|
|
496
498
|
creatorAddress?: undefined;
|
|
499
|
+
RewardToken?: undefined;
|
|
497
500
|
Opportunity: {
|
|
501
|
+
mainProtocolId?: undefined;
|
|
498
502
|
identifier: {
|
|
499
503
|
contains: string;
|
|
500
504
|
mode: "insensitive";
|
|
501
505
|
};
|
|
502
|
-
mainProtocolId?: undefined;
|
|
503
506
|
};
|
|
504
|
-
RewardToken?: undefined;
|
|
505
|
-
id?: undefined;
|
|
506
507
|
} | {
|
|
508
|
+
id?: undefined;
|
|
507
509
|
campaignId?: undefined;
|
|
508
510
|
creatorAddress?: undefined;
|
|
511
|
+
RewardToken?: undefined;
|
|
509
512
|
Opportunity: {
|
|
510
513
|
identifier?: undefined;
|
|
511
514
|
mainProtocolId: {
|
|
@@ -513,27 +516,26 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
513
516
|
mode: "insensitive";
|
|
514
517
|
};
|
|
515
518
|
};
|
|
516
|
-
RewardToken?: undefined;
|
|
517
|
-
id?: undefined;
|
|
518
519
|
} | {
|
|
520
|
+
id?: undefined;
|
|
519
521
|
campaignId?: undefined;
|
|
520
522
|
creatorAddress?: undefined;
|
|
521
523
|
Opportunity?: undefined;
|
|
522
524
|
RewardToken: {
|
|
523
525
|
OR: ({
|
|
526
|
+
address?: undefined;
|
|
524
527
|
symbol: {
|
|
525
528
|
contains: string;
|
|
526
529
|
mode: "insensitive";
|
|
527
530
|
};
|
|
528
531
|
displaySymbol?: undefined;
|
|
529
|
-
address?: undefined;
|
|
530
532
|
} | {
|
|
531
533
|
symbol?: undefined;
|
|
534
|
+
address?: undefined;
|
|
532
535
|
displaySymbol: {
|
|
533
536
|
contains: string;
|
|
534
537
|
mode: "insensitive";
|
|
535
538
|
};
|
|
536
|
-
address?: undefined;
|
|
537
539
|
} | {
|
|
538
540
|
symbol?: undefined;
|
|
539
541
|
displaySymbol?: undefined;
|
|
@@ -543,10 +545,8 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
543
545
|
};
|
|
544
546
|
})[];
|
|
545
547
|
};
|
|
546
|
-
id?: undefined;
|
|
547
548
|
})[];
|
|
548
549
|
}[] | undefined;
|
|
549
|
-
startTimestamp?: undefined;
|
|
550
550
|
} | {
|
|
551
551
|
startTimestamp: {
|
|
552
552
|
lte?: undefined;
|
|
@@ -623,11 +623,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
623
623
|
};
|
|
624
624
|
displaySymbol?: undefined;
|
|
625
625
|
} | {
|
|
626
|
+
symbol?: undefined;
|
|
626
627
|
displaySymbol: {
|
|
627
628
|
equals: string;
|
|
628
629
|
mode: "insensitive";
|
|
629
630
|
};
|
|
630
|
-
symbol?: undefined;
|
|
631
631
|
})[] | undefined;
|
|
632
632
|
isTest: false | undefined;
|
|
633
633
|
type: {
|
|
@@ -636,11 +636,12 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
636
636
|
};
|
|
637
637
|
};
|
|
638
638
|
Creator: {
|
|
639
|
+
tags?: undefined;
|
|
639
640
|
OR: ({
|
|
641
|
+
tags?: undefined;
|
|
640
642
|
Creator: {
|
|
641
643
|
id: string;
|
|
642
644
|
};
|
|
643
|
-
tags?: undefined;
|
|
644
645
|
} | {
|
|
645
646
|
Creator?: undefined;
|
|
646
647
|
tags: {
|
|
@@ -648,10 +649,9 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
648
649
|
};
|
|
649
650
|
})[];
|
|
650
651
|
Creator?: undefined;
|
|
651
|
-
tags?: undefined;
|
|
652
652
|
} | {
|
|
653
|
-
OR?: undefined;
|
|
654
653
|
tags?: undefined;
|
|
654
|
+
OR?: undefined;
|
|
655
655
|
Creator: {
|
|
656
656
|
id: string;
|
|
657
657
|
};
|
|
@@ -669,13 +669,13 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
669
669
|
in: import("@package/resources/enums").DistributionType[];
|
|
670
670
|
} | undefined;
|
|
671
671
|
rootCampaignId: {
|
|
672
|
+
not?: undefined;
|
|
672
673
|
equals: string;
|
|
673
674
|
mode: "insensitive";
|
|
674
|
-
not?: undefined;
|
|
675
675
|
} | {
|
|
676
|
+
not?: undefined;
|
|
676
677
|
mode?: undefined;
|
|
677
678
|
equals: null;
|
|
678
|
-
not?: undefined;
|
|
679
679
|
} | {
|
|
680
680
|
mode?: undefined;
|
|
681
681
|
equals?: undefined;
|
|
@@ -687,47 +687,49 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
687
687
|
} | undefined;
|
|
688
688
|
AND: {
|
|
689
689
|
OR: ({
|
|
690
|
+
campaignId?: undefined;
|
|
691
|
+
creatorAddress?: undefined;
|
|
692
|
+
RewardToken?: undefined;
|
|
690
693
|
id: {
|
|
691
694
|
contains: string;
|
|
692
695
|
mode: "insensitive";
|
|
693
696
|
};
|
|
694
|
-
campaignId?: undefined;
|
|
695
|
-
creatorAddress?: undefined;
|
|
696
697
|
Opportunity?: undefined;
|
|
697
|
-
RewardToken?: undefined;
|
|
698
698
|
} | {
|
|
699
|
+
id?: undefined;
|
|
700
|
+
creatorAddress?: undefined;
|
|
701
|
+
RewardToken?: undefined;
|
|
699
702
|
campaignId: {
|
|
700
703
|
contains: string;
|
|
701
704
|
mode: "insensitive";
|
|
702
705
|
};
|
|
703
|
-
creatorAddress?: undefined;
|
|
704
706
|
Opportunity?: undefined;
|
|
705
|
-
RewardToken?: undefined;
|
|
706
|
-
id?: undefined;
|
|
707
707
|
} | {
|
|
708
|
+
id?: undefined;
|
|
708
709
|
campaignId?: undefined;
|
|
710
|
+
RewardToken?: undefined;
|
|
709
711
|
creatorAddress: {
|
|
710
712
|
contains: string;
|
|
711
713
|
mode: "insensitive";
|
|
712
714
|
};
|
|
713
715
|
Opportunity?: undefined;
|
|
714
|
-
RewardToken?: undefined;
|
|
715
|
-
id?: undefined;
|
|
716
716
|
} | {
|
|
717
|
+
id?: undefined;
|
|
717
718
|
campaignId?: undefined;
|
|
718
719
|
creatorAddress?: undefined;
|
|
720
|
+
RewardToken?: undefined;
|
|
719
721
|
Opportunity: {
|
|
722
|
+
mainProtocolId?: undefined;
|
|
720
723
|
identifier: {
|
|
721
724
|
contains: string;
|
|
722
725
|
mode: "insensitive";
|
|
723
726
|
};
|
|
724
|
-
mainProtocolId?: undefined;
|
|
725
727
|
};
|
|
726
|
-
RewardToken?: undefined;
|
|
727
|
-
id?: undefined;
|
|
728
728
|
} | {
|
|
729
|
+
id?: undefined;
|
|
729
730
|
campaignId?: undefined;
|
|
730
731
|
creatorAddress?: undefined;
|
|
732
|
+
RewardToken?: undefined;
|
|
731
733
|
Opportunity: {
|
|
732
734
|
identifier?: undefined;
|
|
733
735
|
mainProtocolId: {
|
|
@@ -735,27 +737,26 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
735
737
|
mode: "insensitive";
|
|
736
738
|
};
|
|
737
739
|
};
|
|
738
|
-
RewardToken?: undefined;
|
|
739
|
-
id?: undefined;
|
|
740
740
|
} | {
|
|
741
|
+
id?: undefined;
|
|
741
742
|
campaignId?: undefined;
|
|
742
743
|
creatorAddress?: undefined;
|
|
743
744
|
Opportunity?: undefined;
|
|
744
745
|
RewardToken: {
|
|
745
746
|
OR: ({
|
|
747
|
+
address?: undefined;
|
|
746
748
|
symbol: {
|
|
747
749
|
contains: string;
|
|
748
750
|
mode: "insensitive";
|
|
749
751
|
};
|
|
750
752
|
displaySymbol?: undefined;
|
|
751
|
-
address?: undefined;
|
|
752
753
|
} | {
|
|
753
754
|
symbol?: undefined;
|
|
755
|
+
address?: undefined;
|
|
754
756
|
displaySymbol: {
|
|
755
757
|
contains: string;
|
|
756
758
|
mode: "insensitive";
|
|
757
759
|
};
|
|
758
|
-
address?: undefined;
|
|
759
760
|
} | {
|
|
760
761
|
symbol?: undefined;
|
|
761
762
|
displaySymbol?: undefined;
|
|
@@ -765,7 +766,6 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
765
766
|
};
|
|
766
767
|
})[];
|
|
767
768
|
};
|
|
768
|
-
id?: undefined;
|
|
769
769
|
})[];
|
|
770
770
|
}[] | undefined;
|
|
771
771
|
} | {
|
|
@@ -848,11 +848,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
848
848
|
};
|
|
849
849
|
displaySymbol?: undefined;
|
|
850
850
|
} | {
|
|
851
|
+
symbol?: undefined;
|
|
851
852
|
displaySymbol: {
|
|
852
853
|
equals: string;
|
|
853
854
|
mode: "insensitive";
|
|
854
855
|
};
|
|
855
|
-
symbol?: undefined;
|
|
856
856
|
})[] | undefined;
|
|
857
857
|
isTest: false | undefined;
|
|
858
858
|
type: {
|
|
@@ -861,11 +861,12 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
861
861
|
};
|
|
862
862
|
};
|
|
863
863
|
Creator: {
|
|
864
|
+
tags?: undefined;
|
|
864
865
|
OR: ({
|
|
866
|
+
tags?: undefined;
|
|
865
867
|
Creator: {
|
|
866
868
|
id: string;
|
|
867
869
|
};
|
|
868
|
-
tags?: undefined;
|
|
869
870
|
} | {
|
|
870
871
|
Creator?: undefined;
|
|
871
872
|
tags: {
|
|
@@ -873,10 +874,9 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
873
874
|
};
|
|
874
875
|
})[];
|
|
875
876
|
Creator?: undefined;
|
|
876
|
-
tags?: undefined;
|
|
877
877
|
} | {
|
|
878
|
-
OR?: undefined;
|
|
879
878
|
tags?: undefined;
|
|
879
|
+
OR?: undefined;
|
|
880
880
|
Creator: {
|
|
881
881
|
id: string;
|
|
882
882
|
};
|
|
@@ -894,13 +894,13 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
894
894
|
in: import("@package/resources/enums").DistributionType[];
|
|
895
895
|
} | undefined;
|
|
896
896
|
rootCampaignId: {
|
|
897
|
+
not?: undefined;
|
|
897
898
|
equals: string;
|
|
898
899
|
mode: "insensitive";
|
|
899
|
-
not?: undefined;
|
|
900
900
|
} | {
|
|
901
|
+
not?: undefined;
|
|
901
902
|
mode?: undefined;
|
|
902
903
|
equals: null;
|
|
903
|
-
not?: undefined;
|
|
904
904
|
} | {
|
|
905
905
|
mode?: undefined;
|
|
906
906
|
equals?: undefined;
|
|
@@ -912,47 +912,49 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
912
912
|
} | undefined;
|
|
913
913
|
AND: {
|
|
914
914
|
OR: ({
|
|
915
|
+
campaignId?: undefined;
|
|
916
|
+
creatorAddress?: undefined;
|
|
917
|
+
RewardToken?: undefined;
|
|
915
918
|
id: {
|
|
916
919
|
contains: string;
|
|
917
920
|
mode: "insensitive";
|
|
918
921
|
};
|
|
919
|
-
campaignId?: undefined;
|
|
920
|
-
creatorAddress?: undefined;
|
|
921
922
|
Opportunity?: undefined;
|
|
922
|
-
RewardToken?: undefined;
|
|
923
923
|
} | {
|
|
924
|
+
id?: undefined;
|
|
925
|
+
creatorAddress?: undefined;
|
|
926
|
+
RewardToken?: undefined;
|
|
924
927
|
campaignId: {
|
|
925
928
|
contains: string;
|
|
926
929
|
mode: "insensitive";
|
|
927
930
|
};
|
|
928
|
-
creatorAddress?: undefined;
|
|
929
931
|
Opportunity?: undefined;
|
|
930
|
-
RewardToken?: undefined;
|
|
931
|
-
id?: undefined;
|
|
932
932
|
} | {
|
|
933
|
+
id?: undefined;
|
|
933
934
|
campaignId?: undefined;
|
|
935
|
+
RewardToken?: undefined;
|
|
934
936
|
creatorAddress: {
|
|
935
937
|
contains: string;
|
|
936
938
|
mode: "insensitive";
|
|
937
939
|
};
|
|
938
940
|
Opportunity?: undefined;
|
|
939
|
-
RewardToken?: undefined;
|
|
940
|
-
id?: undefined;
|
|
941
941
|
} | {
|
|
942
|
+
id?: undefined;
|
|
942
943
|
campaignId?: undefined;
|
|
943
944
|
creatorAddress?: undefined;
|
|
945
|
+
RewardToken?: undefined;
|
|
944
946
|
Opportunity: {
|
|
947
|
+
mainProtocolId?: undefined;
|
|
945
948
|
identifier: {
|
|
946
949
|
contains: string;
|
|
947
950
|
mode: "insensitive";
|
|
948
951
|
};
|
|
949
|
-
mainProtocolId?: undefined;
|
|
950
952
|
};
|
|
951
|
-
RewardToken?: undefined;
|
|
952
|
-
id?: undefined;
|
|
953
953
|
} | {
|
|
954
|
+
id?: undefined;
|
|
954
955
|
campaignId?: undefined;
|
|
955
956
|
creatorAddress?: undefined;
|
|
957
|
+
RewardToken?: undefined;
|
|
956
958
|
Opportunity: {
|
|
957
959
|
identifier?: undefined;
|
|
958
960
|
mainProtocolId: {
|
|
@@ -960,27 +962,26 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
960
962
|
mode: "insensitive";
|
|
961
963
|
};
|
|
962
964
|
};
|
|
963
|
-
RewardToken?: undefined;
|
|
964
|
-
id?: undefined;
|
|
965
965
|
} | {
|
|
966
|
+
id?: undefined;
|
|
966
967
|
campaignId?: undefined;
|
|
967
968
|
creatorAddress?: undefined;
|
|
968
969
|
Opportunity?: undefined;
|
|
969
970
|
RewardToken: {
|
|
970
971
|
OR: ({
|
|
972
|
+
address?: undefined;
|
|
971
973
|
symbol: {
|
|
972
974
|
contains: string;
|
|
973
975
|
mode: "insensitive";
|
|
974
976
|
};
|
|
975
977
|
displaySymbol?: undefined;
|
|
976
|
-
address?: undefined;
|
|
977
978
|
} | {
|
|
978
979
|
symbol?: undefined;
|
|
980
|
+
address?: undefined;
|
|
979
981
|
displaySymbol: {
|
|
980
982
|
contains: string;
|
|
981
983
|
mode: "insensitive";
|
|
982
984
|
};
|
|
983
|
-
address?: undefined;
|
|
984
985
|
} | {
|
|
985
986
|
symbol?: undefined;
|
|
986
987
|
displaySymbol?: undefined;
|
|
@@ -990,7 +991,6 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
990
991
|
};
|
|
991
992
|
})[];
|
|
992
993
|
};
|
|
993
|
-
id?: undefined;
|
|
994
994
|
})[];
|
|
995
995
|
}[] | undefined;
|
|
996
996
|
} | {
|
|
@@ -1063,11 +1063,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
1063
1063
|
};
|
|
1064
1064
|
displaySymbol?: undefined;
|
|
1065
1065
|
} | {
|
|
1066
|
+
symbol?: undefined;
|
|
1066
1067
|
displaySymbol: {
|
|
1067
1068
|
equals: string;
|
|
1068
1069
|
mode: "insensitive";
|
|
1069
1070
|
};
|
|
1070
|
-
symbol?: undefined;
|
|
1071
1071
|
})[] | undefined;
|
|
1072
1072
|
isTest: false | undefined;
|
|
1073
1073
|
type: {
|
|
@@ -1076,11 +1076,12 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
1076
1076
|
};
|
|
1077
1077
|
};
|
|
1078
1078
|
Creator: {
|
|
1079
|
+
tags?: undefined;
|
|
1079
1080
|
OR: ({
|
|
1081
|
+
tags?: undefined;
|
|
1080
1082
|
Creator: {
|
|
1081
1083
|
id: string;
|
|
1082
1084
|
};
|
|
1083
|
-
tags?: undefined;
|
|
1084
1085
|
} | {
|
|
1085
1086
|
Creator?: undefined;
|
|
1086
1087
|
tags: {
|
|
@@ -1088,10 +1089,9 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
1088
1089
|
};
|
|
1089
1090
|
})[];
|
|
1090
1091
|
Creator?: undefined;
|
|
1091
|
-
tags?: undefined;
|
|
1092
1092
|
} | {
|
|
1093
|
-
OR?: undefined;
|
|
1094
1093
|
tags?: undefined;
|
|
1094
|
+
OR?: undefined;
|
|
1095
1095
|
Creator: {
|
|
1096
1096
|
id: string;
|
|
1097
1097
|
};
|
|
@@ -1109,13 +1109,13 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
1109
1109
|
in: import("@package/resources/enums").DistributionType[];
|
|
1110
1110
|
} | undefined;
|
|
1111
1111
|
rootCampaignId: {
|
|
1112
|
+
not?: undefined;
|
|
1112
1113
|
equals: string;
|
|
1113
1114
|
mode: "insensitive";
|
|
1114
|
-
not?: undefined;
|
|
1115
1115
|
} | {
|
|
1116
|
+
not?: undefined;
|
|
1116
1117
|
mode?: undefined;
|
|
1117
1118
|
equals: null;
|
|
1118
|
-
not?: undefined;
|
|
1119
1119
|
} | {
|
|
1120
1120
|
mode?: undefined;
|
|
1121
1121
|
equals?: undefined;
|
|
@@ -1127,47 +1127,49 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
1127
1127
|
} | undefined;
|
|
1128
1128
|
AND: {
|
|
1129
1129
|
OR: ({
|
|
1130
|
+
campaignId?: undefined;
|
|
1131
|
+
creatorAddress?: undefined;
|
|
1132
|
+
RewardToken?: undefined;
|
|
1130
1133
|
id: {
|
|
1131
1134
|
contains: string;
|
|
1132
1135
|
mode: "insensitive";
|
|
1133
1136
|
};
|
|
1134
|
-
campaignId?: undefined;
|
|
1135
|
-
creatorAddress?: undefined;
|
|
1136
1137
|
Opportunity?: undefined;
|
|
1137
|
-
RewardToken?: undefined;
|
|
1138
1138
|
} | {
|
|
1139
|
+
id?: undefined;
|
|
1140
|
+
creatorAddress?: undefined;
|
|
1141
|
+
RewardToken?: undefined;
|
|
1139
1142
|
campaignId: {
|
|
1140
1143
|
contains: string;
|
|
1141
1144
|
mode: "insensitive";
|
|
1142
1145
|
};
|
|
1143
|
-
creatorAddress?: undefined;
|
|
1144
1146
|
Opportunity?: undefined;
|
|
1145
|
-
RewardToken?: undefined;
|
|
1146
|
-
id?: undefined;
|
|
1147
1147
|
} | {
|
|
1148
|
+
id?: undefined;
|
|
1148
1149
|
campaignId?: undefined;
|
|
1150
|
+
RewardToken?: undefined;
|
|
1149
1151
|
creatorAddress: {
|
|
1150
1152
|
contains: string;
|
|
1151
1153
|
mode: "insensitive";
|
|
1152
1154
|
};
|
|
1153
1155
|
Opportunity?: undefined;
|
|
1154
|
-
RewardToken?: undefined;
|
|
1155
|
-
id?: undefined;
|
|
1156
1156
|
} | {
|
|
1157
|
+
id?: undefined;
|
|
1157
1158
|
campaignId?: undefined;
|
|
1158
1159
|
creatorAddress?: undefined;
|
|
1160
|
+
RewardToken?: undefined;
|
|
1159
1161
|
Opportunity: {
|
|
1162
|
+
mainProtocolId?: undefined;
|
|
1160
1163
|
identifier: {
|
|
1161
1164
|
contains: string;
|
|
1162
1165
|
mode: "insensitive";
|
|
1163
1166
|
};
|
|
1164
|
-
mainProtocolId?: undefined;
|
|
1165
1167
|
};
|
|
1166
|
-
RewardToken?: undefined;
|
|
1167
|
-
id?: undefined;
|
|
1168
1168
|
} | {
|
|
1169
|
+
id?: undefined;
|
|
1169
1170
|
campaignId?: undefined;
|
|
1170
1171
|
creatorAddress?: undefined;
|
|
1172
|
+
RewardToken?: undefined;
|
|
1171
1173
|
Opportunity: {
|
|
1172
1174
|
identifier?: undefined;
|
|
1173
1175
|
mainProtocolId: {
|
|
@@ -1175,27 +1177,26 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
1175
1177
|
mode: "insensitive";
|
|
1176
1178
|
};
|
|
1177
1179
|
};
|
|
1178
|
-
RewardToken?: undefined;
|
|
1179
|
-
id?: undefined;
|
|
1180
1180
|
} | {
|
|
1181
|
+
id?: undefined;
|
|
1181
1182
|
campaignId?: undefined;
|
|
1182
1183
|
creatorAddress?: undefined;
|
|
1183
1184
|
Opportunity?: undefined;
|
|
1184
1185
|
RewardToken: {
|
|
1185
1186
|
OR: ({
|
|
1187
|
+
address?: undefined;
|
|
1186
1188
|
symbol: {
|
|
1187
1189
|
contains: string;
|
|
1188
1190
|
mode: "insensitive";
|
|
1189
1191
|
};
|
|
1190
1192
|
displaySymbol?: undefined;
|
|
1191
|
-
address?: undefined;
|
|
1192
1193
|
} | {
|
|
1193
1194
|
symbol?: undefined;
|
|
1195
|
+
address?: undefined;
|
|
1194
1196
|
displaySymbol: {
|
|
1195
1197
|
contains: string;
|
|
1196
1198
|
mode: "insensitive";
|
|
1197
1199
|
};
|
|
1198
|
-
address?: undefined;
|
|
1199
1200
|
} | {
|
|
1200
1201
|
symbol?: undefined;
|
|
1201
1202
|
displaySymbol?: undefined;
|
|
@@ -1205,7 +1206,6 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
1205
1206
|
};
|
|
1206
1207
|
})[];
|
|
1207
1208
|
};
|
|
1208
|
-
id?: undefined;
|
|
1209
1209
|
})[];
|
|
1210
1210
|
}[] | undefined;
|
|
1211
1211
|
};
|