@r2wa-org/eden 0.0.69 → 0.0.70
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 +14 -4
- package/dist/src/asset-convert-product/admin/dto.schemas.d.ts +5 -0
- package/dist/src/asset-convert-product/admin/router.d.ts +10 -0
- package/dist/src/asset-convert-product/admin/service.d.ts +8 -0
- package/dist/src/asset-convert-product/db.schemas.d.ts +34 -0
- package/dist/src/asset-convert-product/schema.d.ts +17 -0
- package/dist/src/asset-convert-product/user/dto.schemas.d.ts +4 -0
- package/dist/src/asset-convert-product/user/router.d.ts +3 -0
- package/dist/src/asset-convert-product/user/service.d.ts +3 -0
- package/dist/src/index.d.ts +20 -7
- package/dist/src/news/admin/dto.schemas.d.ts +5 -5
- package/dist/src/news/admin/router.d.ts +4 -4
- package/dist/src/news/admin/service.d.ts +3 -3
- package/dist/src/news/user/dto.schemas.d.ts +5 -5
- package/dist/src/news/user/router.d.ts +3 -3
- package/dist/src/news/user/service.d.ts +4 -4
- package/package.json +1 -1
|
@@ -1278,6 +1278,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1278
1278
|
description?: string | null | undefined;
|
|
1279
1279
|
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
1280
1280
|
allowPurchase?: boolean | undefined;
|
|
1281
|
+
isHot?: boolean | undefined;
|
|
1281
1282
|
name: string;
|
|
1282
1283
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1283
1284
|
targetAssetId: string;
|
|
@@ -1306,6 +1307,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1306
1307
|
minPayAmount: string;
|
|
1307
1308
|
settlementMode: "available" | "locked";
|
|
1308
1309
|
allowPurchase: boolean;
|
|
1310
|
+
isHot: boolean;
|
|
1309
1311
|
targetAsset: {
|
|
1310
1312
|
symbol: string;
|
|
1311
1313
|
id: string;
|
|
@@ -1367,6 +1369,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1367
1369
|
minPayAmount?: string | undefined;
|
|
1368
1370
|
settlementMode?: "available" | "locked" | undefined;
|
|
1369
1371
|
allowPurchase?: boolean | undefined;
|
|
1372
|
+
isHot?: boolean | undefined;
|
|
1370
1373
|
};
|
|
1371
1374
|
params: {
|
|
1372
1375
|
id: string;
|
|
@@ -1389,6 +1392,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1389
1392
|
minPayAmount: string;
|
|
1390
1393
|
settlementMode: "available" | "locked";
|
|
1391
1394
|
allowPurchase: boolean;
|
|
1395
|
+
isHot: boolean;
|
|
1392
1396
|
targetAsset: {
|
|
1393
1397
|
symbol: string;
|
|
1394
1398
|
id: string;
|
|
@@ -1462,6 +1466,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1462
1466
|
minPayAmount: string;
|
|
1463
1467
|
settlementMode: "available" | "locked";
|
|
1464
1468
|
allowPurchase: boolean;
|
|
1469
|
+
isHot: boolean;
|
|
1465
1470
|
targetAsset: {
|
|
1466
1471
|
symbol: string;
|
|
1467
1472
|
id: string;
|
|
@@ -1536,6 +1541,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1536
1541
|
minPayAmount: string;
|
|
1537
1542
|
settlementMode: "available" | "locked";
|
|
1538
1543
|
allowPurchase: boolean;
|
|
1544
|
+
isHot: boolean;
|
|
1539
1545
|
targetAsset: {
|
|
1540
1546
|
symbol: string;
|
|
1541
1547
|
id: string;
|
|
@@ -1610,6 +1616,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1610
1616
|
minPayAmount: string;
|
|
1611
1617
|
settlementMode: "available" | "locked";
|
|
1612
1618
|
allowPurchase: boolean;
|
|
1619
|
+
isHot: boolean;
|
|
1613
1620
|
targetAsset: {
|
|
1614
1621
|
symbol: string;
|
|
1615
1622
|
id: string;
|
|
@@ -1683,6 +1690,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1683
1690
|
minPayAmount: string;
|
|
1684
1691
|
settlementMode: "available" | "locked";
|
|
1685
1692
|
allowPurchase: boolean;
|
|
1693
|
+
isHot: boolean;
|
|
1686
1694
|
targetAsset: {
|
|
1687
1695
|
symbol: string;
|
|
1688
1696
|
id: string;
|
|
@@ -1745,6 +1753,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1745
1753
|
receiveAccountTypeId?: string | undefined;
|
|
1746
1754
|
settlementMode?: "available" | "locked" | undefined;
|
|
1747
1755
|
allowPurchase?: boolean | undefined;
|
|
1756
|
+
isHot?: boolean | undefined;
|
|
1748
1757
|
limit?: number | undefined;
|
|
1749
1758
|
offset?: number | undefined;
|
|
1750
1759
|
pageSize?: number | undefined;
|
|
@@ -1772,6 +1781,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1772
1781
|
minPayAmount: string;
|
|
1773
1782
|
settlementMode: "available" | "locked";
|
|
1774
1783
|
allowPurchase: boolean;
|
|
1784
|
+
isHot: boolean;
|
|
1775
1785
|
targetAsset: {
|
|
1776
1786
|
symbol: string;
|
|
1777
1787
|
id: string;
|
|
@@ -6374,10 +6384,10 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6374
6384
|
scope?: string[] | undefined;
|
|
6375
6385
|
status?: "archived" | "draft" | "published" | undefined;
|
|
6376
6386
|
sortOrder?: number | undefined;
|
|
6387
|
+
isHot?: boolean | undefined;
|
|
6377
6388
|
summary?: string | null | undefined;
|
|
6378
6389
|
categoryId?: string | undefined;
|
|
6379
6390
|
isPinned?: boolean | undefined;
|
|
6380
|
-
isHot?: boolean | undefined;
|
|
6381
6391
|
hasVideo?: boolean | undefined;
|
|
6382
6392
|
requireReadConfirmation?: boolean | undefined;
|
|
6383
6393
|
externalUrl?: string | null | undefined;
|
|
@@ -6432,13 +6442,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6432
6442
|
deletedAt: Date | null;
|
|
6433
6443
|
status: "archived" | "draft" | "published";
|
|
6434
6444
|
sortOrder: number;
|
|
6445
|
+
isHot: boolean;
|
|
6435
6446
|
createdBy: string;
|
|
6436
6447
|
title: string;
|
|
6437
6448
|
content: string;
|
|
6438
6449
|
summary: string | null;
|
|
6439
6450
|
categoryId: string;
|
|
6440
6451
|
isPinned: boolean;
|
|
6441
|
-
isHot: boolean;
|
|
6442
6452
|
hasVideo: boolean;
|
|
6443
6453
|
requireReadConfirmation: boolean;
|
|
6444
6454
|
externalUrl: string | null;
|
|
@@ -6500,13 +6510,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6500
6510
|
deletedAt: Date | null;
|
|
6501
6511
|
status: "archived" | "draft" | "published";
|
|
6502
6512
|
sortOrder: number;
|
|
6513
|
+
isHot: boolean;
|
|
6503
6514
|
createdBy: string;
|
|
6504
6515
|
title: string;
|
|
6505
6516
|
content: string;
|
|
6506
6517
|
summary: string | null;
|
|
6507
6518
|
categoryId: string;
|
|
6508
6519
|
isPinned: boolean;
|
|
6509
|
-
isHot: boolean;
|
|
6510
6520
|
hasVideo: boolean;
|
|
6511
6521
|
requireReadConfirmation: boolean;
|
|
6512
6522
|
externalUrl: string | null;
|
|
@@ -6582,12 +6592,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6582
6592
|
scope?: string[] | undefined;
|
|
6583
6593
|
status?: "archived" | "draft" | "published" | undefined;
|
|
6584
6594
|
sortOrder?: number | undefined;
|
|
6595
|
+
isHot?: boolean | undefined;
|
|
6585
6596
|
title?: string | undefined;
|
|
6586
6597
|
content?: string | undefined;
|
|
6587
6598
|
summary?: string | null | undefined;
|
|
6588
6599
|
categoryId?: string | undefined;
|
|
6589
6600
|
isPinned?: boolean | undefined;
|
|
6590
|
-
isHot?: boolean | undefined;
|
|
6591
6601
|
hasVideo?: boolean | undefined;
|
|
6592
6602
|
requireReadConfirmation?: boolean | undefined;
|
|
6593
6603
|
externalUrl?: string | null | undefined;
|
|
@@ -54,6 +54,7 @@ export declare const assetConvertProductAdminResponseSchema: import("@sinclair/t
|
|
|
54
54
|
locked: "locked";
|
|
55
55
|
}>;
|
|
56
56
|
allowPurchase: import("@sinclair/typebox").TBoolean;
|
|
57
|
+
isHot: import("@sinclair/typebox").TBoolean;
|
|
57
58
|
targetAsset: import("@sinclair/typebox").TObject<{
|
|
58
59
|
symbol: import("@sinclair/typebox").TString;
|
|
59
60
|
id: import("@sinclair/typebox").TString;
|
|
@@ -262,6 +263,7 @@ export declare const assetConvertProductCreateSchema: import("@sinclair/typebox"
|
|
|
262
263
|
ended: "ended";
|
|
263
264
|
}>>;
|
|
264
265
|
allowPurchase: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
266
|
+
isHot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
265
267
|
}>;
|
|
266
268
|
export type AssetConvertProductCreateInputType = typeof assetConvertProductCreateSchema.static;
|
|
267
269
|
export declare const assetConvertProductUpdateSchema: import("@sinclair/typebox").TObject<{
|
|
@@ -289,6 +291,7 @@ export declare const assetConvertProductUpdateSchema: import("@sinclair/typebox"
|
|
|
289
291
|
ended: "ended";
|
|
290
292
|
}>>;
|
|
291
293
|
allowPurchase: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
294
|
+
isHot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
292
295
|
}>;
|
|
293
296
|
export type AssetConvertProductUpdateInputType = typeof assetConvertProductUpdateSchema.static;
|
|
294
297
|
export declare const assetConvertProductListQuerySchema: import("@sinclair/typebox").TObject<{
|
|
@@ -315,6 +318,7 @@ export declare const assetConvertProductListQuerySchema: import("@sinclair/typeb
|
|
|
315
318
|
locked: "locked";
|
|
316
319
|
}>>;
|
|
317
320
|
allowPurchase: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
321
|
+
isHot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
318
322
|
createdAtStart: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TDate>;
|
|
319
323
|
createdAtEnd: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TDate>;
|
|
320
324
|
updatedAtStart: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TDate>;
|
|
@@ -354,6 +358,7 @@ export declare const assetConvertProductListResponseSchema: import("@sinclair/ty
|
|
|
354
358
|
locked: "locked";
|
|
355
359
|
}>;
|
|
356
360
|
allowPurchase: import("@sinclair/typebox").TBoolean;
|
|
361
|
+
isHot: import("@sinclair/typebox").TBoolean;
|
|
357
362
|
targetAsset: import("@sinclair/typebox").TObject<{
|
|
358
363
|
symbol: import("@sinclair/typebox").TString;
|
|
359
364
|
id: import("@sinclair/typebox").TString;
|
|
@@ -387,6 +387,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
387
387
|
description?: string | null | undefined;
|
|
388
388
|
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
389
389
|
allowPurchase?: boolean | undefined;
|
|
390
|
+
isHot?: boolean | undefined;
|
|
390
391
|
name: string;
|
|
391
392
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
392
393
|
targetAssetId: string;
|
|
@@ -415,6 +416,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
415
416
|
minPayAmount: string;
|
|
416
417
|
settlementMode: "available" | "locked";
|
|
417
418
|
allowPurchase: boolean;
|
|
419
|
+
isHot: boolean;
|
|
418
420
|
targetAsset: {
|
|
419
421
|
symbol: string;
|
|
420
422
|
id: string;
|
|
@@ -476,6 +478,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
476
478
|
minPayAmount?: string | undefined;
|
|
477
479
|
settlementMode?: "available" | "locked" | undefined;
|
|
478
480
|
allowPurchase?: boolean | undefined;
|
|
481
|
+
isHot?: boolean | undefined;
|
|
479
482
|
};
|
|
480
483
|
params: {
|
|
481
484
|
id: string;
|
|
@@ -498,6 +501,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
498
501
|
minPayAmount: string;
|
|
499
502
|
settlementMode: "available" | "locked";
|
|
500
503
|
allowPurchase: boolean;
|
|
504
|
+
isHot: boolean;
|
|
501
505
|
targetAsset: {
|
|
502
506
|
symbol: string;
|
|
503
507
|
id: string;
|
|
@@ -571,6 +575,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
571
575
|
minPayAmount: string;
|
|
572
576
|
settlementMode: "available" | "locked";
|
|
573
577
|
allowPurchase: boolean;
|
|
578
|
+
isHot: boolean;
|
|
574
579
|
targetAsset: {
|
|
575
580
|
symbol: string;
|
|
576
581
|
id: string;
|
|
@@ -645,6 +650,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
645
650
|
minPayAmount: string;
|
|
646
651
|
settlementMode: "available" | "locked";
|
|
647
652
|
allowPurchase: boolean;
|
|
653
|
+
isHot: boolean;
|
|
648
654
|
targetAsset: {
|
|
649
655
|
symbol: string;
|
|
650
656
|
id: string;
|
|
@@ -719,6 +725,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
719
725
|
minPayAmount: string;
|
|
720
726
|
settlementMode: "available" | "locked";
|
|
721
727
|
allowPurchase: boolean;
|
|
728
|
+
isHot: boolean;
|
|
722
729
|
targetAsset: {
|
|
723
730
|
symbol: string;
|
|
724
731
|
id: string;
|
|
@@ -792,6 +799,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
792
799
|
minPayAmount: string;
|
|
793
800
|
settlementMode: "available" | "locked";
|
|
794
801
|
allowPurchase: boolean;
|
|
802
|
+
isHot: boolean;
|
|
795
803
|
targetAsset: {
|
|
796
804
|
symbol: string;
|
|
797
805
|
id: string;
|
|
@@ -854,6 +862,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
854
862
|
receiveAccountTypeId?: string | undefined;
|
|
855
863
|
settlementMode?: "available" | "locked" | undefined;
|
|
856
864
|
allowPurchase?: boolean | undefined;
|
|
865
|
+
isHot?: boolean | undefined;
|
|
857
866
|
limit?: number | undefined;
|
|
858
867
|
offset?: number | undefined;
|
|
859
868
|
pageSize?: number | undefined;
|
|
@@ -881,6 +890,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
881
890
|
minPayAmount: string;
|
|
882
891
|
settlementMode: "available" | "locked";
|
|
883
892
|
allowPurchase: boolean;
|
|
893
|
+
isHot: boolean;
|
|
884
894
|
targetAsset: {
|
|
885
895
|
symbol: string;
|
|
886
896
|
id: string;
|
|
@@ -7,6 +7,7 @@ export declare abstract class AdminAssetConvertProductService {
|
|
|
7
7
|
private static ensureValidTimeRange;
|
|
8
8
|
private static assertStatusTransitionAllowed;
|
|
9
9
|
private static ensureProductReferencesValid;
|
|
10
|
+
private static ensureProductPriceReadyForActivation;
|
|
10
11
|
static createProduct(input: AssetConvertProductCreateInputType): Promise<{
|
|
11
12
|
targetAsset: {
|
|
12
13
|
symbol: string;
|
|
@@ -98,6 +99,7 @@ export declare abstract class AdminAssetConvertProductService {
|
|
|
98
99
|
minPayAmount: string;
|
|
99
100
|
settlementMode: "available" | "locked";
|
|
100
101
|
allowPurchase: boolean;
|
|
102
|
+
isHot: boolean;
|
|
101
103
|
}>;
|
|
102
104
|
static updateProduct(productId: string, input: AssetConvertProductUpdateInputType): Promise<{
|
|
103
105
|
id: string;
|
|
@@ -114,6 +116,7 @@ export declare abstract class AdminAssetConvertProductService {
|
|
|
114
116
|
minPayAmount: string;
|
|
115
117
|
settlementMode: "available" | "locked";
|
|
116
118
|
allowPurchase: boolean;
|
|
119
|
+
isHot: boolean;
|
|
117
120
|
targetAsset: {
|
|
118
121
|
symbol: string;
|
|
119
122
|
id: string;
|
|
@@ -158,6 +161,7 @@ export declare abstract class AdminAssetConvertProductService {
|
|
|
158
161
|
minPayAmount: string;
|
|
159
162
|
settlementMode: "available" | "locked";
|
|
160
163
|
allowPurchase: boolean;
|
|
164
|
+
isHot: boolean;
|
|
161
165
|
targetAsset: {
|
|
162
166
|
symbol: string;
|
|
163
167
|
id: string;
|
|
@@ -202,6 +206,7 @@ export declare abstract class AdminAssetConvertProductService {
|
|
|
202
206
|
minPayAmount: string;
|
|
203
207
|
settlementMode: "available" | "locked";
|
|
204
208
|
allowPurchase: boolean;
|
|
209
|
+
isHot: boolean;
|
|
205
210
|
targetAsset: {
|
|
206
211
|
symbol: string;
|
|
207
212
|
id: string;
|
|
@@ -246,6 +251,7 @@ export declare abstract class AdminAssetConvertProductService {
|
|
|
246
251
|
minPayAmount: string;
|
|
247
252
|
settlementMode: "available" | "locked";
|
|
248
253
|
allowPurchase: boolean;
|
|
254
|
+
isHot: boolean;
|
|
249
255
|
targetAsset: {
|
|
250
256
|
symbol: string;
|
|
251
257
|
id: string;
|
|
@@ -290,6 +296,7 @@ export declare abstract class AdminAssetConvertProductService {
|
|
|
290
296
|
minPayAmount: string;
|
|
291
297
|
settlementMode: "available" | "locked";
|
|
292
298
|
allowPurchase: boolean;
|
|
299
|
+
isHot: boolean;
|
|
293
300
|
targetAsset: {
|
|
294
301
|
symbol: string;
|
|
295
302
|
id: string;
|
|
@@ -335,6 +342,7 @@ export declare abstract class AdminAssetConvertProductService {
|
|
|
335
342
|
minPayAmount: string;
|
|
336
343
|
settlementMode: "available" | "locked";
|
|
337
344
|
allowPurchase: boolean;
|
|
345
|
+
isHot: boolean;
|
|
338
346
|
targetAsset: {
|
|
339
347
|
symbol: string;
|
|
340
348
|
id: string;
|
|
@@ -237,6 +237,23 @@ export declare const assetConvertProductSelectSchema: import("drizzle-typebox").
|
|
|
237
237
|
identity: undefined;
|
|
238
238
|
generated: undefined;
|
|
239
239
|
}, {}, {}>;
|
|
240
|
+
isHot: import("drizzle-orm/pg-core").PgColumn<{
|
|
241
|
+
name: "is_hot";
|
|
242
|
+
tableName: "asset_convert_product";
|
|
243
|
+
dataType: "boolean";
|
|
244
|
+
columnType: "PgBoolean";
|
|
245
|
+
data: boolean;
|
|
246
|
+
driverParam: boolean;
|
|
247
|
+
notNull: true;
|
|
248
|
+
hasDefault: true;
|
|
249
|
+
isPrimaryKey: false;
|
|
250
|
+
isAutoincrement: false;
|
|
251
|
+
hasRuntimeDefault: false;
|
|
252
|
+
enumValues: undefined;
|
|
253
|
+
baseColumn: never;
|
|
254
|
+
identity: undefined;
|
|
255
|
+
generated: undefined;
|
|
256
|
+
}, {}, {}>;
|
|
240
257
|
}, undefined>;
|
|
241
258
|
export type AssetConvertProductSelectSchemaType = typeof assetConvertProductSelectSchema.static;
|
|
242
259
|
export declare const assetConvertProductInsertSchema: import("drizzle-typebox").BuildSchema<"insert", {
|
|
@@ -478,6 +495,23 @@ export declare const assetConvertProductInsertSchema: import("drizzle-typebox").
|
|
|
478
495
|
identity: undefined;
|
|
479
496
|
generated: undefined;
|
|
480
497
|
}, {}, {}>;
|
|
498
|
+
isHot: import("drizzle-orm/pg-core").PgColumn<{
|
|
499
|
+
name: "is_hot";
|
|
500
|
+
tableName: "asset_convert_product";
|
|
501
|
+
dataType: "boolean";
|
|
502
|
+
columnType: "PgBoolean";
|
|
503
|
+
data: boolean;
|
|
504
|
+
driverParam: boolean;
|
|
505
|
+
notNull: true;
|
|
506
|
+
hasDefault: true;
|
|
507
|
+
isPrimaryKey: false;
|
|
508
|
+
isAutoincrement: false;
|
|
509
|
+
hasRuntimeDefault: false;
|
|
510
|
+
enumValues: undefined;
|
|
511
|
+
baseColumn: never;
|
|
512
|
+
identity: undefined;
|
|
513
|
+
generated: undefined;
|
|
514
|
+
}, {}, {}>;
|
|
481
515
|
}, undefined>;
|
|
482
516
|
export type AssetConvertProductInsertSchemaType = typeof assetConvertProductInsertSchema.static;
|
|
483
517
|
export declare const assetConvertOrderSelectSchema: import("drizzle-typebox").BuildSchema<"select", {
|
|
@@ -263,6 +263,23 @@ export declare const assetConvertProduct: import("drizzle-orm/pg-core").PgTableW
|
|
|
263
263
|
identity: undefined;
|
|
264
264
|
generated: undefined;
|
|
265
265
|
}, {}, {}>;
|
|
266
|
+
isHot: import("drizzle-orm/pg-core").PgColumn<{
|
|
267
|
+
name: "is_hot";
|
|
268
|
+
tableName: "asset_convert_product";
|
|
269
|
+
dataType: "boolean";
|
|
270
|
+
columnType: "PgBoolean";
|
|
271
|
+
data: boolean;
|
|
272
|
+
driverParam: boolean;
|
|
273
|
+
notNull: true;
|
|
274
|
+
hasDefault: true;
|
|
275
|
+
isPrimaryKey: false;
|
|
276
|
+
isAutoincrement: false;
|
|
277
|
+
hasRuntimeDefault: false;
|
|
278
|
+
enumValues: undefined;
|
|
279
|
+
baseColumn: never;
|
|
280
|
+
identity: undefined;
|
|
281
|
+
generated: undefined;
|
|
282
|
+
}, {}, {}>;
|
|
266
283
|
};
|
|
267
284
|
dialect: "pg";
|
|
268
285
|
}>;
|
|
@@ -5,6 +5,7 @@ export declare const assetConvertProductListQuerySchema: import("@sinclair/typeb
|
|
|
5
5
|
real_estate: "real_estate";
|
|
6
6
|
corporate_credit: "corporate_credit";
|
|
7
7
|
}>>;
|
|
8
|
+
isHot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
8
9
|
limit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
9
10
|
offset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
10
11
|
pageSize: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
@@ -39,6 +40,7 @@ export declare const assetConvertProductListItemResponseSchema: import("@sinclai
|
|
|
39
40
|
locked: "locked";
|
|
40
41
|
}>;
|
|
41
42
|
allowPurchase: import("@sinclair/typebox").TBoolean;
|
|
43
|
+
isHot: import("@sinclair/typebox").TBoolean;
|
|
42
44
|
targetAsset: import("@sinclair/typebox").TObject<{
|
|
43
45
|
symbol: import("@sinclair/typebox").TString;
|
|
44
46
|
id: import("@sinclair/typebox").TString;
|
|
@@ -122,6 +124,7 @@ export declare const assetConvertProductListResponseSchema: import("@sinclair/ty
|
|
|
122
124
|
locked: "locked";
|
|
123
125
|
}>;
|
|
124
126
|
allowPurchase: import("@sinclair/typebox").TBoolean;
|
|
127
|
+
isHot: import("@sinclair/typebox").TBoolean;
|
|
125
128
|
targetAsset: import("@sinclair/typebox").TObject<{
|
|
126
129
|
symbol: import("@sinclair/typebox").TString;
|
|
127
130
|
id: import("@sinclair/typebox").TString;
|
|
@@ -213,6 +216,7 @@ export declare const assetConvertProductResponseSchema: import("@sinclair/typebo
|
|
|
213
216
|
locked: "locked";
|
|
214
217
|
}>;
|
|
215
218
|
allowPurchase: import("@sinclair/typebox").TBoolean;
|
|
219
|
+
isHot: import("@sinclair/typebox").TBoolean;
|
|
216
220
|
targetAsset: import("@sinclair/typebox").TObject<{
|
|
217
221
|
symbol: import("@sinclair/typebox").TString;
|
|
218
222
|
id: import("@sinclair/typebox").TString;
|
|
@@ -387,6 +387,7 @@ export declare const assetConvertProductRouter: Elysia<"/asset_convert_product",
|
|
|
387
387
|
params: {};
|
|
388
388
|
query: {
|
|
389
389
|
productCategoryKey?: "gold" | "gov_bond" | "real_estate" | "corporate_credit" | undefined;
|
|
390
|
+
isHot?: boolean | undefined;
|
|
390
391
|
limit?: number | undefined;
|
|
391
392
|
offset?: number | undefined;
|
|
392
393
|
pageSize?: number | undefined;
|
|
@@ -421,6 +422,7 @@ export declare const assetConvertProductRouter: Elysia<"/asset_convert_product",
|
|
|
421
422
|
minPayAmount: string;
|
|
422
423
|
settlementMode: "available" | "locked";
|
|
423
424
|
allowPurchase: boolean;
|
|
425
|
+
isHot: boolean;
|
|
424
426
|
targetAsset: {
|
|
425
427
|
symbol: string;
|
|
426
428
|
id: string;
|
|
@@ -514,6 +516,7 @@ export declare const assetConvertProductRouter: Elysia<"/asset_convert_product",
|
|
|
514
516
|
minPayAmount: string;
|
|
515
517
|
settlementMode: "available" | "locked";
|
|
516
518
|
allowPurchase: boolean;
|
|
519
|
+
isHot: boolean;
|
|
517
520
|
targetAsset: {
|
|
518
521
|
symbol: string;
|
|
519
522
|
id: string;
|
|
@@ -19,6 +19,7 @@ declare abstract class BaseUserAssetConvertProductService {
|
|
|
19
19
|
minPayAmount: string;
|
|
20
20
|
settlementMode: "available" | "locked";
|
|
21
21
|
allowPurchase: boolean;
|
|
22
|
+
isHot: boolean;
|
|
22
23
|
}>;
|
|
23
24
|
protected static assertProductActive(product: typeof assetConvertProduct.$inferSelect): void;
|
|
24
25
|
protected static assertProductPurchaseAllowed(product: typeof assetConvertProduct.$inferSelect): void;
|
|
@@ -170,6 +171,7 @@ export declare abstract class UserAssetConvertProductService extends BaseUserAss
|
|
|
170
171
|
minPayAmount: string;
|
|
171
172
|
settlementMode: "available" | "locked";
|
|
172
173
|
allowPurchase: boolean;
|
|
174
|
+
isHot: boolean;
|
|
173
175
|
}[];
|
|
174
176
|
pagination: {
|
|
175
177
|
pageSize: number;
|
|
@@ -285,6 +287,7 @@ export declare abstract class UserAssetConvertProductService extends BaseUserAss
|
|
|
285
287
|
minPayAmount: string;
|
|
286
288
|
settlementMode: "available" | "locked";
|
|
287
289
|
allowPurchase: boolean;
|
|
290
|
+
isHot: boolean;
|
|
288
291
|
}>;
|
|
289
292
|
static createOrder(userId: string, input: AssetConvertOrderCreateInputType): Promise<{
|
|
290
293
|
id: string;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1601,6 +1601,7 @@ declare const app: Elysia<"/api", {
|
|
|
1601
1601
|
description?: string | null | undefined;
|
|
1602
1602
|
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
1603
1603
|
allowPurchase?: boolean | undefined;
|
|
1604
|
+
isHot?: boolean | undefined;
|
|
1604
1605
|
name: string;
|
|
1605
1606
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1606
1607
|
targetAssetId: string;
|
|
@@ -1629,6 +1630,7 @@ declare const app: Elysia<"/api", {
|
|
|
1629
1630
|
minPayAmount: string;
|
|
1630
1631
|
settlementMode: "available" | "locked";
|
|
1631
1632
|
allowPurchase: boolean;
|
|
1633
|
+
isHot: boolean;
|
|
1632
1634
|
targetAsset: {
|
|
1633
1635
|
symbol: string;
|
|
1634
1636
|
id: string;
|
|
@@ -1690,6 +1692,7 @@ declare const app: Elysia<"/api", {
|
|
|
1690
1692
|
minPayAmount?: string | undefined;
|
|
1691
1693
|
settlementMode?: "available" | "locked" | undefined;
|
|
1692
1694
|
allowPurchase?: boolean | undefined;
|
|
1695
|
+
isHot?: boolean | undefined;
|
|
1693
1696
|
};
|
|
1694
1697
|
params: {
|
|
1695
1698
|
id: string;
|
|
@@ -1712,6 +1715,7 @@ declare const app: Elysia<"/api", {
|
|
|
1712
1715
|
minPayAmount: string;
|
|
1713
1716
|
settlementMode: "available" | "locked";
|
|
1714
1717
|
allowPurchase: boolean;
|
|
1718
|
+
isHot: boolean;
|
|
1715
1719
|
targetAsset: {
|
|
1716
1720
|
symbol: string;
|
|
1717
1721
|
id: string;
|
|
@@ -1785,6 +1789,7 @@ declare const app: Elysia<"/api", {
|
|
|
1785
1789
|
minPayAmount: string;
|
|
1786
1790
|
settlementMode: "available" | "locked";
|
|
1787
1791
|
allowPurchase: boolean;
|
|
1792
|
+
isHot: boolean;
|
|
1788
1793
|
targetAsset: {
|
|
1789
1794
|
symbol: string;
|
|
1790
1795
|
id: string;
|
|
@@ -1859,6 +1864,7 @@ declare const app: Elysia<"/api", {
|
|
|
1859
1864
|
minPayAmount: string;
|
|
1860
1865
|
settlementMode: "available" | "locked";
|
|
1861
1866
|
allowPurchase: boolean;
|
|
1867
|
+
isHot: boolean;
|
|
1862
1868
|
targetAsset: {
|
|
1863
1869
|
symbol: string;
|
|
1864
1870
|
id: string;
|
|
@@ -1933,6 +1939,7 @@ declare const app: Elysia<"/api", {
|
|
|
1933
1939
|
minPayAmount: string;
|
|
1934
1940
|
settlementMode: "available" | "locked";
|
|
1935
1941
|
allowPurchase: boolean;
|
|
1942
|
+
isHot: boolean;
|
|
1936
1943
|
targetAsset: {
|
|
1937
1944
|
symbol: string;
|
|
1938
1945
|
id: string;
|
|
@@ -2006,6 +2013,7 @@ declare const app: Elysia<"/api", {
|
|
|
2006
2013
|
minPayAmount: string;
|
|
2007
2014
|
settlementMode: "available" | "locked";
|
|
2008
2015
|
allowPurchase: boolean;
|
|
2016
|
+
isHot: boolean;
|
|
2009
2017
|
targetAsset: {
|
|
2010
2018
|
symbol: string;
|
|
2011
2019
|
id: string;
|
|
@@ -2068,6 +2076,7 @@ declare const app: Elysia<"/api", {
|
|
|
2068
2076
|
receiveAccountTypeId?: string | undefined;
|
|
2069
2077
|
settlementMode?: "available" | "locked" | undefined;
|
|
2070
2078
|
allowPurchase?: boolean | undefined;
|
|
2079
|
+
isHot?: boolean | undefined;
|
|
2071
2080
|
limit?: number | undefined;
|
|
2072
2081
|
offset?: number | undefined;
|
|
2073
2082
|
pageSize?: number | undefined;
|
|
@@ -2095,6 +2104,7 @@ declare const app: Elysia<"/api", {
|
|
|
2095
2104
|
minPayAmount: string;
|
|
2096
2105
|
settlementMode: "available" | "locked";
|
|
2097
2106
|
allowPurchase: boolean;
|
|
2107
|
+
isHot: boolean;
|
|
2098
2108
|
targetAsset: {
|
|
2099
2109
|
symbol: string;
|
|
2100
2110
|
id: string;
|
|
@@ -6697,10 +6707,10 @@ declare const app: Elysia<"/api", {
|
|
|
6697
6707
|
scope?: string[] | undefined;
|
|
6698
6708
|
status?: "archived" | "draft" | "published" | undefined;
|
|
6699
6709
|
sortOrder?: number | undefined;
|
|
6710
|
+
isHot?: boolean | undefined;
|
|
6700
6711
|
summary?: string | null | undefined;
|
|
6701
6712
|
categoryId?: string | undefined;
|
|
6702
6713
|
isPinned?: boolean | undefined;
|
|
6703
|
-
isHot?: boolean | undefined;
|
|
6704
6714
|
hasVideo?: boolean | undefined;
|
|
6705
6715
|
requireReadConfirmation?: boolean | undefined;
|
|
6706
6716
|
externalUrl?: string | null | undefined;
|
|
@@ -6755,13 +6765,13 @@ declare const app: Elysia<"/api", {
|
|
|
6755
6765
|
deletedAt: Date | null;
|
|
6756
6766
|
status: "archived" | "draft" | "published";
|
|
6757
6767
|
sortOrder: number;
|
|
6768
|
+
isHot: boolean;
|
|
6758
6769
|
createdBy: string;
|
|
6759
6770
|
title: string;
|
|
6760
6771
|
content: string;
|
|
6761
6772
|
summary: string | null;
|
|
6762
6773
|
categoryId: string;
|
|
6763
6774
|
isPinned: boolean;
|
|
6764
|
-
isHot: boolean;
|
|
6765
6775
|
hasVideo: boolean;
|
|
6766
6776
|
requireReadConfirmation: boolean;
|
|
6767
6777
|
externalUrl: string | null;
|
|
@@ -6823,13 +6833,13 @@ declare const app: Elysia<"/api", {
|
|
|
6823
6833
|
deletedAt: Date | null;
|
|
6824
6834
|
status: "archived" | "draft" | "published";
|
|
6825
6835
|
sortOrder: number;
|
|
6836
|
+
isHot: boolean;
|
|
6826
6837
|
createdBy: string;
|
|
6827
6838
|
title: string;
|
|
6828
6839
|
content: string;
|
|
6829
6840
|
summary: string | null;
|
|
6830
6841
|
categoryId: string;
|
|
6831
6842
|
isPinned: boolean;
|
|
6832
|
-
isHot: boolean;
|
|
6833
6843
|
hasVideo: boolean;
|
|
6834
6844
|
requireReadConfirmation: boolean;
|
|
6835
6845
|
externalUrl: string | null;
|
|
@@ -6905,12 +6915,12 @@ declare const app: Elysia<"/api", {
|
|
|
6905
6915
|
scope?: string[] | undefined;
|
|
6906
6916
|
status?: "archived" | "draft" | "published" | undefined;
|
|
6907
6917
|
sortOrder?: number | undefined;
|
|
6918
|
+
isHot?: boolean | undefined;
|
|
6908
6919
|
title?: string | undefined;
|
|
6909
6920
|
content?: string | undefined;
|
|
6910
6921
|
summary?: string | null | undefined;
|
|
6911
6922
|
categoryId?: string | undefined;
|
|
6912
6923
|
isPinned?: boolean | undefined;
|
|
6913
|
-
isHot?: boolean | undefined;
|
|
6914
6924
|
hasVideo?: boolean | undefined;
|
|
6915
6925
|
requireReadConfirmation?: boolean | undefined;
|
|
6916
6926
|
externalUrl?: string | null | undefined;
|
|
@@ -9316,6 +9326,7 @@ declare const app: Elysia<"/api", {
|
|
|
9316
9326
|
params: {};
|
|
9317
9327
|
query: {
|
|
9318
9328
|
productCategoryKey?: "gold" | "gov_bond" | "real_estate" | "corporate_credit" | undefined;
|
|
9329
|
+
isHot?: boolean | undefined;
|
|
9319
9330
|
limit?: number | undefined;
|
|
9320
9331
|
offset?: number | undefined;
|
|
9321
9332
|
pageSize?: number | undefined;
|
|
@@ -9350,6 +9361,7 @@ declare const app: Elysia<"/api", {
|
|
|
9350
9361
|
minPayAmount: string;
|
|
9351
9362
|
settlementMode: "available" | "locked";
|
|
9352
9363
|
allowPurchase: boolean;
|
|
9364
|
+
isHot: boolean;
|
|
9353
9365
|
targetAsset: {
|
|
9354
9366
|
symbol: string;
|
|
9355
9367
|
id: string;
|
|
@@ -9443,6 +9455,7 @@ declare const app: Elysia<"/api", {
|
|
|
9443
9455
|
minPayAmount: string;
|
|
9444
9456
|
settlementMode: "available" | "locked";
|
|
9445
9457
|
allowPurchase: boolean;
|
|
9458
|
+
isHot: boolean;
|
|
9446
9459
|
targetAsset: {
|
|
9447
9460
|
symbol: string;
|
|
9448
9461
|
id: string;
|
|
@@ -13066,13 +13079,13 @@ declare const app: Elysia<"/api", {
|
|
|
13066
13079
|
scope: string[];
|
|
13067
13080
|
status: "archived" | "draft" | "published";
|
|
13068
13081
|
sortOrder: number;
|
|
13082
|
+
isHot: boolean;
|
|
13069
13083
|
createdBy: string;
|
|
13070
13084
|
title: string;
|
|
13071
13085
|
content: string;
|
|
13072
13086
|
summary: string | null;
|
|
13073
13087
|
categoryId: string;
|
|
13074
13088
|
isPinned: boolean;
|
|
13075
|
-
isHot: boolean;
|
|
13076
13089
|
hasVideo: boolean;
|
|
13077
13090
|
requireReadConfirmation: boolean;
|
|
13078
13091
|
externalUrl: string | null;
|
|
@@ -13124,13 +13137,13 @@ declare const app: Elysia<"/api", {
|
|
|
13124
13137
|
scope: string[];
|
|
13125
13138
|
status: "archived" | "draft" | "published";
|
|
13126
13139
|
sortOrder: number;
|
|
13140
|
+
isHot: boolean;
|
|
13127
13141
|
createdBy: string;
|
|
13128
13142
|
title: string;
|
|
13129
13143
|
content: string;
|
|
13130
13144
|
summary: string | null;
|
|
13131
13145
|
categoryId: string;
|
|
13132
13146
|
isPinned: boolean;
|
|
13133
|
-
isHot: boolean;
|
|
13134
13147
|
hasVideo: boolean;
|
|
13135
13148
|
requireReadConfirmation: boolean;
|
|
13136
13149
|
externalUrl: string | null;
|
|
@@ -13198,13 +13211,13 @@ declare const app: Elysia<"/api", {
|
|
|
13198
13211
|
scope: string[];
|
|
13199
13212
|
status: "archived" | "draft" | "published";
|
|
13200
13213
|
sortOrder: number;
|
|
13214
|
+
isHot: boolean;
|
|
13201
13215
|
createdBy: string;
|
|
13202
13216
|
title: string;
|
|
13203
13217
|
content: string;
|
|
13204
13218
|
summary: string | null;
|
|
13205
13219
|
categoryId: string;
|
|
13206
13220
|
isPinned: boolean;
|
|
13207
|
-
isHot: boolean;
|
|
13208
13221
|
hasVideo: boolean;
|
|
13209
13222
|
requireReadConfirmation: boolean;
|
|
13210
13223
|
externalUrl: string | null;
|
|
@@ -10,13 +10,13 @@ export declare const newsSelectModel: import("@sinclair/typebox").TObject<{
|
|
|
10
10
|
published: "published";
|
|
11
11
|
}>;
|
|
12
12
|
sortOrder: import("@sinclair/typebox").TInteger;
|
|
13
|
+
isHot: import("@sinclair/typebox").TBoolean;
|
|
13
14
|
createdBy: import("@sinclair/typebox").TString;
|
|
14
15
|
title: import("@sinclair/typebox").TString;
|
|
15
16
|
content: import("@sinclair/typebox").TString;
|
|
16
17
|
summary: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
17
18
|
categoryId: import("@sinclair/typebox").TString;
|
|
18
19
|
isPinned: import("@sinclair/typebox").TBoolean;
|
|
19
|
-
isHot: import("@sinclair/typebox").TBoolean;
|
|
20
20
|
hasVideo: import("@sinclair/typebox").TBoolean;
|
|
21
21
|
requireReadConfirmation: import("@sinclair/typebox").TBoolean;
|
|
22
22
|
externalUrl: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
@@ -38,13 +38,13 @@ export declare const newsListItemModel: import("@sinclair/typebox").TObject<{
|
|
|
38
38
|
draft: "draft";
|
|
39
39
|
published: "published";
|
|
40
40
|
}>;
|
|
41
|
+
isHot: import("@sinclair/typebox").TBoolean;
|
|
41
42
|
createdBy: import("@sinclair/typebox").TString;
|
|
42
43
|
title: import("@sinclair/typebox").TString;
|
|
43
44
|
content: import("@sinclair/typebox").TString;
|
|
44
45
|
summary: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
45
46
|
categoryId: import("@sinclair/typebox").TString;
|
|
46
47
|
isPinned: import("@sinclair/typebox").TBoolean;
|
|
47
|
-
isHot: import("@sinclair/typebox").TBoolean;
|
|
48
48
|
hasVideo: import("@sinclair/typebox").TBoolean;
|
|
49
49
|
requireReadConfirmation: import("@sinclair/typebox").TBoolean;
|
|
50
50
|
externalUrl: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
@@ -70,13 +70,13 @@ export declare const newsListResponse: import("@sinclair/typebox").TObject<{
|
|
|
70
70
|
draft: "draft";
|
|
71
71
|
published: "published";
|
|
72
72
|
}>;
|
|
73
|
+
isHot: import("@sinclair/typebox").TBoolean;
|
|
73
74
|
createdBy: import("@sinclair/typebox").TString;
|
|
74
75
|
title: import("@sinclair/typebox").TString;
|
|
75
76
|
content: import("@sinclair/typebox").TString;
|
|
76
77
|
summary: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
77
78
|
categoryId: import("@sinclair/typebox").TString;
|
|
78
79
|
isPinned: import("@sinclair/typebox").TBoolean;
|
|
79
|
-
isHot: import("@sinclair/typebox").TBoolean;
|
|
80
80
|
hasVideo: import("@sinclair/typebox").TBoolean;
|
|
81
81
|
requireReadConfirmation: import("@sinclair/typebox").TBoolean;
|
|
82
82
|
externalUrl: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
@@ -105,12 +105,12 @@ export declare const newsCreateModel: import("@sinclair/typebox").TObject<{
|
|
|
105
105
|
published: "published";
|
|
106
106
|
}>>;
|
|
107
107
|
sortOrder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
108
|
+
isHot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
108
109
|
title: import("@sinclair/typebox").TString;
|
|
109
110
|
content: import("@sinclair/typebox").TString;
|
|
110
111
|
summary: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
|
|
111
112
|
categoryId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
112
113
|
isPinned: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
113
|
-
isHot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
114
114
|
hasVideo: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
115
115
|
requireReadConfirmation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
116
116
|
externalUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
|
|
@@ -128,12 +128,12 @@ export declare const newsUpdateModel: import("@sinclair/typebox").TObject<{
|
|
|
128
128
|
published: "published";
|
|
129
129
|
}>>;
|
|
130
130
|
sortOrder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
131
|
+
isHot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
131
132
|
title: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
132
133
|
content: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
133
134
|
summary: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
|
|
134
135
|
categoryId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
135
136
|
isPinned: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
136
|
-
isHot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
137
137
|
hasVideo: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
138
138
|
requireReadConfirmation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
139
139
|
externalUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
|
|
@@ -387,10 +387,10 @@ export declare const newsAdminRouter: Elysia<"/news", {
|
|
|
387
387
|
scope?: string[] | undefined;
|
|
388
388
|
status?: "archived" | "draft" | "published" | undefined;
|
|
389
389
|
sortOrder?: number | undefined;
|
|
390
|
+
isHot?: boolean | undefined;
|
|
390
391
|
summary?: string | null | undefined;
|
|
391
392
|
categoryId?: string | undefined;
|
|
392
393
|
isPinned?: boolean | undefined;
|
|
393
|
-
isHot?: boolean | undefined;
|
|
394
394
|
hasVideo?: boolean | undefined;
|
|
395
395
|
requireReadConfirmation?: boolean | undefined;
|
|
396
396
|
externalUrl?: string | null | undefined;
|
|
@@ -445,13 +445,13 @@ export declare const newsAdminRouter: Elysia<"/news", {
|
|
|
445
445
|
deletedAt: Date | null;
|
|
446
446
|
status: "archived" | "draft" | "published";
|
|
447
447
|
sortOrder: number;
|
|
448
|
+
isHot: boolean;
|
|
448
449
|
createdBy: string;
|
|
449
450
|
title: string;
|
|
450
451
|
content: string;
|
|
451
452
|
summary: string | null;
|
|
452
453
|
categoryId: string;
|
|
453
454
|
isPinned: boolean;
|
|
454
|
-
isHot: boolean;
|
|
455
455
|
hasVideo: boolean;
|
|
456
456
|
requireReadConfirmation: boolean;
|
|
457
457
|
externalUrl: string | null;
|
|
@@ -513,13 +513,13 @@ export declare const newsAdminRouter: Elysia<"/news", {
|
|
|
513
513
|
deletedAt: Date | null;
|
|
514
514
|
status: "archived" | "draft" | "published";
|
|
515
515
|
sortOrder: number;
|
|
516
|
+
isHot: boolean;
|
|
516
517
|
createdBy: string;
|
|
517
518
|
title: string;
|
|
518
519
|
content: string;
|
|
519
520
|
summary: string | null;
|
|
520
521
|
categoryId: string;
|
|
521
522
|
isPinned: boolean;
|
|
522
|
-
isHot: boolean;
|
|
523
523
|
hasVideo: boolean;
|
|
524
524
|
requireReadConfirmation: boolean;
|
|
525
525
|
externalUrl: string | null;
|
|
@@ -595,12 +595,12 @@ export declare const newsAdminRouter: Elysia<"/news", {
|
|
|
595
595
|
scope?: string[] | undefined;
|
|
596
596
|
status?: "archived" | "draft" | "published" | undefined;
|
|
597
597
|
sortOrder?: number | undefined;
|
|
598
|
+
isHot?: boolean | undefined;
|
|
598
599
|
title?: string | undefined;
|
|
599
600
|
content?: string | undefined;
|
|
600
601
|
summary?: string | null | undefined;
|
|
601
602
|
categoryId?: string | undefined;
|
|
602
603
|
isPinned?: boolean | undefined;
|
|
603
|
-
isHot?: boolean | undefined;
|
|
604
604
|
hasVideo?: boolean | undefined;
|
|
605
605
|
requireReadConfirmation?: boolean | undefined;
|
|
606
606
|
externalUrl?: string | null | undefined;
|
|
@@ -10,13 +10,13 @@ export declare abstract class AdminNewsService extends BaseNewsService {
|
|
|
10
10
|
deletedAt: Date | null;
|
|
11
11
|
status: "archived" | "draft" | "published";
|
|
12
12
|
sortOrder: number;
|
|
13
|
+
isHot: boolean;
|
|
13
14
|
createdBy: string;
|
|
14
15
|
title: string;
|
|
15
16
|
content: string;
|
|
16
17
|
summary: string | null;
|
|
17
18
|
categoryId: string;
|
|
18
19
|
isPinned: boolean;
|
|
19
|
-
isHot: boolean;
|
|
20
20
|
hasVideo: boolean;
|
|
21
21
|
requireReadConfirmation: boolean;
|
|
22
22
|
externalUrl: string | null;
|
|
@@ -61,13 +61,13 @@ export declare abstract class AdminNewsService extends BaseNewsService {
|
|
|
61
61
|
deletedAt: Date | null;
|
|
62
62
|
status: "archived" | "draft" | "published";
|
|
63
63
|
sortOrder: number;
|
|
64
|
+
isHot: boolean;
|
|
64
65
|
createdBy: string;
|
|
65
66
|
title: string;
|
|
66
67
|
content: string;
|
|
67
68
|
summary: string | null;
|
|
68
69
|
categoryId: string;
|
|
69
70
|
isPinned: boolean;
|
|
70
|
-
isHot: boolean;
|
|
71
71
|
hasVideo: boolean;
|
|
72
72
|
requireReadConfirmation: boolean;
|
|
73
73
|
externalUrl: string | null;
|
|
@@ -129,13 +129,13 @@ export declare abstract class AdminNewsService extends BaseNewsService {
|
|
|
129
129
|
deletedAt: Date | null;
|
|
130
130
|
status: "archived" | "draft" | "published";
|
|
131
131
|
sortOrder: number;
|
|
132
|
+
isHot: boolean;
|
|
132
133
|
createdBy: string;
|
|
133
134
|
title: string;
|
|
134
135
|
content: string;
|
|
135
136
|
summary: string | null;
|
|
136
137
|
categoryId: string;
|
|
137
138
|
isPinned: boolean;
|
|
138
|
-
isHot: boolean;
|
|
139
139
|
hasVideo: boolean;
|
|
140
140
|
requireReadConfirmation: boolean;
|
|
141
141
|
externalUrl: string | null;
|
|
@@ -10,13 +10,13 @@ export declare const newsSelectModel: import("@sinclair/typebox").TObject<{
|
|
|
10
10
|
published: "published";
|
|
11
11
|
}>;
|
|
12
12
|
sortOrder: import("@sinclair/typebox").TInteger;
|
|
13
|
+
isHot: import("@sinclair/typebox").TBoolean;
|
|
13
14
|
createdBy: import("@sinclair/typebox").TString;
|
|
14
15
|
title: import("@sinclair/typebox").TString;
|
|
15
16
|
content: import("@sinclair/typebox").TString;
|
|
16
17
|
summary: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
17
18
|
categoryId: import("@sinclair/typebox").TString;
|
|
18
19
|
isPinned: import("@sinclair/typebox").TBoolean;
|
|
19
|
-
isHot: import("@sinclair/typebox").TBoolean;
|
|
20
20
|
hasVideo: import("@sinclair/typebox").TBoolean;
|
|
21
21
|
requireReadConfirmation: import("@sinclair/typebox").TBoolean;
|
|
22
22
|
externalUrl: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
@@ -38,13 +38,13 @@ export declare const newsListItemModel: import("@sinclair/typebox").TObject<{
|
|
|
38
38
|
draft: "draft";
|
|
39
39
|
published: "published";
|
|
40
40
|
}>;
|
|
41
|
+
isHot: import("@sinclair/typebox").TBoolean;
|
|
41
42
|
createdBy: import("@sinclair/typebox").TString;
|
|
42
43
|
title: import("@sinclair/typebox").TString;
|
|
43
44
|
content: import("@sinclair/typebox").TString;
|
|
44
45
|
summary: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
45
46
|
categoryId: import("@sinclair/typebox").TString;
|
|
46
47
|
isPinned: import("@sinclair/typebox").TBoolean;
|
|
47
|
-
isHot: import("@sinclair/typebox").TBoolean;
|
|
48
48
|
hasVideo: import("@sinclair/typebox").TBoolean;
|
|
49
49
|
requireReadConfirmation: import("@sinclair/typebox").TBoolean;
|
|
50
50
|
externalUrl: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
@@ -70,13 +70,13 @@ export declare const newsListResponse: import("@sinclair/typebox").TObject<{
|
|
|
70
70
|
draft: "draft";
|
|
71
71
|
published: "published";
|
|
72
72
|
}>;
|
|
73
|
+
isHot: import("@sinclair/typebox").TBoolean;
|
|
73
74
|
createdBy: import("@sinclair/typebox").TString;
|
|
74
75
|
title: import("@sinclair/typebox").TString;
|
|
75
76
|
content: import("@sinclair/typebox").TString;
|
|
76
77
|
summary: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
77
78
|
categoryId: import("@sinclair/typebox").TString;
|
|
78
79
|
isPinned: import("@sinclair/typebox").TBoolean;
|
|
79
|
-
isHot: import("@sinclair/typebox").TBoolean;
|
|
80
80
|
hasVideo: import("@sinclair/typebox").TBoolean;
|
|
81
81
|
requireReadConfirmation: import("@sinclair/typebox").TBoolean;
|
|
82
82
|
externalUrl: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
@@ -123,13 +123,13 @@ export declare const newsDetailResponse: import("@sinclair/typebox").TObject<{
|
|
|
123
123
|
draft: "draft";
|
|
124
124
|
published: "published";
|
|
125
125
|
}>;
|
|
126
|
+
isHot: import("@sinclair/typebox").TBoolean;
|
|
126
127
|
createdBy: import("@sinclair/typebox").TString;
|
|
127
128
|
title: import("@sinclair/typebox").TString;
|
|
128
129
|
content: import("@sinclair/typebox").TString;
|
|
129
130
|
summary: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
130
131
|
categoryId: import("@sinclair/typebox").TString;
|
|
131
132
|
isPinned: import("@sinclair/typebox").TBoolean;
|
|
132
|
-
isHot: import("@sinclair/typebox").TBoolean;
|
|
133
133
|
hasVideo: import("@sinclair/typebox").TBoolean;
|
|
134
134
|
requireReadConfirmation: import("@sinclair/typebox").TBoolean;
|
|
135
135
|
externalUrl: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
@@ -159,13 +159,13 @@ export declare const pendingConfirmationsResponse: import("@sinclair/typebox").T
|
|
|
159
159
|
draft: "draft";
|
|
160
160
|
published: "published";
|
|
161
161
|
}>;
|
|
162
|
+
isHot: import("@sinclair/typebox").TBoolean;
|
|
162
163
|
createdBy: import("@sinclair/typebox").TString;
|
|
163
164
|
title: import("@sinclair/typebox").TString;
|
|
164
165
|
content: import("@sinclair/typebox").TString;
|
|
165
166
|
summary: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
166
167
|
categoryId: import("@sinclair/typebox").TString;
|
|
167
168
|
isPinned: import("@sinclair/typebox").TBoolean;
|
|
168
|
-
isHot: import("@sinclair/typebox").TBoolean;
|
|
169
169
|
hasVideo: import("@sinclair/typebox").TBoolean;
|
|
170
170
|
requireReadConfirmation: import("@sinclair/typebox").TBoolean;
|
|
171
171
|
externalUrl: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
@@ -408,13 +408,13 @@ export declare const newsRouter: Elysia<"/news", {
|
|
|
408
408
|
scope: string[];
|
|
409
409
|
status: "archived" | "draft" | "published";
|
|
410
410
|
sortOrder: number;
|
|
411
|
+
isHot: boolean;
|
|
411
412
|
createdBy: string;
|
|
412
413
|
title: string;
|
|
413
414
|
content: string;
|
|
414
415
|
summary: string | null;
|
|
415
416
|
categoryId: string;
|
|
416
417
|
isPinned: boolean;
|
|
417
|
-
isHot: boolean;
|
|
418
418
|
hasVideo: boolean;
|
|
419
419
|
requireReadConfirmation: boolean;
|
|
420
420
|
externalUrl: string | null;
|
|
@@ -466,13 +466,13 @@ export declare const newsRouter: Elysia<"/news", {
|
|
|
466
466
|
scope: string[];
|
|
467
467
|
status: "archived" | "draft" | "published";
|
|
468
468
|
sortOrder: number;
|
|
469
|
+
isHot: boolean;
|
|
469
470
|
createdBy: string;
|
|
470
471
|
title: string;
|
|
471
472
|
content: string;
|
|
472
473
|
summary: string | null;
|
|
473
474
|
categoryId: string;
|
|
474
475
|
isPinned: boolean;
|
|
475
|
-
isHot: boolean;
|
|
476
476
|
hasVideo: boolean;
|
|
477
477
|
requireReadConfirmation: boolean;
|
|
478
478
|
externalUrl: string | null;
|
|
@@ -540,13 +540,13 @@ export declare const newsRouter: Elysia<"/news", {
|
|
|
540
540
|
scope: string[];
|
|
541
541
|
status: "archived" | "draft" | "published";
|
|
542
542
|
sortOrder: number;
|
|
543
|
+
isHot: boolean;
|
|
543
544
|
createdBy: string;
|
|
544
545
|
title: string;
|
|
545
546
|
content: string;
|
|
546
547
|
summary: string | null;
|
|
547
548
|
categoryId: string;
|
|
548
549
|
isPinned: boolean;
|
|
549
|
-
isHot: boolean;
|
|
550
550
|
hasVideo: boolean;
|
|
551
551
|
requireReadConfirmation: boolean;
|
|
552
552
|
externalUrl: string | null;
|
|
@@ -11,13 +11,13 @@ export declare abstract class UserNewsService extends BaseNewsService {
|
|
|
11
11
|
deletedAt: Date | null;
|
|
12
12
|
status: "archived" | "draft" | "published";
|
|
13
13
|
sortOrder: number;
|
|
14
|
+
isHot: boolean;
|
|
14
15
|
createdBy: string;
|
|
15
16
|
title: string;
|
|
16
17
|
content: string;
|
|
17
18
|
summary: string | null;
|
|
18
19
|
categoryId: string;
|
|
19
20
|
isPinned: boolean;
|
|
20
|
-
isHot: boolean;
|
|
21
21
|
hasVideo: boolean;
|
|
22
22
|
requireReadConfirmation: boolean;
|
|
23
23
|
externalUrl: string | null;
|
|
@@ -59,13 +59,13 @@ export declare abstract class UserNewsService extends BaseNewsService {
|
|
|
59
59
|
deletedAt: Date | null;
|
|
60
60
|
status: "archived" | "draft" | "published";
|
|
61
61
|
sortOrder: number;
|
|
62
|
+
isHot: boolean;
|
|
62
63
|
createdBy: string;
|
|
63
64
|
title: string;
|
|
64
65
|
content: string;
|
|
65
66
|
summary: string | null;
|
|
66
67
|
categoryId: string;
|
|
67
68
|
isPinned: boolean;
|
|
68
|
-
isHot: boolean;
|
|
69
69
|
hasVideo: boolean;
|
|
70
70
|
requireReadConfirmation: boolean;
|
|
71
71
|
externalUrl: string | null;
|
|
@@ -126,13 +126,13 @@ export declare abstract class UserNewsService extends BaseNewsService {
|
|
|
126
126
|
deletedAt: Date | null;
|
|
127
127
|
status: "archived" | "draft" | "published";
|
|
128
128
|
sortOrder: number;
|
|
129
|
+
isHot: boolean;
|
|
129
130
|
createdBy: string;
|
|
130
131
|
title: string;
|
|
131
132
|
content: string;
|
|
132
133
|
summary: string | null;
|
|
133
134
|
categoryId: string;
|
|
134
135
|
isPinned: boolean;
|
|
135
|
-
isHot: boolean;
|
|
136
136
|
hasVideo: boolean;
|
|
137
137
|
requireReadConfirmation: boolean;
|
|
138
138
|
externalUrl: string | null;
|
|
@@ -199,13 +199,13 @@ export declare abstract class UserNewsService extends BaseNewsService {
|
|
|
199
199
|
deletedAt: Date | null;
|
|
200
200
|
status: "archived" | "draft" | "published";
|
|
201
201
|
sortOrder: number;
|
|
202
|
+
isHot: boolean;
|
|
202
203
|
createdBy: string;
|
|
203
204
|
title: string;
|
|
204
205
|
content: string;
|
|
205
206
|
summary: string | null;
|
|
206
207
|
categoryId: string;
|
|
207
208
|
isPinned: boolean;
|
|
208
|
-
isHot: boolean;
|
|
209
209
|
hasVideo: boolean;
|
|
210
210
|
requireReadConfirmation: boolean;
|
|
211
211
|
externalUrl: string | null;
|