@r2wa-org/eden 0.0.110 → 0.0.111
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/admin/index.d.ts +411 -3
- package/dist/asset/admin/router.d.ts +1 -13
- package/dist/auth/better-auth.d.ts +7 -1
- package/dist/auth/permissions.d.ts +6 -1
- package/dist/auth/roles.d.ts +15 -0
- package/dist/content-video/internal/service.d.ts +2 -2
- package/dist/db/schemas.d.ts +1 -0
- package/dist/file-storage/admin/dto.schemas.d.ts +4 -0
- package/dist/file-storage/admin/router.d.ts +2 -2
- package/dist/file-storage/admin/service.d.ts +2 -2
- package/dist/file-storage/db.schemas.d.ts +4 -4
- package/dist/file-storage/internal/service.d.ts +1 -1
- package/dist/file-storage/s3.client.d.ts +22 -0
- package/dist/file-storage/schema.d.ts +3 -3
- package/dist/file-storage/share/dto.schemas.d.ts +1 -0
- package/dist/file-storage/share/router.d.ts +1 -1
- package/dist/file-storage/user/dto.schemas.d.ts +6 -4
- package/dist/file-storage/user/router.d.ts +3 -3
- package/dist/file-storage/user/service.d.ts +2 -2
- package/dist/index.d.ts +501 -7
- package/dist/live-stream-video/admin/dto.schemas.d.ts +128 -0
- package/dist/live-stream-video/admin/router.d.ts +861 -0
- package/dist/live-stream-video/admin/service.d.ts +211 -0
- package/dist/live-stream-video/db.schemas.d.ts +486 -0
- package/dist/live-stream-video/errors/index.d.ts +17 -0
- package/dist/live-stream-video/errors/locales/zh.d.ts +16 -0
- package/dist/live-stream-video/index.d.ts +8 -0
- package/dist/live-stream-video/internal/service.d.ts +108 -0
- package/dist/live-stream-video/permissions.d.ts +4 -0
- package/dist/live-stream-video/schema.d.ts +257 -0
- package/dist/live-stream-video/user/dto.schemas.d.ts +52 -0
- package/dist/live-stream-video/user/router.d.ts +482 -0
- package/dist/live-stream-video/user/service.d.ts +36 -0
- package/dist/news/admin/router.d.ts +1 -1
- package/dist/news/admin/service.d.ts +1 -1
- package/dist/news/user/router.d.ts +1 -13
- package/dist/news/user/service.d.ts +2 -2
- package/dist/server-test/index.d.ts +13 -1
- package/dist/team/milestone-reward/admin/reward.router.d.ts +13 -1
- package/dist/trade-market/admin/router.d.ts +13 -1
- package/dist/transfer/user/router.d.ts +1 -13
- package/package.json +1 -1
package/dist/admin/index.d.ts
CHANGED
|
@@ -8690,7 +8690,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8690
8690
|
archivedAt: Date | null;
|
|
8691
8691
|
businessId: string | null;
|
|
8692
8692
|
businessMetadata: string | null;
|
|
8693
|
-
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
8693
|
+
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
8694
8694
|
createdAt: Date;
|
|
8695
8695
|
deletedAt: Date | null;
|
|
8696
8696
|
downloadCount: number | null;
|
|
@@ -9300,6 +9300,414 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9300
9300
|
};
|
|
9301
9301
|
};
|
|
9302
9302
|
};
|
|
9303
|
+
} & {
|
|
9304
|
+
admin: {
|
|
9305
|
+
live_stream_videos: {};
|
|
9306
|
+
} & {
|
|
9307
|
+
live_stream_videos: {
|
|
9308
|
+
post: {
|
|
9309
|
+
body: {
|
|
9310
|
+
coverFileId?: string | undefined;
|
|
9311
|
+
description?: string | null | undefined;
|
|
9312
|
+
durationSeconds?: number | null | undefined;
|
|
9313
|
+
isEnabled?: boolean | undefined;
|
|
9314
|
+
publishedAt?: string | Date | null | undefined;
|
|
9315
|
+
sortOrder?: number | undefined;
|
|
9316
|
+
status?: "archived" | "draft" | "published" | undefined;
|
|
9317
|
+
title: string;
|
|
9318
|
+
videoFileId: string;
|
|
9319
|
+
};
|
|
9320
|
+
params: {};
|
|
9321
|
+
query: {};
|
|
9322
|
+
headers: {};
|
|
9323
|
+
response: {
|
|
9324
|
+
200: {
|
|
9325
|
+
coverFile?: {
|
|
9326
|
+
id: string;
|
|
9327
|
+
fileName: string | null;
|
|
9328
|
+
mimeType: string | null;
|
|
9329
|
+
fileSize: number | null;
|
|
9330
|
+
publicUrl: string | null;
|
|
9331
|
+
} | undefined;
|
|
9332
|
+
coverFileId: string | null;
|
|
9333
|
+
coverUrl?: string | undefined;
|
|
9334
|
+
createdAt: Date;
|
|
9335
|
+
createdBy: string;
|
|
9336
|
+
description: string | null;
|
|
9337
|
+
durationSeconds: number | null;
|
|
9338
|
+
id: string;
|
|
9339
|
+
isEnabled: boolean;
|
|
9340
|
+
publishedAt: Date | null;
|
|
9341
|
+
sortOrder: number;
|
|
9342
|
+
status: "archived" | "draft" | "published";
|
|
9343
|
+
title: string;
|
|
9344
|
+
updatedAt: Date;
|
|
9345
|
+
videoFile?: {
|
|
9346
|
+
id: string;
|
|
9347
|
+
fileName: string | null;
|
|
9348
|
+
mimeType: string | null;
|
|
9349
|
+
fileSize: number | null;
|
|
9350
|
+
publicUrl: string | null;
|
|
9351
|
+
} | undefined;
|
|
9352
|
+
videoFileId: string;
|
|
9353
|
+
videoUrl?: string | undefined;
|
|
9354
|
+
};
|
|
9355
|
+
401: "Unauthorized";
|
|
9356
|
+
403: "Forbidden: Admins only";
|
|
9357
|
+
422: {
|
|
9358
|
+
type: 'validation';
|
|
9359
|
+
on: string;
|
|
9360
|
+
summary?: string;
|
|
9361
|
+
message?: string;
|
|
9362
|
+
found?: unknown;
|
|
9363
|
+
property?: string;
|
|
9364
|
+
expected?: string;
|
|
9365
|
+
};
|
|
9366
|
+
};
|
|
9367
|
+
};
|
|
9368
|
+
};
|
|
9369
|
+
} & {
|
|
9370
|
+
live_stream_videos: {
|
|
9371
|
+
get: {
|
|
9372
|
+
body: {};
|
|
9373
|
+
params: {};
|
|
9374
|
+
query: {
|
|
9375
|
+
isEnabled?: boolean | undefined;
|
|
9376
|
+
keyword?: string | undefined;
|
|
9377
|
+
limit?: number | undefined;
|
|
9378
|
+
offset?: number | undefined;
|
|
9379
|
+
pageIndex?: number | undefined;
|
|
9380
|
+
pageSize?: number | undefined;
|
|
9381
|
+
status?: "archived" | "draft" | "published" | undefined;
|
|
9382
|
+
};
|
|
9383
|
+
headers: {};
|
|
9384
|
+
response: {
|
|
9385
|
+
200: {
|
|
9386
|
+
data: {
|
|
9387
|
+
coverFile?: {
|
|
9388
|
+
id: string;
|
|
9389
|
+
fileName: string | null;
|
|
9390
|
+
mimeType: string | null;
|
|
9391
|
+
fileSize: number | null;
|
|
9392
|
+
publicUrl: string | null;
|
|
9393
|
+
} | undefined;
|
|
9394
|
+
coverFileId: string | null;
|
|
9395
|
+
coverUrl?: string | undefined;
|
|
9396
|
+
createdAt: Date;
|
|
9397
|
+
createdBy: string;
|
|
9398
|
+
description: string | null;
|
|
9399
|
+
durationSeconds: number | null;
|
|
9400
|
+
id: string;
|
|
9401
|
+
isEnabled: boolean;
|
|
9402
|
+
publishedAt: Date | null;
|
|
9403
|
+
sortOrder: number;
|
|
9404
|
+
status: "archived" | "draft" | "published";
|
|
9405
|
+
title: string;
|
|
9406
|
+
updatedAt: Date;
|
|
9407
|
+
videoFile?: {
|
|
9408
|
+
id: string;
|
|
9409
|
+
fileName: string | null;
|
|
9410
|
+
mimeType: string | null;
|
|
9411
|
+
fileSize: number | null;
|
|
9412
|
+
publicUrl: string | null;
|
|
9413
|
+
} | undefined;
|
|
9414
|
+
videoFileId: string;
|
|
9415
|
+
videoUrl?: string | undefined;
|
|
9416
|
+
}[];
|
|
9417
|
+
pagination: {
|
|
9418
|
+
pageSize: number;
|
|
9419
|
+
pageIndex: number;
|
|
9420
|
+
total: number;
|
|
9421
|
+
totalPages: number;
|
|
9422
|
+
hasNextPage: boolean;
|
|
9423
|
+
};
|
|
9424
|
+
};
|
|
9425
|
+
401: "Unauthorized";
|
|
9426
|
+
403: "Forbidden: Admins only";
|
|
9427
|
+
422: {
|
|
9428
|
+
type: 'validation';
|
|
9429
|
+
on: string;
|
|
9430
|
+
summary?: string;
|
|
9431
|
+
message?: string;
|
|
9432
|
+
found?: unknown;
|
|
9433
|
+
property?: string;
|
|
9434
|
+
expected?: string;
|
|
9435
|
+
};
|
|
9436
|
+
};
|
|
9437
|
+
};
|
|
9438
|
+
};
|
|
9439
|
+
} & {
|
|
9440
|
+
live_stream_videos: {
|
|
9441
|
+
":id": {
|
|
9442
|
+
get: {
|
|
9443
|
+
body: {};
|
|
9444
|
+
params: {
|
|
9445
|
+
id: string;
|
|
9446
|
+
};
|
|
9447
|
+
query: {};
|
|
9448
|
+
headers: {};
|
|
9449
|
+
response: {
|
|
9450
|
+
200: {
|
|
9451
|
+
coverFile?: {
|
|
9452
|
+
id: string;
|
|
9453
|
+
fileName: string | null;
|
|
9454
|
+
mimeType: string | null;
|
|
9455
|
+
fileSize: number | null;
|
|
9456
|
+
publicUrl: string | null;
|
|
9457
|
+
} | undefined;
|
|
9458
|
+
coverFileId: string | null;
|
|
9459
|
+
coverUrl?: string | undefined;
|
|
9460
|
+
createdAt: Date;
|
|
9461
|
+
createdBy: string;
|
|
9462
|
+
description: string | null;
|
|
9463
|
+
durationSeconds: number | null;
|
|
9464
|
+
id: string;
|
|
9465
|
+
isEnabled: boolean;
|
|
9466
|
+
publishedAt: Date | null;
|
|
9467
|
+
sortOrder: number;
|
|
9468
|
+
status: "archived" | "draft" | "published";
|
|
9469
|
+
title: string;
|
|
9470
|
+
updatedAt: Date;
|
|
9471
|
+
videoFile?: {
|
|
9472
|
+
id: string;
|
|
9473
|
+
fileName: string | null;
|
|
9474
|
+
mimeType: string | null;
|
|
9475
|
+
fileSize: number | null;
|
|
9476
|
+
publicUrl: string | null;
|
|
9477
|
+
} | undefined;
|
|
9478
|
+
videoFileId: string;
|
|
9479
|
+
videoUrl?: string | undefined;
|
|
9480
|
+
};
|
|
9481
|
+
401: "Unauthorized";
|
|
9482
|
+
403: "Forbidden: Admins only";
|
|
9483
|
+
422: {
|
|
9484
|
+
type: 'validation';
|
|
9485
|
+
on: string;
|
|
9486
|
+
summary?: string;
|
|
9487
|
+
message?: string;
|
|
9488
|
+
found?: unknown;
|
|
9489
|
+
property?: string;
|
|
9490
|
+
expected?: string;
|
|
9491
|
+
};
|
|
9492
|
+
};
|
|
9493
|
+
};
|
|
9494
|
+
};
|
|
9495
|
+
};
|
|
9496
|
+
} & {
|
|
9497
|
+
live_stream_videos: {
|
|
9498
|
+
":id": {
|
|
9499
|
+
patch: {
|
|
9500
|
+
body: {
|
|
9501
|
+
coverFileId?: string | undefined;
|
|
9502
|
+
description?: string | null | undefined;
|
|
9503
|
+
durationSeconds?: number | null | undefined;
|
|
9504
|
+
isEnabled?: boolean | undefined;
|
|
9505
|
+
publishedAt?: string | Date | null | undefined;
|
|
9506
|
+
sortOrder?: number | undefined;
|
|
9507
|
+
status?: "archived" | "draft" | "published" | undefined;
|
|
9508
|
+
title?: string | undefined;
|
|
9509
|
+
videoFileId?: string | undefined;
|
|
9510
|
+
};
|
|
9511
|
+
params: {
|
|
9512
|
+
id: string;
|
|
9513
|
+
};
|
|
9514
|
+
query: {};
|
|
9515
|
+
headers: {};
|
|
9516
|
+
response: {
|
|
9517
|
+
200: {
|
|
9518
|
+
coverFile?: {
|
|
9519
|
+
id: string;
|
|
9520
|
+
fileName: string | null;
|
|
9521
|
+
mimeType: string | null;
|
|
9522
|
+
fileSize: number | null;
|
|
9523
|
+
publicUrl: string | null;
|
|
9524
|
+
} | undefined;
|
|
9525
|
+
coverFileId: string | null;
|
|
9526
|
+
coverUrl?: string | undefined;
|
|
9527
|
+
createdAt: Date;
|
|
9528
|
+
createdBy: string;
|
|
9529
|
+
description: string | null;
|
|
9530
|
+
durationSeconds: number | null;
|
|
9531
|
+
id: string;
|
|
9532
|
+
isEnabled: boolean;
|
|
9533
|
+
publishedAt: Date | null;
|
|
9534
|
+
sortOrder: number;
|
|
9535
|
+
status: "archived" | "draft" | "published";
|
|
9536
|
+
title: string;
|
|
9537
|
+
updatedAt: Date;
|
|
9538
|
+
videoFile?: {
|
|
9539
|
+
id: string;
|
|
9540
|
+
fileName: string | null;
|
|
9541
|
+
mimeType: string | null;
|
|
9542
|
+
fileSize: number | null;
|
|
9543
|
+
publicUrl: string | null;
|
|
9544
|
+
} | undefined;
|
|
9545
|
+
videoFileId: string;
|
|
9546
|
+
videoUrl?: string | undefined;
|
|
9547
|
+
};
|
|
9548
|
+
401: "Unauthorized";
|
|
9549
|
+
403: "Forbidden: Admins only";
|
|
9550
|
+
422: {
|
|
9551
|
+
type: 'validation';
|
|
9552
|
+
on: string;
|
|
9553
|
+
summary?: string;
|
|
9554
|
+
message?: string;
|
|
9555
|
+
found?: unknown;
|
|
9556
|
+
property?: string;
|
|
9557
|
+
expected?: string;
|
|
9558
|
+
};
|
|
9559
|
+
};
|
|
9560
|
+
};
|
|
9561
|
+
};
|
|
9562
|
+
};
|
|
9563
|
+
} & {
|
|
9564
|
+
live_stream_videos: {
|
|
9565
|
+
":id": {
|
|
9566
|
+
publish: {
|
|
9567
|
+
post: {
|
|
9568
|
+
body: {};
|
|
9569
|
+
params: {
|
|
9570
|
+
id: string;
|
|
9571
|
+
};
|
|
9572
|
+
query: {};
|
|
9573
|
+
headers: {};
|
|
9574
|
+
response: {
|
|
9575
|
+
200: {
|
|
9576
|
+
coverFile?: {
|
|
9577
|
+
id: string;
|
|
9578
|
+
fileName: string | null;
|
|
9579
|
+
mimeType: string | null;
|
|
9580
|
+
fileSize: number | null;
|
|
9581
|
+
publicUrl: string | null;
|
|
9582
|
+
} | undefined;
|
|
9583
|
+
coverFileId: string | null;
|
|
9584
|
+
coverUrl?: string | undefined;
|
|
9585
|
+
createdAt: Date;
|
|
9586
|
+
createdBy: string;
|
|
9587
|
+
description: string | null;
|
|
9588
|
+
durationSeconds: number | null;
|
|
9589
|
+
id: string;
|
|
9590
|
+
isEnabled: boolean;
|
|
9591
|
+
publishedAt: Date | null;
|
|
9592
|
+
sortOrder: number;
|
|
9593
|
+
status: "archived" | "draft" | "published";
|
|
9594
|
+
title: string;
|
|
9595
|
+
updatedAt: Date;
|
|
9596
|
+
videoFile?: {
|
|
9597
|
+
id: string;
|
|
9598
|
+
fileName: string | null;
|
|
9599
|
+
mimeType: string | null;
|
|
9600
|
+
fileSize: number | null;
|
|
9601
|
+
publicUrl: string | null;
|
|
9602
|
+
} | undefined;
|
|
9603
|
+
videoFileId: string;
|
|
9604
|
+
videoUrl?: string | undefined;
|
|
9605
|
+
};
|
|
9606
|
+
401: "Unauthorized";
|
|
9607
|
+
403: "Forbidden: Admins only";
|
|
9608
|
+
422: {
|
|
9609
|
+
type: 'validation';
|
|
9610
|
+
on: string;
|
|
9611
|
+
summary?: string;
|
|
9612
|
+
message?: string;
|
|
9613
|
+
found?: unknown;
|
|
9614
|
+
property?: string;
|
|
9615
|
+
expected?: string;
|
|
9616
|
+
};
|
|
9617
|
+
};
|
|
9618
|
+
};
|
|
9619
|
+
};
|
|
9620
|
+
};
|
|
9621
|
+
};
|
|
9622
|
+
} & {
|
|
9623
|
+
live_stream_videos: {
|
|
9624
|
+
":id": {
|
|
9625
|
+
archive: {
|
|
9626
|
+
post: {
|
|
9627
|
+
body: {};
|
|
9628
|
+
params: {
|
|
9629
|
+
id: string;
|
|
9630
|
+
};
|
|
9631
|
+
query: {};
|
|
9632
|
+
headers: {};
|
|
9633
|
+
response: {
|
|
9634
|
+
200: {
|
|
9635
|
+
coverFile?: {
|
|
9636
|
+
id: string;
|
|
9637
|
+
fileName: string | null;
|
|
9638
|
+
mimeType: string | null;
|
|
9639
|
+
fileSize: number | null;
|
|
9640
|
+
publicUrl: string | null;
|
|
9641
|
+
} | undefined;
|
|
9642
|
+
coverFileId: string | null;
|
|
9643
|
+
coverUrl?: string | undefined;
|
|
9644
|
+
createdAt: Date;
|
|
9645
|
+
createdBy: string;
|
|
9646
|
+
description: string | null;
|
|
9647
|
+
durationSeconds: number | null;
|
|
9648
|
+
id: string;
|
|
9649
|
+
isEnabled: boolean;
|
|
9650
|
+
publishedAt: Date | null;
|
|
9651
|
+
sortOrder: number;
|
|
9652
|
+
status: "archived" | "draft" | "published";
|
|
9653
|
+
title: string;
|
|
9654
|
+
updatedAt: Date;
|
|
9655
|
+
videoFile?: {
|
|
9656
|
+
id: string;
|
|
9657
|
+
fileName: string | null;
|
|
9658
|
+
mimeType: string | null;
|
|
9659
|
+
fileSize: number | null;
|
|
9660
|
+
publicUrl: string | null;
|
|
9661
|
+
} | undefined;
|
|
9662
|
+
videoFileId: string;
|
|
9663
|
+
videoUrl?: string | undefined;
|
|
9664
|
+
};
|
|
9665
|
+
401: "Unauthorized";
|
|
9666
|
+
403: "Forbidden: Admins only";
|
|
9667
|
+
422: {
|
|
9668
|
+
type: 'validation';
|
|
9669
|
+
on: string;
|
|
9670
|
+
summary?: string;
|
|
9671
|
+
message?: string;
|
|
9672
|
+
found?: unknown;
|
|
9673
|
+
property?: string;
|
|
9674
|
+
expected?: string;
|
|
9675
|
+
};
|
|
9676
|
+
};
|
|
9677
|
+
};
|
|
9678
|
+
};
|
|
9679
|
+
};
|
|
9680
|
+
};
|
|
9681
|
+
} & {
|
|
9682
|
+
live_stream_videos: {
|
|
9683
|
+
":id": {
|
|
9684
|
+
delete: {
|
|
9685
|
+
body: {};
|
|
9686
|
+
params: {
|
|
9687
|
+
id: string;
|
|
9688
|
+
};
|
|
9689
|
+
query: {};
|
|
9690
|
+
headers: {};
|
|
9691
|
+
response: {
|
|
9692
|
+
200: {
|
|
9693
|
+
success: boolean;
|
|
9694
|
+
};
|
|
9695
|
+
401: "Unauthorized";
|
|
9696
|
+
403: "Forbidden: Admins only";
|
|
9697
|
+
422: {
|
|
9698
|
+
type: 'validation';
|
|
9699
|
+
on: string;
|
|
9700
|
+
summary?: string;
|
|
9701
|
+
message?: string;
|
|
9702
|
+
found?: unknown;
|
|
9703
|
+
property?: string;
|
|
9704
|
+
expected?: string;
|
|
9705
|
+
};
|
|
9706
|
+
};
|
|
9707
|
+
};
|
|
9708
|
+
};
|
|
9709
|
+
};
|
|
9710
|
+
};
|
|
9303
9711
|
} & {
|
|
9304
9712
|
admin: {
|
|
9305
9713
|
operations_overview: {};
|
|
@@ -9708,7 +10116,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9708
10116
|
offset?: number | undefined;
|
|
9709
10117
|
pageSize?: number | undefined;
|
|
9710
10118
|
pageIndex?: number | undefined;
|
|
9711
|
-
businessType?: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt" | undefined;
|
|
10119
|
+
businessType?: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt" | undefined;
|
|
9712
10120
|
businessId?: string | undefined;
|
|
9713
10121
|
status?: "active" | "archived" | "pending_deletion" | "uploading" | null | undefined;
|
|
9714
10122
|
accessControl?: "private" | "public" | "restricted" | null | undefined;
|
|
@@ -9722,7 +10130,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9722
10130
|
archivedAt: Date | null;
|
|
9723
10131
|
businessId: string | null;
|
|
9724
10132
|
businessMetadata: string | null;
|
|
9725
|
-
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
10133
|
+
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
9726
10134
|
createdAt: Date;
|
|
9727
10135
|
deletedAt: Date | null;
|
|
9728
10136
|
downloadCount: number | null;
|
|
@@ -35,19 +35,7 @@ export declare const assetAdminRouter: Elysia<"/assets", {
|
|
|
35
35
|
headers: import("elysia").HTTPHeaders;
|
|
36
36
|
status?: number | keyof import("elysia").StatusMap;
|
|
37
37
|
redirect?: string;
|
|
38
|
-
cookie?: Record<string,
|
|
39
|
-
domain?: string | undefined;
|
|
40
|
-
expires?: Date | undefined;
|
|
41
|
-
httpOnly?: boolean | undefined;
|
|
42
|
-
maxAge?: number | undefined;
|
|
43
|
-
path?: string | undefined;
|
|
44
|
-
priority?: 'low' | 'medium' | 'high' | undefined;
|
|
45
|
-
partitioned?: boolean | undefined;
|
|
46
|
-
sameSite?: true | false | 'lax' | 'strict' | 'none' | undefined;
|
|
47
|
-
secure?: boolean | undefined;
|
|
48
|
-
secrets?: string | null | (string | null)[];
|
|
49
|
-
value?: unknown;
|
|
50
|
-
}>;
|
|
38
|
+
cookie?: Record<string, import("elysia/cookies").ElysiaCookie>;
|
|
51
39
|
};
|
|
52
40
|
path: string;
|
|
53
41
|
route: string;
|
|
@@ -2690,6 +2690,7 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2690
2690
|
readonly 'ledger-account:type'?: ("create" | "list" | "read" | "update")[] | undefined;
|
|
2691
2691
|
readonly 'ledger-account:account'?: ("list" | "read" | "update")[] | undefined;
|
|
2692
2692
|
readonly 'ledger:entry'?: ("adjust" | "list" | "read" | "view_all")[] | undefined;
|
|
2693
|
+
readonly 'live_stream_video:video'?: ("create" | "delete" | "list" | "read" | "update")[] | undefined;
|
|
2693
2694
|
readonly 'market_data:ticker'?: ("latest" | "read")[] | undefined;
|
|
2694
2695
|
readonly 'market_data:kline'?: ("list" | "read")[] | undefined;
|
|
2695
2696
|
readonly 'market_data:admin'?: ("list" | "read" | "run")[] | undefined;
|
|
@@ -2793,7 +2794,7 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2793
2794
|
};
|
|
2794
2795
|
options: NoInfer<{
|
|
2795
2796
|
ac: {
|
|
2796
|
-
newRole<K extends "admin:user-profile" | "asset-type:type" | "asset:item" | "asset_convert_product:order" | "asset_convert_product:product" | "asset_price:admin" | "asset_price:price" | "checkIn:admin" | "checkIn:checkIn" | "checkIn:rewardPlan" | "checkIn:rewardRule" | "content_video:video" | "deposit:order" | "deposit:review" | "kyc:admin" | "kyc:method" | "ledger-account:account" | "ledger-account:type" | "ledger:entry" | "ledger_account:import" | "market_data:admin" | "market_data:kline" | "market_data:ticker" | "market_pricing:strategy" | "news:category" | "news:news" | "notification:admin" | "notification:notification" | "receipt_method:item" | "referral:depth-config" | "referral:relation" | "session" | "shipping_address:item" | "team:member" | "team:milestoneReward" | "team:milestoneRewardPlan" | "team:milestoneRewardRule" | "trade_market:market" | "trade_market:order" | "transfer:order" | "user" | "user:profile" | "user:referral" | "wallet:container" | "wallet:type" | "welfare_cycle:payout" | "welfare_cycle:plan" | "welfare_cycle:subscription" | "withdraw:manage" | "withdraw:review">(statements: import("better-auth/plugins").Subset<K, {
|
|
2797
|
+
newRole<K extends "admin:user-profile" | "asset-type:type" | "asset:item" | "asset_convert_product:order" | "asset_convert_product:product" | "asset_price:admin" | "asset_price:price" | "checkIn:admin" | "checkIn:checkIn" | "checkIn:rewardPlan" | "checkIn:rewardRule" | "content_video:video" | "deposit:order" | "deposit:review" | "kyc:admin" | "kyc:method" | "ledger-account:account" | "ledger-account:type" | "ledger:entry" | "ledger_account:import" | "live_stream_video:video" | "market_data:admin" | "market_data:kline" | "market_data:ticker" | "market_pricing:strategy" | "news:category" | "news:news" | "notification:admin" | "notification:notification" | "receipt_method:item" | "referral:depth-config" | "referral:relation" | "session" | "shipping_address:item" | "team:member" | "team:milestoneReward" | "team:milestoneRewardPlan" | "team:milestoneRewardRule" | "trade_market:market" | "trade_market:order" | "transfer:order" | "user" | "user:profile" | "user:referral" | "wallet:container" | "wallet:type" | "welfare_cycle:payout" | "welfare_cycle:plan" | "welfare_cycle:subscription" | "withdraw:manage" | "withdraw:review">(statements: import("better-auth/plugins").Subset<K, {
|
|
2797
2798
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "impersonate-admins", "delete", "set-password", "get", "update"];
|
|
2798
2799
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
2799
2800
|
readonly 'asset_convert_product:product': readonly ['create', 'read', 'update', 'list'];
|
|
@@ -2813,6 +2814,7 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2813
2814
|
readonly 'ledger-account:type': readonly ['create', 'read', 'update', 'list'];
|
|
2814
2815
|
readonly 'ledger-account:account': readonly ['read', 'update', 'list'];
|
|
2815
2816
|
readonly 'ledger:entry': readonly ['read', 'list', 'view_all', 'adjust'];
|
|
2817
|
+
readonly 'live_stream_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2816
2818
|
readonly 'market_data:ticker': readonly ['read', 'latest'];
|
|
2817
2819
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
2818
2820
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
@@ -2866,6 +2868,7 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2866
2868
|
readonly 'ledger-account:type': readonly ['create', 'read', 'update', 'list'];
|
|
2867
2869
|
readonly 'ledger-account:account': readonly ['read', 'update', 'list'];
|
|
2868
2870
|
readonly 'ledger:entry': readonly ['read', 'list', 'view_all', 'adjust'];
|
|
2871
|
+
readonly 'live_stream_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2869
2872
|
readonly 'market_data:ticker': readonly ['read', 'latest'];
|
|
2870
2873
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
2871
2874
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
@@ -2919,6 +2922,7 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2919
2922
|
readonly 'ledger-account:type': readonly ['create', 'read', 'update', 'list'];
|
|
2920
2923
|
readonly 'ledger-account:account': readonly ['read', 'update', 'list'];
|
|
2921
2924
|
readonly 'ledger:entry': readonly ['read', 'list', 'view_all', 'adjust'];
|
|
2925
|
+
readonly 'live_stream_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2922
2926
|
readonly 'market_data:ticker': readonly ['read', 'latest'];
|
|
2923
2927
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
2924
2928
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
@@ -2971,6 +2975,7 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2971
2975
|
readonly 'ledger-account:type': readonly ['create', 'read', 'update', 'list'];
|
|
2972
2976
|
readonly 'ledger-account:account': readonly ['read', 'update', 'list'];
|
|
2973
2977
|
readonly 'ledger:entry': readonly ['read', 'list', 'view_all', 'adjust'];
|
|
2978
|
+
readonly 'live_stream_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2974
2979
|
readonly 'market_data:ticker': readonly ['read', 'latest'];
|
|
2975
2980
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
2976
2981
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
@@ -3024,6 +3029,7 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
3024
3029
|
readonly 'ledger-account:type': readonly ['create', 'read', 'update', 'list'];
|
|
3025
3030
|
readonly 'ledger-account:account': readonly ['read', 'update', 'list'];
|
|
3026
3031
|
readonly 'ledger:entry': readonly ['read', 'list', 'view_all', 'adjust'];
|
|
3032
|
+
readonly 'live_stream_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
3027
3033
|
readonly 'market_data:ticker': readonly ['read', 'latest'];
|
|
3028
3034
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
3029
3035
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const ac: {
|
|
2
|
-
newRole<K extends "admin:user-profile" | "asset-type:type" | "asset:item" | "asset_convert_product:order" | "asset_convert_product:product" | "asset_price:admin" | "asset_price:price" | "checkIn:admin" | "checkIn:checkIn" | "checkIn:rewardPlan" | "checkIn:rewardRule" | "content_video:video" | "deposit:order" | "deposit:review" | "kyc:admin" | "kyc:method" | "ledger-account:account" | "ledger-account:type" | "ledger:entry" | "ledger_account:import" | "market_data:admin" | "market_data:kline" | "market_data:ticker" | "market_pricing:strategy" | "news:category" | "news:news" | "notification:admin" | "notification:notification" | "receipt_method:item" | "referral:depth-config" | "referral:relation" | "session" | "shipping_address:item" | "team:member" | "team:milestoneReward" | "team:milestoneRewardPlan" | "team:milestoneRewardRule" | "trade_market:market" | "trade_market:order" | "transfer:order" | "user" | "user:profile" | "user:referral" | "wallet:container" | "wallet:type" | "welfare_cycle:payout" | "welfare_cycle:plan" | "welfare_cycle:subscription" | "withdraw:manage" | "withdraw:review">(statements: import("better-auth/plugins").Subset<K, {
|
|
2
|
+
newRole<K extends "admin:user-profile" | "asset-type:type" | "asset:item" | "asset_convert_product:order" | "asset_convert_product:product" | "asset_price:admin" | "asset_price:price" | "checkIn:admin" | "checkIn:checkIn" | "checkIn:rewardPlan" | "checkIn:rewardRule" | "content_video:video" | "deposit:order" | "deposit:review" | "kyc:admin" | "kyc:method" | "ledger-account:account" | "ledger-account:type" | "ledger:entry" | "ledger_account:import" | "live_stream_video:video" | "market_data:admin" | "market_data:kline" | "market_data:ticker" | "market_pricing:strategy" | "news:category" | "news:news" | "notification:admin" | "notification:notification" | "receipt_method:item" | "referral:depth-config" | "referral:relation" | "session" | "shipping_address:item" | "team:member" | "team:milestoneReward" | "team:milestoneRewardPlan" | "team:milestoneRewardRule" | "trade_market:market" | "trade_market:order" | "transfer:order" | "user" | "user:profile" | "user:referral" | "wallet:container" | "wallet:type" | "welfare_cycle:payout" | "welfare_cycle:plan" | "welfare_cycle:subscription" | "withdraw:manage" | "withdraw:review">(statements: import("better-auth/plugins").Subset<K, {
|
|
3
3
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "impersonate-admins", "delete", "set-password", "get", "update"];
|
|
4
4
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
5
5
|
readonly 'asset_convert_product:product': readonly ['create', 'read', 'update', 'list'];
|
|
@@ -19,6 +19,7 @@ export declare const ac: {
|
|
|
19
19
|
readonly 'ledger-account:type': readonly ['create', 'read', 'update', 'list'];
|
|
20
20
|
readonly 'ledger-account:account': readonly ['read', 'update', 'list'];
|
|
21
21
|
readonly 'ledger:entry': readonly ['read', 'list', 'view_all', 'adjust'];
|
|
22
|
+
readonly 'live_stream_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
22
23
|
readonly 'market_data:ticker': readonly ['read', 'latest'];
|
|
23
24
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
24
25
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
@@ -72,6 +73,7 @@ export declare const ac: {
|
|
|
72
73
|
readonly 'ledger-account:type': readonly ['create', 'read', 'update', 'list'];
|
|
73
74
|
readonly 'ledger-account:account': readonly ['read', 'update', 'list'];
|
|
74
75
|
readonly 'ledger:entry': readonly ['read', 'list', 'view_all', 'adjust'];
|
|
76
|
+
readonly 'live_stream_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
75
77
|
readonly 'market_data:ticker': readonly ['read', 'latest'];
|
|
76
78
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
77
79
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
@@ -125,6 +127,7 @@ export declare const ac: {
|
|
|
125
127
|
readonly 'ledger-account:type': readonly ['create', 'read', 'update', 'list'];
|
|
126
128
|
readonly 'ledger-account:account': readonly ['read', 'update', 'list'];
|
|
127
129
|
readonly 'ledger:entry': readonly ['read', 'list', 'view_all', 'adjust'];
|
|
130
|
+
readonly 'live_stream_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
128
131
|
readonly 'market_data:ticker': readonly ['read', 'latest'];
|
|
129
132
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
130
133
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
@@ -177,6 +180,7 @@ export declare const ac: {
|
|
|
177
180
|
readonly 'ledger-account:type': readonly ['create', 'read', 'update', 'list'];
|
|
178
181
|
readonly 'ledger-account:account': readonly ['read', 'update', 'list'];
|
|
179
182
|
readonly 'ledger:entry': readonly ['read', 'list', 'view_all', 'adjust'];
|
|
183
|
+
readonly 'live_stream_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
180
184
|
readonly 'market_data:ticker': readonly ['read', 'latest'];
|
|
181
185
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
182
186
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
@@ -230,6 +234,7 @@ export declare const ac: {
|
|
|
230
234
|
readonly 'ledger-account:type': readonly ['create', 'read', 'update', 'list'];
|
|
231
235
|
readonly 'ledger-account:account': readonly ['read', 'update', 'list'];
|
|
232
236
|
readonly 'ledger:entry': readonly ['read', 'list', 'view_all', 'adjust'];
|
|
237
|
+
readonly 'live_stream_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
233
238
|
readonly 'market_data:ticker': readonly ['read', 'latest'];
|
|
234
239
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
235
240
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|