@r2wa-org/eden 0.0.110 → 0.0.112

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.
Files changed (53) hide show
  1. package/dist/admin/index.d.ts +1783 -3
  2. package/dist/asset/admin/router.d.ts +1 -13
  3. package/dist/asset-price/user/router.d.ts +13 -1
  4. package/dist/auth/better-auth.d.ts +13 -1
  5. package/dist/auth/permissions.d.ts +11 -1
  6. package/dist/auth/roles.d.ts +30 -0
  7. package/dist/content-video/internal/service.d.ts +2 -2
  8. package/dist/db/schemas.d.ts +2 -0
  9. package/dist/file-storage/admin/dto.schemas.d.ts +4 -0
  10. package/dist/file-storage/admin/router.d.ts +2 -2
  11. package/dist/file-storage/admin/service.d.ts +2 -2
  12. package/dist/file-storage/db.schemas.d.ts +4 -4
  13. package/dist/file-storage/internal/service.d.ts +1 -1
  14. package/dist/file-storage/s3.client.d.ts +22 -0
  15. package/dist/file-storage/schema.d.ts +3 -3
  16. package/dist/file-storage/share/dto.schemas.d.ts +1 -0
  17. package/dist/file-storage/share/router.d.ts +1 -1
  18. package/dist/file-storage/user/dto.schemas.d.ts +6 -4
  19. package/dist/file-storage/user/router.d.ts +3 -3
  20. package/dist/file-storage/user/service.d.ts +2 -2
  21. package/dist/index.d.ts +1873 -7
  22. package/dist/live-stream-video/admin/dto.schemas.d.ts +128 -0
  23. package/dist/live-stream-video/admin/router.d.ts +861 -0
  24. package/dist/live-stream-video/admin/service.d.ts +211 -0
  25. package/dist/live-stream-video/db.schemas.d.ts +486 -0
  26. package/dist/live-stream-video/errors/index.d.ts +17 -0
  27. package/dist/live-stream-video/errors/locales/zh.d.ts +16 -0
  28. package/dist/live-stream-video/index.d.ts +8 -0
  29. package/dist/live-stream-video/internal/service.d.ts +108 -0
  30. package/dist/live-stream-video/permissions.d.ts +4 -0
  31. package/dist/live-stream-video/schema.d.ts +257 -0
  32. package/dist/live-stream-video/user/dto.schemas.d.ts +52 -0
  33. package/dist/live-stream-video/user/router.d.ts +482 -0
  34. package/dist/live-stream-video/user/service.d.ts +36 -0
  35. package/dist/meeting-check-in/admin/attendee-reward.dto.schemas.d.ts +269 -0
  36. package/dist/meeting-check-in/admin/attendee-reward.service.d.ts +470 -0
  37. package/dist/meeting-check-in/admin/referral-reward.dto.schemas.d.ts +269 -0
  38. package/dist/meeting-check-in/admin/referral-reward.service.d.ts +470 -0
  39. package/dist/meeting-check-in/admin/reward-response.schemas.d.ts +19 -0
  40. package/dist/meeting-check-in/admin/router.d.ts +4054 -0
  41. package/dist/meeting-check-in/errors/index.d.ts +22 -0
  42. package/dist/meeting-check-in/errors/locales/zh.d.ts +21 -0
  43. package/dist/meeting-check-in/internal/reward-config.service.d.ts +127 -0
  44. package/dist/meeting-check-in/permissions.d.ts +4 -0
  45. package/dist/meeting-check-in/reward.db.schemas.d.ts +1656 -0
  46. package/dist/meeting-check-in/schema.d.ts +884 -0
  47. package/dist/news/admin/router.d.ts +1 -1
  48. package/dist/news/admin/service.d.ts +1 -1
  49. package/dist/news/user/router.d.ts +1 -13
  50. package/dist/news/user/service.d.ts +2 -2
  51. package/dist/trade-market/user/router.d.ts +13 -1
  52. package/dist/transfer/user/router.d.ts +1 -13
  53. package/package.json +1 -1
@@ -539,7 +539,7 @@ export declare const newsAdminRouter: Elysia<"/news", {
539
539
  archivedAt: Date | null;
540
540
  businessId: string | null;
541
541
  businessMetadata: string | null;
542
- 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";
542
+ 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";
543
543
  createdAt: Date;
544
544
  deletedAt: Date | null;
545
545
  downloadCount: number | null;
@@ -91,7 +91,7 @@ export declare abstract class AdminNewsService extends BaseNewsService {
91
91
  archivedAt: Date | null;
92
92
  businessId: string | null;
93
93
  businessMetadata: string | null;
94
- 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";
94
+ 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";
95
95
  createdAt: Date;
96
96
  deletedAt: Date | null;
97
97
  downloadCount: number | null;
@@ -35,19 +35,7 @@ export declare const newsRouter: Elysia<"/news", {
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;
@@ -85,7 +85,7 @@ export declare abstract class UserNewsService extends BaseNewsService {
85
85
  archivedAt: Date | null;
86
86
  businessId: string | null;
87
87
  businessMetadata: string | null;
88
- 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";
88
+ 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";
89
89
  createdAt: Date;
90
90
  deletedAt: Date | null;
91
91
  downloadCount: number | null;
@@ -152,7 +152,7 @@ export declare abstract class UserNewsService extends BaseNewsService {
152
152
  archivedAt: Date | null;
153
153
  businessId: string | null;
154
154
  businessMetadata: string | null;
155
- 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";
155
+ 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";
156
156
  createdAt: Date;
157
157
  deletedAt: Date | null;
158
158
  downloadCount: number | null;
@@ -35,7 +35,19 @@ export declare const tradeMarketRouter: Elysia<"/trade_market", {
35
35
  headers: import("elysia").HTTPHeaders;
36
36
  status?: number | keyof import("elysia").StatusMap;
37
37
  redirect?: string;
38
- cookie?: Record<string, import("elysia/cookies").ElysiaCookie>;
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 transferRouter: Elysia<"/transfer", {
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@r2wa-org/eden",
3
- "version": "0.0.110",
3
+ "version": "0.0.112",
4
4
  "description": "Elysia API type definitions for Eden Treaty",
5
5
  "files": [
6
6
  "dist"