@merkl/api 1.9.6 → 1.9.7
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/engine/implementations/ErcMultiToken/metadata.d.ts +1 -1
- package/dist/src/engine/implementations/StabullStaking/metadata.d.ts +1 -1
- package/dist/src/modules/v4/campaign/campaign.query-transformer.d.ts +111 -111
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.query-transformer.d.ts +40 -40
- package/dist/src/modules/v4/programPayload/programPayload.repository.js.map +1 -1
- package/dist/src/utils/parseDistributionType.d.ts +835 -835
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -41,12 +41,12 @@ export declare abstract class CampaignService {
|
|
|
41
41
|
};
|
|
42
42
|
startTimestamp?: undefined;
|
|
43
43
|
} | {
|
|
44
|
-
endTimestamp?: undefined;
|
|
45
44
|
startTimestamp: {
|
|
46
45
|
lte?: undefined;
|
|
47
46
|
gt: number;
|
|
48
47
|
gte?: undefined;
|
|
49
48
|
};
|
|
49
|
+
endTimestamp?: undefined;
|
|
50
50
|
} | {
|
|
51
51
|
endTimestamp: {
|
|
52
52
|
lt?: undefined;
|
|
@@ -111,8 +111,8 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
111
111
|
};
|
|
112
112
|
mainProtocolId?: undefined;
|
|
113
113
|
} | {
|
|
114
|
-
mainProtocolId: string;
|
|
115
114
|
tags?: undefined;
|
|
115
|
+
mainProtocolId: string;
|
|
116
116
|
})[] | undefined;
|
|
117
117
|
type: {
|
|
118
118
|
not: string;
|
|
@@ -534,28 +534,28 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
534
534
|
mode: "insensitive";
|
|
535
535
|
};
|
|
536
536
|
name?: undefined;
|
|
537
|
+
identifier?: undefined;
|
|
537
538
|
explorerAddress?: undefined;
|
|
538
539
|
type?: undefined;
|
|
539
540
|
MainProtocol?: undefined;
|
|
541
|
+
mainProtocolId?: undefined;
|
|
540
542
|
Tokens?: undefined;
|
|
541
543
|
Campaigns?: undefined;
|
|
542
544
|
Chain?: undefined;
|
|
543
|
-
identifier?: undefined;
|
|
544
|
-
mainProtocolId?: undefined;
|
|
545
545
|
} | {
|
|
546
546
|
name: {
|
|
547
547
|
contains: string;
|
|
548
548
|
mode: "insensitive";
|
|
549
549
|
};
|
|
550
|
+
identifier?: undefined;
|
|
550
551
|
explorerAddress?: undefined;
|
|
551
552
|
type?: undefined;
|
|
552
553
|
MainProtocol?: undefined;
|
|
554
|
+
mainProtocolId?: undefined;
|
|
553
555
|
Tokens?: undefined;
|
|
554
556
|
Campaigns?: undefined;
|
|
555
557
|
Chain?: undefined;
|
|
556
558
|
id?: undefined;
|
|
557
|
-
identifier?: undefined;
|
|
558
|
-
mainProtocolId?: undefined;
|
|
559
559
|
} | {
|
|
560
560
|
name?: undefined;
|
|
561
561
|
identifier: {
|
|
@@ -565,27 +565,28 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
565
565
|
explorerAddress?: undefined;
|
|
566
566
|
type?: undefined;
|
|
567
567
|
MainProtocol?: undefined;
|
|
568
|
+
mainProtocolId?: undefined;
|
|
568
569
|
Tokens?: undefined;
|
|
569
570
|
Campaigns?: undefined;
|
|
570
571
|
Chain?: undefined;
|
|
571
572
|
id?: undefined;
|
|
572
|
-
mainProtocolId?: undefined;
|
|
573
573
|
} | {
|
|
574
574
|
name?: undefined;
|
|
575
|
+
identifier?: undefined;
|
|
575
576
|
explorerAddress: {
|
|
576
577
|
contains: string;
|
|
577
578
|
mode: "insensitive";
|
|
578
579
|
};
|
|
579
580
|
type?: undefined;
|
|
580
581
|
MainProtocol?: undefined;
|
|
582
|
+
mainProtocolId?: undefined;
|
|
581
583
|
Tokens?: undefined;
|
|
582
584
|
Campaigns?: undefined;
|
|
583
585
|
Chain?: undefined;
|
|
584
586
|
id?: undefined;
|
|
585
|
-
identifier?: undefined;
|
|
586
|
-
mainProtocolId?: undefined;
|
|
587
587
|
} | {
|
|
588
588
|
name?: undefined;
|
|
589
|
+
identifier?: undefined;
|
|
589
590
|
explorerAddress?: undefined;
|
|
590
591
|
Campaigns: {
|
|
591
592
|
some: {
|
|
@@ -594,81 +595,81 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
594
595
|
mode: "insensitive";
|
|
595
596
|
};
|
|
596
597
|
isPrivate: boolean;
|
|
597
|
-
endTimestamp?: undefined;
|
|
598
|
-
id?: undefined;
|
|
599
598
|
creatorAddress?: undefined;
|
|
600
599
|
RewardToken?: undefined;
|
|
600
|
+
endTimestamp?: undefined;
|
|
601
|
+
id?: undefined;
|
|
601
602
|
};
|
|
602
603
|
};
|
|
603
604
|
type?: undefined;
|
|
604
605
|
MainProtocol?: undefined;
|
|
606
|
+
mainProtocolId?: undefined;
|
|
605
607
|
Tokens?: undefined;
|
|
606
608
|
Chain?: undefined;
|
|
607
609
|
id?: undefined;
|
|
608
|
-
identifier?: undefined;
|
|
609
|
-
mainProtocolId?: undefined;
|
|
610
610
|
} | {
|
|
611
611
|
name?: undefined;
|
|
612
|
+
identifier?: undefined;
|
|
612
613
|
explorerAddress?: undefined;
|
|
613
614
|
Campaigns: {
|
|
614
615
|
some: {
|
|
616
|
+
campaignId?: undefined;
|
|
615
617
|
id: {
|
|
616
618
|
contains: string;
|
|
617
619
|
mode: "insensitive";
|
|
618
620
|
};
|
|
619
621
|
isPrivate: boolean;
|
|
620
|
-
endTimestamp?: undefined;
|
|
621
|
-
campaignId?: undefined;
|
|
622
622
|
creatorAddress?: undefined;
|
|
623
623
|
RewardToken?: undefined;
|
|
624
|
+
endTimestamp?: undefined;
|
|
624
625
|
};
|
|
625
626
|
};
|
|
626
627
|
type?: undefined;
|
|
627
628
|
MainProtocol?: undefined;
|
|
629
|
+
mainProtocolId?: undefined;
|
|
628
630
|
Tokens?: undefined;
|
|
629
631
|
Chain?: undefined;
|
|
630
632
|
id?: undefined;
|
|
631
|
-
identifier?: undefined;
|
|
632
|
-
mainProtocolId?: undefined;
|
|
633
633
|
} | {
|
|
634
634
|
name?: undefined;
|
|
635
|
+
identifier?: undefined;
|
|
635
636
|
explorerAddress?: undefined;
|
|
636
637
|
Campaigns: {
|
|
637
638
|
some: {
|
|
639
|
+
campaignId?: undefined;
|
|
638
640
|
creatorAddress: {
|
|
639
641
|
contains: string;
|
|
640
642
|
mode: "insensitive";
|
|
641
643
|
};
|
|
642
644
|
isPrivate: boolean;
|
|
645
|
+
RewardToken?: undefined;
|
|
643
646
|
endTimestamp?: undefined;
|
|
644
647
|
id?: undefined;
|
|
645
|
-
campaignId?: undefined;
|
|
646
|
-
RewardToken?: undefined;
|
|
647
648
|
};
|
|
648
649
|
};
|
|
649
650
|
type?: undefined;
|
|
650
651
|
MainProtocol?: undefined;
|
|
652
|
+
mainProtocolId?: undefined;
|
|
651
653
|
Tokens?: undefined;
|
|
652
654
|
Chain?: undefined;
|
|
653
655
|
id?: undefined;
|
|
654
|
-
identifier?: undefined;
|
|
655
|
-
mainProtocolId?: undefined;
|
|
656
656
|
} | {
|
|
657
657
|
name?: undefined;
|
|
658
|
+
identifier?: undefined;
|
|
658
659
|
explorerAddress?: undefined;
|
|
659
660
|
type: {
|
|
660
661
|
contains: string;
|
|
661
662
|
mode: "insensitive";
|
|
662
663
|
};
|
|
663
664
|
MainProtocol?: undefined;
|
|
665
|
+
mainProtocolId?: undefined;
|
|
664
666
|
Tokens?: undefined;
|
|
665
667
|
Campaigns?: undefined;
|
|
666
668
|
Chain?: undefined;
|
|
667
669
|
id?: undefined;
|
|
668
|
-
identifier?: undefined;
|
|
669
|
-
mainProtocolId?: undefined;
|
|
670
670
|
} | {
|
|
671
671
|
name?: undefined;
|
|
672
|
+
identifier?: undefined;
|
|
672
673
|
explorerAddress?: undefined;
|
|
673
674
|
type?: undefined;
|
|
674
675
|
MainProtocol: {
|
|
@@ -677,14 +678,14 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
677
678
|
mode: "insensitive";
|
|
678
679
|
};
|
|
679
680
|
};
|
|
681
|
+
mainProtocolId?: undefined;
|
|
680
682
|
Tokens?: undefined;
|
|
681
683
|
Campaigns?: undefined;
|
|
682
684
|
Chain?: undefined;
|
|
683
685
|
id?: undefined;
|
|
684
|
-
identifier?: undefined;
|
|
685
|
-
mainProtocolId?: undefined;
|
|
686
686
|
} | {
|
|
687
687
|
name?: undefined;
|
|
688
|
+
identifier?: undefined;
|
|
688
689
|
explorerAddress?: undefined;
|
|
689
690
|
type?: undefined;
|
|
690
691
|
MainProtocol?: undefined;
|
|
@@ -696,12 +697,13 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
696
697
|
Campaigns?: undefined;
|
|
697
698
|
Chain?: undefined;
|
|
698
699
|
id?: undefined;
|
|
699
|
-
identifier?: undefined;
|
|
700
700
|
} | {
|
|
701
701
|
name?: undefined;
|
|
702
|
+
identifier?: undefined;
|
|
702
703
|
explorerAddress?: undefined;
|
|
703
704
|
type?: undefined;
|
|
704
705
|
MainProtocol?: undefined;
|
|
706
|
+
mainProtocolId?: undefined;
|
|
705
707
|
Tokens: {
|
|
706
708
|
some: {
|
|
707
709
|
name: {
|
|
@@ -715,13 +717,13 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
715
717
|
Campaigns?: undefined;
|
|
716
718
|
Chain?: undefined;
|
|
717
719
|
id?: undefined;
|
|
718
|
-
identifier?: undefined;
|
|
719
|
-
mainProtocolId?: undefined;
|
|
720
720
|
} | {
|
|
721
721
|
name?: undefined;
|
|
722
|
+
identifier?: undefined;
|
|
722
723
|
explorerAddress?: undefined;
|
|
723
724
|
type?: undefined;
|
|
724
725
|
MainProtocol?: undefined;
|
|
726
|
+
mainProtocolId?: undefined;
|
|
725
727
|
Tokens: {
|
|
726
728
|
some: {
|
|
727
729
|
name?: undefined;
|
|
@@ -735,69 +737,69 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
735
737
|
Campaigns?: undefined;
|
|
736
738
|
Chain?: undefined;
|
|
737
739
|
id?: undefined;
|
|
738
|
-
identifier?: undefined;
|
|
739
|
-
mainProtocolId?: undefined;
|
|
740
740
|
} | {
|
|
741
741
|
name?: undefined;
|
|
742
|
+
identifier?: undefined;
|
|
742
743
|
explorerAddress?: undefined;
|
|
743
744
|
type?: undefined;
|
|
744
745
|
MainProtocol?: undefined;
|
|
746
|
+
mainProtocolId?: undefined;
|
|
745
747
|
Tokens: {
|
|
746
748
|
some: {
|
|
747
749
|
name?: undefined;
|
|
750
|
+
symbol?: undefined;
|
|
748
751
|
address: {
|
|
749
752
|
contains: string;
|
|
750
753
|
mode: "insensitive";
|
|
751
754
|
};
|
|
752
|
-
symbol?: undefined;
|
|
753
755
|
};
|
|
754
756
|
};
|
|
755
757
|
Campaigns?: undefined;
|
|
756
758
|
Chain?: undefined;
|
|
757
759
|
id?: undefined;
|
|
758
|
-
identifier?: undefined;
|
|
759
|
-
mainProtocolId?: undefined;
|
|
760
760
|
} | {
|
|
761
761
|
name?: undefined;
|
|
762
|
+
identifier?: undefined;
|
|
762
763
|
explorerAddress?: undefined;
|
|
763
764
|
type?: undefined;
|
|
764
765
|
MainProtocol?: undefined;
|
|
766
|
+
mainProtocolId?: undefined;
|
|
765
767
|
Tokens?: undefined;
|
|
766
768
|
Campaigns: {
|
|
767
769
|
some: {
|
|
770
|
+
campaignId?: undefined;
|
|
771
|
+
creatorAddress?: undefined;
|
|
768
772
|
isPrivate?: undefined;
|
|
769
773
|
endTimestamp: {
|
|
770
774
|
gte: number;
|
|
771
775
|
};
|
|
772
776
|
RewardToken: {
|
|
773
777
|
OR: ({
|
|
778
|
+
address?: undefined;
|
|
774
779
|
symbol: {
|
|
775
780
|
contains: string;
|
|
776
781
|
mode: "insensitive";
|
|
777
782
|
};
|
|
778
|
-
address?: undefined;
|
|
779
783
|
} | {
|
|
784
|
+
symbol?: undefined;
|
|
780
785
|
address: {
|
|
781
786
|
contains: string;
|
|
782
787
|
mode: "insensitive";
|
|
783
788
|
};
|
|
784
|
-
symbol?: undefined;
|
|
785
789
|
})[];
|
|
786
790
|
};
|
|
787
791
|
id?: undefined;
|
|
788
|
-
campaignId?: undefined;
|
|
789
|
-
creatorAddress?: undefined;
|
|
790
792
|
};
|
|
791
793
|
};
|
|
792
794
|
Chain?: undefined;
|
|
793
795
|
id?: undefined;
|
|
794
|
-
identifier?: undefined;
|
|
795
|
-
mainProtocolId?: undefined;
|
|
796
796
|
} | {
|
|
797
797
|
name?: undefined;
|
|
798
|
+
identifier?: undefined;
|
|
798
799
|
explorerAddress?: undefined;
|
|
799
800
|
type?: undefined;
|
|
800
801
|
MainProtocol?: undefined;
|
|
802
|
+
mainProtocolId?: undefined;
|
|
801
803
|
Tokens?: undefined;
|
|
802
804
|
Campaigns?: undefined;
|
|
803
805
|
Chain: {
|
|
@@ -807,8 +809,6 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
807
809
|
};
|
|
808
810
|
};
|
|
809
811
|
id?: undefined;
|
|
810
|
-
identifier?: undefined;
|
|
811
|
-
mainProtocolId?: undefined;
|
|
812
812
|
})[];
|
|
813
813
|
}[];
|
|
814
814
|
})[];
|