@r2wa-org/eden 0.0.67 → 0.0.68
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 +22 -22
- package/dist/src/asset-price/admin/dto.schemas.d.ts +2 -2
- package/dist/src/asset-price/admin/router.d.ts +4 -4
- package/dist/src/asset-price/admin/service.d.ts +4 -4
- package/dist/src/index.d.ts +22 -22
- package/dist/src/wallet/admin/dto.schemas.d.ts +18 -18
- package/dist/src/wallet/admin/router.d.ts +18 -18
- package/dist/src/wallet/admin/service.d.ts +2 -2
- package/dist/src/wallet/internal/service.d.ts +4 -4
- package/dist/src/wallet/user/service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -781,7 +781,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
781
781
|
price: string;
|
|
782
782
|
source: string;
|
|
783
783
|
effectiveAt: Date;
|
|
784
|
-
|
|
784
|
+
baseAssetEntity: {
|
|
785
785
|
symbol: string;
|
|
786
786
|
id: string;
|
|
787
787
|
name: string;
|
|
@@ -834,7 +834,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
834
834
|
price: string;
|
|
835
835
|
source: string;
|
|
836
836
|
effectiveAt: Date;
|
|
837
|
-
|
|
837
|
+
baseAssetEntity: {
|
|
838
838
|
symbol: string;
|
|
839
839
|
id: string;
|
|
840
840
|
name: string;
|
|
@@ -880,7 +880,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
880
880
|
price: string;
|
|
881
881
|
source: string;
|
|
882
882
|
effectiveAt: Date;
|
|
883
|
-
|
|
883
|
+
baseAssetEntity: {
|
|
884
884
|
symbol: string;
|
|
885
885
|
id: string;
|
|
886
886
|
name: string;
|
|
@@ -927,7 +927,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
927
927
|
price: string;
|
|
928
928
|
source: string;
|
|
929
929
|
effectiveAt: Date;
|
|
930
|
-
|
|
930
|
+
baseAssetEntity: {
|
|
931
931
|
symbol: string;
|
|
932
932
|
id: string;
|
|
933
933
|
name: string;
|
|
@@ -2696,6 +2696,15 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2696
2696
|
response: {
|
|
2697
2697
|
200: {
|
|
2698
2698
|
data: {
|
|
2699
|
+
user: {
|
|
2700
|
+
email: string;
|
|
2701
|
+
id: string;
|
|
2702
|
+
username: string | null;
|
|
2703
|
+
displayUsername: string | null;
|
|
2704
|
+
phoneNumber: string | null;
|
|
2705
|
+
role: string | null;
|
|
2706
|
+
banned: boolean | null;
|
|
2707
|
+
};
|
|
2699
2708
|
id: string;
|
|
2700
2709
|
name: string;
|
|
2701
2710
|
createdAt: Date;
|
|
@@ -2714,15 +2723,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2714
2723
|
sortOrder: number;
|
|
2715
2724
|
isSingleton: boolean;
|
|
2716
2725
|
};
|
|
2717
|
-
userInfo: {
|
|
2718
|
-
email: string;
|
|
2719
|
-
id: string;
|
|
2720
|
-
username: string | null;
|
|
2721
|
-
displayUsername: string | null;
|
|
2722
|
-
phoneNumber: string | null;
|
|
2723
|
-
role: string | null;
|
|
2724
|
-
banned: boolean | null;
|
|
2725
|
-
};
|
|
2726
2726
|
}[];
|
|
2727
2727
|
pagination: {
|
|
2728
2728
|
total: number;
|
|
@@ -2758,6 +2758,15 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2758
2758
|
headers: {};
|
|
2759
2759
|
response: {
|
|
2760
2760
|
200: {
|
|
2761
|
+
user: {
|
|
2762
|
+
email: string;
|
|
2763
|
+
id: string;
|
|
2764
|
+
username: string | null;
|
|
2765
|
+
displayUsername: string | null;
|
|
2766
|
+
phoneNumber: string | null;
|
|
2767
|
+
role: string | null;
|
|
2768
|
+
banned: boolean | null;
|
|
2769
|
+
};
|
|
2761
2770
|
id: string;
|
|
2762
2771
|
name: string;
|
|
2763
2772
|
createdAt: Date;
|
|
@@ -2776,15 +2785,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2776
2785
|
sortOrder: number;
|
|
2777
2786
|
isSingleton: boolean;
|
|
2778
2787
|
};
|
|
2779
|
-
userInfo: {
|
|
2780
|
-
email: string;
|
|
2781
|
-
id: string;
|
|
2782
|
-
username: string | null;
|
|
2783
|
-
displayUsername: string | null;
|
|
2784
|
-
phoneNumber: string | null;
|
|
2785
|
-
role: string | null;
|
|
2786
|
-
banned: boolean | null;
|
|
2787
|
-
};
|
|
2788
2788
|
};
|
|
2789
2789
|
422: {
|
|
2790
2790
|
type: "validation";
|
|
@@ -21,7 +21,7 @@ export declare const assetPriceAdminResponseSchema: import("@sinclair/typebox").
|
|
|
21
21
|
price: import("@sinclair/typebox").TString;
|
|
22
22
|
source: import("@sinclair/typebox").TString;
|
|
23
23
|
effectiveAt: import("@sinclair/typebox").TDate;
|
|
24
|
-
|
|
24
|
+
baseAssetEntity: import("@sinclair/typebox").TObject<{
|
|
25
25
|
symbol: import("@sinclair/typebox").TString;
|
|
26
26
|
id: import("@sinclair/typebox").TString;
|
|
27
27
|
name: import("@sinclair/typebox").TString;
|
|
@@ -77,7 +77,7 @@ export declare const assetPriceAdminListResponseSchema: import("@sinclair/typebo
|
|
|
77
77
|
price: import("@sinclair/typebox").TString;
|
|
78
78
|
source: import("@sinclair/typebox").TString;
|
|
79
79
|
effectiveAt: import("@sinclair/typebox").TDate;
|
|
80
|
-
|
|
80
|
+
baseAssetEntity: import("@sinclair/typebox").TObject<{
|
|
81
81
|
symbol: import("@sinclair/typebox").TString;
|
|
82
82
|
id: import("@sinclair/typebox").TString;
|
|
83
83
|
name: import("@sinclair/typebox").TString;
|
|
@@ -410,7 +410,7 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
|
|
|
410
410
|
price: string;
|
|
411
411
|
source: string;
|
|
412
412
|
effectiveAt: Date;
|
|
413
|
-
|
|
413
|
+
baseAssetEntity: {
|
|
414
414
|
symbol: string;
|
|
415
415
|
id: string;
|
|
416
416
|
name: string;
|
|
@@ -463,7 +463,7 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
|
|
|
463
463
|
price: string;
|
|
464
464
|
source: string;
|
|
465
465
|
effectiveAt: Date;
|
|
466
|
-
|
|
466
|
+
baseAssetEntity: {
|
|
467
467
|
symbol: string;
|
|
468
468
|
id: string;
|
|
469
469
|
name: string;
|
|
@@ -509,7 +509,7 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
|
|
|
509
509
|
price: string;
|
|
510
510
|
source: string;
|
|
511
511
|
effectiveAt: Date;
|
|
512
|
-
|
|
512
|
+
baseAssetEntity: {
|
|
513
513
|
symbol: string;
|
|
514
514
|
id: string;
|
|
515
515
|
name: string;
|
|
@@ -556,7 +556,7 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
|
|
|
556
556
|
price: string;
|
|
557
557
|
source: string;
|
|
558
558
|
effectiveAt: Date;
|
|
559
|
-
|
|
559
|
+
baseAssetEntity: {
|
|
560
560
|
symbol: string;
|
|
561
561
|
id: string;
|
|
562
562
|
name: string;
|
|
@@ -10,7 +10,7 @@ export declare abstract class AdminAssetPriceService {
|
|
|
10
10
|
effectiveAt: Date;
|
|
11
11
|
createdAt: Date;
|
|
12
12
|
updatedAt: Date;
|
|
13
|
-
|
|
13
|
+
baseAssetEntity: {
|
|
14
14
|
symbol: string;
|
|
15
15
|
id: string;
|
|
16
16
|
name: string;
|
|
@@ -31,7 +31,7 @@ export declare abstract class AdminAssetPriceService {
|
|
|
31
31
|
effectiveAt: Date;
|
|
32
32
|
createdAt: Date;
|
|
33
33
|
updatedAt: Date;
|
|
34
|
-
|
|
34
|
+
baseAssetEntity: {
|
|
35
35
|
symbol: string;
|
|
36
36
|
id: string;
|
|
37
37
|
name: string;
|
|
@@ -50,7 +50,7 @@ export declare abstract class AdminAssetPriceService {
|
|
|
50
50
|
effectiveAt: Date;
|
|
51
51
|
createdAt: Date;
|
|
52
52
|
updatedAt: Date;
|
|
53
|
-
|
|
53
|
+
baseAssetEntity: {
|
|
54
54
|
symbol: string;
|
|
55
55
|
id: string;
|
|
56
56
|
name: string;
|
|
@@ -69,7 +69,7 @@ export declare abstract class AdminAssetPriceService {
|
|
|
69
69
|
effectiveAt: Date;
|
|
70
70
|
createdAt: Date;
|
|
71
71
|
updatedAt: Date;
|
|
72
|
-
|
|
72
|
+
baseAssetEntity: {
|
|
73
73
|
symbol: string;
|
|
74
74
|
id: string;
|
|
75
75
|
name: string;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1104,7 +1104,7 @@ declare const app: Elysia<"/api", {
|
|
|
1104
1104
|
price: string;
|
|
1105
1105
|
source: string;
|
|
1106
1106
|
effectiveAt: Date;
|
|
1107
|
-
|
|
1107
|
+
baseAssetEntity: {
|
|
1108
1108
|
symbol: string;
|
|
1109
1109
|
id: string;
|
|
1110
1110
|
name: string;
|
|
@@ -1157,7 +1157,7 @@ declare const app: Elysia<"/api", {
|
|
|
1157
1157
|
price: string;
|
|
1158
1158
|
source: string;
|
|
1159
1159
|
effectiveAt: Date;
|
|
1160
|
-
|
|
1160
|
+
baseAssetEntity: {
|
|
1161
1161
|
symbol: string;
|
|
1162
1162
|
id: string;
|
|
1163
1163
|
name: string;
|
|
@@ -1203,7 +1203,7 @@ declare const app: Elysia<"/api", {
|
|
|
1203
1203
|
price: string;
|
|
1204
1204
|
source: string;
|
|
1205
1205
|
effectiveAt: Date;
|
|
1206
|
-
|
|
1206
|
+
baseAssetEntity: {
|
|
1207
1207
|
symbol: string;
|
|
1208
1208
|
id: string;
|
|
1209
1209
|
name: string;
|
|
@@ -1250,7 +1250,7 @@ declare const app: Elysia<"/api", {
|
|
|
1250
1250
|
price: string;
|
|
1251
1251
|
source: string;
|
|
1252
1252
|
effectiveAt: Date;
|
|
1253
|
-
|
|
1253
|
+
baseAssetEntity: {
|
|
1254
1254
|
symbol: string;
|
|
1255
1255
|
id: string;
|
|
1256
1256
|
name: string;
|
|
@@ -3019,6 +3019,15 @@ declare const app: Elysia<"/api", {
|
|
|
3019
3019
|
response: {
|
|
3020
3020
|
200: {
|
|
3021
3021
|
data: {
|
|
3022
|
+
user: {
|
|
3023
|
+
email: string;
|
|
3024
|
+
id: string;
|
|
3025
|
+
username: string | null;
|
|
3026
|
+
displayUsername: string | null;
|
|
3027
|
+
phoneNumber: string | null;
|
|
3028
|
+
role: string | null;
|
|
3029
|
+
banned: boolean | null;
|
|
3030
|
+
};
|
|
3022
3031
|
id: string;
|
|
3023
3032
|
name: string;
|
|
3024
3033
|
createdAt: Date;
|
|
@@ -3037,15 +3046,6 @@ declare const app: Elysia<"/api", {
|
|
|
3037
3046
|
sortOrder: number;
|
|
3038
3047
|
isSingleton: boolean;
|
|
3039
3048
|
};
|
|
3040
|
-
userInfo: {
|
|
3041
|
-
email: string;
|
|
3042
|
-
id: string;
|
|
3043
|
-
username: string | null;
|
|
3044
|
-
displayUsername: string | null;
|
|
3045
|
-
phoneNumber: string | null;
|
|
3046
|
-
role: string | null;
|
|
3047
|
-
banned: boolean | null;
|
|
3048
|
-
};
|
|
3049
3049
|
}[];
|
|
3050
3050
|
pagination: {
|
|
3051
3051
|
total: number;
|
|
@@ -3081,6 +3081,15 @@ declare const app: Elysia<"/api", {
|
|
|
3081
3081
|
headers: {};
|
|
3082
3082
|
response: {
|
|
3083
3083
|
200: {
|
|
3084
|
+
user: {
|
|
3085
|
+
email: string;
|
|
3086
|
+
id: string;
|
|
3087
|
+
username: string | null;
|
|
3088
|
+
displayUsername: string | null;
|
|
3089
|
+
phoneNumber: string | null;
|
|
3090
|
+
role: string | null;
|
|
3091
|
+
banned: boolean | null;
|
|
3092
|
+
};
|
|
3084
3093
|
id: string;
|
|
3085
3094
|
name: string;
|
|
3086
3095
|
createdAt: Date;
|
|
@@ -3099,15 +3108,6 @@ declare const app: Elysia<"/api", {
|
|
|
3099
3108
|
sortOrder: number;
|
|
3100
3109
|
isSingleton: boolean;
|
|
3101
3110
|
};
|
|
3102
|
-
userInfo: {
|
|
3103
|
-
email: string;
|
|
3104
|
-
id: string;
|
|
3105
|
-
username: string | null;
|
|
3106
|
-
displayUsername: string | null;
|
|
3107
|
-
phoneNumber: string | null;
|
|
3108
|
-
role: string | null;
|
|
3109
|
-
banned: boolean | null;
|
|
3110
|
-
};
|
|
3111
3111
|
};
|
|
3112
3112
|
422: {
|
|
3113
3113
|
type: "validation";
|
|
@@ -20,6 +20,15 @@ export declare const walletAdminResponseSchema: import("@sinclair/typebox").TObj
|
|
|
20
20
|
userId: import("@sinclair/typebox").TString;
|
|
21
21
|
walletTypeId: import("@sinclair/typebox").TString;
|
|
22
22
|
isPrimary: import("@sinclair/typebox").TBoolean;
|
|
23
|
+
user: import("@sinclair/typebox").TObject<{
|
|
24
|
+
email: import("@sinclair/typebox").TString;
|
|
25
|
+
id: import("@sinclair/typebox").TString;
|
|
26
|
+
username: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
27
|
+
displayUsername: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
28
|
+
phoneNumber: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
29
|
+
role: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
30
|
+
banned: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNull]>;
|
|
31
|
+
}>;
|
|
23
32
|
walletType: import("drizzle-typebox").BuildSchema<"select", {
|
|
24
33
|
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
25
34
|
name: "created_at";
|
|
@@ -158,15 +167,6 @@ export declare const walletAdminResponseSchema: import("@sinclair/typebox").TObj
|
|
|
158
167
|
generated: undefined;
|
|
159
168
|
}, {}, {}>;
|
|
160
169
|
}, undefined>;
|
|
161
|
-
userInfo: import("@sinclair/typebox").TObject<{
|
|
162
|
-
email: import("@sinclair/typebox").TString;
|
|
163
|
-
id: import("@sinclair/typebox").TString;
|
|
164
|
-
username: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
165
|
-
displayUsername: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
166
|
-
phoneNumber: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
167
|
-
role: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
168
|
-
banned: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNull]>;
|
|
169
|
-
}>;
|
|
170
170
|
}>;
|
|
171
171
|
export type WalletAdminResponseType = typeof walletAdminResponseSchema.static;
|
|
172
172
|
export declare const walletAdminListQuerySchema: import("@sinclair/typebox").TObject<{
|
|
@@ -190,6 +190,15 @@ export declare const walletAdminListResponseSchema: import("@sinclair/typebox").
|
|
|
190
190
|
userId: import("@sinclair/typebox").TString;
|
|
191
191
|
walletTypeId: import("@sinclair/typebox").TString;
|
|
192
192
|
isPrimary: import("@sinclair/typebox").TBoolean;
|
|
193
|
+
user: import("@sinclair/typebox").TObject<{
|
|
194
|
+
email: import("@sinclair/typebox").TString;
|
|
195
|
+
id: import("@sinclair/typebox").TString;
|
|
196
|
+
username: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
197
|
+
displayUsername: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
198
|
+
phoneNumber: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
199
|
+
role: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
200
|
+
banned: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNull]>;
|
|
201
|
+
}>;
|
|
193
202
|
walletType: import("drizzle-typebox").BuildSchema<"select", {
|
|
194
203
|
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
195
204
|
name: "created_at";
|
|
@@ -328,15 +337,6 @@ export declare const walletAdminListResponseSchema: import("@sinclair/typebox").
|
|
|
328
337
|
generated: undefined;
|
|
329
338
|
}, {}, {}>;
|
|
330
339
|
}, undefined>;
|
|
331
|
-
userInfo: import("@sinclair/typebox").TObject<{
|
|
332
|
-
email: import("@sinclair/typebox").TString;
|
|
333
|
-
id: import("@sinclair/typebox").TString;
|
|
334
|
-
username: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
335
|
-
displayUsername: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
336
|
-
phoneNumber: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
337
|
-
role: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
338
|
-
banned: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNull]>;
|
|
339
|
-
}>;
|
|
340
340
|
}>>;
|
|
341
341
|
pagination: import("@sinclair/typebox").TObject<{
|
|
342
342
|
pageSize: import("@sinclair/typebox").TNumber;
|
|
@@ -398,6 +398,15 @@ export declare const walletAdminRouter: Elysia<"/wallets", {
|
|
|
398
398
|
response: {
|
|
399
399
|
200: {
|
|
400
400
|
data: {
|
|
401
|
+
user: {
|
|
402
|
+
email: string;
|
|
403
|
+
id: string;
|
|
404
|
+
username: string | null;
|
|
405
|
+
displayUsername: string | null;
|
|
406
|
+
phoneNumber: string | null;
|
|
407
|
+
role: string | null;
|
|
408
|
+
banned: boolean | null;
|
|
409
|
+
};
|
|
401
410
|
id: string;
|
|
402
411
|
name: string;
|
|
403
412
|
createdAt: Date;
|
|
@@ -416,15 +425,6 @@ export declare const walletAdminRouter: Elysia<"/wallets", {
|
|
|
416
425
|
sortOrder: number;
|
|
417
426
|
isSingleton: boolean;
|
|
418
427
|
};
|
|
419
|
-
userInfo: {
|
|
420
|
-
email: string;
|
|
421
|
-
id: string;
|
|
422
|
-
username: string | null;
|
|
423
|
-
displayUsername: string | null;
|
|
424
|
-
phoneNumber: string | null;
|
|
425
|
-
role: string | null;
|
|
426
|
-
banned: boolean | null;
|
|
427
|
-
};
|
|
428
428
|
}[];
|
|
429
429
|
pagination: {
|
|
430
430
|
total: number;
|
|
@@ -460,6 +460,15 @@ export declare const walletAdminRouter: Elysia<"/wallets", {
|
|
|
460
460
|
headers: {};
|
|
461
461
|
response: {
|
|
462
462
|
200: {
|
|
463
|
+
user: {
|
|
464
|
+
email: string;
|
|
465
|
+
id: string;
|
|
466
|
+
username: string | null;
|
|
467
|
+
displayUsername: string | null;
|
|
468
|
+
phoneNumber: string | null;
|
|
469
|
+
role: string | null;
|
|
470
|
+
banned: boolean | null;
|
|
471
|
+
};
|
|
463
472
|
id: string;
|
|
464
473
|
name: string;
|
|
465
474
|
createdAt: Date;
|
|
@@ -478,15 +487,6 @@ export declare const walletAdminRouter: Elysia<"/wallets", {
|
|
|
478
487
|
sortOrder: number;
|
|
479
488
|
isSingleton: boolean;
|
|
480
489
|
};
|
|
481
|
-
userInfo: {
|
|
482
|
-
email: string;
|
|
483
|
-
id: string;
|
|
484
|
-
username: string | null;
|
|
485
|
-
displayUsername: string | null;
|
|
486
|
-
phoneNumber: string | null;
|
|
487
|
-
role: string | null;
|
|
488
|
-
banned: boolean | null;
|
|
489
|
-
};
|
|
490
490
|
};
|
|
491
491
|
422: {
|
|
492
492
|
type: "validation";
|
|
@@ -3,7 +3,7 @@ import type { WalletAdminListQueryType } from "./dto.schemas";
|
|
|
3
3
|
export declare abstract class AdminWalletService extends InternalWalletService {
|
|
4
4
|
static listWallets(options?: WalletAdminListQueryType): Promise<{
|
|
5
5
|
items: {
|
|
6
|
-
|
|
6
|
+
user: {
|
|
7
7
|
id: string;
|
|
8
8
|
username: string | null;
|
|
9
9
|
displayUsername: string | null;
|
|
@@ -34,7 +34,7 @@ export declare abstract class AdminWalletService extends InternalWalletService {
|
|
|
34
34
|
total: number;
|
|
35
35
|
}>;
|
|
36
36
|
static getWalletById(walletId: string): Promise<{
|
|
37
|
-
|
|
37
|
+
user: {
|
|
38
38
|
id: string;
|
|
39
39
|
username: string | null;
|
|
40
40
|
displayUsername: string | null;
|
|
@@ -30,7 +30,7 @@ declare abstract class BaseWalletService {
|
|
|
30
30
|
banned: boolean | null;
|
|
31
31
|
};
|
|
32
32
|
}): {
|
|
33
|
-
|
|
33
|
+
user: {
|
|
34
34
|
id: string;
|
|
35
35
|
username: string | null;
|
|
36
36
|
displayUsername: string | null;
|
|
@@ -60,7 +60,7 @@ declare abstract class BaseWalletService {
|
|
|
60
60
|
};
|
|
61
61
|
protected static listWalletsInternal(options?: WalletAdminListQueryType, defaultToCurrentUserId?: string): Promise<{
|
|
62
62
|
items: {
|
|
63
|
-
|
|
63
|
+
user: {
|
|
64
64
|
id: string;
|
|
65
65
|
username: string | null;
|
|
66
66
|
displayUsername: string | null;
|
|
@@ -113,7 +113,7 @@ export declare abstract class InternalWalletService extends BaseWalletService {
|
|
|
113
113
|
};
|
|
114
114
|
}>;
|
|
115
115
|
static getWalletByIdInternal(walletId: string): Promise<{
|
|
116
|
-
|
|
116
|
+
user: {
|
|
117
117
|
id: string;
|
|
118
118
|
username: string | null;
|
|
119
119
|
displayUsername: string | null;
|
|
@@ -143,7 +143,7 @@ export declare abstract class InternalWalletService extends BaseWalletService {
|
|
|
143
143
|
}>;
|
|
144
144
|
static listWalletsForInternal(options?: WalletAdminListQueryType): Promise<{
|
|
145
145
|
items: {
|
|
146
|
-
|
|
146
|
+
user: {
|
|
147
147
|
id: string;
|
|
148
148
|
username: string | null;
|
|
149
149
|
displayUsername: string | null;
|
|
@@ -3,7 +3,7 @@ import type { WalletDetailParamsType, WalletListQueryType, WalletOverviewQueryTy
|
|
|
3
3
|
export declare abstract class UserWalletService extends InternalWalletService {
|
|
4
4
|
static listWallets(userId: string, options?: Omit<WalletListQueryType, "userId">): Promise<{
|
|
5
5
|
items: {
|
|
6
|
-
|
|
6
|
+
user: {
|
|
7
7
|
id: string;
|
|
8
8
|
username: string | null;
|
|
9
9
|
displayUsername: string | null;
|