@r2wa-org/eden 0.0.111 → 0.0.113
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 +1633 -3
- package/dist/auth/better-auth.d.ts +13 -1
- package/dist/auth/permissions.d.ts +11 -1
- package/dist/auth/roles.d.ts +30 -0
- package/dist/content-video/internal/service.d.ts +2 -2
- package/dist/db/schemas.d.ts +2 -0
- package/dist/deposit/user/router.d.ts +13 -1
- 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 +12 -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 +1853 -7
- package/dist/ledger/admin/router.d.ts +13 -1
- package/dist/live-stream-video/internal/service.d.ts +2 -2
- package/dist/meeting-check-in/admin/attendee-reward.dto.schemas.d.ts +269 -0
- package/dist/meeting-check-in/admin/attendee-reward.service.d.ts +470 -0
- package/dist/meeting-check-in/admin/import.dto.schemas.d.ts +660 -0
- package/dist/meeting-check-in/admin/import.router.d.ts +711 -0
- package/dist/meeting-check-in/admin/import.service.d.ts +101 -0
- package/dist/meeting-check-in/admin/referral-reward.dto.schemas.d.ts +269 -0
- package/dist/meeting-check-in/admin/referral-reward.service.d.ts +470 -0
- package/dist/meeting-check-in/admin/reward-response.schemas.d.ts +19 -0
- package/dist/meeting-check-in/admin/router.d.ts +4300 -0
- package/dist/meeting-check-in/constants.d.ts +4 -0
- package/dist/meeting-check-in/errors/index.d.ts +28 -0
- package/dist/meeting-check-in/errors/locales/zh.d.ts +27 -0
- package/dist/meeting-check-in/import.db.schemas.d.ts +1132 -0
- package/dist/meeting-check-in/import.schema.d.ts +589 -0
- package/dist/meeting-check-in/index.d.ts +18 -0
- package/dist/meeting-check-in/internal/check-in.service.d.ts +33 -0
- package/dist/meeting-check-in/internal/import.service.d.ts +22 -0
- package/dist/meeting-check-in/internal/reward-config.service.d.ts +127 -0
- package/dist/meeting-check-in/internal/reward.service.d.ts +72 -0
- package/dist/meeting-check-in/permissions.d.ts +5 -0
- package/dist/meeting-check-in/reward.db.schemas.d.ts +1656 -0
- package/dist/meeting-check-in/schema.d.ts +884 -0
- package/dist/meeting-check-in/user/check-in.dto.schemas.d.ts +337 -0
- package/dist/meeting-check-in/user/check-in.service.d.ts +31 -0
- package/dist/meeting-check-in/user/reward.dto.schemas.d.ts +136 -0
- package/dist/meeting-check-in/user/reward.service.d.ts +62 -0
- package/dist/meeting-check-in/user/router.d.ts +1596 -0
- package/dist/meeting-check-in/worker.d.ts +1 -0
- package/dist/news/admin/router.d.ts +1 -1
- package/dist/news/admin/service.d.ts +1 -1
- package/dist/news/user/service.d.ts +2 -2
- package/dist/server-test/index.d.ts +1 -13
- package/dist/team/milestone-reward/admin/reward.router.d.ts +1 -13
- package/dist/trade-market/admin/router.d.ts +1 -13
- package/dist/user-kyc/admin/router.d.ts +13 -1
- package/package.json +1 -1
|
@@ -2695,6 +2695,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2695
2695
|
readonly 'market_data:kline'?: ("list" | "read")[] | undefined;
|
|
2696
2696
|
readonly 'market_data:admin'?: ("list" | "read" | "run")[] | undefined;
|
|
2697
2697
|
readonly 'market_pricing:strategy'?: ("create" | "delete" | "list" | "read" | "run" | "update")[] | undefined;
|
|
2698
|
+
readonly 'meeting_check_in:reward_config'?: ("create" | "delete" | "list" | "read" | "update")[] | undefined;
|
|
2699
|
+
readonly 'meeting_check_in:import'?: ("create" | "list" | "read")[] | undefined;
|
|
2698
2700
|
readonly 'news:category'?: ("create" | "delete" | "list" | "read" | "update")[] | undefined;
|
|
2699
2701
|
readonly 'news:news'?: ("create" | "delete" | "list" | "read" | "update")[] | undefined;
|
|
2700
2702
|
readonly 'notification:notification'?: ("list" | "read" | "update")[] | undefined;
|
|
@@ -2794,7 +2796,7 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2794
2796
|
};
|
|
2795
2797
|
options: NoInfer<{
|
|
2796
2798
|
ac: {
|
|
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, {
|
|
2799
|
+
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" | "meeting_check_in:import" | "meeting_check_in:reward_config" | "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, {
|
|
2798
2800
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "impersonate-admins", "delete", "set-password", "get", "update"];
|
|
2799
2801
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
2800
2802
|
readonly 'asset_convert_product:product': readonly ['create', 'read', 'update', 'list'];
|
|
@@ -2819,6 +2821,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2819
2821
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
2820
2822
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
2821
2823
|
readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
|
|
2824
|
+
readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2825
|
+
readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
|
|
2822
2826
|
readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2823
2827
|
readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2824
2828
|
readonly 'notification:notification': readonly ['read', 'update', 'list'];
|
|
@@ -2873,6 +2877,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2873
2877
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
2874
2878
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
2875
2879
|
readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
|
|
2880
|
+
readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2881
|
+
readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
|
|
2876
2882
|
readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2877
2883
|
readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2878
2884
|
readonly 'notification:notification': readonly ['read', 'update', 'list'];
|
|
@@ -2927,6 +2933,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2927
2933
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
2928
2934
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
2929
2935
|
readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
|
|
2936
|
+
readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2937
|
+
readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
|
|
2930
2938
|
readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2931
2939
|
readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2932
2940
|
readonly 'notification:notification': readonly ['read', 'update', 'list'];
|
|
@@ -2980,6 +2988,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2980
2988
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
2981
2989
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
2982
2990
|
readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
|
|
2991
|
+
readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2992
|
+
readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
|
|
2983
2993
|
readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2984
2994
|
readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2985
2995
|
readonly 'notification:notification': readonly ['read', 'update', 'list'];
|
|
@@ -3034,6 +3044,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
3034
3044
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
3035
3045
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
3036
3046
|
readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
|
|
3047
|
+
readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
3048
|
+
readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
|
|
3037
3049
|
readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
3038
3050
|
readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
3039
3051
|
readonly 'notification:notification': readonly ['read', 'update', 'list'];
|
|
@@ -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" | "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, {
|
|
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" | "meeting_check_in:import" | "meeting_check_in:reward_config" | "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'];
|
|
@@ -24,6 +24,8 @@ export declare const ac: {
|
|
|
24
24
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
25
25
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
26
26
|
readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
|
|
27
|
+
readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
28
|
+
readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
|
|
27
29
|
readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
28
30
|
readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
29
31
|
readonly 'notification:notification': readonly ['read', 'update', 'list'];
|
|
@@ -78,6 +80,8 @@ export declare const ac: {
|
|
|
78
80
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
79
81
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
80
82
|
readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
|
|
83
|
+
readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
84
|
+
readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
|
|
81
85
|
readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
82
86
|
readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
83
87
|
readonly 'notification:notification': readonly ['read', 'update', 'list'];
|
|
@@ -132,6 +136,8 @@ export declare const ac: {
|
|
|
132
136
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
133
137
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
134
138
|
readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
|
|
139
|
+
readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
140
|
+
readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
|
|
135
141
|
readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
136
142
|
readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
137
143
|
readonly 'notification:notification': readonly ['read', 'update', 'list'];
|
|
@@ -185,6 +191,8 @@ export declare const ac: {
|
|
|
185
191
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
186
192
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
187
193
|
readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
|
|
194
|
+
readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
195
|
+
readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
|
|
188
196
|
readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
189
197
|
readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
190
198
|
readonly 'notification:notification': readonly ['read', 'update', 'list'];
|
|
@@ -239,6 +247,8 @@ export declare const ac: {
|
|
|
239
247
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
240
248
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
241
249
|
readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
|
|
250
|
+
readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
251
|
+
readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
|
|
242
252
|
readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
243
253
|
readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
244
254
|
readonly 'notification:notification': readonly ['read', 'update', 'list'];
|
package/dist/auth/roles.d.ts
CHANGED
|
@@ -25,6 +25,8 @@ export declare const authAdmin: {
|
|
|
25
25
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
26
26
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
27
27
|
readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
|
|
28
|
+
readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
29
|
+
readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
|
|
28
30
|
readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
29
31
|
readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
30
32
|
readonly 'notification:notification': readonly ['read', 'update', 'list'];
|
|
@@ -79,6 +81,8 @@ export declare const authAdmin: {
|
|
|
79
81
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
80
82
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
81
83
|
readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
|
|
84
|
+
readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
85
|
+
readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
|
|
82
86
|
readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
83
87
|
readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
84
88
|
readonly 'notification:notification': readonly ['read', 'update', 'list'];
|
|
@@ -132,6 +136,8 @@ export declare const authAdmin: {
|
|
|
132
136
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
133
137
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
134
138
|
readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
|
|
139
|
+
readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
140
|
+
readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
|
|
135
141
|
readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
136
142
|
readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
137
143
|
readonly 'notification:notification': readonly ['read', 'update', 'list'];
|
|
@@ -188,6 +194,8 @@ export declare const authUser: {
|
|
|
188
194
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
189
195
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
190
196
|
readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
|
|
197
|
+
readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
198
|
+
readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
|
|
191
199
|
readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
192
200
|
readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
193
201
|
readonly 'notification:notification': readonly ['read', 'update', 'list'];
|
|
@@ -242,6 +250,8 @@ export declare const authUser: {
|
|
|
242
250
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
243
251
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
244
252
|
readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
|
|
253
|
+
readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
254
|
+
readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
|
|
245
255
|
readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
246
256
|
readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
247
257
|
readonly 'notification:notification': readonly ['read', 'update', 'list'];
|
|
@@ -295,6 +305,8 @@ export declare const authUser: {
|
|
|
295
305
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
296
306
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
297
307
|
readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
|
|
308
|
+
readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
309
|
+
readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
|
|
298
310
|
readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
299
311
|
readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
300
312
|
readonly 'notification:notification': readonly ['read', 'update', 'list'];
|
|
@@ -356,6 +368,8 @@ export declare const superAdmin: {
|
|
|
356
368
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
357
369
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
358
370
|
readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
|
|
371
|
+
readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
372
|
+
readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
|
|
359
373
|
readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
360
374
|
readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
361
375
|
readonly 'notification:notification': readonly ['read', 'update', 'list'];
|
|
@@ -410,6 +424,8 @@ export declare const superAdmin: {
|
|
|
410
424
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
411
425
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
412
426
|
readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
|
|
427
|
+
readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
428
|
+
readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
|
|
413
429
|
readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
414
430
|
readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
415
431
|
readonly 'notification:notification': readonly ['read', 'update', 'list'];
|
|
@@ -463,6 +479,8 @@ export declare const superAdmin: {
|
|
|
463
479
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
464
480
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
465
481
|
readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
|
|
482
|
+
readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
483
|
+
readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
|
|
466
484
|
readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
467
485
|
readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
468
486
|
readonly 'notification:notification': readonly ['read', 'update', 'list'];
|
|
@@ -524,6 +542,8 @@ export declare const user: {
|
|
|
524
542
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
525
543
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
526
544
|
readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
|
|
545
|
+
readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
546
|
+
readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
|
|
527
547
|
readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
528
548
|
readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
529
549
|
readonly 'notification:notification': readonly ['read', 'update', 'list'];
|
|
@@ -578,6 +598,8 @@ export declare const user: {
|
|
|
578
598
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
579
599
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
580
600
|
readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
|
|
601
|
+
readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
602
|
+
readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
|
|
581
603
|
readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
582
604
|
readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
583
605
|
readonly 'notification:notification': readonly ['read', 'update', 'list'];
|
|
@@ -631,6 +653,8 @@ export declare const user: {
|
|
|
631
653
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
632
654
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
633
655
|
readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
|
|
656
|
+
readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
657
|
+
readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
|
|
634
658
|
readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
635
659
|
readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
636
660
|
readonly 'notification:notification': readonly ['read', 'update', 'list'];
|
|
@@ -692,6 +716,8 @@ export declare const admin: {
|
|
|
692
716
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
693
717
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
694
718
|
readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
|
|
719
|
+
readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
720
|
+
readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
|
|
695
721
|
readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
696
722
|
readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
697
723
|
readonly 'notification:notification': readonly ['read', 'update', 'list'];
|
|
@@ -746,6 +772,8 @@ export declare const admin: {
|
|
|
746
772
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
747
773
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
748
774
|
readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
|
|
775
|
+
readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
776
|
+
readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
|
|
749
777
|
readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
750
778
|
readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
751
779
|
readonly 'notification:notification': readonly ['read', 'update', 'list'];
|
|
@@ -799,6 +827,8 @@ export declare const admin: {
|
|
|
799
827
|
readonly 'market_data:kline': readonly ['read', 'list'];
|
|
800
828
|
readonly 'market_data:admin': readonly ['read', 'list', 'run'];
|
|
801
829
|
readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
|
|
830
|
+
readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
831
|
+
readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
|
|
802
832
|
readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
803
833
|
readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
804
834
|
readonly 'notification:notification': readonly ['read', 'update', 'list'];
|
|
@@ -10,7 +10,7 @@ export declare abstract class InternalContentVideoService {
|
|
|
10
10
|
archivedAt: Date | null;
|
|
11
11
|
businessId: string | null;
|
|
12
12
|
businessMetadata: string | null;
|
|
13
|
-
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";
|
|
13
|
+
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
14
14
|
createdAt: Date;
|
|
15
15
|
deletedAt: Date | null;
|
|
16
16
|
downloadCount: number | null;
|
|
@@ -45,7 +45,7 @@ export declare abstract class InternalContentVideoService {
|
|
|
45
45
|
archivedAt: Date | null;
|
|
46
46
|
businessId: string | null;
|
|
47
47
|
businessMetadata: string | null;
|
|
48
|
-
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";
|
|
48
|
+
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
49
49
|
createdAt: Date;
|
|
50
50
|
deletedAt: Date | null;
|
|
51
51
|
downloadCount: number | null;
|
package/dist/db/schemas.d.ts
CHANGED
|
@@ -38,3 +38,5 @@ export * from '../lock-activity/schema';
|
|
|
38
38
|
export * from '../lock-activity/participation.schema';
|
|
39
39
|
export * from '../content-video/schema';
|
|
40
40
|
export * from '../live-stream-video/schema';
|
|
41
|
+
export * from '../meeting-check-in/schema';
|
|
42
|
+
export * from '../meeting-check-in/import.schema';
|
|
@@ -35,7 +35,19 @@ export declare const depositRouter: Elysia<"/deposit", {
|
|
|
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;
|
|
@@ -10,6 +10,7 @@ export declare const listAdminFilesFilterSchema: import("@sinclair/typebox").TOb
|
|
|
10
10
|
kyc_document: "kyc_document";
|
|
11
11
|
ledger_account_import: "ledger_account_import";
|
|
12
12
|
live_stream_video: "live_stream_video";
|
|
13
|
+
meeting_check_in_import: "meeting_check_in_import";
|
|
13
14
|
news_attachment: "news_attachment";
|
|
14
15
|
notification_attachment: "notification_attachment";
|
|
15
16
|
other: "other";
|
|
@@ -46,6 +47,7 @@ export declare const listAdminFilesQuerySchema: import("@sinclair/typebox").TObj
|
|
|
46
47
|
kyc_document: "kyc_document";
|
|
47
48
|
ledger_account_import: "ledger_account_import";
|
|
48
49
|
live_stream_video: "live_stream_video";
|
|
50
|
+
meeting_check_in_import: "meeting_check_in_import";
|
|
49
51
|
news_attachment: "news_attachment";
|
|
50
52
|
notification_attachment: "notification_attachment";
|
|
51
53
|
other: "other";
|
|
@@ -86,6 +88,7 @@ export declare const fileStorageWithRelationsSchema: import("@sinclair/typebox")
|
|
|
86
88
|
kyc_document: "kyc_document";
|
|
87
89
|
ledger_account_import: "ledger_account_import";
|
|
88
90
|
live_stream_video: "live_stream_video";
|
|
91
|
+
meeting_check_in_import: "meeting_check_in_import";
|
|
89
92
|
news_attachment: "news_attachment";
|
|
90
93
|
notification_attachment: "notification_attachment";
|
|
91
94
|
other: "other";
|
|
@@ -153,6 +156,7 @@ export declare const listAdminFilesResponseSchema: import("@sinclair/typebox").T
|
|
|
153
156
|
kyc_document: "kyc_document";
|
|
154
157
|
ledger_account_import: "ledger_account_import";
|
|
155
158
|
live_stream_video: "live_stream_video";
|
|
159
|
+
meeting_check_in_import: "meeting_check_in_import";
|
|
156
160
|
news_attachment: "news_attachment";
|
|
157
161
|
notification_attachment: "notification_attachment";
|
|
158
162
|
other: "other";
|
|
@@ -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?: "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;
|
|
420
|
+
businessType?: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_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: "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";
|
|
434
|
+
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_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: "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";
|
|
18
|
+
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_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: "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";
|
|
42
|
+
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_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: "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";
|
|
228
|
+
data: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_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", "app_video", "live_stream_video", "other"];
|
|
235
|
+
enumValues: ["kyc_document", "contract", "financial_report", "ledger_account_import", "meeting_check_in_import", "avatar", "cover_image", "notification_attachment", "transaction_receipt", "export_report", "bank_verification", "news_attachment", "app_video", "live_stream_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: "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";
|
|
741
|
+
data: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_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", "app_video", "live_stream_video", "other"];
|
|
748
|
+
enumValues: ["kyc_document", "contract", "financial_report", "ledger_account_import", "meeting_check_in_import", "avatar", "cover_image", "notification_attachment", "transaction_receipt", "export_report", "bank_verification", "news_attachment", "app_video", "live_stream_video", "other"];
|
|
749
749
|
baseColumn: never;
|
|
750
750
|
identity: undefined;
|
|
751
751
|
generated: undefined;
|
|
@@ -33,7 +33,7 @@ export declare abstract class InternalFileStorageService extends BaseFileStorage
|
|
|
33
33
|
s3Key: string;
|
|
34
34
|
s3Region: string;
|
|
35
35
|
s3ETag: string | null;
|
|
36
|
-
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";
|
|
36
|
+
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
37
37
|
businessId: string | null;
|
|
38
38
|
businessMetadata: string | null;
|
|
39
39
|
ownerId: string;
|
|
@@ -140,6 +140,12 @@ export declare const BUSINESS_TYPE_CONFIG: {
|
|
|
140
140
|
readonly allowedMimeTypes: readonly ["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"];
|
|
141
141
|
readonly description: '\u7528\u6237\u8D26\u6237\u5BFC\u5165\u6587\u4EF6';
|
|
142
142
|
};
|
|
143
|
+
readonly meeting_check_in_import: {
|
|
144
|
+
readonly defaultAccessControl: 'private';
|
|
145
|
+
readonly maxSize: number;
|
|
146
|
+
readonly allowedMimeTypes: readonly ["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.ms-excel", "text/csv"];
|
|
147
|
+
readonly description: '\u4F1A\u8BAE\u7B7E\u5230\u5BFC\u5165\u6587\u4EF6';
|
|
148
|
+
};
|
|
143
149
|
readonly avatar: {
|
|
144
150
|
readonly defaultAccessControl: 'public';
|
|
145
151
|
readonly maxSize: number;
|
|
@@ -251,6 +257,12 @@ export declare function getBusinessTypeConfig<T extends BusinessType>(businessTy
|
|
|
251
257
|
readonly allowedMimeTypes: readonly ["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"];
|
|
252
258
|
readonly description: '\u7528\u6237\u8D26\u6237\u5BFC\u5165\u6587\u4EF6';
|
|
253
259
|
};
|
|
260
|
+
readonly meeting_check_in_import: {
|
|
261
|
+
readonly defaultAccessControl: 'private';
|
|
262
|
+
readonly maxSize: number;
|
|
263
|
+
readonly allowedMimeTypes: readonly ["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.ms-excel", "text/csv"];
|
|
264
|
+
readonly description: '\u4F1A\u8BAE\u7B7E\u5230\u5BFC\u5165\u6587\u4EF6';
|
|
265
|
+
};
|
|
254
266
|
readonly avatar: {
|
|
255
267
|
readonly defaultAccessControl: 'public';
|
|
256
268
|
readonly maxSize: number;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* 文件业务类型枚举
|
|
3
3
|
* 按业务场景分类,便于权限控制和生命周期管理
|
|
4
4
|
*/
|
|
5
|
-
export declare const fileBusinessTypeEnum: import("drizzle-orm/pg-core").PgEnum<["kyc_document", "contract", "financial_report", "ledger_account_import", "avatar", "cover_image", "notification_attachment", "transaction_receipt", "export_report", "bank_verification", "news_attachment", "app_video", "live_stream_video", "other"]>;
|
|
5
|
+
export declare const fileBusinessTypeEnum: import("drizzle-orm/pg-core").PgEnum<["kyc_document", "contract", "financial_report", "ledger_account_import", "meeting_check_in_import", "avatar", "cover_image", "notification_attachment", "transaction_receipt", "export_report", "bank_verification", "news_attachment", "app_video", "live_stream_video", "other"]>;
|
|
6
6
|
/**
|
|
7
7
|
* 文件访问控制枚举
|
|
8
8
|
*/
|
|
@@ -245,14 +245,14 @@ export declare const fileStorage: import("drizzle-orm/pg-core").PgTableWithColum
|
|
|
245
245
|
tableName: "file_storage";
|
|
246
246
|
dataType: "string";
|
|
247
247
|
columnType: "PgEnumColumn";
|
|
248
|
-
data: "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";
|
|
248
|
+
data: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
249
249
|
driverParam: string;
|
|
250
250
|
notNull: true;
|
|
251
251
|
hasDefault: false;
|
|
252
252
|
isPrimaryKey: false;
|
|
253
253
|
isAutoincrement: false;
|
|
254
254
|
hasRuntimeDefault: false;
|
|
255
|
-
enumValues: ["kyc_document", "contract", "financial_report", "ledger_account_import", "avatar", "cover_image", "notification_attachment", "transaction_receipt", "export_report", "bank_verification", "news_attachment", "app_video", "live_stream_video", "other"];
|
|
255
|
+
enumValues: ["kyc_document", "contract", "financial_report", "ledger_account_import", "meeting_check_in_import", "avatar", "cover_image", "notification_attachment", "transaction_receipt", "export_report", "bank_verification", "news_attachment", "app_video", "live_stream_video", "other"];
|
|
256
256
|
baseColumn: never;
|
|
257
257
|
identity: undefined;
|
|
258
258
|
generated: undefined;
|
|
@@ -12,6 +12,7 @@ export declare const generateUploadUrlSchema: import("@sinclair/typebox").TObjec
|
|
|
12
12
|
kyc_document: "kyc_document";
|
|
13
13
|
ledger_account_import: "ledger_account_import";
|
|
14
14
|
live_stream_video: "live_stream_video";
|
|
15
|
+
meeting_check_in_import: "meeting_check_in_import";
|
|
15
16
|
news_attachment: "news_attachment";
|
|
16
17
|
notification_attachment: "notification_attachment";
|
|
17
18
|
other: "other";
|
|
@@ -386,7 +386,7 @@ export declare const fileStorageShareRouter: Elysia<"/file_storage", {
|
|
|
386
386
|
body: {
|
|
387
387
|
fileName: string;
|
|
388
388
|
fileSize: number;
|
|
389
|
-
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";
|
|
389
|
+
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
390
390
|
fileExtension?: string | undefined;
|
|
391
391
|
mimeType?: string | undefined;
|
|
392
392
|
businessId?: string | undefined;
|
|
@@ -10,6 +10,7 @@ export declare const listUserFilesFilterSchema: import("@sinclair/typebox").TObj
|
|
|
10
10
|
kyc_document: "kyc_document";
|
|
11
11
|
ledger_account_import: "ledger_account_import";
|
|
12
12
|
live_stream_video: "live_stream_video";
|
|
13
|
+
meeting_check_in_import: "meeting_check_in_import";
|
|
13
14
|
news_attachment: "news_attachment";
|
|
14
15
|
notification_attachment: "notification_attachment";
|
|
15
16
|
other: "other";
|
|
@@ -46,6 +47,7 @@ export declare const listUserFilesQuerySchema: import("@sinclair/typebox").TObje
|
|
|
46
47
|
kyc_document: "kyc_document";
|
|
47
48
|
ledger_account_import: "ledger_account_import";
|
|
48
49
|
live_stream_video: "live_stream_video";
|
|
50
|
+
meeting_check_in_import: "meeting_check_in_import";
|
|
49
51
|
news_attachment: "news_attachment";
|
|
50
52
|
notification_attachment: "notification_attachment";
|
|
51
53
|
other: "other";
|
|
@@ -294,14 +296,14 @@ export declare const listUserFilesResponseSchema: import("@sinclair/typebox").TO
|
|
|
294
296
|
tableName: "file_storage";
|
|
295
297
|
dataType: "string";
|
|
296
298
|
columnType: "PgEnumColumn";
|
|
297
|
-
data: "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";
|
|
299
|
+
data: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
298
300
|
driverParam: string;
|
|
299
301
|
notNull: true;
|
|
300
302
|
hasDefault: false;
|
|
301
303
|
isPrimaryKey: false;
|
|
302
304
|
isAutoincrement: false;
|
|
303
305
|
hasRuntimeDefault: false;
|
|
304
|
-
enumValues: ["kyc_document", "contract", "financial_report", "ledger_account_import", "avatar", "cover_image", "notification_attachment", "transaction_receipt", "export_report", "bank_verification", "news_attachment", "app_video", "live_stream_video", "other"];
|
|
306
|
+
enumValues: ["kyc_document", "contract", "financial_report", "ledger_account_import", "meeting_check_in_import", "avatar", "cover_image", "notification_attachment", "transaction_receipt", "export_report", "bank_verification", "news_attachment", "app_video", "live_stream_video", "other"];
|
|
305
307
|
baseColumn: never;
|
|
306
308
|
identity: undefined;
|
|
307
309
|
generated: undefined;
|
|
@@ -817,14 +819,14 @@ export declare const getFileByIdResponseSchema: import("drizzle-typebox").BuildS
|
|
|
817
819
|
tableName: "file_storage";
|
|
818
820
|
dataType: "string";
|
|
819
821
|
columnType: "PgEnumColumn";
|
|
820
|
-
data: "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";
|
|
822
|
+
data: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
821
823
|
driverParam: string;
|
|
822
824
|
notNull: true;
|
|
823
825
|
hasDefault: false;
|
|
824
826
|
isPrimaryKey: false;
|
|
825
827
|
isAutoincrement: false;
|
|
826
828
|
hasRuntimeDefault: false;
|
|
827
|
-
enumValues: ["kyc_document", "contract", "financial_report", "ledger_account_import", "avatar", "cover_image", "notification_attachment", "transaction_receipt", "export_report", "bank_verification", "news_attachment", "app_video", "live_stream_video", "other"];
|
|
829
|
+
enumValues: ["kyc_document", "contract", "financial_report", "ledger_account_import", "meeting_check_in_import", "avatar", "cover_image", "notification_attachment", "transaction_receipt", "export_report", "bank_verification", "news_attachment", "app_video", "live_stream_video", "other"];
|
|
828
830
|
baseColumn: never;
|
|
829
831
|
identity: undefined;
|
|
830
832
|
generated: undefined;
|