@r2wa-org/eden 0.0.93 → 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 +1623 -772
- 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/check-in/admin/router.d.ts +1 -13
- package/dist/content-video/admin/dto.schemas.d.ts +128 -0
- package/dist/{src/news → content-video}/admin/router.d.ts +363 -320
- package/dist/content-video/admin/service.d.ts +210 -0
- package/dist/{src/app-version → content-video}/db.schemas.d.ts +152 -114
- package/dist/content-video/errors/index.d.ts +17 -0
- package/dist/content-video/errors/locales/zh.d.ts +16 -0
- package/dist/{market-data → content-video}/index.d.ts +5 -5
- package/dist/content-video/internal/service.d.ts +106 -0
- package/dist/content-video/permissions.d.ts +4 -0
- package/dist/{src/app-version → content-video}/schema.d.ts +83 -62
- package/dist/content-video/user/dto.schemas.d.ts +52 -0
- package/dist/{src/asset-type → content-video}/user/router.d.ts +175 -164
- package/dist/content-video/user/service.d.ts +36 -0
- package/dist/db/schemas.d.ts +2 -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 +1693 -648
- 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/lock-activity/admin/participation.dto.schemas.d.ts +200 -0
- package/dist/lock-activity/admin/participation.service.d.ts +144 -0
- package/dist/lock-activity/admin/reward.service.d.ts +48 -0
- package/dist/lock-activity/admin/router.d.ts +443 -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 +11 -0
- package/dist/lock-activity/errors/locales/zh.d.ts +11 -0
- package/dist/lock-activity/internal/participation.service.d.ts +42 -0
- package/dist/lock-activity/internal/reward.service.d.ts +15 -0
- package/dist/{src/referral/db.schemas.d.ts → lock-activity/participation.db.schemas.d.ts} +157 -129
- package/dist/{src/referral/schema.d.ts → lock-activity/participation.schema.d.ts} +89 -85
- package/dist/lock-activity/permissions.d.ts +1 -0
- package/dist/lock-activity/user/participation.dto.schemas.d.ts +25 -0
- package/dist/lock-activity/user/participation.service.d.ts +24 -0
- package/dist/lock-activity/user/router.d.ts +93 -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/index.d.ts +1 -0
- package/dist/referral/user/router.d.ts +29 -1
- package/dist/user/internal/avatar.service.d.ts +42 -0
- package/dist/user-security/admin/router.d.ts +1 -13
- package/package.json +1 -1
- package/dist/market-data/user/dto.schemas.d.ts +0 -370
- package/dist/market-data/user/router.d.ts +0 -693
- package/dist/market-data/user/service.d.ts +0 -41
- package/dist/src/admin/index.d.ts +0 -10428
- package/dist/src/admin-user/admin/dto.schemas.d.ts +0 -878
- package/dist/src/admin-user/admin/errors/index.d.ts +0 -20
- package/dist/src/admin-user/admin/errors/locales/zh.d.ts +0 -16
- package/dist/src/admin-user/admin/router.d.ts +0 -655
- package/dist/src/admin-user/admin/service.d.ts +0 -60
- package/dist/src/app-version/admin/dto.schemas.d.ts +0 -99
- package/dist/src/app-version/admin/router.d.ts +0 -756
- package/dist/src/app-version/admin/service.d.ts +0 -105
- package/dist/src/asset/admin/dto.schemas.d.ts +0 -164
- package/dist/src/asset/admin/router.d.ts +0 -762
- package/dist/src/asset/admin/service.d.ts +0 -144
- package/dist/src/asset/db.schemas.d.ts +0 -380
- package/dist/src/asset/errors/index.d.ts +0 -33
- package/dist/src/asset/errors/locales/zh.d.ts +0 -20
- package/dist/src/asset/index.d.ts +0 -11
- package/dist/src/asset/internal/service.d.ts +0 -16
- package/dist/src/asset/permissions.d.ts +0 -4
- package/dist/src/asset/schema.d.ts +0 -209
- package/dist/src/asset/seed.d.ts +0 -1
- package/dist/src/asset/user/dto.schemas.d.ts +0 -78
- package/dist/src/asset/user/router.d.ts +0 -567
- package/dist/src/asset/user/service.d.ts +0 -75
- package/dist/src/asset-convert-product/admin/dto.schemas.d.ts +0 -823
- package/dist/src/asset-convert-product/admin/router.d.ts +0 -1586
- package/dist/src/asset-convert-product/admin/service.d.ts +0 -814
- package/dist/src/asset-convert-product/db.schemas.d.ts +0 -1270
- package/dist/src/asset-convert-product/errors/index.d.ts +0 -32
- package/dist/src/asset-convert-product/errors/locales/zh.d.ts +0 -31
- package/dist/src/asset-convert-product/index.d.ts +0 -8
- package/dist/src/asset-convert-product/internal/service.d.ts +0 -2
- package/dist/src/asset-convert-product/permissions.d.ts +0 -5
- package/dist/src/asset-convert-product/schema.d.ts +0 -688
- package/dist/src/asset-convert-product/user/dto.schemas.d.ts +0 -1089
- package/dist/src/asset-convert-product/user/router.d.ts +0 -797
- package/dist/src/asset-convert-product/user/service.d.ts +0 -413
- package/dist/src/asset-price/admin/dto.schemas.d.ts +0 -102
- package/dist/src/asset-price/admin/router.d.ts +0 -658
- package/dist/src/asset-price/admin/service.d.ts +0 -82
- package/dist/src/asset-price/constants.d.ts +0 -2
- package/dist/src/asset-price/db.schemas.d.ts +0 -358
- package/dist/src/asset-price/errors/index.d.ts +0 -20
- package/dist/src/asset-price/errors/locales/zh.d.ts +0 -19
- package/dist/src/asset-price/index.d.ts +0 -12
- package/dist/src/asset-price/internal/service.d.ts +0 -14
- package/dist/src/asset-price/permissions.d.ts +0 -6
- package/dist/src/asset-price/schema.d.ts +0 -191
- package/dist/src/asset-price/seed.d.ts +0 -1
- package/dist/src/asset-price/user/dto.schemas.d.ts +0 -45
- package/dist/src/asset-price/user/router.d.ts +0 -512
- package/dist/src/asset-price/user/service.d.ts +0 -26
- package/dist/src/asset-type/admin/dto.schemas.d.ts +0 -404
- package/dist/src/asset-type/admin/router.d.ts +0 -617
- package/dist/src/asset-type/admin/service.d.ts +0 -45
- package/dist/src/asset-type/db.schemas.d.ts +0 -244
- package/dist/src/asset-type/errors/index.d.ts +0 -27
- package/dist/src/asset-type/errors/locales/zh.d.ts +0 -17
- package/dist/src/asset-type/index.d.ts +0 -11
- package/dist/src/asset-type/internal/service.d.ts +0 -9
- package/dist/src/asset-type/permissions.d.ts +0 -4
- package/dist/src/asset-type/schema.d.ts +0 -133
- package/dist/src/asset-type/seed.d.ts +0 -19
- package/dist/src/asset-type/user/dto.schemas.d.ts +0 -35
- package/dist/src/asset-type/user/service.d.ts +0 -18
- package/dist/src/auth/better-auth.d.ts +0 -3312
- package/dist/src/auth/better-hooks.d.ts +0 -23
- package/dist/src/auth/db.schemas.d.ts +0 -1696
- package/dist/src/auth/permissions.d.ts +0 -235
- package/dist/src/auth/roles.d.ts +0 -725
- package/dist/src/auth/router.d.ts +0 -385
- package/dist/src/auth/schema.d.ts +0 -882
- package/dist/src/bank-account/admin/dto.schemas.d.ts +0 -524
- package/dist/src/bank-account/admin/router.d.ts +0 -909
- package/dist/src/bank-account/admin/service.d.ts +0 -221
- package/dist/src/bank-account/db.schemas.d.ts +0 -1032
- package/dist/src/bank-account/errors/index.d.ts +0 -13
- package/dist/src/bank-account/errors/locales/zh.d.ts +0 -12
- package/dist/src/bank-account/index.d.ts +0 -8
- package/dist/src/bank-account/internal/service.d.ts +0 -51
- package/dist/src/bank-account/permissions.d.ts +0 -10
- package/dist/src/bank-account/schema.d.ts +0 -535
- package/dist/src/bank-account/seed.d.ts +0 -4
- package/dist/src/bank-account/user/dto.schemas.d.ts +0 -458
- package/dist/src/bank-account/user/router.d.ts +0 -680
- package/dist/src/bank-account/user/service.d.ts +0 -133
- package/dist/src/check-in/admin/dto.schemas.d.ts +0 -312
- package/dist/src/check-in/admin/router.d.ts +0 -526
- package/dist/src/check-in/admin/service.d.ts +0 -38
- package/dist/src/check-in/db.schemas.d.ts +0 -312
- package/dist/src/check-in/errors/index.d.ts +0 -13
- package/dist/src/check-in/errors/locales/zh.d.ts +0 -10
- package/dist/src/check-in/index.d.ts +0 -7
- package/dist/src/check-in/internal/service.d.ts +0 -51
- package/dist/src/check-in/permissions.d.ts +0 -6
- package/dist/src/check-in/schema.d.ts +0 -168
- package/dist/src/check-in/user/dto.schemas.d.ts +0 -503
- package/dist/src/check-in/user/router.d.ts +0 -615
- package/dist/src/check-in/user/service.d.ts +0 -49
- package/dist/src/cors/index.d.ts +0 -30
- package/dist/src/cron/index.d.ts +0 -10
- package/dist/src/db/columns.helpers.d.ts +0 -13
- package/dist/src/db/enums.d.ts +0 -1
- package/dist/src/db/index.d.ts +0 -4
- package/dist/src/db/schemas.d.ts +0 -34
- package/dist/src/db/transaction.d.ts +0 -3
- package/dist/src/db/typebox.d.ts +0 -19
- package/dist/src/deposit/admin/dto.schemas.d.ts +0 -649
- package/dist/src/deposit/admin/router.d.ts +0 -638
- package/dist/src/deposit/admin/service.d.ts +0 -127
- package/dist/src/deposit/db.schemas.d.ts +0 -652
- package/dist/src/deposit/errors/index.d.ts +0 -45
- package/dist/src/deposit/errors/locales/zh.d.ts +0 -24
- package/dist/src/deposit/index.d.ts +0 -7
- package/dist/src/deposit/internal/service.d.ts +0 -8
- package/dist/src/deposit/permissions.d.ts +0 -9
- package/dist/src/deposit/schema.d.ts +0 -340
- package/dist/src/deposit/user/dto.schemas.d.ts +0 -655
- package/dist/src/deposit/user/router.d.ts +0 -681
- package/dist/src/deposit/user/service.d.ts +0 -148
- package/dist/src/dynamic-env/admin.router.d.ts +0 -620
- package/dist/src/dynamic-env/cache.d.ts +0 -35
- package/dist/src/dynamic-env/db.schemas.d.ts +0 -182
- package/dist/src/dynamic-env/dto.schema.d.ts +0 -17
- package/dist/src/dynamic-env/errors/index.d.ts +0 -11
- package/dist/src/dynamic-env/errors/locales/zh.d.ts +0 -10
- package/dist/src/dynamic-env/index.d.ts +0 -3
- package/dist/src/dynamic-env/schema.d.ts +0 -96
- package/dist/src/dynamic-env/service.d.ts +0 -93
- package/dist/src/email/index.d.ts +0 -2
- package/dist/src/env/client.d.ts +0 -2
- package/dist/src/env/index.d.ts +0 -2
- package/dist/src/env/server.d.ts +0 -50
- package/dist/src/env/typebox-env.d.ts +0 -7
- package/dist/src/error/errorcode.d.ts +0 -9
- package/dist/src/error/index.d.ts +0 -120
- package/dist/src/error/locales/zh.d.ts +0 -2
- package/dist/src/error/messages.d.ts +0 -10
- package/dist/src/external/dto.schemas.d.ts +0 -173
- package/dist/src/external/errors/index.d.ts +0 -13
- package/dist/src/external/errors/locales/zh.d.ts +0 -10
- package/dist/src/external/index.d.ts +0 -4
- package/dist/src/external/router.d.ts +0 -105
- package/dist/src/external/service.d.ts +0 -31
- package/dist/src/file-storage/admin/dto.schemas.d.ts +0 -209
- package/dist/src/file-storage/admin/router.d.ts +0 -598
- package/dist/src/file-storage/admin/service.d.ts +0 -89
- package/dist/src/file-storage/db.schemas.d.ts +0 -1026
- package/dist/src/file-storage/errors/index.d.ts +0 -19
- package/dist/src/file-storage/errors/locales/zh.d.ts +0 -18
- package/dist/src/file-storage/index.d.ts +0 -7
- package/dist/src/file-storage/internal/service.d.ts +0 -66
- package/dist/src/file-storage/permissions.d.ts +0 -5
- package/dist/src/file-storage/s3.client.d.ts +0 -284
- package/dist/src/file-storage/schema.d.ts +0 -538
- package/dist/src/file-storage/share/dto.schemas.d.ts +0 -68
- package/dist/src/file-storage/share/router.d.ts +0 -561
- package/dist/src/file-storage/user/dto.schemas.d.ts +0 -1100
- package/dist/src/file-storage/user/router.d.ts +0 -585
- package/dist/src/file-storage/user/service.d.ts +0 -80
- package/dist/src/http-access-log.d.ts +0 -30
- package/dist/src/index.d.ts +0 -16262
- package/dist/src/ledger/admin/dto.schemas.d.ts +0 -461
- package/dist/src/ledger/admin/router.d.ts +0 -608
- package/dist/src/ledger/admin/service.d.ts +0 -22
- package/dist/src/ledger/db.schemas.d.ts +0 -694
- package/dist/src/ledger/errors/index.d.ts +0 -38
- package/dist/src/ledger/errors/locales/zh.d.ts +0 -22
- package/dist/src/ledger/index.d.ts +0 -6
- package/dist/src/ledger/internal/service.d.ts +0 -36
- package/dist/src/ledger/permissions.d.ts +0 -8
- package/dist/src/ledger/schema.d.ts +0 -365
- package/dist/src/ledger/user/dto.schemas.d.ts +0 -712
- package/dist/src/ledger/user/router.d.ts +0 -487
- package/dist/src/ledger/user/service.d.ts +0 -146
- package/dist/src/ledger-account/admin/dto.schemas.d.ts +0 -258
- package/dist/src/ledger-account/admin/router.d.ts +0 -757
- package/dist/src/ledger-account/admin/service.d.ts +0 -238
- package/dist/src/ledger-account/db.schemas.d.ts +0 -346
- package/dist/src/ledger-account/errors/index.d.ts +0 -18
- package/dist/src/ledger-account/errors/locales/zh.d.ts +0 -17
- package/dist/src/ledger-account/index.d.ts +0 -8
- package/dist/src/ledger-account/internal/service.d.ts +0 -44
- package/dist/src/ledger-account/permissions.d.ts +0 -4
- package/dist/src/ledger-account/schema.d.ts +0 -190
- package/dist/src/ledger-account/user/dto.schemas.d.ts +0 -590
- package/dist/src/ledger-account/user/router.d.ts +0 -602
- package/dist/src/ledger-account/user/service.d.ts +0 -154
- package/dist/src/ledger-account-import/admin/dto.schemas.d.ts +0 -1255
- package/dist/src/ledger-account-import/admin/router.d.ts +0 -691
- package/dist/src/ledger-account-import/admin/service.d.ts +0 -92
- package/dist/src/ledger-account-import/db.schemas.d.ts +0 -1206
- package/dist/src/ledger-account-import/errors/index.d.ts +0 -18
- package/dist/src/ledger-account-import/errors/locales/zh.d.ts +0 -17
- package/dist/src/ledger-account-import/index.d.ts +0 -8
- package/dist/src/ledger-account-import/internal/service.d.ts +0 -13
- package/dist/src/ledger-account-import/permissions.d.ts +0 -7
- package/dist/src/ledger-account-import/schema.d.ts +0 -636
- package/dist/src/ledger-account-import/user/service.d.ts +0 -3
- package/dist/src/ledger-account-import/worker.d.ts +0 -1
- package/dist/src/ledger-account-transfer/admin/service.d.ts +0 -3
- package/dist/src/ledger-account-transfer/errors/index.d.ts +0 -23
- package/dist/src/ledger-account-transfer/errors/locales/zh.d.ts +0 -15
- package/dist/src/ledger-account-transfer/index.d.ts +0 -6
- package/dist/src/ledger-account-transfer/internal/service.d.ts +0 -8
- package/dist/src/ledger-account-transfer/user/dto.schemas.d.ts +0 -20
- package/dist/src/ledger-account-transfer/user/router.d.ts +0 -466
- package/dist/src/ledger-account-transfer/user/service.d.ts +0 -16
- package/dist/src/ledger-account-type/admin/dto.schemas.d.ts +0 -509
- package/dist/src/ledger-account-type/admin/router.d.ts +0 -708
- package/dist/src/ledger-account-type/admin/service.d.ts +0 -109
- package/dist/src/ledger-account-type/db.schemas.d.ts +0 -788
- package/dist/src/ledger-account-type/errors/index.d.ts +0 -18
- package/dist/src/ledger-account-type/errors/locales/zh.d.ts +0 -17
- package/dist/src/ledger-account-type/index.d.ts +0 -9
- package/dist/src/ledger-account-type/internal/service.d.ts +0 -8
- package/dist/src/ledger-account-type/permissions.d.ts +0 -4
- package/dist/src/ledger-account-type/schema.d.ts +0 -405
- package/dist/src/ledger-account-type/seed.d.ts +0 -1
- package/dist/src/ledger-account-type/user/dto.schemas.d.ts +0 -509
- package/dist/src/ledger-account-type/user/router.d.ts +0 -534
- package/dist/src/ledger-account-type/user/service.d.ts +0 -59
- package/dist/src/market-data/admin/dto.schemas.d.ts +0 -824
- package/dist/src/market-data/admin/router.d.ts +0 -632
- package/dist/src/market-data/admin/service.d.ts +0 -78
- package/dist/src/market-data/cron.d.ts +0 -6
- package/dist/src/market-data/db.schemas.d.ts +0 -516
- package/dist/src/market-data/errors/index.d.ts +0 -13
- package/dist/src/market-data/errors/locales/zh.d.ts +0 -12
- package/dist/src/market-data/index.d.ts +0 -8
- package/dist/src/market-data/internal/service.d.ts +0 -77
- package/dist/src/market-data/permissions.d.ts +0 -6
- package/dist/src/market-data/schema.d.ts +0 -270
- package/dist/src/market-data/user/dto.schemas.d.ts +0 -370
- package/dist/src/market-data/user/router.d.ts +0 -693
- package/dist/src/market-data/user/service.d.ts +0 -41
- package/dist/src/market-pricing/admin/dto.schemas.d.ts +0 -860
- package/dist/src/market-pricing/admin/router.d.ts +0 -988
- package/dist/src/market-pricing/admin/service.d.ts +0 -286
- package/dist/src/market-pricing/cron.d.ts +0 -6
- package/dist/src/market-pricing/db.schemas.d.ts +0 -828
- package/dist/src/market-pricing/errors/index.d.ts +0 -14
- package/dist/src/market-pricing/errors/locales/zh.d.ts +0 -13
- package/dist/src/market-pricing/internal/service.d.ts +0 -35
- package/dist/src/market-pricing/permissions.d.ts +0 -4
- package/dist/src/market-pricing/schema.d.ts +0 -434
- package/dist/src/nanoid/index.d.ts +0 -2
- package/dist/src/news/admin/dto.schemas.d.ts +0 -159
- package/dist/src/news/admin/service.d.ts +0 -221
- package/dist/src/news/db.schemas.d.ts +0 -1150
- package/dist/src/news/errors/index.d.ts +0 -20
- package/dist/src/news/errors/locales/zh.d.ts +0 -13
- package/dist/src/news/index.d.ts +0 -7
- package/dist/src/news/internal/service.d.ts +0 -7
- package/dist/src/news/permissions.d.ts +0 -4
- package/dist/src/news/schema.d.ts +0 -616
- package/dist/src/news/user/dto.schemas.d.ts +0 -178
- package/dist/src/news/user/router.d.ts +0 -617
- package/dist/src/news/user/service.d.ts +0 -228
- package/dist/src/news-category/admin/dto.schemas.d.ts +0 -52
- package/dist/src/news-category/admin/router.d.ts +0 -204
- package/dist/src/news-category/admin/service.d.ts +0 -55
- package/dist/src/news-category/constants.d.ts +0 -1
- package/dist/src/news-category/db.schemas.d.ts +0 -324
- package/dist/src/news-category/errors/index.d.ts +0 -21
- package/dist/src/news-category/errors/locales/zh.d.ts +0 -14
- package/dist/src/news-category/index.d.ts +0 -8
- package/dist/src/news-category/internal/service.d.ts +0 -5
- package/dist/src/news-category/permissions.d.ts +0 -4
- package/dist/src/news-category/schema.d.ts +0 -173
- package/dist/src/news-category/seed.d.ts +0 -12
- package/dist/src/news-category/user/dto.schemas.d.ts +0 -55
- package/dist/src/news-category/user/router.d.ts +0 -457
- package/dist/src/news-category/user/service.d.ts +0 -25
- package/dist/src/notification/admin/dto.schemas.d.ts +0 -432
- package/dist/src/notification/admin/router.d.ts +0 -576
- package/dist/src/notification/admin/service.d.ts +0 -43
- package/dist/src/notification/db.schemas.d.ts +0 -624
- package/dist/src/notification/errors/index.d.ts +0 -19
- package/dist/src/notification/errors/locales/zh.d.ts +0 -13
- package/dist/src/notification/index.d.ts +0 -7
- package/dist/src/notification/internal/service.d.ts +0 -28
- package/dist/src/notification/permissions.d.ts +0 -6
- package/dist/src/notification/schema.d.ts +0 -347
- package/dist/src/notification/user/dto.schemas.d.ts +0 -411
- package/dist/src/notification/user/router.d.ts +0 -632
- package/dist/src/notification/user/service.d.ts +0 -82
- package/dist/src/operations-overview/admin/dto.schemas.d.ts +0 -41
- package/dist/src/operations-overview/admin/router.d.ts +0 -517
- package/dist/src/operations-overview/admin/service.d.ts +0 -4
- package/dist/src/portfolio/index.d.ts +0 -2
- package/dist/src/portfolio/internal/index.d.ts +0 -1
- package/dist/src/portfolio/internal/service.d.ts +0 -5
- package/dist/src/portfolio/user/dto.schemas.d.ts +0 -352
- package/dist/src/portfolio/user/index.d.ts +0 -3
- package/dist/src/portfolio/user/router.d.ts +0 -659
- package/dist/src/portfolio/user/service.d.ts +0 -143
- package/dist/src/receipt-method/admin/dto.schemas.d.ts +0 -62
- package/dist/src/receipt-method/admin/router.d.ts +0 -592
- package/dist/src/receipt-method/admin/service.d.ts +0 -82
- package/dist/src/receipt-method/db.schemas.d.ts +0 -380
- package/dist/src/receipt-method/errors/index.d.ts +0 -17
- package/dist/src/receipt-method/errors/locales/zh.d.ts +0 -16
- package/dist/src/receipt-method/index.d.ts +0 -7
- package/dist/src/receipt-method/internal/service.d.ts +0 -33
- package/dist/src/receipt-method/permissions.d.ts +0 -4
- package/dist/src/receipt-method/schema.d.ts +0 -205
- package/dist/src/receipt-method/user/dto.schemas.d.ts +0 -417
- package/dist/src/receipt-method/user/router.d.ts +0 -602
- package/dist/src/receipt-method/user/service.d.ts +0 -73
- package/dist/src/referral/admin/dto.schemas.d.ts +0 -597
- package/dist/src/referral/admin/router.d.ts +0 -553
- package/dist/src/referral/admin/service.d.ts +0 -6
- package/dist/src/referral/errors/index.d.ts +0 -15
- package/dist/src/referral/errors/locales/zh.d.ts +0 -14
- package/dist/src/referral/index.d.ts +0 -9
- package/dist/src/referral/internal/service.d.ts +0 -23
- package/dist/src/referral/permissions.d.ts +0 -8
- package/dist/src/referral/user/dto.schemas.d.ts +0 -602
- package/dist/src/referral/user/router.d.ts +0 -578
- package/dist/src/referral/user/service.d.ts +0 -21
- package/dist/src/referral-depth-config/admin/dto.schemas.d.ts +0 -203
- package/dist/src/referral-depth-config/admin/router.d.ts +0 -643
- package/dist/src/referral-depth-config/admin/service.d.ts +0 -38
- package/dist/src/referral-depth-config/db.schemas.d.ts +0 -176
- package/dist/src/referral-depth-config/errors/index.d.ts +0 -11
- package/dist/src/referral-depth-config/errors/locales/zh.d.ts +0 -10
- package/dist/src/referral-depth-config/internal/service.d.ts +0 -4
- package/dist/src/referral-depth-config/permissions.d.ts +0 -8
- package/dist/src/referral-depth-config/schema.d.ts +0 -99
- package/dist/src/server-test/errors/index.d.ts +0 -10
- package/dist/src/server-test/errors/locales/zh.d.ts +0 -9
- package/dist/src/server-test/index.d.ts +0 -486
- package/dist/src/shipping-address/admin/dto.schemas.d.ts +0 -289
- package/dist/src/shipping-address/admin/router.d.ts +0 -504
- package/dist/src/shipping-address/admin/service.d.ts +0 -17
- package/dist/src/shipping-address/db.schemas.d.ts +0 -278
- package/dist/src/shipping-address/errors/index.d.ts +0 -12
- package/dist/src/shipping-address/errors/locales/zh.d.ts +0 -11
- package/dist/src/shipping-address/index.d.ts +0 -7
- package/dist/src/shipping-address/internal/service.d.ts +0 -15
- package/dist/src/shipping-address/permissions.d.ts +0 -4
- package/dist/src/shipping-address/schema.d.ts +0 -150
- package/dist/src/shipping-address/user/dto.schemas.d.ts +0 -303
- package/dist/src/shipping-address/user/router.d.ts +0 -621
- package/dist/src/shipping-address/user/service.d.ts +0 -68
- package/dist/src/sms/index.d.ts +0 -5
- package/dist/src/team/admin/dto.schemas.d.ts +0 -2198
- package/dist/src/team/admin/router.d.ts +0 -646
- package/dist/src/team/admin/service.d.ts +0 -6
- package/dist/src/team/errors/index.d.ts +0 -13
- package/dist/src/team/errors/locales/zh.d.ts +0 -12
- package/dist/src/team/index.d.ts +0 -8
- package/dist/src/team/internal/service.d.ts +0 -6
- package/dist/src/team/permissions.d.ts +0 -7
- package/dist/src/team/user/dto.schemas.d.ts +0 -1987
- package/dist/src/team/user/router.d.ts +0 -734
- package/dist/src/team/user/service.d.ts +0 -10
- package/dist/src/trade-market/admin/dto.schemas.d.ts +0 -4764
- package/dist/src/trade-market/admin/router.d.ts +0 -1334
- package/dist/src/trade-market/admin/service.d.ts +0 -646
- package/dist/src/trade-market/db.schemas.d.ts +0 -1338
- package/dist/src/trade-market/errors/index.d.ts +0 -23
- package/dist/src/trade-market/errors/locales/zh.d.ts +0 -22
- package/dist/src/trade-market/index.d.ts +0 -8
- package/dist/src/trade-market/internal/service.d.ts +0 -564
- package/dist/src/trade-market/permissions.d.ts +0 -5
- package/dist/src/trade-market/schema.d.ts +0 -708
- package/dist/src/trade-market/user/dto.schemas.d.ts +0 -1394
- package/dist/src/trade-market/user/router.d.ts +0 -754
- package/dist/src/trade-market/user/service.d.ts +0 -471
- package/dist/src/transfer/admin/dto.schemas.d.ts +0 -396
- package/dist/src/transfer/admin/router.d.ts +0 -506
- package/dist/src/transfer/admin/service.d.ts +0 -56
- package/dist/src/transfer/db.schemas.d.ts +0 -386
- package/dist/src/transfer/errors/index.d.ts +0 -32
- package/dist/src/transfer/errors/locales/zh.d.ts +0 -19
- package/dist/src/transfer/index.d.ts +0 -11
- package/dist/src/transfer/internal/service.d.ts +0 -8
- package/dist/src/transfer/permissions.d.ts +0 -8
- package/dist/src/transfer/schema.d.ts +0 -204
- package/dist/src/transfer/user/dto.schemas.d.ts +0 -416
- package/dist/src/transfer/user/router.d.ts +0 -514
- package/dist/src/transfer/user/service.d.ts +0 -67
- package/dist/src/user/admin/dto.schemas.d.ts +0 -1439
- package/dist/src/user/admin/router.d.ts +0 -853
- package/dist/src/user/admin/service.d.ts +0 -164
- package/dist/src/user/db.schemas.d.ts +0 -1038
- package/dist/src/user/errors/index.d.ts +0 -40
- package/dist/src/user/errors/locales/zh.d.ts +0 -23
- package/dist/src/user/index.d.ts +0 -9
- package/dist/src/user/internal/service.d.ts +0 -22
- package/dist/src/user/permissions.d.ts +0 -7
- package/dist/src/user/schema.d.ts +0 -541
- package/dist/src/user/user/dto.schemas.d.ts +0 -14
- package/dist/src/user/user/router.d.ts +0 -558
- package/dist/src/user/user/service.d.ts +0 -89
- package/dist/src/user-kyc/admin/dto.schemas.d.ts +0 -625
- package/dist/src/user-kyc/admin/router.d.ts +0 -666
- package/dist/src/user-kyc/admin/service.d.ts +0 -89
- package/dist/src/user-kyc/db.schemas.d.ts +0 -896
- package/dist/src/user-kyc/errors/index.d.ts +0 -21
- package/dist/src/user-kyc/errors/locales/zh.d.ts +0 -14
- package/dist/src/user-kyc/index.d.ts +0 -10
- package/dist/src/user-kyc/internal/service.d.ts +0 -9
- package/dist/src/user-kyc/permissions.d.ts +0 -6
- package/dist/src/user-kyc/schema.d.ts +0 -474
- package/dist/src/user-kyc/user/dto.schemas.d.ts +0 -314
- package/dist/src/user-kyc/user/router.d.ts +0 -602
- package/dist/src/user-kyc/user/service.d.ts +0 -64
- package/dist/src/user-security/admin/dto.schemas.d.ts +0 -8
- package/dist/src/user-security/admin/router.d.ts +0 -490
- package/dist/src/user-security/admin/service.d.ts +0 -6
- package/dist/src/user-security/db.schemas.d.ts +0 -414
- package/dist/src/user-security/index.d.ts +0 -8
- package/dist/src/user-security/internal/service.d.ts +0 -15
- package/dist/src/user-security/schema.d.ts +0 -215
- package/dist/src/user-security/user/dto.schemas.d.ts +0 -21
- package/dist/src/user-security/user/router.d.ts +0 -547
- package/dist/src/user-security/user/service.d.ts +0 -15
- package/dist/src/utils/date.d.ts +0 -21
- package/dist/src/utils/index.d.ts +0 -4
- package/dist/src/utils/order.d.ts +0 -6
- package/dist/src/utils/pagination.d.ts +0 -113
- package/dist/src/utils/password.d.ts +0 -8
- package/dist/src/wallet/admin/dto.schemas.d.ts +0 -349
- package/dist/src/wallet/admin/router.d.ts +0 -581
- package/dist/src/wallet/admin/service.d.ts +0 -65
- package/dist/src/wallet/db.schemas.d.ts +0 -278
- package/dist/src/wallet/errors/index.d.ts +0 -10
- package/dist/src/wallet/errors/locales/zh.d.ts +0 -9
- package/dist/src/wallet/index.d.ts +0 -11
- package/dist/src/wallet/internal/service.d.ts +0 -177
- package/dist/src/wallet/permissions.d.ts +0 -8
- package/dist/src/wallet/schema.d.ts +0 -152
- package/dist/src/wallet/seed.d.ts +0 -1
- package/dist/src/wallet/user/dto.schemas.d.ts +0 -372
- package/dist/src/wallet/user/router.d.ts +0 -544
- package/dist/src/wallet/user/service.d.ts +0 -75
- package/dist/src/wallet-type/admin/dto.schemas.d.ts +0 -83
- package/dist/src/wallet-type/admin/router.d.ts +0 -741
- package/dist/src/wallet-type/admin/service.d.ts +0 -109
- package/dist/src/wallet-type/db.schemas.d.ts +0 -278
- package/dist/src/wallet-type/errors/index.d.ts +0 -15
- package/dist/src/wallet-type/errors/locales/zh.d.ts +0 -14
- package/dist/src/wallet-type/index.d.ts +0 -10
- package/dist/src/wallet-type/internal/service.d.ts +0 -256
- package/dist/src/wallet-type/permissions.d.ts +0 -4
- package/dist/src/wallet-type/schema.d.ts +0 -199
- package/dist/src/wallet-type/seed.d.ts +0 -1
- package/dist/src/wallet-type/user/dto.schemas.d.ts +0 -62
- package/dist/src/wallet-type/user/router.d.ts +0 -481
- package/dist/src/wallet-type/user/service.d.ts +0 -24
- package/dist/src/welfare-cycle/admin/dto.schemas.d.ts +0 -1242
- package/dist/src/welfare-cycle/admin/router.d.ts +0 -1805
- package/dist/src/welfare-cycle/admin/service.d.ts +0 -1031
- package/dist/src/welfare-cycle/cron.d.ts +0 -7
- package/dist/src/welfare-cycle/db.schemas.d.ts +0 -2404
- package/dist/src/welfare-cycle/errors/index.d.ts +0 -27
- package/dist/src/welfare-cycle/errors/locales/zh.d.ts +0 -26
- package/dist/src/welfare-cycle/index.d.ts +0 -7
- package/dist/src/welfare-cycle/internal/service.d.ts +0 -135
- package/dist/src/welfare-cycle/permissions.d.ts +0 -6
- package/dist/src/welfare-cycle/schema.d.ts +0 -1272
- package/dist/src/welfare-cycle/user/dto.schemas.d.ts +0 -2073
- package/dist/src/welfare-cycle/user/router.d.ts +0 -808
- package/dist/src/welfare-cycle/user/service.d.ts +0 -192
- package/dist/src/withdraw/admin/dto.schemas.d.ts +0 -902
- package/dist/src/withdraw/admin/router.d.ts +0 -659
- package/dist/src/withdraw/admin/service.d.ts +0 -83
- package/dist/src/withdraw/db.schemas.d.ts +0 -584
- package/dist/src/withdraw/errors/index.d.ts +0 -45
- package/dist/src/withdraw/errors/locales/zh.d.ts +0 -24
- package/dist/src/withdraw/index.d.ts +0 -8
- package/dist/src/withdraw/internal/index.d.ts +0 -1
- package/dist/src/withdraw/internal/service.d.ts +0 -10
- package/dist/src/withdraw/permissions.d.ts +0 -9
- package/dist/src/withdraw/schema.d.ts +0 -307
- package/dist/src/withdraw/user/dto.schemas.d.ts +0 -1508
- package/dist/src/withdraw/user/index.d.ts +0 -3
- package/dist/src/withdraw/user/router.d.ts +0 -649
- package/dist/src/withdraw/user/service.d.ts +0 -66
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const
|
|
1
|
+
import Elysia from 'elysia';
|
|
2
|
+
export declare const contentVideoRouter: Elysia<"/content_videos", {
|
|
3
3
|
decorator: {};
|
|
4
4
|
store: {};
|
|
5
5
|
derive: {};
|
|
@@ -41,7 +41,7 @@ export declare const assetTypeRouter: Elysia<"/asset_types", {
|
|
|
41
41
|
route: string;
|
|
42
42
|
request: Request;
|
|
43
43
|
store: {};
|
|
44
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 |
|
|
44
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 ? {
|
|
45
45
|
readonly 100: "Continue";
|
|
46
46
|
readonly 101: "Switching Protocols";
|
|
47
47
|
readonly 102: "Processing";
|
|
@@ -105,66 +105,66 @@ export declare const assetTypeRouter: Elysia<"/asset_types", {
|
|
|
105
105
|
readonly 511: "Network Authentication Required";
|
|
106
106
|
}[Code] : Code>(code: Code, response?: T) => import("elysia").ElysiaCustomStatusResponse<Code, T, Code extends "Continue" | "Switching Protocols" | "Processing" | "Early Hints" | "OK" | "Created" | "Accepted" | "Non-Authoritative Information" | "No Content" | "Reset Content" | "Partial Content" | "Multi-Status" | "Already Reported" | "Multiple Choices" | "Moved Permanently" | "Found" | "See Other" | "Not Modified" | "Temporary Redirect" | "Permanent Redirect" | "Bad Request" | "Unauthorized" | "Payment Required" | "Forbidden" | "Not Found" | "Method Not Allowed" | "Not Acceptable" | "Proxy Authentication Required" | "Request Timeout" | "Conflict" | "Gone" | "Length Required" | "Precondition Failed" | "Payload Too Large" | "URI Too Long" | "Unsupported Media Type" | "Range Not Satisfiable" | "Expectation Failed" | "I'm a teapot" | "Enhance Your Calm" | "Misdirected Request" | "Unprocessable Content" | "Locked" | "Failed Dependency" | "Too Early" | "Upgrade Required" | "Precondition Required" | "Too Many Requests" | "Request Header Fields Too Large" | "Unavailable For Legal Reasons" | "Internal Server Error" | "Not Implemented" | "Bad Gateway" | "Service Unavailable" | "Gateway Timeout" | "HTTP Version Not Supported" | "Variant Also Negotiates" | "Insufficient Storage" | "Loop Detected" | "Not Extended" | "Network Authentication Required" ? {
|
|
107
107
|
readonly Continue: 100;
|
|
108
|
-
readonly
|
|
108
|
+
readonly 'Switching Protocols': 101;
|
|
109
109
|
readonly Processing: 102;
|
|
110
|
-
readonly
|
|
110
|
+
readonly 'Early Hints': 103;
|
|
111
111
|
readonly OK: 200;
|
|
112
112
|
readonly Created: 201;
|
|
113
113
|
readonly Accepted: 202;
|
|
114
|
-
readonly
|
|
115
|
-
readonly
|
|
116
|
-
readonly
|
|
117
|
-
readonly
|
|
118
|
-
readonly
|
|
119
|
-
readonly
|
|
120
|
-
readonly
|
|
121
|
-
readonly
|
|
114
|
+
readonly 'Non-Authoritative Information': 203;
|
|
115
|
+
readonly 'No Content': 204;
|
|
116
|
+
readonly 'Reset Content': 205;
|
|
117
|
+
readonly 'Partial Content': 206;
|
|
118
|
+
readonly 'Multi-Status': 207;
|
|
119
|
+
readonly 'Already Reported': 208;
|
|
120
|
+
readonly 'Multiple Choices': 300;
|
|
121
|
+
readonly 'Moved Permanently': 301;
|
|
122
122
|
readonly Found: 302;
|
|
123
|
-
readonly
|
|
124
|
-
readonly
|
|
125
|
-
readonly
|
|
126
|
-
readonly
|
|
127
|
-
readonly
|
|
123
|
+
readonly 'See Other': 303;
|
|
124
|
+
readonly 'Not Modified': 304;
|
|
125
|
+
readonly 'Temporary Redirect': 307;
|
|
126
|
+
readonly 'Permanent Redirect': 308;
|
|
127
|
+
readonly 'Bad Request': 400;
|
|
128
128
|
readonly Unauthorized: 401;
|
|
129
|
-
readonly
|
|
129
|
+
readonly 'Payment Required': 402;
|
|
130
130
|
readonly Forbidden: 403;
|
|
131
|
-
readonly
|
|
132
|
-
readonly
|
|
133
|
-
readonly
|
|
134
|
-
readonly
|
|
135
|
-
readonly
|
|
131
|
+
readonly 'Not Found': 404;
|
|
132
|
+
readonly 'Method Not Allowed': 405;
|
|
133
|
+
readonly 'Not Acceptable': 406;
|
|
134
|
+
readonly 'Proxy Authentication Required': 407;
|
|
135
|
+
readonly 'Request Timeout': 408;
|
|
136
136
|
readonly Conflict: 409;
|
|
137
137
|
readonly Gone: 410;
|
|
138
|
-
readonly
|
|
139
|
-
readonly
|
|
140
|
-
readonly
|
|
141
|
-
readonly
|
|
142
|
-
readonly
|
|
143
|
-
readonly
|
|
144
|
-
readonly
|
|
138
|
+
readonly 'Length Required': 411;
|
|
139
|
+
readonly 'Precondition Failed': 412;
|
|
140
|
+
readonly 'Payload Too Large': 413;
|
|
141
|
+
readonly 'URI Too Long': 414;
|
|
142
|
+
readonly 'Unsupported Media Type': 415;
|
|
143
|
+
readonly 'Range Not Satisfiable': 416;
|
|
144
|
+
readonly 'Expectation Failed': 417;
|
|
145
145
|
readonly "I'm a teapot": 418;
|
|
146
|
-
readonly
|
|
147
|
-
readonly
|
|
148
|
-
readonly
|
|
146
|
+
readonly 'Enhance Your Calm': 420;
|
|
147
|
+
readonly 'Misdirected Request': 421;
|
|
148
|
+
readonly 'Unprocessable Content': 422;
|
|
149
149
|
readonly Locked: 423;
|
|
150
|
-
readonly
|
|
151
|
-
readonly
|
|
152
|
-
readonly
|
|
153
|
-
readonly
|
|
154
|
-
readonly
|
|
155
|
-
readonly
|
|
156
|
-
readonly
|
|
157
|
-
readonly
|
|
158
|
-
readonly
|
|
159
|
-
readonly
|
|
160
|
-
readonly
|
|
161
|
-
readonly
|
|
162
|
-
readonly
|
|
163
|
-
readonly
|
|
164
|
-
readonly
|
|
165
|
-
readonly
|
|
166
|
-
readonly
|
|
167
|
-
readonly
|
|
150
|
+
readonly 'Failed Dependency': 424;
|
|
151
|
+
readonly 'Too Early': 425;
|
|
152
|
+
readonly 'Upgrade Required': 426;
|
|
153
|
+
readonly 'Precondition Required': 428;
|
|
154
|
+
readonly 'Too Many Requests': 429;
|
|
155
|
+
readonly 'Request Header Fields Too Large': 431;
|
|
156
|
+
readonly 'Unavailable For Legal Reasons': 451;
|
|
157
|
+
readonly 'Internal Server Error': 500;
|
|
158
|
+
readonly 'Not Implemented': 501;
|
|
159
|
+
readonly 'Bad Gateway': 502;
|
|
160
|
+
readonly 'Service Unavailable': 503;
|
|
161
|
+
readonly 'Gateway Timeout': 504;
|
|
162
|
+
readonly 'HTTP Version Not Supported': 505;
|
|
163
|
+
readonly 'Variant Also Negotiates': 506;
|
|
164
|
+
readonly 'Insufficient Storage': 507;
|
|
165
|
+
readonly 'Loop Detected': 508;
|
|
166
|
+
readonly 'Not Extended': 510;
|
|
167
|
+
readonly 'Network Authentication Required': 511;
|
|
168
168
|
}[Code] : Code>;
|
|
169
169
|
}) => Promise<import("elysia").ElysiaCustomStatusResponse<401, any, 401> | {
|
|
170
170
|
user: {
|
|
@@ -174,16 +174,16 @@ export declare const assetTypeRouter: Elysia<"/asset_types", {
|
|
|
174
174
|
email: string;
|
|
175
175
|
emailVerified: boolean;
|
|
176
176
|
name: string;
|
|
177
|
-
image?: string | null | undefined
|
|
178
|
-
|
|
179
|
-
|
|
177
|
+
image?: string | null | undefined;
|
|
178
|
+
banExpires?: Date | null | undefined;
|
|
179
|
+
banReason?: string | null | undefined;
|
|
180
|
+
banned: boolean | null | undefined;
|
|
180
181
|
displayUsername?: string | null | undefined;
|
|
181
182
|
phoneNumber?: string | null | undefined;
|
|
182
183
|
phoneNumberVerified?: boolean | null | undefined;
|
|
183
|
-
banned: boolean | null | undefined;
|
|
184
184
|
role?: string | null | undefined;
|
|
185
|
-
|
|
186
|
-
|
|
185
|
+
twoFactorEnabled: boolean | null | undefined;
|
|
186
|
+
username?: string | null | undefined;
|
|
187
187
|
};
|
|
188
188
|
session: {
|
|
189
189
|
id: string;
|
|
@@ -192,8 +192,8 @@ export declare const assetTypeRouter: Elysia<"/asset_types", {
|
|
|
192
192
|
userId: string;
|
|
193
193
|
expiresAt: Date;
|
|
194
194
|
token: string;
|
|
195
|
-
ipAddress?: string | null | undefined
|
|
196
|
-
userAgent?: string | null | undefined
|
|
195
|
+
ipAddress?: string | null | undefined;
|
|
196
|
+
userAgent?: string | null | undefined;
|
|
197
197
|
impersonatedBy?: string | null | undefined;
|
|
198
198
|
};
|
|
199
199
|
}>;
|
|
@@ -217,7 +217,7 @@ export declare const assetTypeRouter: Elysia<"/asset_types", {
|
|
|
217
217
|
route: string;
|
|
218
218
|
request: Request;
|
|
219
219
|
store: {};
|
|
220
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 |
|
|
220
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 ? {
|
|
221
221
|
readonly 100: "Continue";
|
|
222
222
|
readonly 101: "Switching Protocols";
|
|
223
223
|
readonly 102: "Processing";
|
|
@@ -281,66 +281,66 @@ export declare const assetTypeRouter: Elysia<"/asset_types", {
|
|
|
281
281
|
readonly 511: "Network Authentication Required";
|
|
282
282
|
}[Code] : Code>(code: Code, response?: T) => import("elysia").ElysiaCustomStatusResponse<Code, T, Code extends "Continue" | "Switching Protocols" | "Processing" | "Early Hints" | "OK" | "Created" | "Accepted" | "Non-Authoritative Information" | "No Content" | "Reset Content" | "Partial Content" | "Multi-Status" | "Already Reported" | "Multiple Choices" | "Moved Permanently" | "Found" | "See Other" | "Not Modified" | "Temporary Redirect" | "Permanent Redirect" | "Bad Request" | "Unauthorized" | "Payment Required" | "Forbidden" | "Not Found" | "Method Not Allowed" | "Not Acceptable" | "Proxy Authentication Required" | "Request Timeout" | "Conflict" | "Gone" | "Length Required" | "Precondition Failed" | "Payload Too Large" | "URI Too Long" | "Unsupported Media Type" | "Range Not Satisfiable" | "Expectation Failed" | "I'm a teapot" | "Enhance Your Calm" | "Misdirected Request" | "Unprocessable Content" | "Locked" | "Failed Dependency" | "Too Early" | "Upgrade Required" | "Precondition Required" | "Too Many Requests" | "Request Header Fields Too Large" | "Unavailable For Legal Reasons" | "Internal Server Error" | "Not Implemented" | "Bad Gateway" | "Service Unavailable" | "Gateway Timeout" | "HTTP Version Not Supported" | "Variant Also Negotiates" | "Insufficient Storage" | "Loop Detected" | "Not Extended" | "Network Authentication Required" ? {
|
|
283
283
|
readonly Continue: 100;
|
|
284
|
-
readonly
|
|
284
|
+
readonly 'Switching Protocols': 101;
|
|
285
285
|
readonly Processing: 102;
|
|
286
|
-
readonly
|
|
286
|
+
readonly 'Early Hints': 103;
|
|
287
287
|
readonly OK: 200;
|
|
288
288
|
readonly Created: 201;
|
|
289
289
|
readonly Accepted: 202;
|
|
290
|
-
readonly
|
|
291
|
-
readonly
|
|
292
|
-
readonly
|
|
293
|
-
readonly
|
|
294
|
-
readonly
|
|
295
|
-
readonly
|
|
296
|
-
readonly
|
|
297
|
-
readonly
|
|
290
|
+
readonly 'Non-Authoritative Information': 203;
|
|
291
|
+
readonly 'No Content': 204;
|
|
292
|
+
readonly 'Reset Content': 205;
|
|
293
|
+
readonly 'Partial Content': 206;
|
|
294
|
+
readonly 'Multi-Status': 207;
|
|
295
|
+
readonly 'Already Reported': 208;
|
|
296
|
+
readonly 'Multiple Choices': 300;
|
|
297
|
+
readonly 'Moved Permanently': 301;
|
|
298
298
|
readonly Found: 302;
|
|
299
|
-
readonly
|
|
300
|
-
readonly
|
|
301
|
-
readonly
|
|
302
|
-
readonly
|
|
303
|
-
readonly
|
|
299
|
+
readonly 'See Other': 303;
|
|
300
|
+
readonly 'Not Modified': 304;
|
|
301
|
+
readonly 'Temporary Redirect': 307;
|
|
302
|
+
readonly 'Permanent Redirect': 308;
|
|
303
|
+
readonly 'Bad Request': 400;
|
|
304
304
|
readonly Unauthorized: 401;
|
|
305
|
-
readonly
|
|
305
|
+
readonly 'Payment Required': 402;
|
|
306
306
|
readonly Forbidden: 403;
|
|
307
|
-
readonly
|
|
308
|
-
readonly
|
|
309
|
-
readonly
|
|
310
|
-
readonly
|
|
311
|
-
readonly
|
|
307
|
+
readonly 'Not Found': 404;
|
|
308
|
+
readonly 'Method Not Allowed': 405;
|
|
309
|
+
readonly 'Not Acceptable': 406;
|
|
310
|
+
readonly 'Proxy Authentication Required': 407;
|
|
311
|
+
readonly 'Request Timeout': 408;
|
|
312
312
|
readonly Conflict: 409;
|
|
313
313
|
readonly Gone: 410;
|
|
314
|
-
readonly
|
|
315
|
-
readonly
|
|
316
|
-
readonly
|
|
317
|
-
readonly
|
|
318
|
-
readonly
|
|
319
|
-
readonly
|
|
320
|
-
readonly
|
|
314
|
+
readonly 'Length Required': 411;
|
|
315
|
+
readonly 'Precondition Failed': 412;
|
|
316
|
+
readonly 'Payload Too Large': 413;
|
|
317
|
+
readonly 'URI Too Long': 414;
|
|
318
|
+
readonly 'Unsupported Media Type': 415;
|
|
319
|
+
readonly 'Range Not Satisfiable': 416;
|
|
320
|
+
readonly 'Expectation Failed': 417;
|
|
321
321
|
readonly "I'm a teapot": 418;
|
|
322
|
-
readonly
|
|
323
|
-
readonly
|
|
324
|
-
readonly
|
|
322
|
+
readonly 'Enhance Your Calm': 420;
|
|
323
|
+
readonly 'Misdirected Request': 421;
|
|
324
|
+
readonly 'Unprocessable Content': 422;
|
|
325
325
|
readonly Locked: 423;
|
|
326
|
-
readonly
|
|
327
|
-
readonly
|
|
328
|
-
readonly
|
|
329
|
-
readonly
|
|
330
|
-
readonly
|
|
331
|
-
readonly
|
|
332
|
-
readonly
|
|
333
|
-
readonly
|
|
334
|
-
readonly
|
|
335
|
-
readonly
|
|
336
|
-
readonly
|
|
337
|
-
readonly
|
|
338
|
-
readonly
|
|
339
|
-
readonly
|
|
340
|
-
readonly
|
|
341
|
-
readonly
|
|
342
|
-
readonly
|
|
343
|
-
readonly
|
|
326
|
+
readonly 'Failed Dependency': 424;
|
|
327
|
+
readonly 'Too Early': 425;
|
|
328
|
+
readonly 'Upgrade Required': 426;
|
|
329
|
+
readonly 'Precondition Required': 428;
|
|
330
|
+
readonly 'Too Many Requests': 429;
|
|
331
|
+
readonly 'Request Header Fields Too Large': 431;
|
|
332
|
+
readonly 'Unavailable For Legal Reasons': 451;
|
|
333
|
+
readonly 'Internal Server Error': 500;
|
|
334
|
+
readonly 'Not Implemented': 501;
|
|
335
|
+
readonly 'Bad Gateway': 502;
|
|
336
|
+
readonly 'Service Unavailable': 503;
|
|
337
|
+
readonly 'Gateway Timeout': 504;
|
|
338
|
+
readonly 'HTTP Version Not Supported': 505;
|
|
339
|
+
readonly 'Variant Also Negotiates': 506;
|
|
340
|
+
readonly 'Insufficient Storage': 507;
|
|
341
|
+
readonly 'Loop Detected': 508;
|
|
342
|
+
readonly 'Not Extended': 510;
|
|
343
|
+
readonly 'Network Authentication Required': 511;
|
|
344
344
|
}[Code] : Code>;
|
|
345
345
|
}) => Promise<import("elysia").ElysiaCustomStatusResponse<401, any, 401> | import("elysia").ElysiaCustomStatusResponse<403, "Forbidden: Admins only", 403> | {
|
|
346
346
|
user: {
|
|
@@ -350,16 +350,16 @@ export declare const assetTypeRouter: Elysia<"/asset_types", {
|
|
|
350
350
|
email: string;
|
|
351
351
|
emailVerified: boolean;
|
|
352
352
|
name: string;
|
|
353
|
-
image?: string | null | undefined
|
|
354
|
-
|
|
355
|
-
|
|
353
|
+
image?: string | null | undefined;
|
|
354
|
+
banExpires?: Date | null | undefined;
|
|
355
|
+
banReason?: string | null | undefined;
|
|
356
|
+
banned: boolean | null | undefined;
|
|
356
357
|
displayUsername?: string | null | undefined;
|
|
357
358
|
phoneNumber?: string | null | undefined;
|
|
358
359
|
phoneNumberVerified?: boolean | null | undefined;
|
|
359
|
-
banned: boolean | null | undefined;
|
|
360
360
|
role?: string | null | undefined;
|
|
361
|
-
|
|
362
|
-
|
|
361
|
+
twoFactorEnabled: boolean | null | undefined;
|
|
362
|
+
username?: string | null | undefined;
|
|
363
363
|
};
|
|
364
364
|
session: {
|
|
365
365
|
id: string;
|
|
@@ -368,8 +368,8 @@ export declare const assetTypeRouter: Elysia<"/asset_types", {
|
|
|
368
368
|
userId: string;
|
|
369
369
|
expiresAt: Date;
|
|
370
370
|
token: string;
|
|
371
|
-
ipAddress?: string | null | undefined
|
|
372
|
-
userAgent?: string | null | undefined
|
|
371
|
+
ipAddress?: string | null | undefined;
|
|
372
|
+
userAgent?: string | null | undefined;
|
|
373
373
|
impersonatedBy?: string | null | undefined;
|
|
374
374
|
};
|
|
375
375
|
}>;
|
|
@@ -378,16 +378,13 @@ export declare const assetTypeRouter: Elysia<"/asset_types", {
|
|
|
378
378
|
parser: {};
|
|
379
379
|
response: {};
|
|
380
380
|
}, {
|
|
381
|
-
|
|
381
|
+
content_videos: {};
|
|
382
382
|
} & {
|
|
383
|
-
|
|
383
|
+
content_videos: {
|
|
384
384
|
get: {
|
|
385
385
|
body: {};
|
|
386
386
|
params: {};
|
|
387
387
|
query: {
|
|
388
|
-
name?: string | undefined;
|
|
389
|
-
key?: string | undefined;
|
|
390
|
-
isActive?: boolean | undefined;
|
|
391
388
|
limit?: number | undefined;
|
|
392
389
|
offset?: number | undefined;
|
|
393
390
|
pageSize?: number | undefined;
|
|
@@ -398,21 +395,26 @@ export declare const assetTypeRouter: Elysia<"/asset_types", {
|
|
|
398
395
|
200: {
|
|
399
396
|
data: {
|
|
400
397
|
id: string;
|
|
401
|
-
|
|
402
|
-
description
|
|
403
|
-
|
|
404
|
-
|
|
398
|
+
title: string;
|
|
399
|
+
description?: string | undefined;
|
|
400
|
+
videoUrl: string;
|
|
401
|
+
coverUrl?: string | undefined;
|
|
402
|
+
mimeType?: string | undefined;
|
|
403
|
+
fileSize?: number | undefined;
|
|
404
|
+
durationSeconds?: number | undefined;
|
|
405
|
+
sortOrder: number;
|
|
406
|
+
publishedAt?: Date | undefined;
|
|
405
407
|
}[];
|
|
406
408
|
pagination: {
|
|
407
|
-
total: number;
|
|
408
409
|
pageSize: number;
|
|
409
410
|
pageIndex: number;
|
|
411
|
+
total: number;
|
|
410
412
|
totalPages: number;
|
|
411
413
|
hasNextPage: boolean;
|
|
412
414
|
};
|
|
413
415
|
};
|
|
414
416
|
422: {
|
|
415
|
-
type:
|
|
417
|
+
type: 'validation';
|
|
416
418
|
on: string;
|
|
417
419
|
summary?: string;
|
|
418
420
|
message?: string;
|
|
@@ -420,7 +422,42 @@ export declare const assetTypeRouter: Elysia<"/asset_types", {
|
|
|
420
422
|
property?: string;
|
|
421
423
|
expected?: string;
|
|
422
424
|
};
|
|
423
|
-
|
|
425
|
+
};
|
|
426
|
+
};
|
|
427
|
+
};
|
|
428
|
+
} & {
|
|
429
|
+
content_videos: {
|
|
430
|
+
":id": {
|
|
431
|
+
get: {
|
|
432
|
+
body: {};
|
|
433
|
+
params: {
|
|
434
|
+
id: string;
|
|
435
|
+
};
|
|
436
|
+
query: {};
|
|
437
|
+
headers: {};
|
|
438
|
+
response: {
|
|
439
|
+
200: {
|
|
440
|
+
id: string;
|
|
441
|
+
title: string;
|
|
442
|
+
description?: string | undefined;
|
|
443
|
+
videoUrl: string;
|
|
444
|
+
coverUrl?: string | undefined;
|
|
445
|
+
mimeType?: string | undefined;
|
|
446
|
+
fileSize?: number | undefined;
|
|
447
|
+
durationSeconds?: number | undefined;
|
|
448
|
+
sortOrder: number;
|
|
449
|
+
publishedAt?: Date | undefined;
|
|
450
|
+
};
|
|
451
|
+
422: {
|
|
452
|
+
type: 'validation';
|
|
453
|
+
on: string;
|
|
454
|
+
summary?: string;
|
|
455
|
+
message?: string;
|
|
456
|
+
found?: unknown;
|
|
457
|
+
property?: string;
|
|
458
|
+
expected?: string;
|
|
459
|
+
};
|
|
460
|
+
};
|
|
424
461
|
};
|
|
425
462
|
};
|
|
426
463
|
};
|
|
@@ -432,40 +469,14 @@ export declare const assetTypeRouter: Elysia<"/asset_types", {
|
|
|
432
469
|
response: {};
|
|
433
470
|
}, {
|
|
434
471
|
derive: {};
|
|
435
|
-
resolve: {
|
|
436
|
-
user: {
|
|
437
|
-
id: string;
|
|
438
|
-
createdAt: Date;
|
|
439
|
-
updatedAt: Date;
|
|
440
|
-
email: string;
|
|
441
|
-
emailVerified: boolean;
|
|
442
|
-
name: string;
|
|
443
|
-
image?: string | null | undefined | undefined;
|
|
444
|
-
twoFactorEnabled: boolean | null | undefined;
|
|
445
|
-
username?: string | null | undefined;
|
|
446
|
-
displayUsername?: string | null | undefined;
|
|
447
|
-
phoneNumber?: string | null | undefined;
|
|
448
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
449
|
-
banned: boolean | null | undefined;
|
|
450
|
-
role?: string | null | undefined;
|
|
451
|
-
banReason?: string | null | undefined;
|
|
452
|
-
banExpires?: Date | null | undefined;
|
|
453
|
-
};
|
|
454
|
-
session: {
|
|
455
|
-
id: string;
|
|
456
|
-
createdAt: Date;
|
|
457
|
-
updatedAt: Date;
|
|
458
|
-
userId: string;
|
|
459
|
-
expiresAt: Date;
|
|
460
|
-
token: string;
|
|
461
|
-
ipAddress?: string | null | undefined | undefined;
|
|
462
|
-
userAgent?: string | null | undefined | undefined;
|
|
463
|
-
impersonatedBy?: string | null | undefined;
|
|
464
|
-
};
|
|
465
|
-
};
|
|
472
|
+
resolve: {};
|
|
466
473
|
schema: {};
|
|
467
474
|
standaloneSchema: {};
|
|
468
|
-
response: {
|
|
469
|
-
|
|
470
|
-
};
|
|
475
|
+
response: {};
|
|
476
|
+
} & {
|
|
477
|
+
derive: {};
|
|
478
|
+
resolve: {};
|
|
479
|
+
schema: {};
|
|
480
|
+
standaloneSchema: {};
|
|
481
|
+
response: {};
|
|
471
482
|
}>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { ContentVideoPublicListQueryType } from './dto.schemas';
|
|
2
|
+
export declare abstract class UserContentVideoService {
|
|
3
|
+
static listPublishedVideos(query?: ContentVideoPublicListQueryType): Promise<{
|
|
4
|
+
data: {
|
|
5
|
+
id: string;
|
|
6
|
+
title: string;
|
|
7
|
+
description: string | undefined;
|
|
8
|
+
videoUrl: string;
|
|
9
|
+
coverUrl: string | undefined;
|
|
10
|
+
mimeType: string | undefined;
|
|
11
|
+
fileSize: number | undefined;
|
|
12
|
+
durationSeconds: number | undefined;
|
|
13
|
+
sortOrder: number;
|
|
14
|
+
publishedAt: Date | undefined;
|
|
15
|
+
}[];
|
|
16
|
+
pagination: {
|
|
17
|
+
pageSize: number;
|
|
18
|
+
pageIndex: number;
|
|
19
|
+
total: number;
|
|
20
|
+
totalPages: number;
|
|
21
|
+
hasNextPage: boolean;
|
|
22
|
+
};
|
|
23
|
+
}>;
|
|
24
|
+
static getPublishedVideo(id: string): Promise<{
|
|
25
|
+
id: string;
|
|
26
|
+
title: string;
|
|
27
|
+
description: string | undefined;
|
|
28
|
+
videoUrl: string;
|
|
29
|
+
coverUrl: string | undefined;
|
|
30
|
+
mimeType: string | undefined;
|
|
31
|
+
fileSize: number | undefined;
|
|
32
|
+
durationSeconds: number | undefined;
|
|
33
|
+
sortOrder: number;
|
|
34
|
+
publishedAt: Date | undefined;
|
|
35
|
+
}>;
|
|
36
|
+
}
|
package/dist/db/schemas.d.ts
CHANGED
|
@@ -33,3 +33,5 @@ export * from '../market-data/schema';
|
|
|
33
33
|
export * from '../trade-market/schema';
|
|
34
34
|
export * from '../welfare-cycle/schema';
|
|
35
35
|
export * from '../lock-activity/schema';
|
|
36
|
+
export * from '../lock-activity/participation.schema';
|
|
37
|
+
export * from '../content-video/schema';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const listAdminFilesFilterSchema: import("@sinclair/typebox").TObject<{
|
|
2
2
|
businessType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
|
3
|
+
app_video: "app_video";
|
|
3
4
|
avatar: "avatar";
|
|
4
5
|
bank_verification: "bank_verification";
|
|
5
6
|
contract: "contract";
|
|
@@ -34,6 +35,7 @@ export declare const listAdminFilesQuerySchema: import("@sinclair/typebox").TObj
|
|
|
34
35
|
pageSize: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
35
36
|
pageIndex: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
36
37
|
businessType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
|
38
|
+
app_video: "app_video";
|
|
37
39
|
avatar: "avatar";
|
|
38
40
|
bank_verification: "bank_verification";
|
|
39
41
|
contract: "contract";
|
|
@@ -72,6 +74,7 @@ export declare const fileStorageWithRelationsSchema: import("@sinclair/typebox")
|
|
|
72
74
|
businessId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
73
75
|
businessMetadata: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
74
76
|
businessType: import("@sinclair/typebox").TEnum<{
|
|
77
|
+
app_video: "app_video";
|
|
75
78
|
avatar: "avatar";
|
|
76
79
|
bank_verification: "bank_verification";
|
|
77
80
|
contract: "contract";
|
|
@@ -137,6 +140,7 @@ export declare const listAdminFilesResponseSchema: import("@sinclair/typebox").T
|
|
|
137
140
|
businessId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
138
141
|
businessMetadata: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
139
142
|
businessType: import("@sinclair/typebox").TEnum<{
|
|
143
|
+
app_video: "app_video";
|
|
140
144
|
avatar: "avatar";
|
|
141
145
|
bank_verification: "bank_verification";
|
|
142
146
|
contract: "contract";
|
|
@@ -417,7 +417,7 @@ export declare const fileStorageAdminRouter: Elysia<"/file_storage", {
|
|
|
417
417
|
offset?: number | undefined;
|
|
418
418
|
pageSize?: number | undefined;
|
|
419
419
|
pageIndex?: number | undefined;
|
|
420
|
-
businessType?: "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt" | undefined;
|
|
420
|
+
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;
|
|
421
421
|
businessId?: string | undefined;
|
|
422
422
|
status?: "active" | "archived" | "pending_deletion" | "uploading" | null | undefined;
|
|
423
423
|
accessControl?: "private" | "public" | "restricted" | null | undefined;
|
|
@@ -431,7 +431,7 @@ export declare const fileStorageAdminRouter: Elysia<"/file_storage", {
|
|
|
431
431
|
archivedAt: Date | null;
|
|
432
432
|
businessId: string | null;
|
|
433
433
|
businessMetadata: string | null;
|
|
434
|
-
businessType: "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
434
|
+
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";
|
|
435
435
|
createdAt: Date;
|
|
436
436
|
deletedAt: Date | null;
|
|
437
437
|
downloadCount: number | null;
|
|
@@ -15,7 +15,7 @@ export declare abstract class AdminFileStorageService extends BaseFileStorageSer
|
|
|
15
15
|
s3Key: string;
|
|
16
16
|
s3Region: string;
|
|
17
17
|
s3ETag: string | null;
|
|
18
|
-
businessType: "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
18
|
+
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";
|
|
19
19
|
businessId: string | null;
|
|
20
20
|
businessMetadata: string | null;
|
|
21
21
|
ownerId: string;
|
|
@@ -39,7 +39,7 @@ export declare abstract class AdminFileStorageService extends BaseFileStorageSer
|
|
|
39
39
|
archivedAt: Date | null;
|
|
40
40
|
businessId: string | null;
|
|
41
41
|
businessMetadata: string | null;
|
|
42
|
-
businessType: "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
42
|
+
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";
|
|
43
43
|
createdAt: Date;
|
|
44
44
|
deletedAt: Date | null;
|
|
45
45
|
downloadCount: number | null;
|
|
@@ -225,14 +225,14 @@ export declare const fileStorageSelectSchema: import("drizzle-typebox").BuildSch
|
|
|
225
225
|
tableName: "file_storage";
|
|
226
226
|
dataType: "string";
|
|
227
227
|
columnType: "PgEnumColumn";
|
|
228
|
-
data: "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
228
|
+
data: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
229
229
|
driverParam: string;
|
|
230
230
|
notNull: true;
|
|
231
231
|
hasDefault: false;
|
|
232
232
|
isPrimaryKey: false;
|
|
233
233
|
isAutoincrement: false;
|
|
234
234
|
hasRuntimeDefault: false;
|
|
235
|
-
enumValues: ["kyc_document", "contract", "financial_report", "ledger_account_import", "avatar", "cover_image", "notification_attachment", "transaction_receipt", "export_report", "bank_verification", "news_attachment", "other"];
|
|
235
|
+
enumValues: ["kyc_document", "contract", "financial_report", "ledger_account_import", "avatar", "cover_image", "notification_attachment", "transaction_receipt", "export_report", "bank_verification", "news_attachment", "app_video", "other"];
|
|
236
236
|
baseColumn: never;
|
|
237
237
|
identity: undefined;
|
|
238
238
|
generated: undefined;
|
|
@@ -738,14 +738,14 @@ export declare const fileStorageInsertSchema: import("drizzle-typebox").BuildSch
|
|
|
738
738
|
tableName: "file_storage";
|
|
739
739
|
dataType: "string";
|
|
740
740
|
columnType: "PgEnumColumn";
|
|
741
|
-
data: "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
741
|
+
data: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
742
742
|
driverParam: string;
|
|
743
743
|
notNull: true;
|
|
744
744
|
hasDefault: false;
|
|
745
745
|
isPrimaryKey: false;
|
|
746
746
|
isAutoincrement: false;
|
|
747
747
|
hasRuntimeDefault: false;
|
|
748
|
-
enumValues: ["kyc_document", "contract", "financial_report", "ledger_account_import", "avatar", "cover_image", "notification_attachment", "transaction_receipt", "export_report", "bank_verification", "news_attachment", "other"];
|
|
748
|
+
enumValues: ["kyc_document", "contract", "financial_report", "ledger_account_import", "avatar", "cover_image", "notification_attachment", "transaction_receipt", "export_report", "bank_verification", "news_attachment", "app_video", "other"];
|
|
749
749
|
baseColumn: never;
|
|
750
750
|
identity: undefined;
|
|
751
751
|
generated: undefined;
|