@r2wa-org/eden 0.0.66 → 0.0.67
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/admin/index.d.ts +35 -85
- package/dist/src/asset-price/admin/dto.schemas.d.ts +1 -37
- package/dist/src/asset-price/admin/router.d.ts +35 -85
- package/dist/src/asset-price/admin/service.d.ts +24 -142
- package/dist/src/asset-price/constants.d.ts +2 -0
- package/dist/src/asset-price/errors/index.d.ts +1 -0
- package/dist/src/asset-price/errors/locales/zh.d.ts +1 -0
- package/dist/src/asset-price/index.d.ts +1 -0
- package/dist/src/asset-price/internal/service.d.ts +2 -43
- package/dist/src/asset-price/user/dto.schemas.d.ts +20 -362
- package/dist/src/asset-price/user/router.d.ts +25 -74
- package/dist/src/asset-price/user/service.d.ts +4 -21
- package/dist/src/index.d.ts +60 -159
- package/package.json +1 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -1082,8 +1082,6 @@ declare const app: Elysia<"/api", {
|
|
|
1082
1082
|
id?: string | undefined;
|
|
1083
1083
|
baseAssetId?: string | undefined;
|
|
1084
1084
|
baseAsset?: string | undefined;
|
|
1085
|
-
quoteAssetId?: string | undefined;
|
|
1086
|
-
quoteAsset?: string | undefined;
|
|
1087
1085
|
source?: string | undefined;
|
|
1088
1086
|
startDate?: Date | undefined;
|
|
1089
1087
|
limit?: number | undefined;
|
|
@@ -1103,8 +1101,6 @@ declare const app: Elysia<"/api", {
|
|
|
1103
1101
|
updatedAt: Date;
|
|
1104
1102
|
baseAssetId: string;
|
|
1105
1103
|
baseAsset: string;
|
|
1106
|
-
quoteAssetId: string;
|
|
1107
|
-
quoteAsset: string;
|
|
1108
1104
|
price: string;
|
|
1109
1105
|
source: string;
|
|
1110
1106
|
effectiveAt: Date;
|
|
@@ -1117,15 +1113,6 @@ declare const app: Elysia<"/api", {
|
|
|
1117
1113
|
isActive: boolean;
|
|
1118
1114
|
precision: number;
|
|
1119
1115
|
};
|
|
1120
|
-
quoteAssetInfo: {
|
|
1121
|
-
symbol: string;
|
|
1122
|
-
id: string;
|
|
1123
|
-
name: string;
|
|
1124
|
-
code: string;
|
|
1125
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1126
|
-
isActive: boolean;
|
|
1127
|
-
precision: number;
|
|
1128
|
-
};
|
|
1129
1116
|
}[];
|
|
1130
1117
|
pagination: {
|
|
1131
1118
|
total: number;
|
|
@@ -1153,58 +1140,44 @@ declare const app: Elysia<"/api", {
|
|
|
1153
1140
|
asset_prices: {
|
|
1154
1141
|
latest: {
|
|
1155
1142
|
":baseAsset": {
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1143
|
+
get: {
|
|
1144
|
+
body: {};
|
|
1145
|
+
params: {
|
|
1146
|
+
baseAsset: string;
|
|
1147
|
+
};
|
|
1148
|
+
query: {};
|
|
1149
|
+
headers: {};
|
|
1150
|
+
response: {
|
|
1151
|
+
200: {
|
|
1152
|
+
id: string;
|
|
1153
|
+
createdAt: Date;
|
|
1154
|
+
updatedAt: Date;
|
|
1155
|
+
baseAssetId: string;
|
|
1160
1156
|
baseAsset: string;
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
200: {
|
|
1157
|
+
price: string;
|
|
1158
|
+
source: string;
|
|
1159
|
+
effectiveAt: Date;
|
|
1160
|
+
baseAssetInfo: {
|
|
1161
|
+
symbol: string;
|
|
1167
1162
|
id: string;
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
quoteAsset: string;
|
|
1174
|
-
price: string;
|
|
1175
|
-
source: string;
|
|
1176
|
-
effectiveAt: Date;
|
|
1177
|
-
baseAssetInfo: {
|
|
1178
|
-
symbol: string;
|
|
1179
|
-
id: string;
|
|
1180
|
-
name: string;
|
|
1181
|
-
code: string;
|
|
1182
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1183
|
-
isActive: boolean;
|
|
1184
|
-
precision: number;
|
|
1185
|
-
};
|
|
1186
|
-
quoteAssetInfo: {
|
|
1187
|
-
symbol: string;
|
|
1188
|
-
id: string;
|
|
1189
|
-
name: string;
|
|
1190
|
-
code: string;
|
|
1191
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1192
|
-
isActive: boolean;
|
|
1193
|
-
precision: number;
|
|
1194
|
-
};
|
|
1195
|
-
};
|
|
1196
|
-
422: {
|
|
1197
|
-
type: "validation";
|
|
1198
|
-
on: string;
|
|
1199
|
-
summary?: string;
|
|
1200
|
-
message?: string;
|
|
1201
|
-
found?: unknown;
|
|
1202
|
-
property?: string;
|
|
1203
|
-
expected?: string;
|
|
1163
|
+
name: string;
|
|
1164
|
+
code: string;
|
|
1165
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1166
|
+
isActive: boolean;
|
|
1167
|
+
precision: number;
|
|
1204
1168
|
};
|
|
1205
|
-
401: "Unauthorized";
|
|
1206
|
-
403: "Forbidden: Admins only";
|
|
1207
1169
|
};
|
|
1170
|
+
422: {
|
|
1171
|
+
type: "validation";
|
|
1172
|
+
on: string;
|
|
1173
|
+
summary?: string;
|
|
1174
|
+
message?: string;
|
|
1175
|
+
found?: unknown;
|
|
1176
|
+
property?: string;
|
|
1177
|
+
expected?: string;
|
|
1178
|
+
};
|
|
1179
|
+
401: "Unauthorized";
|
|
1180
|
+
403: "Forbidden: Admins only";
|
|
1208
1181
|
};
|
|
1209
1182
|
};
|
|
1210
1183
|
};
|
|
@@ -1227,8 +1200,6 @@ declare const app: Elysia<"/api", {
|
|
|
1227
1200
|
updatedAt: Date;
|
|
1228
1201
|
baseAssetId: string;
|
|
1229
1202
|
baseAsset: string;
|
|
1230
|
-
quoteAssetId: string;
|
|
1231
|
-
quoteAsset: string;
|
|
1232
1203
|
price: string;
|
|
1233
1204
|
source: string;
|
|
1234
1205
|
effectiveAt: Date;
|
|
@@ -1241,15 +1212,6 @@ declare const app: Elysia<"/api", {
|
|
|
1241
1212
|
isActive: boolean;
|
|
1242
1213
|
precision: number;
|
|
1243
1214
|
};
|
|
1244
|
-
quoteAssetInfo: {
|
|
1245
|
-
symbol: string;
|
|
1246
|
-
id: string;
|
|
1247
|
-
name: string;
|
|
1248
|
-
code: string;
|
|
1249
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1250
|
-
isActive: boolean;
|
|
1251
|
-
precision: number;
|
|
1252
|
-
};
|
|
1253
1215
|
};
|
|
1254
1216
|
422: {
|
|
1255
1217
|
type: "validation";
|
|
@@ -1270,10 +1232,9 @@ declare const app: Elysia<"/api", {
|
|
|
1270
1232
|
asset_prices: {
|
|
1271
1233
|
post: {
|
|
1272
1234
|
body: {
|
|
1235
|
+
source?: string | undefined;
|
|
1273
1236
|
baseAsset: string;
|
|
1274
|
-
quoteAsset: string;
|
|
1275
1237
|
price: string;
|
|
1276
|
-
source: string;
|
|
1277
1238
|
effectiveAt: Date;
|
|
1278
1239
|
};
|
|
1279
1240
|
params: {};
|
|
@@ -1286,8 +1247,6 @@ declare const app: Elysia<"/api", {
|
|
|
1286
1247
|
updatedAt: Date;
|
|
1287
1248
|
baseAssetId: string;
|
|
1288
1249
|
baseAsset: string;
|
|
1289
|
-
quoteAssetId: string;
|
|
1290
|
-
quoteAsset: string;
|
|
1291
1250
|
price: string;
|
|
1292
1251
|
source: string;
|
|
1293
1252
|
effectiveAt: Date;
|
|
@@ -1300,15 +1259,6 @@ declare const app: Elysia<"/api", {
|
|
|
1300
1259
|
isActive: boolean;
|
|
1301
1260
|
precision: number;
|
|
1302
1261
|
};
|
|
1303
|
-
quoteAssetInfo: {
|
|
1304
|
-
symbol: string;
|
|
1305
|
-
id: string;
|
|
1306
|
-
name: string;
|
|
1307
|
-
code: string;
|
|
1308
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1309
|
-
isActive: boolean;
|
|
1310
|
-
precision: number;
|
|
1311
|
-
};
|
|
1312
1262
|
};
|
|
1313
1263
|
422: {
|
|
1314
1264
|
type: "validation";
|
|
@@ -9711,7 +9661,6 @@ declare const app: Elysia<"/api", {
|
|
|
9711
9661
|
pageIndex?: number | undefined;
|
|
9712
9662
|
endDate?: Date | undefined;
|
|
9713
9663
|
baseAsset: string;
|
|
9714
|
-
quoteAsset: string;
|
|
9715
9664
|
};
|
|
9716
9665
|
headers: {};
|
|
9717
9666
|
response: {
|
|
@@ -9722,8 +9671,6 @@ declare const app: Elysia<"/api", {
|
|
|
9722
9671
|
updatedAt: Date;
|
|
9723
9672
|
baseAssetId: string;
|
|
9724
9673
|
baseAsset: string;
|
|
9725
|
-
quoteAssetId: string;
|
|
9726
|
-
quoteAsset: string;
|
|
9727
9674
|
price: string;
|
|
9728
9675
|
source: string;
|
|
9729
9676
|
effectiveAt: Date;
|
|
@@ -9749,84 +9696,38 @@ declare const app: Elysia<"/api", {
|
|
|
9749
9696
|
};
|
|
9750
9697
|
};
|
|
9751
9698
|
};
|
|
9752
|
-
} & {
|
|
9753
|
-
asset_prices: {
|
|
9754
|
-
latest: {
|
|
9755
|
-
cny: {
|
|
9756
|
-
":baseAsset": {
|
|
9757
|
-
get: {
|
|
9758
|
-
body: {};
|
|
9759
|
-
params: {
|
|
9760
|
-
baseAsset: string;
|
|
9761
|
-
};
|
|
9762
|
-
query: {};
|
|
9763
|
-
headers: {};
|
|
9764
|
-
response: {
|
|
9765
|
-
200: {
|
|
9766
|
-
id: string;
|
|
9767
|
-
createdAt: Date;
|
|
9768
|
-
updatedAt: Date;
|
|
9769
|
-
baseAssetId: string;
|
|
9770
|
-
baseAsset: string;
|
|
9771
|
-
quoteAssetId: string;
|
|
9772
|
-
quoteAsset: string;
|
|
9773
|
-
price: string;
|
|
9774
|
-
source: string;
|
|
9775
|
-
effectiveAt: Date;
|
|
9776
|
-
};
|
|
9777
|
-
422: {
|
|
9778
|
-
type: "validation";
|
|
9779
|
-
on: string;
|
|
9780
|
-
summary?: string;
|
|
9781
|
-
message?: string;
|
|
9782
|
-
found?: unknown;
|
|
9783
|
-
property?: string;
|
|
9784
|
-
expected?: string;
|
|
9785
|
-
};
|
|
9786
|
-
401: "Unauthorized";
|
|
9787
|
-
};
|
|
9788
|
-
};
|
|
9789
|
-
};
|
|
9790
|
-
};
|
|
9791
|
-
};
|
|
9792
|
-
};
|
|
9793
9699
|
} & {
|
|
9794
9700
|
asset_prices: {
|
|
9795
9701
|
latest: {
|
|
9796
9702
|
":baseAsset": {
|
|
9797
|
-
|
|
9798
|
-
|
|
9799
|
-
|
|
9800
|
-
|
|
9703
|
+
get: {
|
|
9704
|
+
body: {};
|
|
9705
|
+
params: {
|
|
9706
|
+
baseAsset: string;
|
|
9707
|
+
};
|
|
9708
|
+
query: {};
|
|
9709
|
+
headers: {};
|
|
9710
|
+
response: {
|
|
9711
|
+
200: {
|
|
9712
|
+
id: string;
|
|
9713
|
+
createdAt: Date;
|
|
9714
|
+
updatedAt: Date;
|
|
9715
|
+
baseAssetId: string;
|
|
9801
9716
|
baseAsset: string;
|
|
9802
|
-
|
|
9717
|
+
price: string;
|
|
9718
|
+
source: string;
|
|
9719
|
+
effectiveAt: Date;
|
|
9803
9720
|
};
|
|
9804
|
-
|
|
9805
|
-
|
|
9806
|
-
|
|
9807
|
-
|
|
9808
|
-
|
|
9809
|
-
|
|
9810
|
-
|
|
9811
|
-
|
|
9812
|
-
baseAsset: string;
|
|
9813
|
-
quoteAssetId: string;
|
|
9814
|
-
quoteAsset: string;
|
|
9815
|
-
price: string;
|
|
9816
|
-
source: string;
|
|
9817
|
-
effectiveAt: Date;
|
|
9818
|
-
};
|
|
9819
|
-
422: {
|
|
9820
|
-
type: "validation";
|
|
9821
|
-
on: string;
|
|
9822
|
-
summary?: string;
|
|
9823
|
-
message?: string;
|
|
9824
|
-
found?: unknown;
|
|
9825
|
-
property?: string;
|
|
9826
|
-
expected?: string;
|
|
9827
|
-
};
|
|
9828
|
-
401: "Unauthorized";
|
|
9721
|
+
422: {
|
|
9722
|
+
type: "validation";
|
|
9723
|
+
on: string;
|
|
9724
|
+
summary?: string;
|
|
9725
|
+
message?: string;
|
|
9726
|
+
found?: unknown;
|
|
9727
|
+
property?: string;
|
|
9728
|
+
expected?: string;
|
|
9829
9729
|
};
|
|
9730
|
+
401: "Unauthorized";
|
|
9830
9731
|
};
|
|
9831
9732
|
};
|
|
9832
9733
|
};
|