@merkl/api 1.17.14 → 1.18.0
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/jobs/cleanup-partitions/index.js.map +1 -1
- 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 +56 -56
- package/dist/src/modules/v4/transaction/transaction.service.d.ts +512 -512
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/src/jobs/cleanup-partitions/build-plan.d.ts +0 -5
- package/dist/src/jobs/cleanup-partitions/build-plan.js.map +0 -1
- package/dist/src/jobs/cleanup-partitions/config.d.ts +0 -21
- package/dist/src/jobs/cleanup-partitions/config.js.map +0 -1
- package/dist/src/jobs/cleanup-partitions/drop.d.ts +0 -8
- package/dist/src/jobs/cleanup-partitions/drop.js.map +0 -1
- package/dist/src/jobs/cleanup-partitions/types.d.ts +0 -12
- package/dist/src/jobs/cleanup-partitions/types.js.map +0 -1
- package/dist/src/jobs/cleanup-partitions/validate.d.ts +0 -19
- package/dist/src/jobs/cleanup-partitions/validate.js.map +0 -1
|
@@ -41,12 +41,12 @@ export declare abstract class CampaignService {
|
|
|
41
41
|
};
|
|
42
42
|
startTimestamp?: undefined;
|
|
43
43
|
} | {
|
|
44
|
+
endTimestamp?: undefined;
|
|
44
45
|
startTimestamp: {
|
|
45
46
|
lte?: undefined;
|
|
46
47
|
gt: number;
|
|
47
48
|
gte?: undefined;
|
|
48
49
|
};
|
|
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
|
-
mainProtocolId: string;
|
|
126
125
|
tags?: undefined;
|
|
126
|
+
mainProtocolId: string;
|
|
127
127
|
})[] | undefined;
|
|
128
128
|
type: {
|
|
129
129
|
not: string;
|
|
@@ -533,12 +533,12 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
533
533
|
};
|
|
534
534
|
startTimestamp?: undefined;
|
|
535
535
|
} | {
|
|
536
|
+
endTimestamp?: undefined;
|
|
536
537
|
startTimestamp: {
|
|
537
538
|
lte?: undefined;
|
|
538
539
|
gt: number;
|
|
539
540
|
gte?: undefined;
|
|
540
541
|
};
|
|
541
|
-
endTimestamp?: undefined;
|
|
542
542
|
} | {
|
|
543
543
|
endTimestamp: {
|
|
544
544
|
lt?: undefined;
|
|
@@ -590,29 +590,30 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
590
590
|
mode: "insensitive";
|
|
591
591
|
};
|
|
592
592
|
name?: undefined;
|
|
593
|
+
identifier?: undefined;
|
|
593
594
|
explorerAddress?: undefined;
|
|
594
595
|
type?: undefined;
|
|
595
596
|
MainProtocol?: undefined;
|
|
597
|
+
mainProtocolId?: undefined;
|
|
596
598
|
Tokens?: undefined;
|
|
597
599
|
Campaigns?: undefined;
|
|
598
600
|
Chain?: undefined;
|
|
599
|
-
identifier?: undefined;
|
|
600
|
-
mainProtocolId?: undefined;
|
|
601
601
|
} | {
|
|
602
|
+
id?: undefined;
|
|
602
603
|
name: {
|
|
603
604
|
contains: string;
|
|
604
605
|
mode: "insensitive";
|
|
605
606
|
};
|
|
607
|
+
identifier?: undefined;
|
|
606
608
|
explorerAddress?: undefined;
|
|
607
609
|
type?: undefined;
|
|
608
610
|
MainProtocol?: undefined;
|
|
611
|
+
mainProtocolId?: undefined;
|
|
609
612
|
Tokens?: undefined;
|
|
610
613
|
Campaigns?: undefined;
|
|
611
614
|
Chain?: undefined;
|
|
612
|
-
id?: undefined;
|
|
613
|
-
identifier?: undefined;
|
|
614
|
-
mainProtocolId?: undefined;
|
|
615
615
|
} | {
|
|
616
|
+
id?: undefined;
|
|
616
617
|
name?: undefined;
|
|
617
618
|
identifier: {
|
|
618
619
|
contains: string;
|
|
@@ -621,110 +622,111 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
621
622
|
explorerAddress?: undefined;
|
|
622
623
|
type?: undefined;
|
|
623
624
|
MainProtocol?: undefined;
|
|
625
|
+
mainProtocolId?: undefined;
|
|
624
626
|
Tokens?: undefined;
|
|
625
627
|
Campaigns?: undefined;
|
|
626
628
|
Chain?: undefined;
|
|
627
|
-
id?: undefined;
|
|
628
|
-
mainProtocolId?: undefined;
|
|
629
629
|
} | {
|
|
630
|
+
id?: undefined;
|
|
630
631
|
name?: undefined;
|
|
632
|
+
identifier?: undefined;
|
|
631
633
|
explorerAddress: {
|
|
632
634
|
contains: string;
|
|
633
635
|
mode: "insensitive";
|
|
634
636
|
};
|
|
635
637
|
type?: undefined;
|
|
636
638
|
MainProtocol?: undefined;
|
|
639
|
+
mainProtocolId?: undefined;
|
|
637
640
|
Tokens?: undefined;
|
|
638
641
|
Campaigns?: undefined;
|
|
639
642
|
Chain?: undefined;
|
|
640
|
-
id?: undefined;
|
|
641
|
-
identifier?: undefined;
|
|
642
|
-
mainProtocolId?: undefined;
|
|
643
643
|
} | {
|
|
644
|
+
id?: undefined;
|
|
644
645
|
name?: undefined;
|
|
646
|
+
identifier?: undefined;
|
|
645
647
|
explorerAddress?: undefined;
|
|
646
648
|
Campaigns: {
|
|
647
649
|
some: {
|
|
650
|
+
endTimestamp?: undefined;
|
|
651
|
+
id?: undefined;
|
|
648
652
|
campaignId: {
|
|
649
653
|
contains: string;
|
|
650
654
|
mode: "insensitive";
|
|
651
655
|
};
|
|
652
656
|
isPrivate: boolean;
|
|
653
|
-
endTimestamp?: undefined;
|
|
654
|
-
id?: undefined;
|
|
655
657
|
creatorAddress?: undefined;
|
|
656
658
|
RewardToken?: undefined;
|
|
657
659
|
};
|
|
658
660
|
};
|
|
659
661
|
type?: undefined;
|
|
660
662
|
MainProtocol?: undefined;
|
|
663
|
+
mainProtocolId?: undefined;
|
|
661
664
|
Tokens?: undefined;
|
|
662
665
|
Chain?: undefined;
|
|
663
|
-
id?: undefined;
|
|
664
|
-
identifier?: undefined;
|
|
665
|
-
mainProtocolId?: undefined;
|
|
666
666
|
} | {
|
|
667
|
+
id?: undefined;
|
|
667
668
|
name?: undefined;
|
|
669
|
+
identifier?: undefined;
|
|
668
670
|
explorerAddress?: undefined;
|
|
669
671
|
Campaigns: {
|
|
670
672
|
some: {
|
|
673
|
+
endTimestamp?: undefined;
|
|
671
674
|
id: {
|
|
672
675
|
contains: string;
|
|
673
676
|
mode: "insensitive";
|
|
674
677
|
};
|
|
675
678
|
isPrivate: boolean;
|
|
676
|
-
endTimestamp?: undefined;
|
|
677
|
-
campaignId?: undefined;
|
|
678
679
|
creatorAddress?: undefined;
|
|
679
680
|
RewardToken?: undefined;
|
|
681
|
+
campaignId?: undefined;
|
|
680
682
|
};
|
|
681
683
|
};
|
|
682
684
|
type?: undefined;
|
|
683
685
|
MainProtocol?: undefined;
|
|
686
|
+
mainProtocolId?: undefined;
|
|
684
687
|
Tokens?: undefined;
|
|
685
688
|
Chain?: undefined;
|
|
686
|
-
id?: undefined;
|
|
687
|
-
identifier?: undefined;
|
|
688
|
-
mainProtocolId?: undefined;
|
|
689
689
|
} | {
|
|
690
|
+
id?: undefined;
|
|
690
691
|
name?: undefined;
|
|
692
|
+
identifier?: undefined;
|
|
691
693
|
explorerAddress?: undefined;
|
|
692
694
|
Campaigns: {
|
|
693
695
|
some: {
|
|
696
|
+
endTimestamp?: undefined;
|
|
697
|
+
id?: undefined;
|
|
694
698
|
creatorAddress: {
|
|
695
699
|
contains: string;
|
|
696
700
|
mode: "insensitive";
|
|
697
701
|
};
|
|
698
702
|
isPrivate: boolean;
|
|
699
|
-
endTimestamp?: undefined;
|
|
700
|
-
id?: undefined;
|
|
701
|
-
campaignId?: undefined;
|
|
702
703
|
RewardToken?: undefined;
|
|
704
|
+
campaignId?: undefined;
|
|
703
705
|
};
|
|
704
706
|
};
|
|
705
707
|
type?: undefined;
|
|
706
708
|
MainProtocol?: undefined;
|
|
709
|
+
mainProtocolId?: undefined;
|
|
707
710
|
Tokens?: undefined;
|
|
708
711
|
Chain?: undefined;
|
|
709
|
-
id?: undefined;
|
|
710
|
-
identifier?: undefined;
|
|
711
|
-
mainProtocolId?: undefined;
|
|
712
712
|
} | {
|
|
713
|
+
id?: undefined;
|
|
713
714
|
name?: undefined;
|
|
715
|
+
identifier?: undefined;
|
|
714
716
|
explorerAddress?: undefined;
|
|
715
717
|
type: {
|
|
716
718
|
contains: string;
|
|
717
719
|
mode: "insensitive";
|
|
718
720
|
};
|
|
719
721
|
MainProtocol?: undefined;
|
|
722
|
+
mainProtocolId?: undefined;
|
|
720
723
|
Tokens?: undefined;
|
|
721
724
|
Campaigns?: undefined;
|
|
722
725
|
Chain?: undefined;
|
|
723
|
-
id?: undefined;
|
|
724
|
-
identifier?: undefined;
|
|
725
|
-
mainProtocolId?: undefined;
|
|
726
726
|
} | {
|
|
727
|
+
id?: undefined;
|
|
727
728
|
name?: undefined;
|
|
729
|
+
identifier?: undefined;
|
|
728
730
|
explorerAddress?: undefined;
|
|
729
731
|
type?: undefined;
|
|
730
732
|
MainProtocol: {
|
|
@@ -733,14 +735,14 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
733
735
|
mode: "insensitive";
|
|
734
736
|
};
|
|
735
737
|
};
|
|
738
|
+
mainProtocolId?: undefined;
|
|
736
739
|
Tokens?: undefined;
|
|
737
740
|
Campaigns?: undefined;
|
|
738
741
|
Chain?: undefined;
|
|
739
|
-
id?: undefined;
|
|
740
|
-
identifier?: undefined;
|
|
741
|
-
mainProtocolId?: undefined;
|
|
742
742
|
} | {
|
|
743
|
+
id?: undefined;
|
|
743
744
|
name?: undefined;
|
|
745
|
+
identifier?: undefined;
|
|
744
746
|
explorerAddress?: undefined;
|
|
745
747
|
type?: undefined;
|
|
746
748
|
MainProtocol?: undefined;
|
|
@@ -751,13 +753,14 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
751
753
|
Tokens?: undefined;
|
|
752
754
|
Campaigns?: undefined;
|
|
753
755
|
Chain?: undefined;
|
|
754
|
-
id?: undefined;
|
|
755
|
-
identifier?: undefined;
|
|
756
756
|
} | {
|
|
757
|
+
id?: undefined;
|
|
757
758
|
name?: undefined;
|
|
759
|
+
identifier?: undefined;
|
|
758
760
|
explorerAddress?: undefined;
|
|
759
761
|
type?: undefined;
|
|
760
762
|
MainProtocol?: undefined;
|
|
763
|
+
mainProtocolId?: undefined;
|
|
761
764
|
Tokens: {
|
|
762
765
|
some: {
|
|
763
766
|
name: {
|
|
@@ -770,14 +773,14 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
770
773
|
};
|
|
771
774
|
Campaigns?: undefined;
|
|
772
775
|
Chain?: undefined;
|
|
773
|
-
id?: undefined;
|
|
774
|
-
identifier?: undefined;
|
|
775
|
-
mainProtocolId?: undefined;
|
|
776
776
|
} | {
|
|
777
|
+
id?: undefined;
|
|
777
778
|
name?: undefined;
|
|
779
|
+
identifier?: undefined;
|
|
778
780
|
explorerAddress?: undefined;
|
|
779
781
|
type?: undefined;
|
|
780
782
|
MainProtocol?: undefined;
|
|
783
|
+
mainProtocolId?: undefined;
|
|
781
784
|
Tokens: {
|
|
782
785
|
some: {
|
|
783
786
|
name?: undefined;
|
|
@@ -790,70 +793,70 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
790
793
|
};
|
|
791
794
|
Campaigns?: undefined;
|
|
792
795
|
Chain?: undefined;
|
|
793
|
-
id?: undefined;
|
|
794
|
-
identifier?: undefined;
|
|
795
|
-
mainProtocolId?: undefined;
|
|
796
796
|
} | {
|
|
797
|
+
id?: undefined;
|
|
797
798
|
name?: undefined;
|
|
799
|
+
identifier?: undefined;
|
|
798
800
|
explorerAddress?: undefined;
|
|
799
801
|
type?: undefined;
|
|
800
802
|
MainProtocol?: undefined;
|
|
803
|
+
mainProtocolId?: undefined;
|
|
801
804
|
Tokens: {
|
|
802
805
|
some: {
|
|
803
806
|
name?: undefined;
|
|
807
|
+
symbol?: undefined;
|
|
804
808
|
address: {
|
|
805
809
|
contains: string;
|
|
806
810
|
mode: "insensitive";
|
|
807
811
|
};
|
|
808
|
-
symbol?: undefined;
|
|
809
812
|
};
|
|
810
813
|
};
|
|
811
814
|
Campaigns?: undefined;
|
|
812
815
|
Chain?: undefined;
|
|
813
|
-
id?: undefined;
|
|
814
|
-
identifier?: undefined;
|
|
815
|
-
mainProtocolId?: undefined;
|
|
816
816
|
} | {
|
|
817
|
+
id?: undefined;
|
|
817
818
|
name?: undefined;
|
|
819
|
+
identifier?: undefined;
|
|
818
820
|
explorerAddress?: undefined;
|
|
819
821
|
type?: undefined;
|
|
820
822
|
MainProtocol?: undefined;
|
|
823
|
+
mainProtocolId?: undefined;
|
|
821
824
|
Tokens?: undefined;
|
|
822
825
|
Campaigns: {
|
|
823
826
|
some: {
|
|
827
|
+
id?: undefined;
|
|
828
|
+
creatorAddress?: undefined;
|
|
824
829
|
isPrivate?: undefined;
|
|
825
830
|
endTimestamp: {
|
|
826
831
|
gte: number;
|
|
827
832
|
};
|
|
828
833
|
RewardToken: {
|
|
829
834
|
OR: ({
|
|
835
|
+
address?: undefined;
|
|
830
836
|
symbol: {
|
|
831
837
|
contains: string;
|
|
832
838
|
mode: "insensitive";
|
|
833
839
|
};
|
|
834
|
-
address?: undefined;
|
|
835
840
|
} | {
|
|
841
|
+
symbol?: undefined;
|
|
836
842
|
address: {
|
|
837
843
|
contains: string;
|
|
838
844
|
mode: "insensitive";
|
|
839
845
|
};
|
|
840
|
-
symbol?: undefined;
|
|
841
846
|
})[];
|
|
842
847
|
};
|
|
843
|
-
id?: undefined;
|
|
844
848
|
campaignId?: undefined;
|
|
845
|
-
creatorAddress?: undefined;
|
|
846
849
|
};
|
|
847
850
|
};
|
|
848
851
|
Chain?: undefined;
|
|
849
|
-
id?: undefined;
|
|
850
|
-
identifier?: undefined;
|
|
851
|
-
mainProtocolId?: undefined;
|
|
852
852
|
} | {
|
|
853
|
+
id?: undefined;
|
|
853
854
|
name?: undefined;
|
|
855
|
+
identifier?: undefined;
|
|
854
856
|
explorerAddress?: undefined;
|
|
855
857
|
type?: undefined;
|
|
856
858
|
MainProtocol?: undefined;
|
|
859
|
+
mainProtocolId?: undefined;
|
|
857
860
|
Tokens?: undefined;
|
|
858
861
|
Campaigns?: undefined;
|
|
859
862
|
Chain: {
|
|
@@ -862,9 +865,6 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
862
865
|
mode: "insensitive";
|
|
863
866
|
};
|
|
864
867
|
};
|
|
865
|
-
id?: undefined;
|
|
866
|
-
identifier?: undefined;
|
|
867
|
-
mainProtocolId?: undefined;
|
|
868
868
|
})[];
|
|
869
869
|
}[];
|
|
870
870
|
})[];
|