@r2wa-org/eden 0.0.97 → 0.0.99
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 +731 -152
- package/dist/asset/admin/router.d.ts +1 -13
- package/dist/asset-convert-product/admin/dto.schemas.d.ts +8 -0
- package/dist/asset-convert-product/admin/router.d.ts +25 -13
- package/dist/asset-convert-product/admin/service.d.ts +12 -12
- package/dist/auth/better-auth.d.ts +7 -1
- package/dist/auth/i18n/zh.d.ts +100 -0
- package/dist/auth/permissions.d.ts +6 -1
- package/dist/auth/roles.d.ts +15 -0
- package/dist/bank-account/admin/router.d.ts +13 -1
- package/dist/content-video/admin/dto.schemas.d.ts +128 -0
- package/dist/content-video/admin/router.d.ts +861 -0
- package/dist/content-video/admin/service.d.ts +210 -0
- package/dist/content-video/db.schemas.d.ts +486 -0
- package/dist/content-video/errors/index.d.ts +17 -0
- package/dist/content-video/errors/locales/zh.d.ts +16 -0
- package/dist/content-video/index.d.ts +8 -0
- package/dist/content-video/internal/service.d.ts +106 -0
- package/dist/content-video/permissions.d.ts +4 -0
- package/dist/content-video/schema.d.ts +257 -0
- package/dist/content-video/user/dto.schemas.d.ts +52 -0
- package/dist/content-video/user/router.d.ts +482 -0
- package/dist/content-video/user/service.d.ts +36 -0
- 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 +1019 -170
- package/dist/ledger/admin/dto.schemas.d.ts +8 -0
- package/dist/ledger/admin/router.d.ts +4 -4
- package/dist/ledger/db.schemas.d.ts +8 -8
- package/dist/ledger/schema.d.ts +6 -6
- package/dist/ledger/user/dto.schemas.d.ts +8 -8
- package/dist/ledger/user/router.d.ts +2 -2
- package/dist/ledger/user/service.d.ts +2 -2
- package/dist/ledger-account-type/admin/router.d.ts +1 -13
- package/dist/lock-activity/admin/participation.dto.schemas.d.ts +52 -0
- package/dist/lock-activity/admin/reward.service.d.ts +48 -0
- package/dist/lock-activity/admin/router.d.ts +71 -0
- package/dist/lock-activity/constants.d.ts +2 -0
- package/dist/lock-activity/cron.d.ts +6 -0
- package/dist/lock-activity/errors/index.d.ts +3 -0
- package/dist/lock-activity/errors/locales/zh.d.ts +3 -0
- package/dist/lock-activity/internal/reward.service.d.ts +15 -0
- package/dist/lock-activity/user/router.d.ts +13 -1
- package/dist/news/admin/dto.schemas.d.ts +26 -26
- package/dist/news/admin/router.d.ts +25 -25
- package/dist/news/admin/service.d.ts +4 -1
- package/dist/news/user/service.d.ts +2 -2
- package/dist/referral/admin/dto.schemas.d.ts +597 -0
- package/dist/referral/admin/router.d.ts +553 -0
- package/dist/referral/admin/service.d.ts +6 -0
- package/dist/referral/errors/index.d.ts +15 -0
- package/dist/referral/errors/locales/zh.d.ts +14 -0
- package/dist/referral/index.d.ts +10 -0
- package/dist/referral/internal/service.d.ts +23 -0
- package/dist/referral/user/dto.schemas.d.ts +602 -0
- package/dist/referral/user/router.d.ts +606 -0
- package/dist/referral/user/service.d.ts +21 -0
- package/dist/user/internal/avatar.service.d.ts +42 -0
- package/dist/withdraw/user/router.d.ts +1 -13
- package/package.json +1 -1
package/dist/auth/roles.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export declare const authAdmin: {
|
|
|
11
11
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
12
12
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
13
13
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
14
|
+
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
14
15
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
15
16
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
16
17
|
readonly 'ledger_account:import': readonly ['create', 'read', 'list'];
|
|
@@ -58,6 +59,7 @@ export declare const authAdmin: {
|
|
|
58
59
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
59
60
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
60
61
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
62
|
+
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
61
63
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
62
64
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
63
65
|
readonly 'ledger_account:import': readonly ['create', 'read', 'list'];
|
|
@@ -104,6 +106,7 @@ export declare const authAdmin: {
|
|
|
104
106
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
105
107
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
106
108
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
109
|
+
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
107
110
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
108
111
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
109
112
|
readonly 'ledger_account:import': readonly ['create', 'read', 'list'];
|
|
@@ -153,6 +156,7 @@ export declare const authUser: {
|
|
|
153
156
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
154
157
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
155
158
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
159
|
+
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
156
160
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
157
161
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
158
162
|
readonly 'ledger_account:import': readonly ['create', 'read', 'list'];
|
|
@@ -200,6 +204,7 @@ export declare const authUser: {
|
|
|
200
204
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
201
205
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
202
206
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
207
|
+
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
203
208
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
204
209
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
205
210
|
readonly 'ledger_account:import': readonly ['create', 'read', 'list'];
|
|
@@ -246,6 +251,7 @@ export declare const authUser: {
|
|
|
246
251
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
247
252
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
248
253
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
254
|
+
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
249
255
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
250
256
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
251
257
|
readonly 'ledger_account:import': readonly ['create', 'read', 'list'];
|
|
@@ -300,6 +306,7 @@ export declare const superAdmin: {
|
|
|
300
306
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
301
307
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
302
308
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
309
|
+
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
303
310
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
304
311
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
305
312
|
readonly 'ledger_account:import': readonly ['create', 'read', 'list'];
|
|
@@ -347,6 +354,7 @@ export declare const superAdmin: {
|
|
|
347
354
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
348
355
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
349
356
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
357
|
+
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
350
358
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
351
359
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
352
360
|
readonly 'ledger_account:import': readonly ['create', 'read', 'list'];
|
|
@@ -393,6 +401,7 @@ export declare const superAdmin: {
|
|
|
393
401
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
394
402
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
395
403
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
404
|
+
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
396
405
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
397
406
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
398
407
|
readonly 'ledger_account:import': readonly ['create', 'read', 'list'];
|
|
@@ -447,6 +456,7 @@ export declare const user: {
|
|
|
447
456
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
448
457
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
449
458
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
459
|
+
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
450
460
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
451
461
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
452
462
|
readonly 'ledger_account:import': readonly ['create', 'read', 'list'];
|
|
@@ -494,6 +504,7 @@ export declare const user: {
|
|
|
494
504
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
495
505
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
496
506
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
507
|
+
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
497
508
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
498
509
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
499
510
|
readonly 'ledger_account:import': readonly ['create', 'read', 'list'];
|
|
@@ -540,6 +551,7 @@ export declare const user: {
|
|
|
540
551
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
541
552
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
542
553
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
554
|
+
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
543
555
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
544
556
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
545
557
|
readonly 'ledger_account:import': readonly ['create', 'read', 'list'];
|
|
@@ -594,6 +606,7 @@ export declare const admin: {
|
|
|
594
606
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
595
607
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
596
608
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
609
|
+
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
597
610
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
598
611
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
599
612
|
readonly 'ledger_account:import': readonly ['create', 'read', 'list'];
|
|
@@ -641,6 +654,7 @@ export declare const admin: {
|
|
|
641
654
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
642
655
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
643
656
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
657
|
+
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
644
658
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
645
659
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
646
660
|
readonly 'ledger_account:import': readonly ['create', 'read', 'list'];
|
|
@@ -687,6 +701,7 @@ export declare const admin: {
|
|
|
687
701
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
688
702
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
689
703
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
704
|
+
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
690
705
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
691
706
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
692
707
|
readonly 'ledger_account:import': readonly ['create', 'read', 'list'];
|
|
@@ -35,7 +35,19 @@ export declare const bankAccountAdminRouter: Elysia<"/bank_account", {
|
|
|
35
35
|
headers: import("elysia").HTTPHeaders;
|
|
36
36
|
status?: number | keyof import("elysia").StatusMap;
|
|
37
37
|
redirect?: string;
|
|
38
|
-
cookie?: Record<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
|
+
}>;
|
|
39
51
|
};
|
|
40
52
|
path: string;
|
|
41
53
|
route: string;
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
export declare const contentVideoIdParamsSchema: import("@sinclair/typebox").TObject<{
|
|
2
|
+
id: import("@sinclair/typebox").TString;
|
|
3
|
+
}>;
|
|
4
|
+
export declare const contentVideoAdminItemSchema: import("@sinclair/typebox").TObject<{
|
|
5
|
+
coverFile: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
6
|
+
id: import("@sinclair/typebox").TString;
|
|
7
|
+
fileName: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
8
|
+
mimeType: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
9
|
+
fileSize: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TInteger, import("@sinclair/typebox").TNull]>;
|
|
10
|
+
publicUrl: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
11
|
+
}>>;
|
|
12
|
+
coverFileId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
13
|
+
coverUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
14
|
+
createdAt: import("@sinclair/typebox").TDate;
|
|
15
|
+
createdBy: import("@sinclair/typebox").TString;
|
|
16
|
+
description: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
17
|
+
durationSeconds: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TInteger, import("@sinclair/typebox").TNull]>;
|
|
18
|
+
id: import("@sinclair/typebox").TString;
|
|
19
|
+
isEnabled: import("@sinclair/typebox").TBoolean;
|
|
20
|
+
publishedAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
21
|
+
sortOrder: import("@sinclair/typebox").TInteger;
|
|
22
|
+
status: import("@sinclair/typebox").TEnum<{
|
|
23
|
+
archived: "archived";
|
|
24
|
+
draft: "draft";
|
|
25
|
+
published: "published";
|
|
26
|
+
}>;
|
|
27
|
+
title: import("@sinclair/typebox").TString;
|
|
28
|
+
updatedAt: import("@sinclair/typebox").TDate;
|
|
29
|
+
videoFile: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
30
|
+
id: import("@sinclair/typebox").TString;
|
|
31
|
+
fileName: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
32
|
+
mimeType: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
33
|
+
fileSize: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TInteger, import("@sinclair/typebox").TNull]>;
|
|
34
|
+
publicUrl: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
35
|
+
}>>;
|
|
36
|
+
videoFileId: import("@sinclair/typebox").TString;
|
|
37
|
+
videoUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
38
|
+
}>;
|
|
39
|
+
export declare const contentVideoAdminListQuerySchema: import("@sinclair/typebox").TObject<{
|
|
40
|
+
isEnabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
41
|
+
keyword: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
42
|
+
limit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
43
|
+
offset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
44
|
+
pageIndex: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
45
|
+
pageSize: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
46
|
+
status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
|
47
|
+
archived: "archived";
|
|
48
|
+
draft: "draft";
|
|
49
|
+
published: "published";
|
|
50
|
+
}>>;
|
|
51
|
+
}>;
|
|
52
|
+
export declare const contentVideoAdminListResponseSchema: import("@sinclair/typebox").TObject<{
|
|
53
|
+
data: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
54
|
+
coverFile: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
55
|
+
id: import("@sinclair/typebox").TString;
|
|
56
|
+
fileName: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
57
|
+
mimeType: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
58
|
+
fileSize: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TInteger, import("@sinclair/typebox").TNull]>;
|
|
59
|
+
publicUrl: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
60
|
+
}>>;
|
|
61
|
+
coverFileId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
62
|
+
coverUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
63
|
+
createdAt: import("@sinclair/typebox").TDate;
|
|
64
|
+
createdBy: import("@sinclair/typebox").TString;
|
|
65
|
+
description: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
66
|
+
durationSeconds: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TInteger, import("@sinclair/typebox").TNull]>;
|
|
67
|
+
id: import("@sinclair/typebox").TString;
|
|
68
|
+
isEnabled: import("@sinclair/typebox").TBoolean;
|
|
69
|
+
publishedAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
70
|
+
sortOrder: import("@sinclair/typebox").TInteger;
|
|
71
|
+
status: import("@sinclair/typebox").TEnum<{
|
|
72
|
+
archived: "archived";
|
|
73
|
+
draft: "draft";
|
|
74
|
+
published: "published";
|
|
75
|
+
}>;
|
|
76
|
+
title: import("@sinclair/typebox").TString;
|
|
77
|
+
updatedAt: import("@sinclair/typebox").TDate;
|
|
78
|
+
videoFile: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
79
|
+
id: import("@sinclair/typebox").TString;
|
|
80
|
+
fileName: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
81
|
+
mimeType: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
82
|
+
fileSize: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TInteger, import("@sinclair/typebox").TNull]>;
|
|
83
|
+
publicUrl: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
84
|
+
}>>;
|
|
85
|
+
videoFileId: import("@sinclair/typebox").TString;
|
|
86
|
+
videoUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
87
|
+
}>>;
|
|
88
|
+
pagination: import("@sinclair/typebox").TObject<{
|
|
89
|
+
pageSize: import("@sinclair/typebox").TNumber;
|
|
90
|
+
pageIndex: import("@sinclair/typebox").TNumber;
|
|
91
|
+
total: import("@sinclair/typebox").TNumber;
|
|
92
|
+
totalPages: import("@sinclair/typebox").TNumber;
|
|
93
|
+
hasNextPage: import("@sinclair/typebox").TBoolean;
|
|
94
|
+
}>;
|
|
95
|
+
}>;
|
|
96
|
+
export declare const contentVideoAdminCreateSchema: import("@sinclair/typebox").TObject<{
|
|
97
|
+
title: import("@sinclair/typebox").TString;
|
|
98
|
+
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
|
|
99
|
+
videoFileId: import("@sinclair/typebox").TString;
|
|
100
|
+
coverFileId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
101
|
+
status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
|
102
|
+
archived: "archived";
|
|
103
|
+
draft: "draft";
|
|
104
|
+
published: "published";
|
|
105
|
+
}>>;
|
|
106
|
+
isEnabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
107
|
+
sortOrder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
108
|
+
durationSeconds: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TInteger, import("@sinclair/typebox").TNull]>>;
|
|
109
|
+
publishedAt: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>>;
|
|
110
|
+
}>;
|
|
111
|
+
export declare const contentVideoAdminUpdateSchema: import("@sinclair/typebox").TObject<{
|
|
112
|
+
title: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
113
|
+
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
|
|
114
|
+
videoFileId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
115
|
+
coverFileId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
116
|
+
status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
|
117
|
+
archived: "archived";
|
|
118
|
+
draft: "draft";
|
|
119
|
+
published: "published";
|
|
120
|
+
}>>;
|
|
121
|
+
isEnabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
122
|
+
sortOrder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
123
|
+
durationSeconds: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TInteger, import("@sinclair/typebox").TNull]>>;
|
|
124
|
+
publishedAt: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>>;
|
|
125
|
+
}>;
|
|
126
|
+
export type ContentVideoAdminCreateInputType = typeof contentVideoAdminCreateSchema.static;
|
|
127
|
+
export type ContentVideoAdminUpdateInputType = typeof contentVideoAdminUpdateSchema.static;
|
|
128
|
+
export type ContentVideoAdminListQueryType = typeof contentVideoAdminListQuerySchema.static;
|