@r2wa-org/eden 0.0.99 → 0.0.101

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 (34) hide show
  1. package/dist/admin/index.d.ts +706 -12
  2. package/dist/asset-convert-product/admin/router.d.ts +1 -13
  3. package/dist/auth/better-auth.d.ts +13 -1
  4. package/dist/auth/permissions.d.ts +11 -1
  5. package/dist/auth/roles.d.ts +30 -0
  6. package/dist/bank-account/admin/router.d.ts +1 -13
  7. package/dist/check-in/admin/reward.dto.schemas.d.ts +179 -0
  8. package/dist/check-in/admin/reward.router.d.ts +1091 -0
  9. package/dist/check-in/admin/reward.service.d.ts +430 -0
  10. package/dist/check-in/admin/router.d.ts +644 -0
  11. package/dist/check-in/errors/index.d.ts +10 -0
  12. package/dist/check-in/errors/locales/zh.d.ts +10 -0
  13. package/dist/check-in/index.d.ts +5 -0
  14. package/dist/check-in/internal/reward-config.service.d.ts +97 -0
  15. package/dist/check-in/permissions.d.ts +2 -0
  16. package/dist/check-in/reward.db.schemas.d.ts +896 -0
  17. package/dist/check-in/reward.schema.d.ts +477 -0
  18. package/dist/content-video/admin/dto.schemas.d.ts +14 -14
  19. package/dist/content-video/admin/router.d.ts +12 -12
  20. package/dist/content-video/admin/service.d.ts +1 -0
  21. package/dist/db/schemas.d.ts +1 -0
  22. package/dist/index.d.ts +722 -12
  23. package/dist/lock-activity/admin/dto.schemas.d.ts +16 -0
  24. package/dist/lock-activity/admin/router.d.ts +69 -1
  25. package/dist/lock-activity/admin/service.d.ts +134 -8
  26. package/dist/lock-activity/db.schemas.d.ts +34 -0
  27. package/dist/lock-activity/internal/service.d.ts +41 -0
  28. package/dist/lock-activity/schema.d.ts +18 -0
  29. package/dist/lock-activity/shared.dto.schemas.d.ts +7 -0
  30. package/dist/lock-activity/user/dto.schemas.d.ts +24 -0
  31. package/dist/lock-activity/user/router.d.ts +16 -0
  32. package/dist/lock-activity/user/service.d.ts +39 -3
  33. package/dist/news/admin/router.d.ts +13 -1
  34. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -4369,6 +4369,644 @@ declare const app: Elysia<"/api", {
4369
4369
  } & {
4370
4370
  admin: {
4371
4371
  checkIns: {};
4372
+ } & {
4373
+ checkIns: {
4374
+ "reward-plans": {};
4375
+ } & {
4376
+ "reward-plans": {
4377
+ get: {
4378
+ body: {};
4379
+ params: {};
4380
+ query: {};
4381
+ headers: {};
4382
+ response: {
4383
+ 200: {
4384
+ checkInType: "app" | "meeting";
4385
+ createdAt: Date;
4386
+ createdBy: string;
4387
+ creator: {
4388
+ id: string;
4389
+ name: string;
4390
+ email: string;
4391
+ } | null;
4392
+ dailyPayoutAccountType: {
4393
+ id: string;
4394
+ key: string;
4395
+ name: string;
4396
+ isActive: boolean;
4397
+ };
4398
+ dailyPayoutAccountTypeId: string;
4399
+ dailyRewardAmount: string;
4400
+ dailyRewardCategory: string;
4401
+ id: string;
4402
+ isEnabled: boolean;
4403
+ name: string;
4404
+ rewardAsset: {
4405
+ id: string;
4406
+ code: string;
4407
+ name: string;
4408
+ symbol: string | null;
4409
+ precision: number;
4410
+ isActive: boolean;
4411
+ };
4412
+ rewardAssetId: string;
4413
+ rules: {
4414
+ createdAt: Date;
4415
+ createdBy: string;
4416
+ creator: {
4417
+ id: string;
4418
+ name: string;
4419
+ email: string;
4420
+ } | null;
4421
+ id: string;
4422
+ isEnabled: boolean;
4423
+ payoutAccountType: {
4424
+ id: string;
4425
+ key: string;
4426
+ name: string;
4427
+ isActive: boolean;
4428
+ };
4429
+ payoutAccountTypeId: string;
4430
+ planId: string;
4431
+ rewardAmount: string;
4432
+ rewardCategory: string;
4433
+ ruleType: "consecutive" | "cumulative";
4434
+ sortOrder: number;
4435
+ thresholdDays: number;
4436
+ updatedAt: Date;
4437
+ updatedBy: string | null;
4438
+ updater: {
4439
+ id: string;
4440
+ name: string;
4441
+ email: string;
4442
+ } | null;
4443
+ }[];
4444
+ sortOrder: number;
4445
+ updatedAt: Date;
4446
+ updatedBy: string | null;
4447
+ updater: {
4448
+ id: string;
4449
+ name: string;
4450
+ email: string;
4451
+ } | null;
4452
+ };
4453
+ 401: "Unauthorized";
4454
+ 403: "Forbidden: Admins only";
4455
+ 422: {
4456
+ type: 'validation';
4457
+ on: string;
4458
+ summary?: string;
4459
+ message?: string;
4460
+ found?: unknown;
4461
+ property?: string;
4462
+ expected?: string;
4463
+ };
4464
+ };
4465
+ };
4466
+ };
4467
+ } & {
4468
+ "reward-plans": {
4469
+ post: {
4470
+ body: {
4471
+ checkInType?: "app" | "meeting" | undefined;
4472
+ dailyPayoutAccountTypeId: string;
4473
+ dailyRewardAmount: string;
4474
+ dailyRewardCategory?: string | undefined;
4475
+ isEnabled?: boolean | undefined;
4476
+ name: string;
4477
+ rewardAssetId: string;
4478
+ rules?: {
4479
+ isEnabled?: boolean | undefined;
4480
+ payoutAccountTypeId: string;
4481
+ rewardAmount: string;
4482
+ rewardCategory?: string | undefined;
4483
+ ruleType: "consecutive" | "cumulative";
4484
+ sortOrder?: number | undefined;
4485
+ thresholdDays: number;
4486
+ }[] | undefined;
4487
+ sortOrder?: number | undefined;
4488
+ };
4489
+ params: {};
4490
+ query: {};
4491
+ headers: {};
4492
+ response: {
4493
+ 200: {
4494
+ checkInType: "app" | "meeting";
4495
+ createdAt: Date;
4496
+ createdBy: string;
4497
+ creator: {
4498
+ id: string;
4499
+ name: string;
4500
+ email: string;
4501
+ } | null;
4502
+ dailyPayoutAccountType: {
4503
+ id: string;
4504
+ key: string;
4505
+ name: string;
4506
+ isActive: boolean;
4507
+ };
4508
+ dailyPayoutAccountTypeId: string;
4509
+ dailyRewardAmount: string;
4510
+ dailyRewardCategory: string;
4511
+ id: string;
4512
+ isEnabled: boolean;
4513
+ name: string;
4514
+ rewardAsset: {
4515
+ id: string;
4516
+ code: string;
4517
+ name: string;
4518
+ symbol: string | null;
4519
+ precision: number;
4520
+ isActive: boolean;
4521
+ };
4522
+ rewardAssetId: string;
4523
+ rules: {
4524
+ createdAt: Date;
4525
+ createdBy: string;
4526
+ creator: {
4527
+ id: string;
4528
+ name: string;
4529
+ email: string;
4530
+ } | null;
4531
+ id: string;
4532
+ isEnabled: boolean;
4533
+ payoutAccountType: {
4534
+ id: string;
4535
+ key: string;
4536
+ name: string;
4537
+ isActive: boolean;
4538
+ };
4539
+ payoutAccountTypeId: string;
4540
+ planId: string;
4541
+ rewardAmount: string;
4542
+ rewardCategory: string;
4543
+ ruleType: "consecutive" | "cumulative";
4544
+ sortOrder: number;
4545
+ thresholdDays: number;
4546
+ updatedAt: Date;
4547
+ updatedBy: string | null;
4548
+ updater: {
4549
+ id: string;
4550
+ name: string;
4551
+ email: string;
4552
+ } | null;
4553
+ }[];
4554
+ sortOrder: number;
4555
+ updatedAt: Date;
4556
+ updatedBy: string | null;
4557
+ updater: {
4558
+ id: string;
4559
+ name: string;
4560
+ email: string;
4561
+ } | null;
4562
+ };
4563
+ 401: "Unauthorized";
4564
+ 403: "Forbidden: Admins only";
4565
+ 422: {
4566
+ type: 'validation';
4567
+ on: string;
4568
+ summary?: string;
4569
+ message?: string;
4570
+ found?: unknown;
4571
+ property?: string;
4572
+ expected?: string;
4573
+ };
4574
+ };
4575
+ };
4576
+ };
4577
+ } & {
4578
+ "reward-plans": {
4579
+ patch: {
4580
+ body: {
4581
+ name?: string | undefined;
4582
+ rewardAssetId?: string | undefined;
4583
+ dailyRewardAmount?: string | undefined;
4584
+ dailyRewardCategory?: string | undefined;
4585
+ dailyPayoutAccountTypeId?: string | undefined;
4586
+ checkInType?: "app" | "meeting" | undefined;
4587
+ isEnabled?: boolean | undefined;
4588
+ sortOrder?: number | undefined;
4589
+ };
4590
+ params: {};
4591
+ query: {};
4592
+ headers: {};
4593
+ response: {
4594
+ 200: {
4595
+ checkInType: "app" | "meeting";
4596
+ createdAt: Date;
4597
+ createdBy: string;
4598
+ creator: {
4599
+ id: string;
4600
+ name: string;
4601
+ email: string;
4602
+ } | null;
4603
+ dailyPayoutAccountType: {
4604
+ id: string;
4605
+ key: string;
4606
+ name: string;
4607
+ isActive: boolean;
4608
+ };
4609
+ dailyPayoutAccountTypeId: string;
4610
+ dailyRewardAmount: string;
4611
+ dailyRewardCategory: string;
4612
+ id: string;
4613
+ isEnabled: boolean;
4614
+ name: string;
4615
+ rewardAsset: {
4616
+ id: string;
4617
+ code: string;
4618
+ name: string;
4619
+ symbol: string | null;
4620
+ precision: number;
4621
+ isActive: boolean;
4622
+ };
4623
+ rewardAssetId: string;
4624
+ rules: {
4625
+ createdAt: Date;
4626
+ createdBy: string;
4627
+ creator: {
4628
+ id: string;
4629
+ name: string;
4630
+ email: string;
4631
+ } | null;
4632
+ id: string;
4633
+ isEnabled: boolean;
4634
+ payoutAccountType: {
4635
+ id: string;
4636
+ key: string;
4637
+ name: string;
4638
+ isActive: boolean;
4639
+ };
4640
+ payoutAccountTypeId: string;
4641
+ planId: string;
4642
+ rewardAmount: string;
4643
+ rewardCategory: string;
4644
+ ruleType: "consecutive" | "cumulative";
4645
+ sortOrder: number;
4646
+ thresholdDays: number;
4647
+ updatedAt: Date;
4648
+ updatedBy: string | null;
4649
+ updater: {
4650
+ id: string;
4651
+ name: string;
4652
+ email: string;
4653
+ } | null;
4654
+ }[];
4655
+ sortOrder: number;
4656
+ updatedAt: Date;
4657
+ updatedBy: string | null;
4658
+ updater: {
4659
+ id: string;
4660
+ name: string;
4661
+ email: string;
4662
+ } | null;
4663
+ };
4664
+ 401: "Unauthorized";
4665
+ 403: "Forbidden: Admins only";
4666
+ 422: {
4667
+ type: 'validation';
4668
+ on: string;
4669
+ summary?: string;
4670
+ message?: string;
4671
+ found?: unknown;
4672
+ property?: string;
4673
+ expected?: string;
4674
+ };
4675
+ };
4676
+ };
4677
+ };
4678
+ } & {
4679
+ "reward-plans": {
4680
+ delete: {
4681
+ body: {};
4682
+ params: {};
4683
+ query: {};
4684
+ headers: {};
4685
+ response: {
4686
+ 200: {
4687
+ success: boolean;
4688
+ };
4689
+ 401: "Unauthorized";
4690
+ 403: "Forbidden: Admins only";
4691
+ 422: {
4692
+ type: 'validation';
4693
+ on: string;
4694
+ summary?: string;
4695
+ message?: string;
4696
+ found?: unknown;
4697
+ property?: string;
4698
+ expected?: string;
4699
+ };
4700
+ };
4701
+ };
4702
+ };
4703
+ } & {
4704
+ "reward-plans": {
4705
+ rules: {
4706
+ post: {
4707
+ body: {
4708
+ isEnabled?: boolean | undefined;
4709
+ payoutAccountTypeId: string;
4710
+ rewardAmount: string;
4711
+ rewardCategory?: string | undefined;
4712
+ ruleType: "consecutive" | "cumulative";
4713
+ sortOrder?: number | undefined;
4714
+ thresholdDays: number;
4715
+ };
4716
+ params: {};
4717
+ query: {};
4718
+ headers: {};
4719
+ response: {
4720
+ 200: {
4721
+ checkInType: "app" | "meeting";
4722
+ createdAt: Date;
4723
+ createdBy: string;
4724
+ creator: {
4725
+ id: string;
4726
+ name: string;
4727
+ email: string;
4728
+ } | null;
4729
+ dailyPayoutAccountType: {
4730
+ id: string;
4731
+ key: string;
4732
+ name: string;
4733
+ isActive: boolean;
4734
+ };
4735
+ dailyPayoutAccountTypeId: string;
4736
+ dailyRewardAmount: string;
4737
+ dailyRewardCategory: string;
4738
+ id: string;
4739
+ isEnabled: boolean;
4740
+ name: string;
4741
+ rewardAsset: {
4742
+ id: string;
4743
+ code: string;
4744
+ name: string;
4745
+ symbol: string | null;
4746
+ precision: number;
4747
+ isActive: boolean;
4748
+ };
4749
+ rewardAssetId: string;
4750
+ rules: {
4751
+ createdAt: Date;
4752
+ createdBy: string;
4753
+ creator: {
4754
+ id: string;
4755
+ name: string;
4756
+ email: string;
4757
+ } | null;
4758
+ id: string;
4759
+ isEnabled: boolean;
4760
+ payoutAccountType: {
4761
+ id: string;
4762
+ key: string;
4763
+ name: string;
4764
+ isActive: boolean;
4765
+ };
4766
+ payoutAccountTypeId: string;
4767
+ planId: string;
4768
+ rewardAmount: string;
4769
+ rewardCategory: string;
4770
+ ruleType: "consecutive" | "cumulative";
4771
+ sortOrder: number;
4772
+ thresholdDays: number;
4773
+ updatedAt: Date;
4774
+ updatedBy: string | null;
4775
+ updater: {
4776
+ id: string;
4777
+ name: string;
4778
+ email: string;
4779
+ } | null;
4780
+ }[];
4781
+ sortOrder: number;
4782
+ updatedAt: Date;
4783
+ updatedBy: string | null;
4784
+ updater: {
4785
+ id: string;
4786
+ name: string;
4787
+ email: string;
4788
+ } | null;
4789
+ };
4790
+ 401: "Unauthorized";
4791
+ 403: "Forbidden: Admins only";
4792
+ 422: {
4793
+ type: 'validation';
4794
+ on: string;
4795
+ summary?: string;
4796
+ message?: string;
4797
+ found?: unknown;
4798
+ property?: string;
4799
+ expected?: string;
4800
+ };
4801
+ };
4802
+ };
4803
+ };
4804
+ };
4805
+ } & {
4806
+ "reward-plans": {
4807
+ rules: {
4808
+ ":ruleId": {
4809
+ patch: {
4810
+ body: {
4811
+ isEnabled?: boolean | undefined;
4812
+ payoutAccountTypeId?: string | undefined;
4813
+ rewardAmount?: string | undefined;
4814
+ rewardCategory?: string | undefined;
4815
+ ruleType?: "consecutive" | "cumulative" | undefined;
4816
+ sortOrder?: number | undefined;
4817
+ thresholdDays?: number | undefined;
4818
+ };
4819
+ params: {
4820
+ ruleId: string;
4821
+ };
4822
+ query: {};
4823
+ headers: {};
4824
+ response: {
4825
+ 200: {
4826
+ checkInType: "app" | "meeting";
4827
+ createdAt: Date;
4828
+ createdBy: string;
4829
+ creator: {
4830
+ id: string;
4831
+ name: string;
4832
+ email: string;
4833
+ } | null;
4834
+ dailyPayoutAccountType: {
4835
+ id: string;
4836
+ key: string;
4837
+ name: string;
4838
+ isActive: boolean;
4839
+ };
4840
+ dailyPayoutAccountTypeId: string;
4841
+ dailyRewardAmount: string;
4842
+ dailyRewardCategory: string;
4843
+ id: string;
4844
+ isEnabled: boolean;
4845
+ name: string;
4846
+ rewardAsset: {
4847
+ id: string;
4848
+ code: string;
4849
+ name: string;
4850
+ symbol: string | null;
4851
+ precision: number;
4852
+ isActive: boolean;
4853
+ };
4854
+ rewardAssetId: string;
4855
+ rules: {
4856
+ createdAt: Date;
4857
+ createdBy: string;
4858
+ creator: {
4859
+ id: string;
4860
+ name: string;
4861
+ email: string;
4862
+ } | null;
4863
+ id: string;
4864
+ isEnabled: boolean;
4865
+ payoutAccountType: {
4866
+ id: string;
4867
+ key: string;
4868
+ name: string;
4869
+ isActive: boolean;
4870
+ };
4871
+ payoutAccountTypeId: string;
4872
+ planId: string;
4873
+ rewardAmount: string;
4874
+ rewardCategory: string;
4875
+ ruleType: "consecutive" | "cumulative";
4876
+ sortOrder: number;
4877
+ thresholdDays: number;
4878
+ updatedAt: Date;
4879
+ updatedBy: string | null;
4880
+ updater: {
4881
+ id: string;
4882
+ name: string;
4883
+ email: string;
4884
+ } | null;
4885
+ }[];
4886
+ sortOrder: number;
4887
+ updatedAt: Date;
4888
+ updatedBy: string | null;
4889
+ updater: {
4890
+ id: string;
4891
+ name: string;
4892
+ email: string;
4893
+ } | null;
4894
+ };
4895
+ 401: "Unauthorized";
4896
+ 403: "Forbidden: Admins only";
4897
+ 422: {
4898
+ type: 'validation';
4899
+ on: string;
4900
+ summary?: string;
4901
+ message?: string;
4902
+ found?: unknown;
4903
+ property?: string;
4904
+ expected?: string;
4905
+ };
4906
+ };
4907
+ };
4908
+ };
4909
+ };
4910
+ };
4911
+ } & {
4912
+ "reward-plans": {
4913
+ rules: {
4914
+ ":ruleId": {
4915
+ delete: {
4916
+ body: {};
4917
+ params: {
4918
+ ruleId: string;
4919
+ };
4920
+ query: {};
4921
+ headers: {};
4922
+ response: {
4923
+ 200: {
4924
+ checkInType: "app" | "meeting";
4925
+ createdAt: Date;
4926
+ createdBy: string;
4927
+ creator: {
4928
+ id: string;
4929
+ name: string;
4930
+ email: string;
4931
+ } | null;
4932
+ dailyPayoutAccountType: {
4933
+ id: string;
4934
+ key: string;
4935
+ name: string;
4936
+ isActive: boolean;
4937
+ };
4938
+ dailyPayoutAccountTypeId: string;
4939
+ dailyRewardAmount: string;
4940
+ dailyRewardCategory: string;
4941
+ id: string;
4942
+ isEnabled: boolean;
4943
+ name: string;
4944
+ rewardAsset: {
4945
+ id: string;
4946
+ code: string;
4947
+ name: string;
4948
+ symbol: string | null;
4949
+ precision: number;
4950
+ isActive: boolean;
4951
+ };
4952
+ rewardAssetId: string;
4953
+ rules: {
4954
+ createdAt: Date;
4955
+ createdBy: string;
4956
+ creator: {
4957
+ id: string;
4958
+ name: string;
4959
+ email: string;
4960
+ } | null;
4961
+ id: string;
4962
+ isEnabled: boolean;
4963
+ payoutAccountType: {
4964
+ id: string;
4965
+ key: string;
4966
+ name: string;
4967
+ isActive: boolean;
4968
+ };
4969
+ payoutAccountTypeId: string;
4970
+ planId: string;
4971
+ rewardAmount: string;
4972
+ rewardCategory: string;
4973
+ ruleType: "consecutive" | "cumulative";
4974
+ sortOrder: number;
4975
+ thresholdDays: number;
4976
+ updatedAt: Date;
4977
+ updatedBy: string | null;
4978
+ updater: {
4979
+ id: string;
4980
+ name: string;
4981
+ email: string;
4982
+ } | null;
4983
+ }[];
4984
+ sortOrder: number;
4985
+ updatedAt: Date;
4986
+ updatedBy: string | null;
4987
+ updater: {
4988
+ id: string;
4989
+ name: string;
4990
+ email: string;
4991
+ } | null;
4992
+ };
4993
+ 401: "Unauthorized";
4994
+ 403: "Forbidden: Admins only";
4995
+ 422: {
4996
+ type: 'validation';
4997
+ on: string;
4998
+ summary?: string;
4999
+ message?: string;
5000
+ found?: unknown;
5001
+ property?: string;
5002
+ expected?: string;
5003
+ };
5004
+ };
5005
+ };
5006
+ };
5007
+ };
5008
+ };
5009
+ };
4372
5010
  } & {
4373
5011
  checkIns: {
4374
5012
  get: {
@@ -7873,15 +8511,15 @@ declare const app: Elysia<"/api", {
7873
8511
  content_videos: {
7874
8512
  post: {
7875
8513
  body: {
7876
- title: string;
7877
- description?: string | null | undefined;
7878
- videoFileId: string;
7879
8514
  coverFileId?: string | undefined;
7880
- status?: "archived" | "draft" | "published" | undefined;
8515
+ description?: string | null | undefined;
8516
+ durationSeconds?: number | null | undefined;
7881
8517
  isEnabled?: boolean | undefined;
8518
+ publishedAt?: string | Date | null | undefined;
7882
8519
  sortOrder?: number | undefined;
7883
- durationSeconds?: number | null | undefined;
7884
- publishedAt?: Date | null | undefined;
8520
+ status?: "archived" | "draft" | "published" | undefined;
8521
+ title: string;
8522
+ videoFileId: string;
7885
8523
  };
7886
8524
  params: {};
7887
8525
  query: {};
@@ -8064,15 +8702,15 @@ declare const app: Elysia<"/api", {
8064
8702
  ":id": {
8065
8703
  patch: {
8066
8704
  body: {
8067
- title?: string | undefined;
8068
- description?: string | null | undefined;
8069
- videoFileId?: string | undefined;
8070
8705
  coverFileId?: string | undefined;
8071
- status?: "archived" | "draft" | "published" | undefined;
8706
+ description?: string | null | undefined;
8707
+ durationSeconds?: number | null | undefined;
8072
8708
  isEnabled?: boolean | undefined;
8709
+ publishedAt?: string | Date | null | undefined;
8073
8710
  sortOrder?: number | undefined;
8074
- durationSeconds?: number | null | undefined;
8075
- publishedAt?: Date | null | undefined;
8711
+ status?: "archived" | "draft" | "published" | undefined;
8712
+ title?: string | undefined;
8713
+ videoFileId?: string | undefined;
8076
8714
  };
8077
8715
  params: {
8078
8716
  id: string;
@@ -10162,6 +10800,14 @@ declare const app: Elysia<"/api", {
10162
10800
  headers: {};
10163
10801
  response: {
10164
10802
  200: {
10803
+ coverImageFile?: {
10804
+ id: string;
10805
+ fileName: string | null;
10806
+ mimeType: string | null;
10807
+ fileSize: number | null;
10808
+ publicUrl: string | null;
10809
+ } | undefined;
10810
+ coverImageFileId: string | null;
10165
10811
  coverImageUrl: string;
10166
10812
  createdAt: Date;
10167
10813
  description: string | null;
@@ -10230,6 +10876,14 @@ declare const app: Elysia<"/api", {
10230
10876
  headers: {};
10231
10877
  response: {
10232
10878
  200: {
10879
+ coverImageFile?: {
10880
+ id: string;
10881
+ fileName: string | null;
10882
+ mimeType: string | null;
10883
+ fileSize: number | null;
10884
+ publicUrl: string | null;
10885
+ } | undefined;
10886
+ coverImageFileId: string | null;
10233
10887
  coverImageUrl: string;
10234
10888
  createdAt: Date;
10235
10889
  description: string | null;
@@ -10288,6 +10942,14 @@ declare const app: Elysia<"/api", {
10288
10942
  headers: {};
10289
10943
  response: {
10290
10944
  200: {
10945
+ coverImageFile?: {
10946
+ id: string;
10947
+ fileName: string | null;
10948
+ mimeType: string | null;
10949
+ fileSize: number | null;
10950
+ publicUrl: string | null;
10951
+ } | undefined;
10952
+ coverImageFileId: string | null;
10291
10953
  coverImageUrl: string;
10292
10954
  createdAt: Date;
10293
10955
  description: string | null;
@@ -10352,6 +11014,14 @@ declare const app: Elysia<"/api", {
10352
11014
  response: {
10353
11015
  200: {
10354
11016
  data: {
11017
+ coverImageFile?: {
11018
+ id: string;
11019
+ fileName: string | null;
11020
+ mimeType: string | null;
11021
+ fileSize: number | null;
11022
+ publicUrl: string | null;
11023
+ } | undefined;
11024
+ coverImageFileId: string | null;
10355
11025
  coverImageUrl: string;
10356
11026
  createdAt: Date;
10357
11027
  description: string | null;
@@ -10418,6 +11088,14 @@ declare const app: Elysia<"/api", {
10418
11088
  headers: {};
10419
11089
  response: {
10420
11090
  200: {
11091
+ coverImageFile?: {
11092
+ id: string;
11093
+ fileName: string | null;
11094
+ mimeType: string | null;
11095
+ fileSize: number | null;
11096
+ publicUrl: string | null;
11097
+ } | undefined;
11098
+ coverImageFileId: string | null;
10421
11099
  coverImageUrl: string;
10422
11100
  createdAt: Date;
10423
11101
  description: string | null;
@@ -10478,6 +11156,14 @@ declare const app: Elysia<"/api", {
10478
11156
  headers: {};
10479
11157
  response: {
10480
11158
  200: {
11159
+ coverImageFile?: {
11160
+ id: string;
11161
+ fileName: string | null;
11162
+ mimeType: string | null;
11163
+ fileSize: number | null;
11164
+ publicUrl: string | null;
11165
+ } | undefined;
11166
+ coverImageFileId: string | null;
10481
11167
  coverImageUrl: string;
10482
11168
  createdAt: Date;
10483
11169
  description: string | null;
@@ -10538,6 +11224,14 @@ declare const app: Elysia<"/api", {
10538
11224
  headers: {};
10539
11225
  response: {
10540
11226
  200: {
11227
+ coverImageFile?: {
11228
+ id: string;
11229
+ fileName: string | null;
11230
+ mimeType: string | null;
11231
+ fileSize: number | null;
11232
+ publicUrl: string | null;
11233
+ } | undefined;
11234
+ coverImageFileId: string | null;
10541
11235
  coverImageUrl: string;
10542
11236
  createdAt: Date;
10543
11237
  description: string | null;
@@ -17391,6 +18085,14 @@ declare const app: Elysia<"/api", {
17391
18085
  response: {
17392
18086
  200: {
17393
18087
  data: {
18088
+ coverImageFile?: {
18089
+ id: string;
18090
+ fileName: string | null;
18091
+ mimeType: string | null;
18092
+ fileSize: number | null;
18093
+ publicUrl: string | null;
18094
+ } | undefined;
18095
+ coverImageFileId: string | null;
17394
18096
  coverImageUrl: string;
17395
18097
  description: string | null;
17396
18098
  endAt: Date;
@@ -17444,6 +18146,14 @@ declare const app: Elysia<"/api", {
17444
18146
  headers: {};
17445
18147
  response: {
17446
18148
  200: {
18149
+ coverImageFile?: {
18150
+ id: string;
18151
+ fileName: string | null;
18152
+ mimeType: string | null;
18153
+ fileSize: number | null;
18154
+ publicUrl: string | null;
18155
+ } | undefined;
18156
+ coverImageFileId: string | null;
17447
18157
  coverImageUrl: string;
17448
18158
  description: string | null;
17449
18159
  endAt: Date;