feat: enhance quiz schema with JsonList type and add quiz attempt fields
- Introduced a new 'JsonList' scalar type in the GraphQL schema to handle lists of JSON values, improving data structure flexibility. - Updated the Quiz schema to replace 'Json' type with 'JsonList' for user input and questions, ensuring consistent data handling. - Added new fields for retrieving quiz attempts, including individual and multiple attempts, with appropriate authorization checks for user roles. - Enhanced error handling for quiz attempt retrieval to ensure proper access control and user feedback. These changes improve the overall functionality and maintainability of the quiz feature, providing a more robust data model and user experience.
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user