Commit Graph

10 Commits

Author SHA1 Message Date
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
4931f382b3 feat: implement createServiceFeedback mutation in ServiceFeedbackSchema
- Added a new mutation field `createServiceFeedback` to allow users to submit feedback for services.
- Implemented validation checks to ensure only authorized users (CUSTOMER role) can submit feedback for completed orders.
- Included error handling for invalid ratings and comment length, enhancing data integrity and user experience.
- Improved the overall structure and clarity of the ServiceFeedbackSchema by integrating the new mutation.
2024-12-06 16:57:04 +07:00
37b0086b4d feat: update file output paths and add feedback tracking to service schema
- Modified file output paths in LiveKitRoomService to utilize the BUCKET_NAME environment variable for dynamic S3 storage.
- Introduced a new `feedbacked` field in ServiceSchema to track whether a user has provided feedback for a service, enhancing user interaction capabilities.
- Cleaned up the ServiceFeedback schema by refining the resolve function for better clarity and consistency.
2024-12-05 22:11:40 +07:00
152bb50da8 refactor source code 2024-10-29 17:42:54 +07:00
f787d0c194 9h sang tao code tiep 2024-10-28 02:56:36 +07:00
8817f961a8 update pagination 2024-10-17 19:06:51 +07:00
f9967ac5bd refactor and update get url logic 2024-10-17 17:02:03 +07:00
5c56e79d63 phong bat 2024-10-17 15:15:08 +07:00
59923b02cb push code push code 2024-10-17 15:02:25 +07:00
ba77bd4e1c update many graphql field 2024-10-12 16:34:43 +07:00