@merkl/api 1.18.5 → 1.18.6
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 +85 -85
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.query-transformer.d.ts +54 -54
- package/dist/src/modules/v4/transaction/transaction.service.d.ts +240 -240
- package/dist/src/utils/parseDistributionType.d.ts +56 -56
- 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;
|
|
@@ -122,8 +122,8 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
122
122
|
};
|
|
123
123
|
mainProtocolId?: undefined;
|
|
124
124
|
} | {
|
|
125
|
-
tags?: undefined;
|
|
126
125
|
mainProtocolId: string;
|
|
126
|
+
tags?: undefined;
|
|
127
127
|
})[] | undefined;
|
|
128
128
|
type: {
|
|
129
129
|
not: string;
|
|
@@ -522,12 +522,12 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
522
522
|
};
|
|
523
523
|
startTimestamp?: undefined;
|
|
524
524
|
} | {
|
|
525
|
-
endTimestamp?: undefined;
|
|
526
525
|
startTimestamp: {
|
|
527
526
|
lte?: undefined;
|
|
528
527
|
gt: number;
|
|
529
528
|
gte?: undefined;
|
|
530
529
|
};
|
|
530
|
+
endTimestamp?: undefined;
|
|
531
531
|
} | {
|
|
532
532
|
endTimestamp: {
|
|
533
533
|
lt?: undefined;
|
|
@@ -579,30 +579,29 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
579
579
|
mode: "insensitive";
|
|
580
580
|
};
|
|
581
581
|
name?: undefined;
|
|
582
|
-
identifier?: undefined;
|
|
583
582
|
explorerAddress?: undefined;
|
|
584
583
|
type?: undefined;
|
|
585
584
|
MainProtocol?: undefined;
|
|
586
|
-
mainProtocolId?: undefined;
|
|
587
585
|
Tokens?: undefined;
|
|
588
586
|
Campaigns?: undefined;
|
|
589
587
|
Chain?: undefined;
|
|
588
|
+
identifier?: undefined;
|
|
589
|
+
mainProtocolId?: undefined;
|
|
590
590
|
} | {
|
|
591
|
-
id?: undefined;
|
|
592
591
|
name: {
|
|
593
592
|
contains: string;
|
|
594
593
|
mode: "insensitive";
|
|
595
594
|
};
|
|
596
|
-
identifier?: undefined;
|
|
597
595
|
explorerAddress?: undefined;
|
|
598
596
|
type?: undefined;
|
|
599
597
|
MainProtocol?: undefined;
|
|
600
|
-
mainProtocolId?: undefined;
|
|
601
598
|
Tokens?: undefined;
|
|
602
599
|
Campaigns?: undefined;
|
|
603
600
|
Chain?: undefined;
|
|
604
|
-
} | {
|
|
605
601
|
id?: undefined;
|
|
602
|
+
identifier?: undefined;
|
|
603
|
+
mainProtocolId?: undefined;
|
|
604
|
+
} | {
|
|
606
605
|
name?: undefined;
|
|
607
606
|
identifier: {
|
|
608
607
|
contains: string;
|
|
@@ -611,60 +610,59 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
611
610
|
explorerAddress?: undefined;
|
|
612
611
|
type?: undefined;
|
|
613
612
|
MainProtocol?: undefined;
|
|
614
|
-
mainProtocolId?: undefined;
|
|
615
613
|
Tokens?: undefined;
|
|
616
614
|
Campaigns?: undefined;
|
|
617
615
|
Chain?: undefined;
|
|
618
|
-
} | {
|
|
619
616
|
id?: undefined;
|
|
617
|
+
mainProtocolId?: undefined;
|
|
618
|
+
} | {
|
|
620
619
|
name?: undefined;
|
|
621
|
-
identifier?: undefined;
|
|
622
620
|
explorerAddress: {
|
|
623
621
|
contains: string;
|
|
624
622
|
mode: "insensitive";
|
|
625
623
|
};
|
|
626
624
|
type?: undefined;
|
|
627
625
|
MainProtocol?: undefined;
|
|
628
|
-
mainProtocolId?: undefined;
|
|
629
626
|
Tokens?: undefined;
|
|
630
627
|
Campaigns?: undefined;
|
|
631
628
|
Chain?: undefined;
|
|
632
|
-
} | {
|
|
633
629
|
id?: undefined;
|
|
634
|
-
name?: undefined;
|
|
635
630
|
identifier?: undefined;
|
|
631
|
+
mainProtocolId?: undefined;
|
|
632
|
+
} | {
|
|
633
|
+
name?: undefined;
|
|
636
634
|
explorerAddress?: undefined;
|
|
637
635
|
Campaigns: {
|
|
638
636
|
some: {
|
|
639
|
-
endTimestamp?: undefined;
|
|
640
|
-
id?: undefined;
|
|
641
637
|
campaignId: {
|
|
642
638
|
contains: string;
|
|
643
639
|
mode: "insensitive";
|
|
644
640
|
};
|
|
645
641
|
isPrivate: boolean;
|
|
642
|
+
endTimestamp?: undefined;
|
|
643
|
+
id?: undefined;
|
|
646
644
|
creatorAddress?: undefined;
|
|
647
645
|
RewardToken?: undefined;
|
|
648
646
|
};
|
|
649
647
|
};
|
|
650
648
|
type?: undefined;
|
|
651
649
|
MainProtocol?: undefined;
|
|
652
|
-
mainProtocolId?: undefined;
|
|
653
650
|
Tokens?: undefined;
|
|
654
651
|
Chain?: undefined;
|
|
655
|
-
} | {
|
|
656
652
|
id?: undefined;
|
|
657
|
-
name?: undefined;
|
|
658
653
|
identifier?: undefined;
|
|
654
|
+
mainProtocolId?: undefined;
|
|
655
|
+
} | {
|
|
656
|
+
name?: undefined;
|
|
659
657
|
explorerAddress?: undefined;
|
|
660
658
|
Campaigns: {
|
|
661
659
|
some: {
|
|
662
|
-
endTimestamp?: undefined;
|
|
663
660
|
id: {
|
|
664
661
|
contains: string;
|
|
665
662
|
mode: "insensitive";
|
|
666
663
|
};
|
|
667
664
|
isPrivate: boolean;
|
|
665
|
+
endTimestamp?: undefined;
|
|
668
666
|
creatorAddress?: undefined;
|
|
669
667
|
RewardToken?: undefined;
|
|
670
668
|
campaignId?: undefined;
|
|
@@ -672,50 +670,50 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
672
670
|
};
|
|
673
671
|
type?: undefined;
|
|
674
672
|
MainProtocol?: undefined;
|
|
675
|
-
mainProtocolId?: undefined;
|
|
676
673
|
Tokens?: undefined;
|
|
677
674
|
Chain?: undefined;
|
|
678
|
-
} | {
|
|
679
675
|
id?: undefined;
|
|
680
|
-
name?: undefined;
|
|
681
676
|
identifier?: undefined;
|
|
677
|
+
mainProtocolId?: undefined;
|
|
678
|
+
} | {
|
|
679
|
+
name?: undefined;
|
|
682
680
|
explorerAddress?: undefined;
|
|
683
681
|
Campaigns: {
|
|
684
682
|
some: {
|
|
685
|
-
endTimestamp?: undefined;
|
|
686
|
-
id?: undefined;
|
|
687
683
|
creatorAddress: {
|
|
688
684
|
contains: string;
|
|
689
685
|
mode: "insensitive";
|
|
690
686
|
};
|
|
691
687
|
isPrivate: boolean;
|
|
688
|
+
endTimestamp?: undefined;
|
|
689
|
+
id?: undefined;
|
|
692
690
|
RewardToken?: undefined;
|
|
693
691
|
campaignId?: undefined;
|
|
694
692
|
};
|
|
695
693
|
};
|
|
696
694
|
type?: undefined;
|
|
697
695
|
MainProtocol?: undefined;
|
|
698
|
-
mainProtocolId?: undefined;
|
|
699
696
|
Tokens?: undefined;
|
|
700
697
|
Chain?: undefined;
|
|
701
|
-
} | {
|
|
702
698
|
id?: undefined;
|
|
703
|
-
name?: undefined;
|
|
704
699
|
identifier?: undefined;
|
|
700
|
+
mainProtocolId?: undefined;
|
|
701
|
+
} | {
|
|
702
|
+
name?: undefined;
|
|
705
703
|
explorerAddress?: undefined;
|
|
706
704
|
type: {
|
|
707
705
|
contains: string;
|
|
708
706
|
mode: "insensitive";
|
|
709
707
|
};
|
|
710
708
|
MainProtocol?: undefined;
|
|
711
|
-
mainProtocolId?: undefined;
|
|
712
709
|
Tokens?: undefined;
|
|
713
710
|
Campaigns?: undefined;
|
|
714
711
|
Chain?: undefined;
|
|
715
|
-
} | {
|
|
716
712
|
id?: undefined;
|
|
717
|
-
name?: undefined;
|
|
718
713
|
identifier?: undefined;
|
|
714
|
+
mainProtocolId?: undefined;
|
|
715
|
+
} | {
|
|
716
|
+
name?: undefined;
|
|
719
717
|
explorerAddress?: undefined;
|
|
720
718
|
type?: undefined;
|
|
721
719
|
MainProtocol: {
|
|
@@ -724,14 +722,14 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
724
722
|
mode: "insensitive";
|
|
725
723
|
};
|
|
726
724
|
};
|
|
727
|
-
mainProtocolId?: undefined;
|
|
728
725
|
Tokens?: undefined;
|
|
729
726
|
Campaigns?: undefined;
|
|
730
727
|
Chain?: undefined;
|
|
731
|
-
} | {
|
|
732
728
|
id?: undefined;
|
|
733
|
-
name?: undefined;
|
|
734
729
|
identifier?: undefined;
|
|
730
|
+
mainProtocolId?: undefined;
|
|
731
|
+
} | {
|
|
732
|
+
name?: undefined;
|
|
735
733
|
explorerAddress?: undefined;
|
|
736
734
|
type?: undefined;
|
|
737
735
|
MainProtocol?: undefined;
|
|
@@ -742,14 +740,13 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
742
740
|
Tokens?: undefined;
|
|
743
741
|
Campaigns?: undefined;
|
|
744
742
|
Chain?: undefined;
|
|
745
|
-
} | {
|
|
746
743
|
id?: undefined;
|
|
747
|
-
name?: undefined;
|
|
748
744
|
identifier?: undefined;
|
|
745
|
+
} | {
|
|
746
|
+
name?: undefined;
|
|
749
747
|
explorerAddress?: undefined;
|
|
750
748
|
type?: undefined;
|
|
751
749
|
MainProtocol?: undefined;
|
|
752
|
-
mainProtocolId?: undefined;
|
|
753
750
|
Tokens: {
|
|
754
751
|
some: {
|
|
755
752
|
name: {
|
|
@@ -762,14 +759,14 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
762
759
|
};
|
|
763
760
|
Campaigns?: undefined;
|
|
764
761
|
Chain?: undefined;
|
|
765
|
-
} | {
|
|
766
762
|
id?: undefined;
|
|
767
|
-
name?: undefined;
|
|
768
763
|
identifier?: undefined;
|
|
764
|
+
mainProtocolId?: undefined;
|
|
765
|
+
} | {
|
|
766
|
+
name?: undefined;
|
|
769
767
|
explorerAddress?: undefined;
|
|
770
768
|
type?: undefined;
|
|
771
769
|
MainProtocol?: undefined;
|
|
772
|
-
mainProtocolId?: undefined;
|
|
773
770
|
Tokens: {
|
|
774
771
|
some: {
|
|
775
772
|
name?: undefined;
|
|
@@ -782,70 +779,70 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
782
779
|
};
|
|
783
780
|
Campaigns?: undefined;
|
|
784
781
|
Chain?: undefined;
|
|
785
|
-
} | {
|
|
786
782
|
id?: undefined;
|
|
787
|
-
name?: undefined;
|
|
788
783
|
identifier?: undefined;
|
|
784
|
+
mainProtocolId?: undefined;
|
|
785
|
+
} | {
|
|
786
|
+
name?: undefined;
|
|
789
787
|
explorerAddress?: undefined;
|
|
790
788
|
type?: undefined;
|
|
791
789
|
MainProtocol?: undefined;
|
|
792
|
-
mainProtocolId?: undefined;
|
|
793
790
|
Tokens: {
|
|
794
791
|
some: {
|
|
795
792
|
name?: undefined;
|
|
796
|
-
symbol?: undefined;
|
|
797
793
|
address: {
|
|
798
794
|
contains: string;
|
|
799
795
|
mode: "insensitive";
|
|
800
796
|
};
|
|
797
|
+
symbol?: undefined;
|
|
801
798
|
};
|
|
802
799
|
};
|
|
803
800
|
Campaigns?: undefined;
|
|
804
801
|
Chain?: undefined;
|
|
805
|
-
} | {
|
|
806
802
|
id?: undefined;
|
|
807
|
-
name?: undefined;
|
|
808
803
|
identifier?: undefined;
|
|
804
|
+
mainProtocolId?: undefined;
|
|
805
|
+
} | {
|
|
806
|
+
name?: undefined;
|
|
809
807
|
explorerAddress?: undefined;
|
|
810
808
|
type?: undefined;
|
|
811
809
|
MainProtocol?: undefined;
|
|
812
|
-
mainProtocolId?: undefined;
|
|
813
810
|
Tokens?: undefined;
|
|
814
811
|
Campaigns: {
|
|
815
812
|
some: {
|
|
816
|
-
id?: undefined;
|
|
817
|
-
creatorAddress?: undefined;
|
|
818
813
|
isPrivate?: undefined;
|
|
819
814
|
endTimestamp: {
|
|
820
815
|
gte: number;
|
|
821
816
|
};
|
|
822
817
|
RewardToken: {
|
|
823
818
|
OR: ({
|
|
824
|
-
address?: undefined;
|
|
825
819
|
symbol: {
|
|
826
820
|
contains: string;
|
|
827
821
|
mode: "insensitive";
|
|
828
822
|
};
|
|
823
|
+
address?: undefined;
|
|
829
824
|
} | {
|
|
830
|
-
symbol?: undefined;
|
|
831
825
|
address: {
|
|
832
826
|
contains: string;
|
|
833
827
|
mode: "insensitive";
|
|
834
828
|
};
|
|
829
|
+
symbol?: undefined;
|
|
835
830
|
})[];
|
|
836
831
|
};
|
|
832
|
+
id?: undefined;
|
|
833
|
+
creatorAddress?: undefined;
|
|
837
834
|
campaignId?: undefined;
|
|
838
835
|
};
|
|
839
836
|
};
|
|
840
837
|
Chain?: undefined;
|
|
841
|
-
} | {
|
|
842
838
|
id?: undefined;
|
|
843
|
-
name?: undefined;
|
|
844
839
|
identifier?: undefined;
|
|
840
|
+
mainProtocolId?: undefined;
|
|
841
|
+
} | {
|
|
842
|
+
name?: undefined;
|
|
845
843
|
explorerAddress?: undefined;
|
|
846
844
|
type?: undefined;
|
|
847
845
|
MainProtocol?: undefined;
|
|
848
|
-
mainProtocolId?: undefined;
|
|
849
846
|
Tokens?: undefined;
|
|
850
847
|
Campaigns?: undefined;
|
|
851
848
|
Chain: {
|
|
@@ -854,6 +851,9 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
854
851
|
mode: "insensitive";
|
|
855
852
|
};
|
|
856
853
|
};
|
|
854
|
+
id?: undefined;
|
|
855
|
+
identifier?: undefined;
|
|
856
|
+
mainProtocolId?: undefined;
|
|
857
857
|
})[];
|
|
858
858
|
}[];
|
|
859
859
|
})[];
|