@merkl/api 1.12.1 → 1.13.1
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/eden/index.d.ts +390 -306
- package/dist/src/engine/deprecated/dynamicData/implementations/Erc20.d.ts +25 -25
- package/dist/src/engine/implementations/Blend/metadata.d.ts +32 -0
- package/dist/src/engine/implementations/Blend/metadata.js.map +1 -0
- package/dist/src/engine/implementations/SacHolder/metadata.d.ts +16 -0
- package/dist/src/engine/implementations/SacHolder/metadata.js.map +1 -0
- package/dist/src/engine/metadata/factory.js.map +1 -1
- package/dist/src/engine/nativeAPR/factory.js.map +1 -1
- package/dist/src/engine/tvl/factory.js.map +1 -1
- package/dist/src/index.d.ts +390 -340
- package/dist/src/jobs/pendings-etl/load.js.map +1 -1
- package/dist/src/jobs/rewards-etl/index.js.map +1 -1
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +64 -5
- package/dist/src/modules/v4/campaign/campaign.query-transformer.d.ts +10 -2
- package/dist/src/modules/v4/campaign/campaign.query-transformer.js.map +1 -1
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +49 -12
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +36 -48
- package/dist/src/modules/v4/carousel/carousel.controller.d.ts +84 -50
- package/dist/src/modules/v4/carousel/carousel.repository.d.ts +64 -68
- package/dist/src/modules/v4/carousel/carousel.repository.js.map +1 -1
- package/dist/src/modules/v4/carousel/carousel.service.d.ts +86 -70
- package/dist/src/modules/v4/config/config.controller.d.ts +9 -12
- package/dist/src/modules/v4/config/config.service.d.ts +9 -12
- package/dist/src/modules/v4/creator/creator.controller.d.ts +8 -1
- package/dist/src/modules/v4/dispute/dispute.repository.d.ts +0 -1
- package/dist/src/modules/v4/hubspot/hubspot.service.js.map +1 -1
- package/dist/src/modules/v4/leaf/leaf.repository.d.ts +18 -22
- package/dist/src/modules/v4/leaf/leaf.repository.js.map +1 -1
- package/dist/src/modules/v4/leaf/leaf.service.d.ts +18 -22
- package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +0 -4
- package/dist/src/modules/v4/merklRoot/merklRoot.model.d.ts +0 -1
- package/dist/src/modules/v4/merklRoot/merklRoot.model.js.map +1 -1
- package/dist/src/modules/v4/merklRoot/merklRoot.repository.d.ts +0 -16
- package/dist/src/modules/v4/merklRoot/merklRoot.repository.js.map +1 -1
- package/dist/src/modules/v4/merklRoot/merklRoot.service.d.ts +0 -17
- package/dist/src/modules/v4/merklRoot/merklRoot.service.js.map +1 -1
- package/dist/src/modules/v4/opportunity/depositUrl.formatter.d.ts +20 -0
- package/dist/src/modules/v4/opportunity/depositUrl.formatter.js.map +1 -0
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +88 -31
- package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +25 -1
- package/dist/src/modules/v4/opportunity/opportunity.formatter.js.map +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +69 -5
- package/dist/src/modules/v4/opportunity/opportunity.model.js.map +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.query-transformer.d.ts +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +54 -67
- package/dist/src/modules/v4/opportunity/opportunity.repository.js.map +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +93 -60
- package/dist/src/modules/v4/opportunity/opportunity.service.js.map +1 -1
- package/dist/src/modules/v4/payload/payload.controller.d.ts +27 -36
- package/dist/src/modules/v4/payload/payload.service.d.ts +36 -48
- package/dist/src/modules/v4/program/program.controller.d.ts +32 -4
- package/dist/src/modules/v4/program/program.repository.d.ts +41 -45
- package/dist/src/modules/v4/program/program.repository.js.map +1 -1
- package/dist/src/modules/v4/program/program.service.d.ts +32 -4
- package/dist/src/modules/v4/protocol/protocol.repository.js.map +1 -1
- package/dist/src/modules/v4/reward/reward.controller.d.ts +1 -130
- package/dist/src/modules/v4/reward/reward.controller.js.map +1 -1
- package/dist/src/modules/v4/reward/reward.repository.d.ts +18 -26
- package/dist/src/modules/v4/reward/reward.repository.js.map +1 -1
- package/dist/src/modules/v4/reward/reward.service.d.ts +107 -129
- package/dist/src/modules/v4/reward/reward.service.js.map +1 -1
- package/dist/src/modules/v4/router.d.ts +390 -340
- package/dist/src/modules/v4/transaction/transaction.service.d.ts +621 -551
- package/dist/src/modules/v4/uniswap/uniswap.controller.d.ts +16 -2
- package/dist/src/modules/v4/uniswap/uniswap.service.d.ts +8 -1
- package/dist/src/modules/v4/user/user.controller.d.ts +26 -23
- package/dist/src/scripts/backfill-leaves.js.map +1 -1
- package/dist/src/scripts/exportOpportunities.js.map +1 -1
- package/dist/src/scripts/importOpportunities.js.map +1 -1
- package/dist/src/utils/getAPR.d.ts +38 -3
- package/dist/src/utils/parseDistributionType.d.ts +168 -133
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/src/jobs/workers/count-claims.worker.d.ts +0 -1
- package/dist/src/jobs/workers/count-claims.worker.js.map +0 -1
|
@@ -46,9 +46,16 @@ export declare const CarouselController: Elysia<"/carousels", {
|
|
|
46
46
|
status: "LIVE" | "NONE" | "PAST" | "SOON";
|
|
47
47
|
action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
|
|
48
48
|
tags: string[];
|
|
49
|
-
protocols?: string[] | undefined;
|
|
50
49
|
mainProtocol?: string | undefined;
|
|
51
50
|
depositUrl?: string | undefined;
|
|
51
|
+
depositUrls?: {
|
|
52
|
+
id: string;
|
|
53
|
+
title: string;
|
|
54
|
+
url: string;
|
|
55
|
+
subtitle?: string | undefined;
|
|
56
|
+
icon?: string | undefined;
|
|
57
|
+
priority: number;
|
|
58
|
+
}[] | undefined;
|
|
52
59
|
explorerAddress?: string | undefined;
|
|
53
60
|
hidden?: boolean | undefined;
|
|
54
61
|
tvl: number;
|
|
@@ -215,9 +222,16 @@ export declare const CarouselController: Elysia<"/carousels", {
|
|
|
215
222
|
status: "LIVE" | "NONE" | "PAST" | "SOON";
|
|
216
223
|
action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
|
|
217
224
|
tags: string[];
|
|
218
|
-
protocols?: string[] | undefined;
|
|
219
225
|
mainProtocol?: string | undefined;
|
|
220
226
|
depositUrl?: string | undefined;
|
|
227
|
+
depositUrls?: {
|
|
228
|
+
id: string;
|
|
229
|
+
title: string;
|
|
230
|
+
url: string;
|
|
231
|
+
subtitle?: string | undefined;
|
|
232
|
+
icon?: string | undefined;
|
|
233
|
+
priority: number;
|
|
234
|
+
}[] | undefined;
|
|
221
235
|
explorerAddress?: string | undefined;
|
|
222
236
|
hidden?: boolean | undefined;
|
|
223
237
|
tvl: number;
|
|
@@ -441,9 +455,16 @@ export declare const CarouselController: Elysia<"/carousels", {
|
|
|
441
455
|
status: "LIVE" | "NONE" | "PAST" | "SOON";
|
|
442
456
|
action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
|
|
443
457
|
tags: string[];
|
|
444
|
-
protocols?: string[] | undefined;
|
|
445
458
|
mainProtocol?: string | undefined;
|
|
446
459
|
depositUrl?: string | undefined;
|
|
460
|
+
depositUrls?: {
|
|
461
|
+
id: string;
|
|
462
|
+
title: string;
|
|
463
|
+
url: string;
|
|
464
|
+
subtitle?: string | undefined;
|
|
465
|
+
icon?: string | undefined;
|
|
466
|
+
priority: number;
|
|
467
|
+
}[] | undefined;
|
|
447
468
|
explorerAddress?: string | undefined;
|
|
448
469
|
hidden?: boolean | undefined;
|
|
449
470
|
tvl: number;
|
|
@@ -610,9 +631,16 @@ export declare const CarouselController: Elysia<"/carousels", {
|
|
|
610
631
|
status: "LIVE" | "NONE" | "PAST" | "SOON";
|
|
611
632
|
action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
|
|
612
633
|
tags: string[];
|
|
613
|
-
protocols?: string[] | undefined;
|
|
614
634
|
mainProtocol?: string | undefined;
|
|
615
635
|
depositUrl?: string | undefined;
|
|
636
|
+
depositUrls?: {
|
|
637
|
+
id: string;
|
|
638
|
+
title: string;
|
|
639
|
+
url: string;
|
|
640
|
+
subtitle?: string | undefined;
|
|
641
|
+
icon?: string | undefined;
|
|
642
|
+
priority: number;
|
|
643
|
+
}[] | undefined;
|
|
616
644
|
explorerAddress?: string | undefined;
|
|
617
645
|
hidden?: boolean | undefined;
|
|
618
646
|
tvl: number;
|
|
@@ -850,18 +878,16 @@ export declare const CarouselController: Elysia<"/carousels", {
|
|
|
850
878
|
endOfDisputePeriod: number;
|
|
851
879
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
852
880
|
};
|
|
853
|
-
|
|
881
|
+
DepositUrls: {
|
|
854
882
|
id: string;
|
|
855
|
-
|
|
856
|
-
name: string;
|
|
857
|
-
description: string;
|
|
883
|
+
title: string;
|
|
858
884
|
url: string;
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
}
|
|
864
|
-
|
|
885
|
+
subtitle: string | null;
|
|
886
|
+
icon: string | null;
|
|
887
|
+
priority: number;
|
|
888
|
+
opportunityId: string;
|
|
889
|
+
}[];
|
|
890
|
+
MainProtocol: {
|
|
865
891
|
id: string;
|
|
866
892
|
tags: string[];
|
|
867
893
|
name: string;
|
|
@@ -871,7 +897,7 @@ export declare const CarouselController: Elysia<"/carousels", {
|
|
|
871
897
|
banner: string | null;
|
|
872
898
|
opportunityBannerLight: string | null;
|
|
873
899
|
opportunityBannerDark: string | null;
|
|
874
|
-
}
|
|
900
|
+
} | null;
|
|
875
901
|
Tokens: {
|
|
876
902
|
id: string;
|
|
877
903
|
name: string | null;
|
|
@@ -935,18 +961,16 @@ export declare const CarouselController: Elysia<"/carousels", {
|
|
|
935
961
|
endOfDisputePeriod: number;
|
|
936
962
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
937
963
|
};
|
|
938
|
-
|
|
964
|
+
DepositUrls: {
|
|
939
965
|
id: string;
|
|
940
|
-
|
|
941
|
-
name: string;
|
|
942
|
-
description: string;
|
|
966
|
+
title: string;
|
|
943
967
|
url: string;
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
}
|
|
949
|
-
|
|
968
|
+
subtitle: string | null;
|
|
969
|
+
icon: string | null;
|
|
970
|
+
priority: number;
|
|
971
|
+
opportunityId: string;
|
|
972
|
+
}[];
|
|
973
|
+
MainProtocol: {
|
|
950
974
|
id: string;
|
|
951
975
|
tags: string[];
|
|
952
976
|
name: string;
|
|
@@ -956,7 +980,7 @@ export declare const CarouselController: Elysia<"/carousels", {
|
|
|
956
980
|
banner: string | null;
|
|
957
981
|
opportunityBannerLight: string | null;
|
|
958
982
|
opportunityBannerDark: string | null;
|
|
959
|
-
}
|
|
983
|
+
} | null;
|
|
960
984
|
Tokens: {
|
|
961
985
|
id: string;
|
|
962
986
|
name: string | null;
|
|
@@ -1107,9 +1131,16 @@ export declare const CarouselController: Elysia<"/carousels", {
|
|
|
1107
1131
|
status: "LIVE" | "NONE" | "PAST" | "SOON";
|
|
1108
1132
|
action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
|
|
1109
1133
|
tags: string[];
|
|
1110
|
-
protocols?: string[] | undefined;
|
|
1111
1134
|
mainProtocol?: string | undefined;
|
|
1112
1135
|
depositUrl?: string | undefined;
|
|
1136
|
+
depositUrls?: {
|
|
1137
|
+
id: string;
|
|
1138
|
+
title: string;
|
|
1139
|
+
url: string;
|
|
1140
|
+
subtitle?: string | undefined;
|
|
1141
|
+
icon?: string | undefined;
|
|
1142
|
+
priority: number;
|
|
1143
|
+
}[] | undefined;
|
|
1113
1144
|
explorerAddress?: string | undefined;
|
|
1114
1145
|
hidden?: boolean | undefined;
|
|
1115
1146
|
tvl: number;
|
|
@@ -1276,9 +1307,16 @@ export declare const CarouselController: Elysia<"/carousels", {
|
|
|
1276
1307
|
status: "LIVE" | "NONE" | "PAST" | "SOON";
|
|
1277
1308
|
action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
|
|
1278
1309
|
tags: string[];
|
|
1279
|
-
protocols?: string[] | undefined;
|
|
1280
1310
|
mainProtocol?: string | undefined;
|
|
1281
1311
|
depositUrl?: string | undefined;
|
|
1312
|
+
depositUrls?: {
|
|
1313
|
+
id: string;
|
|
1314
|
+
title: string;
|
|
1315
|
+
url: string;
|
|
1316
|
+
subtitle?: string | undefined;
|
|
1317
|
+
icon?: string | undefined;
|
|
1318
|
+
priority: number;
|
|
1319
|
+
}[] | undefined;
|
|
1282
1320
|
explorerAddress?: string | undefined;
|
|
1283
1321
|
hidden?: boolean | undefined;
|
|
1284
1322
|
tvl: number;
|
|
@@ -1539,18 +1577,16 @@ export declare const CarouselController: Elysia<"/carousels", {
|
|
|
1539
1577
|
endOfDisputePeriod: number;
|
|
1540
1578
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
1541
1579
|
};
|
|
1542
|
-
|
|
1580
|
+
DepositUrls: {
|
|
1543
1581
|
id: string;
|
|
1544
|
-
|
|
1545
|
-
name: string;
|
|
1546
|
-
description: string;
|
|
1582
|
+
title: string;
|
|
1547
1583
|
url: string;
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
}
|
|
1553
|
-
|
|
1584
|
+
subtitle: string | null;
|
|
1585
|
+
icon: string | null;
|
|
1586
|
+
priority: number;
|
|
1587
|
+
opportunityId: string;
|
|
1588
|
+
}[];
|
|
1589
|
+
MainProtocol: {
|
|
1554
1590
|
id: string;
|
|
1555
1591
|
tags: string[];
|
|
1556
1592
|
name: string;
|
|
@@ -1560,7 +1596,7 @@ export declare const CarouselController: Elysia<"/carousels", {
|
|
|
1560
1596
|
banner: string | null;
|
|
1561
1597
|
opportunityBannerLight: string | null;
|
|
1562
1598
|
opportunityBannerDark: string | null;
|
|
1563
|
-
}
|
|
1599
|
+
} | null;
|
|
1564
1600
|
Tokens: {
|
|
1565
1601
|
id: string;
|
|
1566
1602
|
name: string | null;
|
|
@@ -1624,18 +1660,16 @@ export declare const CarouselController: Elysia<"/carousels", {
|
|
|
1624
1660
|
endOfDisputePeriod: number;
|
|
1625
1661
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
1626
1662
|
};
|
|
1627
|
-
|
|
1663
|
+
DepositUrls: {
|
|
1628
1664
|
id: string;
|
|
1629
|
-
|
|
1630
|
-
name: string;
|
|
1631
|
-
description: string;
|
|
1665
|
+
title: string;
|
|
1632
1666
|
url: string;
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
}
|
|
1638
|
-
|
|
1667
|
+
subtitle: string | null;
|
|
1668
|
+
icon: string | null;
|
|
1669
|
+
priority: number;
|
|
1670
|
+
opportunityId: string;
|
|
1671
|
+
}[];
|
|
1672
|
+
MainProtocol: {
|
|
1639
1673
|
id: string;
|
|
1640
1674
|
tags: string[];
|
|
1641
1675
|
name: string;
|
|
@@ -1645,7 +1679,7 @@ export declare const CarouselController: Elysia<"/carousels", {
|
|
|
1645
1679
|
banner: string | null;
|
|
1646
1680
|
opportunityBannerLight: string | null;
|
|
1647
1681
|
opportunityBannerDark: string | null;
|
|
1648
|
-
}
|
|
1682
|
+
} | null;
|
|
1649
1683
|
Tokens: {
|
|
1650
1684
|
id: string;
|
|
1651
1685
|
name: string | null;
|
|
@@ -8,9 +8,13 @@ export declare abstract class CarouselRepository {
|
|
|
8
8
|
include: {
|
|
9
9
|
MainProtocol: boolean;
|
|
10
10
|
Chain: boolean;
|
|
11
|
-
Protocols: boolean;
|
|
12
11
|
Tokens: boolean;
|
|
13
12
|
ActivePrograms: boolean;
|
|
13
|
+
DepositUrls: {
|
|
14
|
+
orderBy: {
|
|
15
|
+
priority: "asc";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
14
18
|
};
|
|
15
19
|
};
|
|
16
20
|
};
|
|
@@ -25,9 +29,13 @@ export declare abstract class CarouselRepository {
|
|
|
25
29
|
include: {
|
|
26
30
|
Tokens: boolean;
|
|
27
31
|
Chain: boolean;
|
|
28
|
-
Protocols: boolean;
|
|
29
32
|
MainProtocol: boolean;
|
|
30
33
|
ActivePrograms: boolean;
|
|
34
|
+
DepositUrls: {
|
|
35
|
+
orderBy: {
|
|
36
|
+
priority: "asc";
|
|
37
|
+
};
|
|
38
|
+
};
|
|
31
39
|
};
|
|
32
40
|
};
|
|
33
41
|
};
|
|
@@ -63,18 +71,16 @@ export declare abstract class CarouselRepository {
|
|
|
63
71
|
endOfDisputePeriod: number;
|
|
64
72
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
65
73
|
};
|
|
66
|
-
|
|
74
|
+
DepositUrls: {
|
|
67
75
|
id: string;
|
|
68
|
-
|
|
69
|
-
name: string;
|
|
70
|
-
description: string;
|
|
76
|
+
title: string;
|
|
71
77
|
url: string;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
+
subtitle: string | null;
|
|
79
|
+
icon: string | null;
|
|
80
|
+
priority: number;
|
|
81
|
+
opportunityId: string;
|
|
82
|
+
}[];
|
|
83
|
+
MainProtocol: {
|
|
78
84
|
id: string;
|
|
79
85
|
tags: string[];
|
|
80
86
|
name: string;
|
|
@@ -84,7 +90,7 @@ export declare abstract class CarouselRepository {
|
|
|
84
90
|
banner: string | null;
|
|
85
91
|
opportunityBannerLight: string | null;
|
|
86
92
|
opportunityBannerDark: string | null;
|
|
87
|
-
}
|
|
93
|
+
} | null;
|
|
88
94
|
Tokens: {
|
|
89
95
|
id: string;
|
|
90
96
|
name: string | null;
|
|
@@ -148,18 +154,16 @@ export declare abstract class CarouselRepository {
|
|
|
148
154
|
endOfDisputePeriod: number;
|
|
149
155
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
150
156
|
};
|
|
151
|
-
|
|
157
|
+
DepositUrls: {
|
|
152
158
|
id: string;
|
|
153
|
-
|
|
154
|
-
name: string;
|
|
155
|
-
description: string;
|
|
159
|
+
title: string;
|
|
156
160
|
url: string;
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
}
|
|
162
|
-
|
|
161
|
+
subtitle: string | null;
|
|
162
|
+
icon: string | null;
|
|
163
|
+
priority: number;
|
|
164
|
+
opportunityId: string;
|
|
165
|
+
}[];
|
|
166
|
+
MainProtocol: {
|
|
163
167
|
id: string;
|
|
164
168
|
tags: string[];
|
|
165
169
|
name: string;
|
|
@@ -169,7 +173,7 @@ export declare abstract class CarouselRepository {
|
|
|
169
173
|
banner: string | null;
|
|
170
174
|
opportunityBannerLight: string | null;
|
|
171
175
|
opportunityBannerDark: string | null;
|
|
172
|
-
}
|
|
176
|
+
} | null;
|
|
173
177
|
Tokens: {
|
|
174
178
|
id: string;
|
|
175
179
|
name: string | null;
|
|
@@ -284,18 +288,16 @@ export declare abstract class CarouselRepository {
|
|
|
284
288
|
endOfDisputePeriod: number;
|
|
285
289
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
286
290
|
};
|
|
287
|
-
|
|
291
|
+
DepositUrls: {
|
|
288
292
|
id: string;
|
|
289
|
-
|
|
290
|
-
name: string;
|
|
291
|
-
description: string;
|
|
293
|
+
title: string;
|
|
292
294
|
url: string;
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
}
|
|
298
|
-
|
|
295
|
+
subtitle: string | null;
|
|
296
|
+
icon: string | null;
|
|
297
|
+
priority: number;
|
|
298
|
+
opportunityId: string;
|
|
299
|
+
}[];
|
|
300
|
+
MainProtocol: {
|
|
299
301
|
id: string;
|
|
300
302
|
tags: string[];
|
|
301
303
|
name: string;
|
|
@@ -305,7 +307,7 @@ export declare abstract class CarouselRepository {
|
|
|
305
307
|
banner: string | null;
|
|
306
308
|
opportunityBannerLight: string | null;
|
|
307
309
|
opportunityBannerDark: string | null;
|
|
308
|
-
}
|
|
310
|
+
} | null;
|
|
309
311
|
Tokens: {
|
|
310
312
|
id: string;
|
|
311
313
|
name: string | null;
|
|
@@ -369,18 +371,16 @@ export declare abstract class CarouselRepository {
|
|
|
369
371
|
endOfDisputePeriod: number;
|
|
370
372
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
371
373
|
};
|
|
372
|
-
|
|
374
|
+
DepositUrls: {
|
|
373
375
|
id: string;
|
|
374
|
-
|
|
375
|
-
name: string;
|
|
376
|
-
description: string;
|
|
376
|
+
title: string;
|
|
377
377
|
url: string;
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
}
|
|
383
|
-
|
|
378
|
+
subtitle: string | null;
|
|
379
|
+
icon: string | null;
|
|
380
|
+
priority: number;
|
|
381
|
+
opportunityId: string;
|
|
382
|
+
}[];
|
|
383
|
+
MainProtocol: {
|
|
384
384
|
id: string;
|
|
385
385
|
tags: string[];
|
|
386
386
|
name: string;
|
|
@@ -390,7 +390,7 @@ export declare abstract class CarouselRepository {
|
|
|
390
390
|
banner: string | null;
|
|
391
391
|
opportunityBannerLight: string | null;
|
|
392
392
|
opportunityBannerDark: string | null;
|
|
393
|
-
}
|
|
393
|
+
} | null;
|
|
394
394
|
Tokens: {
|
|
395
395
|
id: string;
|
|
396
396
|
name: string | null;
|
|
@@ -505,18 +505,16 @@ export declare abstract class CarouselRepository {
|
|
|
505
505
|
endOfDisputePeriod: number;
|
|
506
506
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
507
507
|
};
|
|
508
|
-
|
|
508
|
+
DepositUrls: {
|
|
509
509
|
id: string;
|
|
510
|
-
|
|
511
|
-
name: string;
|
|
512
|
-
description: string;
|
|
510
|
+
title: string;
|
|
513
511
|
url: string;
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
}
|
|
519
|
-
|
|
512
|
+
subtitle: string | null;
|
|
513
|
+
icon: string | null;
|
|
514
|
+
priority: number;
|
|
515
|
+
opportunityId: string;
|
|
516
|
+
}[];
|
|
517
|
+
MainProtocol: {
|
|
520
518
|
id: string;
|
|
521
519
|
tags: string[];
|
|
522
520
|
name: string;
|
|
@@ -526,7 +524,7 @@ export declare abstract class CarouselRepository {
|
|
|
526
524
|
banner: string | null;
|
|
527
525
|
opportunityBannerLight: string | null;
|
|
528
526
|
opportunityBannerDark: string | null;
|
|
529
|
-
}
|
|
527
|
+
} | null;
|
|
530
528
|
Tokens: {
|
|
531
529
|
id: string;
|
|
532
530
|
name: string | null;
|
|
@@ -590,18 +588,16 @@ export declare abstract class CarouselRepository {
|
|
|
590
588
|
endOfDisputePeriod: number;
|
|
591
589
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
592
590
|
};
|
|
593
|
-
|
|
591
|
+
DepositUrls: {
|
|
594
592
|
id: string;
|
|
595
|
-
|
|
596
|
-
name: string;
|
|
597
|
-
description: string;
|
|
593
|
+
title: string;
|
|
598
594
|
url: string;
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
}
|
|
604
|
-
|
|
595
|
+
subtitle: string | null;
|
|
596
|
+
icon: string | null;
|
|
597
|
+
priority: number;
|
|
598
|
+
opportunityId: string;
|
|
599
|
+
}[];
|
|
600
|
+
MainProtocol: {
|
|
605
601
|
id: string;
|
|
606
602
|
tags: string[];
|
|
607
603
|
name: string;
|
|
@@ -611,7 +607,7 @@ export declare abstract class CarouselRepository {
|
|
|
611
607
|
banner: string | null;
|
|
612
608
|
opportunityBannerLight: string | null;
|
|
613
609
|
opportunityBannerDark: string | null;
|
|
614
|
-
}
|
|
610
|
+
} | null;
|
|
615
611
|
Tokens: {
|
|
616
612
|
id: string;
|
|
617
613
|
name: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carousel.repository.js","sourceRoot":"","sources":["../../../../../../../apps/api/src/modules/v4/carousel/carousel.repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAGpE,MAAM,OAAgB,kBAAkB;IACtC,MAAM,CAAC,kBAAkB,GAAG;QAC1B,OAAO;YACL,OAAO,EAAE;gBACP,OAAO,EAAE;oBACP,WAAW,EAAE;wBACX,OAAO,EAAE;4BACP,YAAY,EAAE,IAAI;4BAClB,KAAK,EAAE,IAAI;4BACX,
|
|
1
|
+
{"version":3,"file":"carousel.repository.js","sourceRoot":"","sources":["../../../../../../../apps/api/src/modules/v4/carousel/carousel.repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAGpE,MAAM,OAAgB,kBAAkB;IACtC,MAAM,CAAC,kBAAkB,GAAG;QAC1B,OAAO;YACL,OAAO,EAAE;gBACP,OAAO,EAAE;oBACP,WAAW,EAAE;wBACX,OAAO,EAAE;4BACP,YAAY,EAAE,IAAI;4BAClB,KAAK,EAAE,IAAI;4BACX,MAAM,EAAE,IAAI;4BACZ,cAAc,EAAE,IAAI;4BACpB,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,KAAc,EAAE,EAAE;yBACvD;qBACF;iBACF;aACF;YACD,KAAK,EAAE;gBACL,OAAO,EAAE;oBACP,QAAQ,EAAE,IAAI;iBACf;aACF;YACD,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE;gBACX,OAAO,EAAE;oBACP,MAAM,EAAE,IAAI;oBACZ,KAAK,EAAE,IAAI;oBACX,YAAY,EAAE,IAAI;oBAClB,cAAc,EAAE,IAAI;oBACpB,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,KAAc,EAAE,EAAE;iBACvD;aACF;SACF,CAAC;IAAA,CACH;IAED,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,IAA0B,EAAE;QAC9C,OAAO,MAAM,WAAW,CAAC,QAAQ,CAAC,MAAM,CAAC;YACvC,IAAI,EAAE;gBACJ,GAAG,IAAI;aACR;YACD,OAAO,EAAE,kBAAkB,CAAC,kBAAkB,EAAE;SACjD,CAAC,CAAC;IAAA,CACJ;IAED,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAgC,EAAE;QACtD,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;QAC9B,OAAO,WAAW,CAAC,QAAQ,CAAC,QAAQ,CAAC;YACnC,GAAG,uBAAuB,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;YAC3C,OAAO,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE;YACxB,OAAO,EAAE,kBAAkB,CAAC,kBAAkB,EAAE;SACjD,CAAC,CAAC;IAAA,CACJ;IAED,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC,EAAU,EAAE;QAClC,OAAO,MAAM,WAAW,CAAC,QAAQ,CAAC,iBAAiB,CAAC;YAClD,KAAK,EAAE,EAAE,EAAE,EAAE;YACb,OAAO,EAAE,kBAAkB,CAAC,kBAAkB,EAAE;SACjD,CAAC,CAAC;IAAA,CACJ;IAED,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,IAAuB,EAAE;QAC3C,OAAO,MAAM,WAAW,CAAC,QAAQ,CAAC,MAAM,CAAC;YACvC,KAAK,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,EAAE,EAAE;YACtB,IAAI,EAAE;gBACJ,GAAG,IAAI;aACR;SACF,CAAC,CAAC;IAAA,CACJ;IAED,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC,IAAyB,EAAE;QACjD,OAAO,MAAM,OAAO,CAAC,GAAG,CACtB,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAClB,WAAW,CAAC,QAAQ,CAAC,MAAM,CAAC;YAC1B,KAAK,EAAE,EAAE,EAAE,EAAE,QAAQ,CAAC,EAAE,EAAE;YAC1B,IAAI,EAAE;gBACJ,GAAG,QAAQ;aACZ;SACF,CAAC,CACH,CACF,CAAC;IAAA,CACH;IAED,MAAM,CAAC,KAAK,CAAC,KAAK,GAAG;QACnB,OAAO,WAAW,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC;IAAA,CACrC;IAED,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAU,EAAE;QAC9B,OAAO,WAAW,CAAC,QAAQ,CAAC,MAAM,CAAC;YACjC,KAAK,EAAE,EAAE,EAAE,EAAE;SACd,CAAC,CAAC;IAAA,CACJ;CACF"}
|