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