@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 StatusController: Elysia<"/campaign-status", {
|
2
|
+
export declare const StatusController: Elysia<"/campaign-status", 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
|
"campaign-status": {
|
17
16
|
engine: {
|
@@ -40,15 +39,6 @@ export declare const StatusController: Elysia<"/campaign-status", {
|
|
40
39
|
};
|
41
40
|
response: {
|
42
41
|
200: void;
|
43
|
-
422: {
|
44
|
-
type: "validation";
|
45
|
-
on: string;
|
46
|
-
summary?: string;
|
47
|
-
message?: string;
|
48
|
-
found?: unknown;
|
49
|
-
property?: string;
|
50
|
-
expected?: string;
|
51
|
-
};
|
52
42
|
};
|
53
43
|
};
|
54
44
|
};
|
@@ -68,15 +58,6 @@ export declare const StatusController: Elysia<"/campaign-status", {
|
|
68
58
|
};
|
69
59
|
response: {
|
70
60
|
200: boolean;
|
71
|
-
422: {
|
72
|
-
type: "validation";
|
73
|
-
on: string;
|
74
|
-
summary?: string;
|
75
|
-
message?: string;
|
76
|
-
found?: unknown;
|
77
|
-
property?: string;
|
78
|
-
expected?: string;
|
79
|
-
};
|
80
61
|
};
|
81
62
|
};
|
82
63
|
};
|
@@ -100,15 +81,6 @@ export declare const StatusController: Elysia<"/campaign-status", {
|
|
100
81
|
computedUntil: bigint;
|
101
82
|
processingStarted: bigint;
|
102
83
|
}[];
|
103
|
-
422: {
|
104
|
-
type: "validation";
|
105
|
-
on: string;
|
106
|
-
summary?: string;
|
107
|
-
message?: string;
|
108
|
-
found?: unknown;
|
109
|
-
property?: string;
|
110
|
-
expected?: string;
|
111
|
-
};
|
112
84
|
};
|
113
85
|
};
|
114
86
|
};
|
@@ -137,15 +109,6 @@ export declare const StatusController: Elysia<"/campaign-status", {
|
|
137
109
|
computedUntil: bigint;
|
138
110
|
processingStarted: bigint;
|
139
111
|
};
|
140
|
-
422: {
|
141
|
-
type: "validation";
|
142
|
-
on: string;
|
143
|
-
summary?: string;
|
144
|
-
message?: string;
|
145
|
-
found?: unknown;
|
146
|
-
property?: string;
|
147
|
-
expected?: string;
|
148
|
-
};
|
149
112
|
};
|
150
113
|
};
|
151
114
|
};
|
@@ -182,15 +145,6 @@ export declare const StatusController: Elysia<"/campaign-status", {
|
|
182
145
|
distributionChainId: number;
|
183
146
|
campaignId: string;
|
184
147
|
}[];
|
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
148
|
};
|
195
149
|
};
|
196
150
|
};
|
@@ -1,17 +1,16 @@
|
|
1
1
|
import Elysia from "elysia";
|
2
|
-
export declare const TokenController: Elysia<"/tokens", {
|
2
|
+
export declare const TokenController: Elysia<"/tokens", 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
|
tokens: {
|
17
16
|
":id": {
|
@@ -35,15 +34,6 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
35
34
|
isTest: boolean;
|
36
35
|
price?: number | null | undefined;
|
37
36
|
} | undefined;
|
38
|
-
422: {
|
39
|
-
type: "validation";
|
40
|
-
on: string;
|
41
|
-
summary?: string;
|
42
|
-
message?: string;
|
43
|
-
found?: unknown;
|
44
|
-
property?: string;
|
45
|
-
expected?: string;
|
46
|
-
};
|
47
37
|
};
|
48
38
|
};
|
49
39
|
};
|
@@ -77,15 +67,6 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
77
67
|
isTest: boolean;
|
78
68
|
price?: number | null | undefined;
|
79
69
|
} | undefined;
|
80
|
-
422: {
|
81
|
-
type: "validation";
|
82
|
-
on: string;
|
83
|
-
summary?: string;
|
84
|
-
message?: string;
|
85
|
-
found?: unknown;
|
86
|
-
property?: string;
|
87
|
-
expected?: string;
|
88
|
-
};
|
89
70
|
};
|
90
71
|
};
|
91
72
|
};
|
@@ -119,15 +100,6 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
119
100
|
isTest: boolean;
|
120
101
|
price: number | null;
|
121
102
|
}[];
|
122
|
-
422: {
|
123
|
-
type: "validation";
|
124
|
-
on: string;
|
125
|
-
summary?: string;
|
126
|
-
message?: string;
|
127
|
-
found?: unknown;
|
128
|
-
property?: string;
|
129
|
-
expected?: string;
|
130
|
-
};
|
131
103
|
};
|
132
104
|
};
|
133
105
|
};
|
@@ -162,15 +134,6 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
162
134
|
} & {
|
163
135
|
balance: bigint;
|
164
136
|
})[];
|
165
|
-
422: {
|
166
|
-
type: "validation";
|
167
|
-
on: string;
|
168
|
-
summary?: string;
|
169
|
-
message?: string;
|
170
|
-
found?: unknown;
|
171
|
-
property?: string;
|
172
|
-
expected?: string;
|
173
|
-
};
|
174
137
|
};
|
175
138
|
};
|
176
139
|
};
|
@@ -205,15 +168,6 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
205
168
|
} & {
|
206
169
|
price?: number | null | undefined;
|
207
170
|
})[];
|
208
|
-
422: {
|
209
|
-
type: "validation";
|
210
|
-
on: string;
|
211
|
-
summary?: string;
|
212
|
-
message?: string;
|
213
|
-
found?: unknown;
|
214
|
-
property?: string;
|
215
|
-
expected?: string;
|
216
|
-
};
|
217
171
|
};
|
218
172
|
};
|
219
173
|
};
|
@@ -236,15 +190,6 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
236
190
|
headers: unknown;
|
237
191
|
response: {
|
238
192
|
200: number;
|
239
|
-
422: {
|
240
|
-
type: "validation";
|
241
|
-
on: string;
|
242
|
-
summary?: string;
|
243
|
-
message?: string;
|
244
|
-
found?: unknown;
|
245
|
-
property?: string;
|
246
|
-
expected?: string;
|
247
|
-
};
|
248
193
|
};
|
249
194
|
};
|
250
195
|
};
|
@@ -278,15 +223,6 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
278
223
|
isTest: boolean;
|
279
224
|
price?: number | null | undefined;
|
280
225
|
} | undefined;
|
281
|
-
422: {
|
282
|
-
type: "validation";
|
283
|
-
on: string;
|
284
|
-
summary?: string;
|
285
|
-
message?: string;
|
286
|
-
found?: unknown;
|
287
|
-
property?: string;
|
288
|
-
expected?: string;
|
289
|
-
};
|
290
226
|
};
|
291
227
|
};
|
292
228
|
};
|
@@ -321,15 +257,6 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
321
257
|
isTest: boolean;
|
322
258
|
price: number | null;
|
323
259
|
};
|
324
|
-
422: {
|
325
|
-
type: "validation";
|
326
|
-
on: string;
|
327
|
-
summary?: string;
|
328
|
-
message?: string;
|
329
|
-
found?: unknown;
|
330
|
-
property?: string;
|
331
|
-
expected?: string;
|
332
|
-
};
|
333
260
|
};
|
334
261
|
};
|
335
262
|
};
|
@@ -1,17 +1,16 @@
|
|
1
1
|
import Elysia from "elysia";
|
2
|
-
export declare const uniswapV4Controller: Elysia<"uniswap-v4", {
|
2
|
+
export declare const uniswapV4Controller: Elysia<"uniswap-v4", 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
|
"uniswap-v4": {
|
17
16
|
pools: {
|
@@ -39,15 +38,6 @@ export declare const uniswapV4Controller: Elysia<"uniswap-v4", {
|
|
39
38
|
symbolCurrency1: string;
|
40
39
|
};
|
41
40
|
};
|
42
|
-
422: {
|
43
|
-
type: "validation";
|
44
|
-
on: string;
|
45
|
-
summary?: string;
|
46
|
-
message?: string;
|
47
|
-
found?: unknown;
|
48
|
-
property?: string;
|
49
|
-
expected?: string;
|
50
|
-
};
|
51
41
|
};
|
52
42
|
};
|
53
43
|
};
|
@@ -1,18 +1,17 @@
|
|
1
1
|
import { Elysia } from "elysia";
|
2
2
|
import { RewardService } from "../reward";
|
3
|
-
export declare const UserController: Elysia<"/users", {
|
3
|
+
export declare const UserController: Elysia<"/users", false, {
|
4
4
|
decorator: {};
|
5
5
|
store: {};
|
6
6
|
derive: {};
|
7
7
|
resolve: {};
|
8
8
|
}, {
|
9
|
-
|
9
|
+
type: {};
|
10
10
|
error: {};
|
11
11
|
}, {
|
12
12
|
schema: {};
|
13
13
|
macro: {};
|
14
14
|
macroFn: {};
|
15
|
-
parser: {};
|
16
15
|
}, {
|
17
16
|
users: {
|
18
17
|
index: {
|
@@ -32,15 +31,6 @@ export declare const UserController: Elysia<"/users", {
|
|
32
31
|
address: string;
|
33
32
|
creatorId: string | null;
|
34
33
|
}[];
|
35
|
-
422: {
|
36
|
-
type: "validation";
|
37
|
-
on: string;
|
38
|
-
summary?: string;
|
39
|
-
message?: string;
|
40
|
-
found?: unknown;
|
41
|
-
property?: string;
|
42
|
-
expected?: string;
|
43
|
-
};
|
44
34
|
};
|
45
35
|
};
|
46
36
|
};
|
@@ -61,15 +51,6 @@ export declare const UserController: Elysia<"/users", {
|
|
61
51
|
address: string;
|
62
52
|
creatorId: string | null;
|
63
53
|
}[];
|
64
|
-
422: {
|
65
|
-
type: "validation";
|
66
|
-
on: string;
|
67
|
-
summary?: string;
|
68
|
-
message?: string;
|
69
|
-
found?: unknown;
|
70
|
-
property?: string;
|
71
|
-
expected?: string;
|
72
|
-
};
|
73
54
|
};
|
74
55
|
};
|
75
56
|
};
|
@@ -90,15 +71,6 @@ export declare const UserController: Elysia<"/users", {
|
|
90
71
|
address: string;
|
91
72
|
creatorId: string | null;
|
92
73
|
} | null;
|
93
|
-
422: {
|
94
|
-
type: "validation";
|
95
|
-
on: string;
|
96
|
-
summary?: string;
|
97
|
-
message?: string;
|
98
|
-
found?: unknown;
|
99
|
-
property?: string;
|
100
|
-
expected?: string;
|
101
|
-
};
|
102
74
|
};
|
103
75
|
};
|
104
76
|
};
|
@@ -121,15 +93,6 @@ export declare const UserController: Elysia<"/users", {
|
|
121
93
|
addresses: string[];
|
122
94
|
icon?: string | undefined;
|
123
95
|
} | null;
|
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
96
|
};
|
134
97
|
};
|
135
98
|
};
|
@@ -192,24 +155,24 @@ export declare const UserController: Elysia<"/users", {
|
|
192
155
|
price: number | null;
|
193
156
|
}[];
|
194
157
|
Protocols: {
|
195
|
-
description: string;
|
196
158
|
name: string;
|
197
159
|
url: string;
|
160
|
+
description: string;
|
198
161
|
id: string;
|
199
162
|
tags: string[];
|
200
163
|
icon: string;
|
201
164
|
}[];
|
202
165
|
MainProtocol: {
|
203
|
-
description: string;
|
204
166
|
name: string;
|
205
167
|
url: string;
|
168
|
+
description: string;
|
206
169
|
id: string;
|
207
170
|
tags: string[];
|
208
171
|
icon: string;
|
209
172
|
} | null;
|
210
173
|
} & {
|
211
|
-
type: import("../../../../database/api/.generated").$Enums.CampaignType;
|
212
174
|
name: string;
|
175
|
+
type: import("../../../../database/api/.generated").$Enums.CampaignType;
|
213
176
|
id: string;
|
214
177
|
status: import("../../../../database/api/.generated").$Enums.Status;
|
215
178
|
tags: string[];
|
@@ -243,15 +206,6 @@ export declare const UserController: Elysia<"/users", {
|
|
243
206
|
})[];
|
244
207
|
distributor: string;
|
245
208
|
})[];
|
246
|
-
422: {
|
247
|
-
type: "validation";
|
248
|
-
on: string;
|
249
|
-
summary?: string;
|
250
|
-
message?: string;
|
251
|
-
found?: unknown;
|
252
|
-
property?: string;
|
253
|
-
expected?: string;
|
254
|
-
};
|
255
209
|
};
|
256
210
|
};
|
257
211
|
};
|
@@ -314,24 +268,24 @@ export declare const UserController: Elysia<"/users", {
|
|
314
268
|
price: number | null;
|
315
269
|
}[];
|
316
270
|
Protocols: {
|
317
|
-
description: string;
|
318
271
|
name: string;
|
319
272
|
url: string;
|
273
|
+
description: string;
|
320
274
|
id: string;
|
321
275
|
tags: string[];
|
322
276
|
icon: string;
|
323
277
|
}[];
|
324
278
|
MainProtocol: {
|
325
|
-
description: string;
|
326
279
|
name: string;
|
327
280
|
url: string;
|
281
|
+
description: string;
|
328
282
|
id: string;
|
329
283
|
tags: string[];
|
330
284
|
icon: string;
|
331
285
|
} | null;
|
332
286
|
} & {
|
333
|
-
type: import("../../../../database/api/.generated").$Enums.CampaignType;
|
334
287
|
name: string;
|
288
|
+
type: import("../../../../database/api/.generated").$Enums.CampaignType;
|
335
289
|
id: string;
|
336
290
|
status: import("../../../../database/api/.generated").$Enums.Status;
|
337
291
|
tags: string[];
|
@@ -365,15 +319,6 @@ export declare const UserController: Elysia<"/users", {
|
|
365
319
|
}[];
|
366
320
|
})[];
|
367
321
|
})[];
|
368
|
-
422: {
|
369
|
-
type: "validation";
|
370
|
-
on: string;
|
371
|
-
summary?: string;
|
372
|
-
message?: string;
|
373
|
-
found?: unknown;
|
374
|
-
property?: string;
|
375
|
-
expected?: string;
|
376
|
-
};
|
377
322
|
};
|
378
323
|
};
|
379
324
|
};
|
@@ -398,15 +343,6 @@ export declare const UserController: Elysia<"/users", {
|
|
398
343
|
address: string;
|
399
344
|
creatorId: string | null;
|
400
345
|
};
|
401
|
-
422: {
|
402
|
-
type: "validation";
|
403
|
-
on: string;
|
404
|
-
summary?: string;
|
405
|
-
message?: string;
|
406
|
-
found?: unknown;
|
407
|
-
property?: string;
|
408
|
-
expected?: string;
|
409
|
-
};
|
410
346
|
};
|
411
347
|
};
|
412
348
|
};
|
@@ -423,15 +359,6 @@ export declare const UserController: Elysia<"/users", {
|
|
423
359
|
};
|
424
360
|
response: {
|
425
361
|
200: void;
|
426
|
-
422: {
|
427
|
-
type: "validation";
|
428
|
-
on: string;
|
429
|
-
summary?: string;
|
430
|
-
message?: string;
|
431
|
-
found?: unknown;
|
432
|
-
property?: string;
|
433
|
-
expected?: string;
|
434
|
-
};
|
435
362
|
};
|
436
363
|
};
|
437
364
|
};
|
@@ -457,15 +384,6 @@ export declare const UserController: Elysia<"/users", {
|
|
457
384
|
address: string;
|
458
385
|
creatorId: string | null;
|
459
386
|
};
|
460
|
-
422: {
|
461
|
-
type: "validation";
|
462
|
-
on: string;
|
463
|
-
summary?: string;
|
464
|
-
message?: string;
|
465
|
-
found?: unknown;
|
466
|
-
property?: string;
|
467
|
-
expected?: string;
|
468
|
-
};
|
469
387
|
};
|
470
388
|
};
|
471
389
|
};
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { BadRequestError, ConflictError, HttpError, NotFoundError, UnauthorizedError } from "../errors";
|
2
2
|
import type Elysia from "elysia";
|
3
|
-
export declare const ErrorHandler: (app: Elysia) => Elysia<"", {
|
3
|
+
export declare const ErrorHandler: (app: Elysia) => Elysia<"", false, {
|
4
4
|
decorator: {};
|
5
5
|
store: {};
|
6
6
|
derive: {};
|
7
7
|
resolve: {};
|
8
8
|
}, {
|
9
|
-
|
9
|
+
type: {};
|
10
10
|
error: {
|
11
11
|
readonly HttpError: HttpError;
|
12
12
|
readonly BadRequestError: BadRequestError;
|
@@ -18,7 +18,6 @@ export declare const ErrorHandler: (app: Elysia) => Elysia<"", {
|
|
18
18
|
schema: {};
|
19
19
|
macro: {};
|
20
20
|
macroFn: {};
|
21
|
-
parser: {};
|
22
21
|
}, {}, {
|
23
22
|
derive: {};
|
24
23
|
resolve: {};
|
@@ -1,17 +1,16 @@
|
|
1
1
|
import Elysia from "elysia";
|
2
|
-
export declare const Logger: Elysia<"", {
|
2
|
+
export declare const Logger: Elysia<"", 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
|
derive: {};
|
17
16
|
resolve: {};
|
@@ -21,19 +21,18 @@ export declare const response: import("@sinclair/typebox").TRecord<import("@sinc
|
|
21
21
|
decimals: import("@sinclair/typebox").TNumber;
|
22
22
|
symbol: import("@sinclair/typebox").TString;
|
23
23
|
}>>;
|
24
|
-
declare const _default: (app: Elysia) => Elysia<"", {
|
24
|
+
declare const _default: (app: Elysia) => Elysia<"", false, {
|
25
25
|
decorator: {};
|
26
26
|
store: {};
|
27
27
|
derive: {};
|
28
28
|
resolve: {};
|
29
29
|
}, {
|
30
|
+
type: {};
|
30
31
|
error: {};
|
31
|
-
typebox: import("elysia/types").MergeTypeModule<import("elysia/types").MergeTypeModule<import("@sinclair/typebox").TModule<{}, {}>, import("@sinclair/typebox").TModule<{}, {}>>, import("@sinclair/typebox").TModule<{}, {}>>;
|
32
32
|
}, {
|
33
33
|
schema: {};
|
34
34
|
macro: {};
|
35
35
|
macroFn: {};
|
36
|
-
parser: {};
|
37
36
|
}, {
|
38
37
|
allowances: {
|
39
38
|
get: {
|
@@ -53,15 +52,6 @@ declare const _default: (app: Elysia) => Elysia<"", {
|
|
53
52
|
decimals: number;
|
54
53
|
};
|
55
54
|
};
|
56
|
-
422: {
|
57
|
-
type: "validation";
|
58
|
-
on: string;
|
59
|
-
summary?: string;
|
60
|
-
message?: string;
|
61
|
-
found?: unknown;
|
62
|
-
property?: string;
|
63
|
-
expected?: string;
|
64
|
-
};
|
65
55
|
};
|
66
56
|
};
|
67
57
|
};
|
@@ -4,19 +4,18 @@ export declare const response: import("@sinclair/typebox").TRecord<import("@sinc
|
|
4
4
|
decimals: import("@sinclair/typebox").TNumber;
|
5
5
|
symbol: import("@sinclair/typebox").TString;
|
6
6
|
}>>;
|
7
|
-
declare const _default: (app: Elysia) => Elysia<"", {
|
7
|
+
declare const _default: (app: Elysia) => Elysia<"", false, {
|
8
8
|
decorator: {};
|
9
9
|
store: {};
|
10
10
|
derive: {};
|
11
11
|
resolve: {};
|
12
12
|
}, {
|
13
|
+
type: {};
|
13
14
|
error: {};
|
14
|
-
typebox: import("elysia/types").MergeTypeModule<import("elysia/types").MergeTypeModule<import("@sinclair/typebox").TModule<{}, {}>, import("@sinclair/typebox").TModule<{}, {}>>, import("@sinclair/typebox").TModule<{}, {}>>;
|
15
15
|
}, {
|
16
16
|
schema: {};
|
17
17
|
macro: {};
|
18
18
|
macroFn: {};
|
19
|
-
parser: {};
|
20
19
|
}, {
|
21
20
|
balances: {
|
22
21
|
get: {
|
@@ -36,15 +35,6 @@ declare const _default: (app: Elysia) => Elysia<"", {
|
|
36
35
|
decimals: number;
|
37
36
|
};
|
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
|
};
|
@@ -3,19 +3,18 @@ export declare const response: import("@sinclair/typebox").TArray<import("@sincl
|
|
3
3
|
rate: import("@sinclair/typebox").TNumber;
|
4
4
|
token: import("@sinclair/typebox").TString;
|
5
5
|
}>>;
|
6
|
-
declare const _default: (app: Elysia) => Elysia<"", {
|
6
|
+
declare const _default: (app: Elysia) => Elysia<"", false, {
|
7
7
|
decorator: {};
|
8
8
|
store: {};
|
9
9
|
derive: {};
|
10
10
|
resolve: {};
|
11
11
|
}, {
|
12
|
-
|
12
|
+
type: {};
|
13
13
|
error: {};
|
14
14
|
}, {
|
15
15
|
schema: {};
|
16
16
|
macro: {};
|
17
17
|
macroFn: {};
|
18
|
-
parser: {};
|
19
18
|
}, {
|
20
19
|
prices: {
|
21
20
|
get: {
|
@@ -28,15 +27,6 @@ declare const _default: (app: Elysia) => Elysia<"", {
|
|
28
27
|
rate: number;
|
29
28
|
token: string;
|
30
29
|
}[];
|
31
|
-
422: {
|
32
|
-
type: "validation";
|
33
|
-
on: string;
|
34
|
-
summary?: string;
|
35
|
-
message?: string;
|
36
|
-
found?: unknown;
|
37
|
-
property?: string;
|
38
|
-
expected?: string;
|
39
|
-
};
|
40
30
|
};
|
41
31
|
};
|
42
32
|
};
|