@merkl/api 0.10.405 → 0.10.407
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/backgroundJobs/jobs/campaignsCacheUpdater.d.ts +2 -12
- package/dist/src/backgroundJobs/jobs/health.d.ts +2 -12
- package/dist/src/backgroundJobs/jobs/opportunityUpdater.d.ts +2 -3
- package/dist/src/backgroundJobs/jobs/priceUpdater.d.ts +2 -3
- package/dist/src/backgroundJobs/jobs/sync.d.ts +2 -12
- package/dist/src/eden/index.d.ts +10853 -8818
- package/dist/src/hooks/checkQueryAddressValidity.d.ts +2 -3
- package/dist/src/hooks/checkQueryChainIdValidity.d.ts +2 -3
- package/dist/src/index.d.ts +66 -1379
- package/dist/src/internal/controllers/endingCampaigns.d.ts +2 -12
- package/dist/src/internal/controllers/unclaimed.d.ts +2 -12
- package/dist/src/jobs/etl/pendings.js +129 -2
- package/dist/src/modules/v4/accounting/accounting.controller.d.ts +2 -66
- package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +2 -30
- package/dist/src/modules/v4/boost/boost.controller.d.ts +2 -12
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +5 -78
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +6 -6
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +4 -4
- package/dist/src/modules/v4/chain/chain.controller.d.ts +2 -39
- package/dist/src/modules/v4/claims/claims.controller.d.ts +2 -12
- package/dist/src/modules/v4/computedValue/computedValue.controller.d.ts +2 -39
- package/dist/src/modules/v4/creator/creator.controller.d.ts +2 -39
- package/dist/src/modules/v4/dungeonKeeper/dungeonKeeper.controller.d.ts +2 -3
- package/dist/src/modules/v4/dynamicData/dynamicData.controller.d.ts +3 -31
- package/dist/src/modules/v4/enso/enso.service.d.ts +1 -1
- package/dist/src/modules/v4/explorer/explorer.controller.d.ts +2 -12
- package/dist/src/modules/v4/interaction/interaction.controller.d.ts +3 -31
- package/dist/src/modules/v4/liquidity/liquidity.controller.d.ts +2 -12
- package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +2 -21
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +18 -118
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +30 -30
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +12 -12
- package/dist/src/modules/v4/price/price.controller.d.ts +2 -48
- package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +2 -75
- package/dist/src/modules/v4/protocol/protocol.controller.d.ts +9 -46
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +5 -5
- package/dist/src/modules/v4/protocol/protocol.service.d.ts +2 -2
- package/dist/src/modules/v4/reward/reward.controller.d.ts +5 -147
- package/dist/src/modules/v4/reward/reward.repository.d.ts +3 -3
- package/dist/src/modules/v4/reward/reward.service.d.ts +18 -18
- package/dist/src/modules/v4/router.d.ts +45 -1009
- package/dist/src/modules/v4/status/status.controller.d.ts +2 -48
- package/dist/src/modules/v4/token/token.controller.d.ts +2 -75
- package/dist/src/modules/v4/uniswapV4/uniswapV4.controller.d.ts +2 -12
- package/dist/src/modules/v4/user/user.controller.d.ts +8 -90
- package/dist/src/plugins/error-handling.plugin.d.ts +2 -3
- package/dist/src/plugins/logger.plugin.d.ts +2 -3
- package/dist/src/routes/v1/allowances.d.ts +2 -12
- package/dist/src/routes/v1/balances.d.ts +2 -12
- package/dist/src/routes/v1/prices.d.ts +2 -12
- package/dist/src/routes/v1/router.d.ts +2 -39
- package/dist/src/routes/v1/tokens.d.ts +2 -12
- package/dist/src/routes/v2/merkl.d.ts +2 -12
- package/dist/src/routes/v2/router.d.ts +2 -12
- package/dist/src/routes/v3/app.d.ts +2 -12
- package/dist/src/routes/v3/blacklist.d.ts +2 -12
- package/dist/src/routes/v3/campaign/delay.d.ts +2 -12
- package/dist/src/routes/v3/campaignClaims.d.ts +2 -12
- package/dist/src/routes/v3/campaignReport.d.ts +2 -12
- package/dist/src/routes/v3/campaignUnclaimed.d.ts +2 -12
- package/dist/src/routes/v3/campaigns.d.ts +2 -12
- package/dist/src/routes/v3/campaignsForMainParameter.d.ts +2 -12
- package/dist/src/routes/v3/campaignsInfo.d.ts +2 -12
- package/dist/src/routes/v3/campaignsRewardsReport.d.ts +2 -12
- package/dist/src/routes/v3/claims.d.ts +2 -12
- package/dist/src/routes/v3/compoundV2.d.ts +2 -12
- package/dist/src/routes/v3/createCampaign.d.ts +2 -12
- package/dist/src/routes/v3/dolomite.d.ts +2 -12
- package/dist/src/routes/v3/euler.d.ts +2 -12
- package/dist/src/routes/v3/exports/campaigns.d.ts +2 -12
- package/dist/src/routes/v3/fetch.d.ts +2 -12
- package/dist/src/routes/v3/health.d.ts +2 -12
- package/dist/src/routes/v3/lostyield.d.ts +2 -12
- package/dist/src/routes/v3/merkl.d.ts +2 -3
- package/dist/src/routes/v3/morphoMarkets.d.ts +2 -12
- package/dist/src/routes/v3/morphoVaults.d.ts +2 -12
- package/dist/src/routes/v3/multiChainPositions.d.ts +2 -12
- package/dist/src/routes/v3/opportunity.d.ts +2 -12
- package/dist/src/routes/v3/overview.d.ts +2 -12
- package/dist/src/routes/v3/parse.d.ts +2 -12
- package/dist/src/routes/v3/payload.d.ts +2 -12
- package/dist/src/routes/v3/poolInfo.d.ts +2 -12
- package/dist/src/routes/v3/positions.d.ts +2 -12
- package/dist/src/routes/v3/radiant.d.ts +2 -12
- package/dist/src/routes/v3/recipients.d.ts +2 -12
- package/dist/src/routes/v3/rewards.d.ts +2 -12
- package/dist/src/routes/v3/rewardsReport.d.ts +2 -12
- package/dist/src/routes/v3/router.d.ts +3 -328
- package/dist/src/routes/v3/silo.d.ts +2 -12
- package/dist/src/routes/v3/token.d.ts +2 -12
- package/dist/src/routes/v3/tokenUnclaimed.d.ts +2 -12
- package/dist/src/routes/v3/twt/participants.d.ts +2 -12
- package/dist/src/routes/v3/uniswapv4.d.ts +2 -12
- package/dist/src/routes/v3/updates.d.ts +2 -12
- package/dist/src/routes/v3/userRewards.d.ts +2 -12
- package/dist/src/utils/error.d.ts +2 -3
- package/dist/src/utils/logger.d.ts +8 -0
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +6 -6
@@ -1,17 +1,16 @@
|
|
1
1
|
import Elysia from "elysia";
|
2
|
-
export declare const ProtocolController: Elysia<"/protocols", {
|
2
|
+
export declare const ProtocolController: Elysia<"/protocols", false, {
|
3
3
|
decorator: {};
|
4
4
|
store: {};
|
5
5
|
derive: {};
|
6
6
|
resolve: {};
|
7
7
|
}, {
|
8
|
-
|
8
|
+
type: {};
|
9
9
|
error: {};
|
10
10
|
}, {
|
11
11
|
schema: {};
|
12
12
|
macro: {};
|
13
13
|
macroFn: {};
|
14
|
-
parser: {};
|
15
14
|
}, {
|
16
15
|
protocols: {
|
17
16
|
index: {
|
@@ -19,9 +18,9 @@ export declare const ProtocolController: Elysia<"/protocols", {
|
|
19
18
|
body: unknown;
|
20
19
|
params: {};
|
21
20
|
query: {
|
22
|
-
items?: number | undefined;
|
23
21
|
name?: string | undefined;
|
24
22
|
id?: string | undefined;
|
23
|
+
items?: number | undefined;
|
25
24
|
tags?: string[] | undefined;
|
26
25
|
page?: number | undefined;
|
27
26
|
opportunityTag?: string | undefined;
|
@@ -29,22 +28,13 @@ export declare const ProtocolController: Elysia<"/protocols", {
|
|
29
28
|
headers: unknown;
|
30
29
|
response: {
|
31
30
|
200: ({
|
32
|
-
description: string;
|
33
31
|
name: string;
|
34
32
|
url: string;
|
33
|
+
description: string;
|
35
34
|
id: string;
|
36
35
|
tags: string[];
|
37
36
|
icon: string;
|
38
37
|
} & {})[];
|
39
|
-
422: {
|
40
|
-
type: "validation";
|
41
|
-
on: string;
|
42
|
-
summary?: string;
|
43
|
-
message?: string;
|
44
|
-
found?: unknown;
|
45
|
-
property?: string;
|
46
|
-
expected?: string;
|
47
|
-
};
|
48
38
|
};
|
49
39
|
};
|
50
40
|
};
|
@@ -75,22 +65,13 @@ export declare const ProtocolController: Elysia<"/protocols", {
|
|
75
65
|
headers: unknown;
|
76
66
|
response: {
|
77
67
|
200: {
|
78
|
-
description: string;
|
79
68
|
name: string;
|
80
69
|
url: string;
|
70
|
+
description: string;
|
81
71
|
id: string;
|
82
72
|
tags: string[];
|
83
73
|
icon: string;
|
84
74
|
} | null;
|
85
|
-
422: {
|
86
|
-
type: "validation";
|
87
|
-
on: string;
|
88
|
-
summary?: string;
|
89
|
-
message?: string;
|
90
|
-
found?: unknown;
|
91
|
-
property?: string;
|
92
|
-
expected?: string;
|
93
|
-
};
|
94
75
|
};
|
95
76
|
};
|
96
77
|
};
|
@@ -100,9 +81,9 @@ export declare const ProtocolController: Elysia<"/protocols", {
|
|
100
81
|
":id": {
|
101
82
|
patch: {
|
102
83
|
body: {
|
103
|
-
description?: string | undefined;
|
104
84
|
name?: string | undefined;
|
105
85
|
url?: string | undefined;
|
86
|
+
description?: string | undefined;
|
106
87
|
icon?: string | undefined;
|
107
88
|
};
|
108
89
|
params: {
|
@@ -114,22 +95,13 @@ export declare const ProtocolController: Elysia<"/protocols", {
|
|
114
95
|
};
|
115
96
|
response: {
|
116
97
|
200: {
|
117
|
-
description: string;
|
118
98
|
name: string;
|
119
99
|
url: string;
|
100
|
+
description: string;
|
120
101
|
id: string;
|
121
102
|
tags: string[];
|
122
103
|
icon: string;
|
123
104
|
};
|
124
|
-
422: {
|
125
|
-
type: "validation";
|
126
|
-
on: string;
|
127
|
-
summary?: string;
|
128
|
-
message?: string;
|
129
|
-
found?: unknown;
|
130
|
-
property?: string;
|
131
|
-
expected?: string;
|
132
|
-
};
|
133
105
|
};
|
134
106
|
};
|
135
107
|
};
|
@@ -139,9 +111,9 @@ export declare const ProtocolController: Elysia<"/protocols", {
|
|
139
111
|
index: {
|
140
112
|
post: {
|
141
113
|
body: {
|
142
|
-
description: string;
|
143
114
|
name: string;
|
144
115
|
url: string;
|
116
|
+
description: string;
|
145
117
|
id: string;
|
146
118
|
tags: string[];
|
147
119
|
icon: string;
|
@@ -153,22 +125,13 @@ export declare const ProtocolController: Elysia<"/protocols", {
|
|
153
125
|
};
|
154
126
|
response: {
|
155
127
|
200: {
|
156
|
-
description: string;
|
157
128
|
name: string;
|
158
129
|
url: string;
|
130
|
+
description: string;
|
159
131
|
id: string;
|
160
132
|
tags: string[];
|
161
133
|
icon: string;
|
162
134
|
};
|
163
|
-
422: {
|
164
|
-
type: "validation";
|
165
|
-
on: string;
|
166
|
-
summary?: string;
|
167
|
-
message?: string;
|
168
|
-
found?: unknown;
|
169
|
-
property?: string;
|
170
|
-
expected?: string;
|
171
|
-
};
|
172
135
|
};
|
173
136
|
};
|
174
137
|
};
|
@@ -2,42 +2,42 @@ import type { CreateProtocolModel, GetProtocolsQueryModel, UpdateProtocolModel }
|
|
2
2
|
export declare abstract class ProtocolRepository {
|
3
3
|
#private;
|
4
4
|
static create(data: CreateProtocolModel): Promise<{
|
5
|
-
description: string;
|
6
5
|
name: string;
|
7
6
|
url: string;
|
7
|
+
description: string;
|
8
8
|
id: string;
|
9
9
|
tags: string[];
|
10
10
|
icon: string;
|
11
11
|
}>;
|
12
12
|
static read(type: string): Promise<{
|
13
|
-
description: string;
|
14
13
|
name: string;
|
15
14
|
url: string;
|
15
|
+
description: string;
|
16
16
|
id: string;
|
17
17
|
tags: string[];
|
18
18
|
icon: string;
|
19
19
|
} | null>;
|
20
20
|
static findManyByName(name: string): Promise<{
|
21
|
-
description: string;
|
22
21
|
name: string;
|
23
22
|
url: string;
|
23
|
+
description: string;
|
24
24
|
id: string;
|
25
25
|
tags: string[];
|
26
26
|
icon: string;
|
27
27
|
}[]>;
|
28
28
|
static findMany(query: GetProtocolsQueryModel): Promise<{
|
29
|
-
description: string;
|
30
29
|
name: string;
|
31
30
|
url: string;
|
31
|
+
description: string;
|
32
32
|
id: string;
|
33
33
|
tags: string[];
|
34
34
|
icon: string;
|
35
35
|
}[]>;
|
36
36
|
static countMany(query: GetProtocolsQueryModel): Promise<number>;
|
37
37
|
static update(id: string, data: UpdateProtocolModel): Promise<{
|
38
|
-
description: string;
|
39
38
|
name: string;
|
40
39
|
url: string;
|
40
|
+
description: string;
|
41
41
|
id: string;
|
42
42
|
tags: string[];
|
43
43
|
icon: string;
|
@@ -7,17 +7,17 @@ export declare abstract class ProtocolService {
|
|
7
7
|
static getFromId(id: ProtocolId | string): Promise<Protocol["model"] | null>;
|
8
8
|
static getFromName(name: string): Promise<Protocol["model"] | null>;
|
9
9
|
static create(data: CreateProtocolModel): Promise<{
|
10
|
-
description: string;
|
11
10
|
name: string;
|
12
11
|
url: string;
|
12
|
+
description: string;
|
13
13
|
id: string;
|
14
14
|
tags: string[];
|
15
15
|
icon: string;
|
16
16
|
}>;
|
17
17
|
static update(id: string, data: UpdateProtocolModel): Promise<{
|
18
|
-
description: string;
|
19
18
|
name: string;
|
20
19
|
url: string;
|
20
|
+
description: string;
|
21
21
|
id: string;
|
22
22
|
tags: string[];
|
23
23
|
icon: string;
|
@@ -1,17 +1,16 @@
|
|
1
1
|
import Elysia from "elysia";
|
2
|
-
export declare const RewardController: Elysia<"/rewards", {
|
2
|
+
export declare const RewardController: Elysia<"/rewards", false, {
|
3
3
|
decorator: {};
|
4
4
|
store: {};
|
5
5
|
derive: {};
|
6
6
|
resolve: {};
|
7
7
|
}, {
|
8
|
-
|
8
|
+
type: {};
|
9
9
|
error: {};
|
10
10
|
}, {
|
11
11
|
schema: {};
|
12
12
|
macro: {};
|
13
13
|
macroFn: {};
|
14
|
-
parser: {};
|
15
14
|
}, {
|
16
15
|
rewards: {
|
17
16
|
index: {
|
@@ -27,15 +26,6 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
27
26
|
headers: unknown;
|
28
27
|
response: {
|
29
28
|
200: import("./reward.model").BreakdownForCampaignsRaw[];
|
30
|
-
422: {
|
31
|
-
type: "validation";
|
32
|
-
on: string;
|
33
|
-
summary?: string;
|
34
|
-
message?: string;
|
35
|
-
found?: unknown;
|
36
|
-
property?: string;
|
37
|
-
expected?: string;
|
38
|
-
};
|
39
29
|
};
|
40
30
|
};
|
41
31
|
};
|
@@ -56,15 +46,6 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
56
46
|
campaignId: string;
|
57
47
|
amount: bigint;
|
58
48
|
};
|
59
|
-
422: {
|
60
|
-
type: "validation";
|
61
|
-
on: string;
|
62
|
-
summary?: string;
|
63
|
-
message?: string;
|
64
|
-
found?: unknown;
|
65
|
-
property?: string;
|
66
|
-
expected?: string;
|
67
|
-
};
|
68
49
|
};
|
69
50
|
};
|
70
51
|
};
|
@@ -84,15 +65,6 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
84
65
|
200: {
|
85
66
|
count: number;
|
86
67
|
};
|
87
|
-
422: {
|
88
|
-
type: "validation";
|
89
|
-
on: string;
|
90
|
-
summary?: string;
|
91
|
-
message?: string;
|
92
|
-
found?: unknown;
|
93
|
-
property?: string;
|
94
|
-
expected?: string;
|
95
|
-
};
|
96
68
|
};
|
97
69
|
};
|
98
70
|
};
|
@@ -102,9 +74,7 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
102
74
|
index: {
|
103
75
|
get: {
|
104
76
|
body: unknown;
|
105
|
-
params: {
|
106
|
-
campaignId: string;
|
107
|
-
};
|
77
|
+
params: {};
|
108
78
|
query: {
|
109
79
|
items?: number | undefined;
|
110
80
|
page?: number | undefined;
|
@@ -117,15 +87,6 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
117
87
|
pending: string;
|
118
88
|
recipient: string;
|
119
89
|
}[];
|
120
|
-
422: {
|
121
|
-
type: "validation";
|
122
|
-
on: string;
|
123
|
-
summary?: string;
|
124
|
-
message?: string;
|
125
|
-
found?: unknown;
|
126
|
-
property?: string;
|
127
|
-
expected?: string;
|
128
|
-
};
|
129
90
|
};
|
130
91
|
};
|
131
92
|
};
|
@@ -137,9 +98,7 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
137
98
|
total: {
|
138
99
|
get: {
|
139
100
|
body: unknown;
|
140
|
-
params: {
|
141
|
-
campaignId: string;
|
142
|
-
};
|
101
|
+
params: {};
|
143
102
|
query: {
|
144
103
|
items?: number | undefined;
|
145
104
|
page?: number | undefined;
|
@@ -150,15 +109,6 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
150
109
|
tokenId: string;
|
151
110
|
amount: bigint;
|
152
111
|
};
|
153
|
-
422: {
|
154
|
-
type: "validation";
|
155
|
-
on: string;
|
156
|
-
summary?: string;
|
157
|
-
message?: string;
|
158
|
-
found?: unknown;
|
159
|
-
property?: string;
|
160
|
-
expected?: string;
|
161
|
-
};
|
162
112
|
};
|
163
113
|
};
|
164
114
|
};
|
@@ -170,9 +120,7 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
170
120
|
count: {
|
171
121
|
get: {
|
172
122
|
body: unknown;
|
173
|
-
params: {
|
174
|
-
campaignId: string;
|
175
|
-
};
|
123
|
+
params: {};
|
176
124
|
query: {
|
177
125
|
items?: number | undefined;
|
178
126
|
page?: number | undefined;
|
@@ -182,15 +130,6 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
182
130
|
200: {
|
183
131
|
count: number;
|
184
132
|
};
|
185
|
-
422: {
|
186
|
-
type: "validation";
|
187
|
-
on: string;
|
188
|
-
summary?: string;
|
189
|
-
message?: string;
|
190
|
-
found?: unknown;
|
191
|
-
property?: string;
|
192
|
-
expected?: string;
|
193
|
-
};
|
194
133
|
};
|
195
134
|
};
|
196
135
|
};
|
@@ -217,15 +156,6 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
217
156
|
pending: string;
|
218
157
|
recipient: string;
|
219
158
|
}[];
|
220
|
-
422: {
|
221
|
-
type: "validation";
|
222
|
-
on: string;
|
223
|
-
summary?: string;
|
224
|
-
message?: string;
|
225
|
-
found?: unknown;
|
226
|
-
property?: string;
|
227
|
-
expected?: string;
|
228
|
-
};
|
229
159
|
};
|
230
160
|
};
|
231
161
|
};
|
@@ -249,15 +179,6 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
249
179
|
tokenId: string;
|
250
180
|
amount: bigint;
|
251
181
|
};
|
252
|
-
422: {
|
253
|
-
type: "validation";
|
254
|
-
on: string;
|
255
|
-
summary?: string;
|
256
|
-
message?: string;
|
257
|
-
found?: unknown;
|
258
|
-
property?: string;
|
259
|
-
expected?: string;
|
260
|
-
};
|
261
182
|
};
|
262
183
|
};
|
263
184
|
};
|
@@ -280,15 +201,6 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
280
201
|
200: {
|
281
202
|
count: number;
|
282
203
|
};
|
283
|
-
422: {
|
284
|
-
type: "validation";
|
285
|
-
on: string;
|
286
|
-
summary?: string;
|
287
|
-
message?: string;
|
288
|
-
found?: unknown;
|
289
|
-
property?: string;
|
290
|
-
expected?: string;
|
291
|
-
};
|
292
204
|
};
|
293
205
|
};
|
294
206
|
};
|
@@ -316,15 +228,6 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
316
228
|
200: {
|
317
229
|
count: number;
|
318
230
|
};
|
319
|
-
422: {
|
320
|
-
type: "validation";
|
321
|
-
on: string;
|
322
|
-
summary?: string;
|
323
|
-
message?: string;
|
324
|
-
found?: unknown;
|
325
|
-
property?: string;
|
326
|
-
expected?: string;
|
327
|
-
};
|
328
231
|
};
|
329
232
|
};
|
330
233
|
};
|
@@ -356,15 +259,6 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
356
259
|
200: {
|
357
260
|
count: number;
|
358
261
|
} | undefined;
|
359
|
-
422: {
|
360
|
-
type: "validation";
|
361
|
-
on: string;
|
362
|
-
summary?: string;
|
363
|
-
message?: string;
|
364
|
-
found?: unknown;
|
365
|
-
property?: string;
|
366
|
-
expected?: string;
|
367
|
-
};
|
368
262
|
};
|
369
263
|
};
|
370
264
|
};
|
@@ -386,15 +280,6 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
386
280
|
};
|
387
281
|
response: {
|
388
282
|
200: void;
|
389
|
-
422: {
|
390
|
-
type: "validation";
|
391
|
-
on: string;
|
392
|
-
summary?: string;
|
393
|
-
message?: string;
|
394
|
-
found?: unknown;
|
395
|
-
property?: string;
|
396
|
-
expected?: string;
|
397
|
-
};
|
398
283
|
};
|
399
284
|
};
|
400
285
|
};
|
@@ -424,15 +309,6 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
424
309
|
created: number;
|
425
310
|
updated: number;
|
426
311
|
};
|
427
|
-
422: {
|
428
|
-
type: "validation";
|
429
|
-
on: string;
|
430
|
-
summary?: string;
|
431
|
-
message?: string;
|
432
|
-
found?: unknown;
|
433
|
-
property?: string;
|
434
|
-
expected?: string;
|
435
|
-
};
|
436
312
|
};
|
437
313
|
};
|
438
314
|
};
|
@@ -456,15 +332,6 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
456
332
|
breakdownCount: number;
|
457
333
|
};
|
458
334
|
};
|
459
|
-
422: {
|
460
|
-
type: "validation";
|
461
|
-
on: string;
|
462
|
-
summary?: string;
|
463
|
-
message?: string;
|
464
|
-
found?: unknown;
|
465
|
-
property?: string;
|
466
|
-
expected?: string;
|
467
|
-
};
|
468
335
|
};
|
469
336
|
};
|
470
337
|
};
|
@@ -484,15 +351,6 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
484
351
|
200: {
|
485
352
|
[x: string]: string;
|
486
353
|
};
|
487
|
-
422: {
|
488
|
-
type: "validation";
|
489
|
-
on: string;
|
490
|
-
summary?: string;
|
491
|
-
message?: string;
|
492
|
-
found?: unknown;
|
493
|
-
property?: string;
|
494
|
-
expected?: string;
|
495
|
-
};
|
496
354
|
};
|
497
355
|
};
|
498
356
|
};
|
@@ -39,24 +39,24 @@ export declare abstract class RewardRepository {
|
|
39
39
|
price: number | null;
|
40
40
|
}[];
|
41
41
|
Protocols: {
|
42
|
-
description: string;
|
43
42
|
name: string;
|
44
43
|
url: string;
|
44
|
+
description: string;
|
45
45
|
id: string;
|
46
46
|
tags: string[];
|
47
47
|
icon: string;
|
48
48
|
}[];
|
49
49
|
MainProtocol: {
|
50
|
-
description: string;
|
51
50
|
name: string;
|
52
51
|
url: string;
|
52
|
+
description: string;
|
53
53
|
id: string;
|
54
54
|
tags: string[];
|
55
55
|
icon: string;
|
56
56
|
} | null;
|
57
57
|
} & {
|
58
|
-
type: import("../../../../database/api/.generated").$Enums.CampaignType;
|
59
58
|
name: string;
|
59
|
+
type: import("../../../../database/api/.generated").$Enums.CampaignType;
|
60
60
|
id: string;
|
61
61
|
status: import("../../../../database/api/.generated").$Enums.Status;
|
62
62
|
tags: string[];
|