Commit Graph

62 Commits

Author SHA1 Message Date
10e20092ab chore: update configuration and improve schema imports
- Updated biome.json to include "graphql.d.ts" in the ignored files list.
- Updated subproject commit reference in epess-database to the latest version.
- Removed unused script from package.json and streamlined module file extensions in tsconfig.json.
- Consolidated exclude patterns in tsconfig.build.json for clarity.
- Refactored imports across multiple schema files for consistency and improved readability.
- Enhanced various schema files by ensuring proper import order and removing redundant code.
- Improved error handling and data integrity checks in several service and schema files.
2024-12-08 20:49:52 +07:00
14a91a1885 chore: update subproject commit reference and enhance Quiz schema
- Updated the subproject commit reference in epess-database to the latest version.
- Enhanced QuizSchema by adding quizAttempt relation and submitQuiz mutation for improved quiz attempt handling.
- Updated Prisma types to include QuizAttempt, ensuring consistency across the application.
2024-12-07 19:39:16 +07:00
7a0a404081 chore: update subproject commit and enhance PersonalMilestone schema
- Updated the subproject commit reference in epess-database to the latest version.
- Added milestoneOrder field to PersonalMilestoneSchema for improved milestone ordering.
- Ensured consistency in Prisma types with the latest schema changes.
2024-12-07 18:47:43 +07:00
bb88d6ed00 feat: enhance QuizSchema and related schemas with new fields and relations
- Updated QuizSchema to expose correctAnswer as a field with a resolver, improving data retrieval for quizzes.
- Introduced new object types for correctAnswer, allowing for flexible data structures (StringType and StringListType).
- Modified createQuiz mutation to automatically associate the current user as centerMentorId, enhancing data integrity.
- Added personalMilestone relation to ScheduleSchema, linking schedules to personal milestones for better tracking.
- Included quiz relation in ServiceSchema, establishing a connection between services and their associated quizzes.
- Updated Prisma types to reflect the new relationships and fields, ensuring consistency across the application.
2024-12-07 18:18:33 +07:00
429c6f9073 chore: remove Milestone module and update related schemas
- Deleted the MilestoneModule and its associated schema to streamline the codebase.
- Updated QuizSchema to replace scheduleId with serviceId, enhancing the relationship structure.
- Removed references to Milestone in ServiceSchema, improving clarity and focus on relevant entities.
- Updated Prisma types to reflect the removal of Milestone, ensuring data integrity across the application.
2024-12-07 15:33:28 +07:00
5e68b1e11a feat: add PersonalMilestone and Quiz relations to Prisma types
- Introduced PersonalMilestone entity to the Prisma types, enhancing the schema with new relationships.
- Updated existing relations in various schemas to include PersonalMilestone and Quiz, improving data structure and integrity.
- Modified relation names and lists to accommodate the new entities, ensuring comprehensive coverage of the data model.
2024-12-06 21:26:51 +07:00
6cbaf44c7f chore: update subproject commit and enhance ServiceFeedback schema
- Updated the subproject commit reference in epess-database to the latest version.
- Added Logger to the ServiceFeedback schema for improved logging of arguments during feedback submission.
- Modified the Prisma types to include new Quiz and Question entities, enhancing the schema's capabilities and data structure.
2024-12-06 21:25:25 +07:00
0b3f4d6728 feat: update LiveKit configuration and enhance collaboration session handling
- Updated the `livekit-server-sdk` version to 2.9.2 for improved functionality.
- Refactored `LiveKitEgressService` to include validation for required environment variables and added a method to stop recording.
- Enhanced `LiveKitRoomService` to validate environment variables and dynamically set egress configurations for recording sessions.
- Modified `CollaborationSessionSchema` to correct the relation name for `chatRoom` and updated the schema to reflect the new structure.
- Improved error logging for better traceability during collaboration session creation.
2024-12-05 16:51:19 +07:00
7cff5069de Update RefundTicket schema to rename 'reason' field to 'rejectedReason' for clarity in status updates. Update subproject reference in epess-database. Enhance generated types in pothos.generated.ts for improved schema management. 2024-11-29 13:56:57 +07:00
cdf7e7febd Update CenterMentorSchema to include 'active' field for mentor status and adjust role assignment to use Role enum. Enhance payment cancellation logic in CronService to update associated order status to 'FAILED'. Bump epess-database subproject commit reference to reflect recent changes. 2024-11-27 02:32:55 +07:00
2581ca396f Refactor Category and Center schemas to improve field descriptions and code clarity; update email templates for consistency in messaging. Add Redis service to CenterSchema for session management. Bump epess-database subproject commit reference to indicate changes. Clean up logging in ClerkService and ServiceSchema. 2024-11-27 01:09:13 +07:00
01aede0b09 Update RefundTicketSchema to include additional fields for bank details and refund reasons; modify refund logic to enhance validation and error handling. Update TypeScript configuration to resolve JSON modules and bump subproject commit reference in epess-database. 2024-11-26 23:55:39 +07:00
12b1e8e764 update refund ticket 2024-11-26 21:02:14 +07:00
3ac8c3fd39 implement cron mechanic for refund strageries and make workshop reliable 2024-11-26 17:31:40 +07:00
830c9ce3f6 Update WorkshopSchema to include duration field; modify epess-database subproject commit reference. Enhance type definitions in pothos.generated.ts for improved schema consistency. 2024-11-26 17:13:02 +07:00
537b6fd359 Refactor ClerkService and OrderSchema for improved type safety; update RefundTicketSchema to include new refund request and processing mutations. Clean up import statements and enhance descriptions for better clarity. Update subproject commit reference in epess-database. 2024-11-26 17:08:38 +07:00
950e553784 Update subproject commit and enhance VSCode settings; refactor imports and formatting in center.schema.ts; add docwriter style to settings.json 2024-11-26 00:41:17 +07:00
547947eeb8 update subscribe to workshop 2024-11-25 22:52:53 +07:00
84a09375da bling bling 2024-11-25 19:46:23 +07:00
d1ba07434a chuc mung ban da duoc ban 2024-11-25 16:45:51 +07:00
28d0374435 database bi kiet pha banh roi 2024-11-25 14:17:32 +07:00
68dabd186a update some complex logic 2024-11-24 22:25:14 +07:00
675460c39c update api 2024-11-24 15:12:05 +07:00
ccfe7bf1f1 update gi cung duoc 2024-11-22 16:04:53 +07:00
d8a3894aba update manyyyyyyyyy 2024-11-22 15:06:49 +07:00
8eec1bed55 update commission 2024-11-21 22:05:22 +07:00
88941394eb super bug 2024-11-18 15:34:32 +07:00
270d185f18 backend cung da bi lac 2024-11-15 20:09:07 +07:00
7e4a4283e6 toi cam thay minh la sieu nhan 2024-11-15 18:18:37 +07:00
e0a8b0aaa0 update service and category 2024-11-11 18:55:24 +07:00
d7c7f8a782 update something can update 2024-11-08 17:27:09 +07:00
57037a59ec update websocket 2024-11-06 17:16:10 +07:00
56ba2808c8 day len server theo loi Khoi noi, toi xin tuyen bo mien tru trach nhiem 2024-11-05 15:02:53 +07:00
db9f3213fd lennnn 2024-11-01 20:02:43 +07:00
152bb50da8 refactor source code 2024-10-29 17:42:54 +07:00
5c1d4e92af enabled context and fix some api 2024-10-28 20:21:36 +07:00
7573c0e5c3 update admin note 2024-10-28 15:21:20 +07:00
eec9fcfeff push code ne 2024-10-28 01:08:13 +07:00
734d7e5f89 update order and service 2024-10-27 17:02:04 +07:00
9e0e97a560 refactor schema to match database schema 2024-10-27 13:12:24 +07:00
00440521fd re-generate dataschema 2024-10-26 11:15:22 +07:00
2b6d3869f9 update handle session 2024-10-25 15:19:20 +07:00
7e25e8d96b merge change from db 2024-10-25 14:49:16 +07:00
2872ac69ef update service status 2024-10-23 15:43:50 +07:00
338cb84ac9 big gift 2024-10-20 19:29:54 +07:00
8652c9e89a update user schema 2024-10-18 17:11:29 +07:00
1523642b9d update schema due to majority database change 2024-10-18 01:50:26 +07:00
4d908680f0 fix presigned url 2024-10-17 20:58:13 +07:00
9326485258 expose actual file name in resume 2024-10-17 17:42:11 +07:00
d01fae4788 return properly actual file name 2024-10-17 17:25:02 +07:00