@r2wa-org/eden 0.0.102 → 0.0.103
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 +693 -0
- 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/db/schemas.d.ts +1 -0
- package/dist/deposit/user/router.d.ts +13 -1
- package/dist/file-storage/user/router.d.ts +1 -13
- package/dist/index.d.ts +693 -0
- package/dist/team/admin/router.d.ts +699 -0
- package/dist/team/index.d.ts +7 -0
- package/dist/team/milestone-reward/admin/reward.dto.schemas.d.ts +285 -0
- package/dist/team/milestone-reward/admin/reward.router.d.ts +1146 -0
- package/dist/team/milestone-reward/admin/reward.service.d.ts +477 -0
- package/dist/team/milestone-reward/constants.d.ts +2 -0
- package/dist/team/milestone-reward/errors/index.d.ts +20 -0
- package/dist/team/milestone-reward/errors/locales/zh.d.ts +19 -0
- package/dist/team/milestone-reward/internal/reward-config.service.d.ts +96 -0
- package/dist/team/milestone-reward/reward.db.schemas.d.ts +862 -0
- package/dist/team/milestone-reward/schema.d.ts +459 -0
- package/dist/team/permissions.d.ts +2 -0
- package/dist/team/user/router.d.ts +1 -13
- package/dist/user-security/user/router.d.ts +13 -1
- package/dist/wallet-type/user/router.d.ts +13 -1
- package/dist/welfare-cycle/admin/router.d.ts +1 -13
- package/package.json +1 -1
|
@@ -2703,6 +2703,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2703
2703
|
readonly 'referral:relation'?: ("bind" | "list" | "read")[] | undefined;
|
|
2704
2704
|
readonly 'shipping_address:item'?: ("create" | "delete" | "list" | "read" | "update")[] | undefined;
|
|
2705
2705
|
readonly 'team:member'?: ("list" | "read" | "stats")[] | undefined;
|
|
2706
|
+
readonly 'team:milestoneRewardPlan'?: ("create" | "delete" | "read" | "update")[] | undefined;
|
|
2707
|
+
readonly 'team:milestoneRewardRule'?: ("create" | "delete" | "list" | "read" | "update")[] | undefined;
|
|
2706
2708
|
readonly 'trade_market:market'?: ("create" | "delete" | "list" | "read" | "update")[] | undefined;
|
|
2707
2709
|
readonly 'trade_market:order'?: ("create" | "list" | "read")[] | undefined;
|
|
2708
2710
|
readonly 'transfer:order'?: ("create" | "list" | "read")[] | undefined;
|
|
@@ -2790,7 +2792,7 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2790
2792
|
};
|
|
2791
2793
|
options: NoInfer<{
|
|
2792
2794
|
ac: {
|
|
2793
|
-
newRole<K extends "admin:user-profile" | "asset-type:type" | "asset:item" | "asset_convert_product:order" | "asset_convert_product:product" | "asset_price:admin" | "asset_price:price" | "checkIn:admin" | "checkIn:checkIn" | "checkIn:rewardPlan" | "checkIn:rewardRule" | "content_video:video" | "deposit:order" | "deposit:review" | "kyc:admin" | "kyc:method" | "ledger-account:account" | "ledger-account:type" | "ledger:entry" | "ledger_account:import" | "market_data:admin" | "market_data:kline" | "market_data:ticker" | "market_pricing:strategy" | "news:category" | "news:news" | "notification:admin" | "notification:notification" | "receipt_method:item" | "referral:depth-config" | "referral:relation" | "session" | "shipping_address:item" | "team:member" | "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, {
|
|
2795
|
+
newRole<K extends "admin:user-profile" | "asset-type:type" | "asset:item" | "asset_convert_product:order" | "asset_convert_product:product" | "asset_price:admin" | "asset_price:price" | "checkIn:admin" | "checkIn:checkIn" | "checkIn:rewardPlan" | "checkIn:rewardRule" | "content_video:video" | "deposit:order" | "deposit:review" | "kyc:admin" | "kyc:method" | "ledger-account:account" | "ledger-account:type" | "ledger:entry" | "ledger_account:import" | "market_data:admin" | "market_data:kline" | "market_data:ticker" | "market_pricing:strategy" | "news:category" | "news:news" | "notification:admin" | "notification:notification" | "receipt_method:item" | "referral:depth-config" | "referral:relation" | "session" | "shipping_address:item" | "team:member" | "team: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, {
|
|
2794
2796
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "impersonate-admins", "delete", "set-password", "get", "update"];
|
|
2795
2797
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
2796
2798
|
readonly 'asset_convert_product:product': readonly ['create', 'read', 'update', 'list'];
|
|
@@ -2823,6 +2825,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2823
2825
|
readonly 'referral:relation': readonly ['bind', 'read', 'list'];
|
|
2824
2826
|
readonly 'shipping_address:item': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2825
2827
|
readonly 'team:member': readonly ['read', 'list', 'stats'];
|
|
2828
|
+
readonly 'team:milestoneRewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
2829
|
+
readonly 'team:milestoneRewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2826
2830
|
readonly 'trade_market:market': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2827
2831
|
readonly 'trade_market:order': readonly ['create', 'read', 'list'];
|
|
2828
2832
|
readonly 'transfer:order': readonly ['create', 'read', 'list'];
|
|
@@ -2873,6 +2877,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2873
2877
|
readonly 'referral:relation': readonly ['bind', 'read', 'list'];
|
|
2874
2878
|
readonly 'shipping_address:item': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2875
2879
|
readonly 'team:member': readonly ['read', 'list', 'stats'];
|
|
2880
|
+
readonly 'team:milestoneRewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
2881
|
+
readonly 'team:milestoneRewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2876
2882
|
readonly 'trade_market:market': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2877
2883
|
readonly 'trade_market:order': readonly ['create', 'read', 'list'];
|
|
2878
2884
|
readonly 'transfer:order': readonly ['create', 'read', 'list'];
|
|
@@ -2923,6 +2929,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2923
2929
|
readonly 'referral:relation': readonly ['bind', 'read', 'list'];
|
|
2924
2930
|
readonly 'shipping_address:item': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2925
2931
|
readonly 'team:member': readonly ['read', 'list', 'stats'];
|
|
2932
|
+
readonly 'team:milestoneRewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
2933
|
+
readonly 'team:milestoneRewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2926
2934
|
readonly 'trade_market:market': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2927
2935
|
readonly 'trade_market:order': readonly ['create', 'read', 'list'];
|
|
2928
2936
|
readonly 'transfer:order': readonly ['create', 'read', 'list'];
|
|
@@ -2972,6 +2980,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2972
2980
|
readonly 'referral:relation': readonly ['bind', 'read', 'list'];
|
|
2973
2981
|
readonly 'shipping_address:item': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2974
2982
|
readonly 'team:member': readonly ['read', 'list', 'stats'];
|
|
2983
|
+
readonly 'team:milestoneRewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
2984
|
+
readonly 'team:milestoneRewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2975
2985
|
readonly 'trade_market:market': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2976
2986
|
readonly 'trade_market:order': readonly ['create', 'read', 'list'];
|
|
2977
2987
|
readonly 'transfer:order': readonly ['create', 'read', 'list'];
|
|
@@ -3022,6 +3032,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
3022
3032
|
readonly 'referral:relation': readonly ['bind', 'read', 'list'];
|
|
3023
3033
|
readonly 'shipping_address:item': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
3024
3034
|
readonly 'team:member': readonly ['read', 'list', 'stats'];
|
|
3035
|
+
readonly 'team:milestoneRewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
3036
|
+
readonly 'team:milestoneRewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
3025
3037
|
readonly 'trade_market:market': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
3026
3038
|
readonly 'trade_market:order': readonly ['create', 'read', 'list'];
|
|
3027
3039
|
readonly 'transfer:order': readonly ['create', 'read', '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" | "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" | "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" | "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: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'];
|
|
@@ -32,6 +32,8 @@ export declare const ac: {
|
|
|
32
32
|
readonly 'referral:relation': readonly ['bind', 'read', 'list'];
|
|
33
33
|
readonly 'shipping_address:item': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
34
34
|
readonly 'team:member': readonly ['read', 'list', 'stats'];
|
|
35
|
+
readonly 'team:milestoneRewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
36
|
+
readonly 'team:milestoneRewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
35
37
|
readonly 'trade_market:market': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
36
38
|
readonly 'trade_market:order': readonly ['create', 'read', 'list'];
|
|
37
39
|
readonly 'transfer:order': readonly ['create', 'read', 'list'];
|
|
@@ -82,6 +84,8 @@ export declare const ac: {
|
|
|
82
84
|
readonly 'referral:relation': readonly ['bind', 'read', 'list'];
|
|
83
85
|
readonly 'shipping_address:item': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
84
86
|
readonly 'team:member': readonly ['read', 'list', 'stats'];
|
|
87
|
+
readonly 'team:milestoneRewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
88
|
+
readonly 'team:milestoneRewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
85
89
|
readonly 'trade_market:market': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
86
90
|
readonly 'trade_market:order': readonly ['create', 'read', 'list'];
|
|
87
91
|
readonly 'transfer:order': readonly ['create', 'read', 'list'];
|
|
@@ -132,6 +136,8 @@ export declare const ac: {
|
|
|
132
136
|
readonly 'referral:relation': readonly ['bind', 'read', 'list'];
|
|
133
137
|
readonly 'shipping_address:item': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
134
138
|
readonly 'team:member': readonly ['read', 'list', 'stats'];
|
|
139
|
+
readonly 'team:milestoneRewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
140
|
+
readonly 'team:milestoneRewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
135
141
|
readonly 'trade_market:market': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
136
142
|
readonly 'trade_market:order': readonly ['create', 'read', 'list'];
|
|
137
143
|
readonly 'transfer:order': readonly ['create', 'read', 'list'];
|
|
@@ -181,6 +187,8 @@ export declare const ac: {
|
|
|
181
187
|
readonly 'referral:relation': readonly ['bind', 'read', 'list'];
|
|
182
188
|
readonly 'shipping_address:item': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
183
189
|
readonly 'team:member': readonly ['read', 'list', 'stats'];
|
|
190
|
+
readonly 'team:milestoneRewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
191
|
+
readonly 'team:milestoneRewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
184
192
|
readonly 'trade_market:market': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
185
193
|
readonly 'trade_market:order': readonly ['create', 'read', 'list'];
|
|
186
194
|
readonly 'transfer:order': readonly ['create', 'read', 'list'];
|
|
@@ -231,6 +239,8 @@ export declare const ac: {
|
|
|
231
239
|
readonly 'referral:relation': readonly ['bind', 'read', 'list'];
|
|
232
240
|
readonly 'shipping_address:item': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
233
241
|
readonly 'team:member': readonly ['read', 'list', 'stats'];
|
|
242
|
+
readonly 'team:milestoneRewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
243
|
+
readonly 'team:milestoneRewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
234
244
|
readonly 'trade_market:market': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
235
245
|
readonly 'trade_market:order': readonly ['create', 'read', 'list'];
|
|
236
246
|
readonly 'transfer:order': readonly ['create', 'read', 'list'];
|
package/dist/auth/roles.d.ts
CHANGED
|
@@ -33,6 +33,8 @@ export declare const authAdmin: {
|
|
|
33
33
|
readonly 'referral:relation': readonly ['bind', 'read', 'list'];
|
|
34
34
|
readonly 'shipping_address:item': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
35
35
|
readonly 'team:member': readonly ['read', 'list', 'stats'];
|
|
36
|
+
readonly 'team:milestoneRewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
37
|
+
readonly 'team:milestoneRewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
36
38
|
readonly 'trade_market:market': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
37
39
|
readonly 'trade_market:order': readonly ['create', 'read', 'list'];
|
|
38
40
|
readonly 'transfer:order': readonly ['create', 'read', 'list'];
|
|
@@ -83,6 +85,8 @@ export declare const authAdmin: {
|
|
|
83
85
|
readonly 'referral:relation': readonly ['bind', 'read', 'list'];
|
|
84
86
|
readonly 'shipping_address:item': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
85
87
|
readonly 'team:member': readonly ['read', 'list', 'stats'];
|
|
88
|
+
readonly 'team:milestoneRewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
89
|
+
readonly 'team:milestoneRewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
86
90
|
readonly 'trade_market:market': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
87
91
|
readonly 'trade_market:order': readonly ['create', 'read', 'list'];
|
|
88
92
|
readonly 'transfer:order': readonly ['create', 'read', 'list'];
|
|
@@ -132,6 +136,8 @@ export declare const authAdmin: {
|
|
|
132
136
|
readonly 'referral:relation': readonly ['bind', 'read', 'list'];
|
|
133
137
|
readonly 'shipping_address:item': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
134
138
|
readonly 'team:member': readonly ['read', 'list', 'stats'];
|
|
139
|
+
readonly 'team:milestoneRewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
140
|
+
readonly 'team:milestoneRewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
135
141
|
readonly 'trade_market:market': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
136
142
|
readonly 'trade_market:order': readonly ['create', 'read', 'list'];
|
|
137
143
|
readonly 'transfer:order': readonly ['create', 'read', 'list'];
|
|
@@ -184,6 +190,8 @@ export declare const authUser: {
|
|
|
184
190
|
readonly 'referral:relation': readonly ['bind', 'read', 'list'];
|
|
185
191
|
readonly 'shipping_address:item': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
186
192
|
readonly 'team:member': readonly ['read', 'list', 'stats'];
|
|
193
|
+
readonly 'team:milestoneRewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
194
|
+
readonly 'team:milestoneRewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
187
195
|
readonly 'trade_market:market': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
188
196
|
readonly 'trade_market:order': readonly ['create', 'read', 'list'];
|
|
189
197
|
readonly 'transfer:order': readonly ['create', 'read', 'list'];
|
|
@@ -234,6 +242,8 @@ export declare const authUser: {
|
|
|
234
242
|
readonly 'referral:relation': readonly ['bind', 'read', 'list'];
|
|
235
243
|
readonly 'shipping_address:item': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
236
244
|
readonly 'team:member': readonly ['read', 'list', 'stats'];
|
|
245
|
+
readonly 'team:milestoneRewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
246
|
+
readonly 'team:milestoneRewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
237
247
|
readonly 'trade_market:market': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
238
248
|
readonly 'trade_market:order': readonly ['create', 'read', 'list'];
|
|
239
249
|
readonly 'transfer:order': readonly ['create', 'read', 'list'];
|
|
@@ -283,6 +293,8 @@ export declare const authUser: {
|
|
|
283
293
|
readonly 'referral:relation': readonly ['bind', 'read', 'list'];
|
|
284
294
|
readonly 'shipping_address:item': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
285
295
|
readonly 'team:member': readonly ['read', 'list', 'stats'];
|
|
296
|
+
readonly 'team:milestoneRewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
297
|
+
readonly 'team:milestoneRewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
286
298
|
readonly 'trade_market:market': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
287
299
|
readonly 'trade_market:order': readonly ['create', 'read', 'list'];
|
|
288
300
|
readonly 'transfer:order': readonly ['create', 'read', 'list'];
|
|
@@ -340,6 +352,8 @@ export declare const superAdmin: {
|
|
|
340
352
|
readonly 'referral:relation': readonly ['bind', 'read', 'list'];
|
|
341
353
|
readonly 'shipping_address:item': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
342
354
|
readonly 'team:member': readonly ['read', 'list', 'stats'];
|
|
355
|
+
readonly 'team:milestoneRewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
356
|
+
readonly 'team:milestoneRewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
343
357
|
readonly 'trade_market:market': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
344
358
|
readonly 'trade_market:order': readonly ['create', 'read', 'list'];
|
|
345
359
|
readonly 'transfer:order': readonly ['create', 'read', 'list'];
|
|
@@ -390,6 +404,8 @@ export declare const superAdmin: {
|
|
|
390
404
|
readonly 'referral:relation': readonly ['bind', 'read', 'list'];
|
|
391
405
|
readonly 'shipping_address:item': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
392
406
|
readonly 'team:member': readonly ['read', 'list', 'stats'];
|
|
407
|
+
readonly 'team:milestoneRewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
408
|
+
readonly 'team:milestoneRewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
393
409
|
readonly 'trade_market:market': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
394
410
|
readonly 'trade_market:order': readonly ['create', 'read', 'list'];
|
|
395
411
|
readonly 'transfer:order': readonly ['create', 'read', 'list'];
|
|
@@ -439,6 +455,8 @@ export declare const superAdmin: {
|
|
|
439
455
|
readonly 'referral:relation': readonly ['bind', 'read', 'list'];
|
|
440
456
|
readonly 'shipping_address:item': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
441
457
|
readonly 'team:member': readonly ['read', 'list', 'stats'];
|
|
458
|
+
readonly 'team:milestoneRewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
459
|
+
readonly 'team:milestoneRewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
442
460
|
readonly 'trade_market:market': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
443
461
|
readonly 'trade_market:order': readonly ['create', 'read', 'list'];
|
|
444
462
|
readonly 'transfer:order': readonly ['create', 'read', 'list'];
|
|
@@ -496,6 +514,8 @@ export declare const user: {
|
|
|
496
514
|
readonly 'referral:relation': readonly ['bind', 'read', 'list'];
|
|
497
515
|
readonly 'shipping_address:item': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
498
516
|
readonly 'team:member': readonly ['read', 'list', 'stats'];
|
|
517
|
+
readonly 'team:milestoneRewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
518
|
+
readonly 'team:milestoneRewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
499
519
|
readonly 'trade_market:market': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
500
520
|
readonly 'trade_market:order': readonly ['create', 'read', 'list'];
|
|
501
521
|
readonly 'transfer:order': readonly ['create', 'read', 'list'];
|
|
@@ -546,6 +566,8 @@ export declare const user: {
|
|
|
546
566
|
readonly 'referral:relation': readonly ['bind', 'read', 'list'];
|
|
547
567
|
readonly 'shipping_address:item': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
548
568
|
readonly 'team:member': readonly ['read', 'list', 'stats'];
|
|
569
|
+
readonly 'team:milestoneRewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
570
|
+
readonly 'team:milestoneRewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
549
571
|
readonly 'trade_market:market': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
550
572
|
readonly 'trade_market:order': readonly ['create', 'read', 'list'];
|
|
551
573
|
readonly 'transfer:order': readonly ['create', 'read', 'list'];
|
|
@@ -595,6 +617,8 @@ export declare const user: {
|
|
|
595
617
|
readonly 'referral:relation': readonly ['bind', 'read', 'list'];
|
|
596
618
|
readonly 'shipping_address:item': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
597
619
|
readonly 'team:member': readonly ['read', 'list', 'stats'];
|
|
620
|
+
readonly 'team:milestoneRewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
621
|
+
readonly 'team:milestoneRewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
598
622
|
readonly 'trade_market:market': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
599
623
|
readonly 'trade_market:order': readonly ['create', 'read', 'list'];
|
|
600
624
|
readonly 'transfer:order': readonly ['create', 'read', 'list'];
|
|
@@ -652,6 +676,8 @@ export declare const admin: {
|
|
|
652
676
|
readonly 'referral:relation': readonly ['bind', 'read', 'list'];
|
|
653
677
|
readonly 'shipping_address:item': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
654
678
|
readonly 'team:member': readonly ['read', 'list', 'stats'];
|
|
679
|
+
readonly 'team:milestoneRewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
680
|
+
readonly 'team:milestoneRewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
655
681
|
readonly 'trade_market:market': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
656
682
|
readonly 'trade_market:order': readonly ['create', 'read', 'list'];
|
|
657
683
|
readonly 'transfer:order': readonly ['create', 'read', 'list'];
|
|
@@ -702,6 +728,8 @@ export declare const admin: {
|
|
|
702
728
|
readonly 'referral:relation': readonly ['bind', 'read', 'list'];
|
|
703
729
|
readonly 'shipping_address:item': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
704
730
|
readonly 'team:member': readonly ['read', 'list', 'stats'];
|
|
731
|
+
readonly 'team:milestoneRewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
732
|
+
readonly 'team:milestoneRewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
705
733
|
readonly 'trade_market:market': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
706
734
|
readonly 'trade_market:order': readonly ['create', 'read', 'list'];
|
|
707
735
|
readonly 'transfer:order': readonly ['create', 'read', 'list'];
|
|
@@ -751,6 +779,8 @@ export declare const admin: {
|
|
|
751
779
|
readonly 'referral:relation': readonly ['bind', 'read', 'list'];
|
|
752
780
|
readonly 'shipping_address:item': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
753
781
|
readonly 'team:member': readonly ['read', 'list', 'stats'];
|
|
782
|
+
readonly 'team:milestoneRewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
783
|
+
readonly 'team:milestoneRewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
754
784
|
readonly 'trade_market:market': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
755
785
|
readonly 'trade_market:order': readonly ['create', 'read', 'list'];
|
|
756
786
|
readonly 'transfer:order': readonly ['create', 'read', 'list'];
|
package/dist/db/schemas.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export * from '../file-storage/schema';
|
|
|
25
25
|
export * from '../notification/schema';
|
|
26
26
|
export * from '../referral/schema';
|
|
27
27
|
export * from '../referral-depth-config/schema';
|
|
28
|
+
export * from '../team/milestone-reward/schema';
|
|
28
29
|
export * from '../news-category/schema';
|
|
29
30
|
export * from '../news/schema';
|
|
30
31
|
export * from '../app-version/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;
|
|
@@ -35,19 +35,7 @@ export declare const fileStorageRouter: Elysia<"/file_storage", {
|
|
|
35
35
|
headers: import("elysia").HTTPHeaders;
|
|
36
36
|
status?: number | keyof import("elysia").StatusMap;
|
|
37
37
|
redirect?: string;
|
|
38
|
-
cookie?: Record<string,
|
|
39
|
-
domain?: string | undefined;
|
|
40
|
-
expires?: Date | undefined;
|
|
41
|
-
httpOnly?: boolean | undefined;
|
|
42
|
-
maxAge?: number | undefined;
|
|
43
|
-
path?: string | undefined;
|
|
44
|
-
priority?: 'low' | 'medium' | 'high' | undefined;
|
|
45
|
-
partitioned?: boolean | undefined;
|
|
46
|
-
sameSite?: true | false | 'lax' | 'strict' | 'none' | undefined;
|
|
47
|
-
secure?: boolean | undefined;
|
|
48
|
-
secrets?: string | null | (string | null)[];
|
|
49
|
-
value?: unknown;
|
|
50
|
-
}>;
|
|
38
|
+
cookie?: Record<string, import("elysia/cookies").ElysiaCookie>;
|
|
51
39
|
};
|
|
52
40
|
path: string;
|
|
53
41
|
route: string;
|