@@ -9,7 +9,7 @@ type Account implements BaseModel {
99 updatedAt : DateTime !
1010 username : String !
1111 email : String !
12- displayName : String !
12+ displayName : String
1313 avatar : ID
1414 otp : String
1515 otpExpired : DateTime
@@ -90,9 +90,6 @@ type Lesson implements BaseModel {
9090 classworkAssignmentListBeforeClass : [ID ! ]
9191 classworkAssignmentListInClass : [ID ! ]
9292 classworkAssignmentListAfterClass : [ID ! ]
93- quizListBeforeClass : [ID ! ]
94- quizListInClass : [ID ! ]
95- quizListAfterClass : [ID ! ]
9693}
9794
9895type LessonsPayload {
@@ -261,6 +258,9 @@ type Question implements BaseModel {
261258 createdAt : DateTime !
262259 updatedAt : DateTime !
263260 title : String !
261+ detailQuiz : String
262+ explainTheAnswer : String
263+ duDate : DateTime
264264 scores : Float !
265265 createdByAccountId : ID !
266266}
@@ -334,7 +334,6 @@ enum Permission {
334334 Academic_AddAbsentStudentsToLesson
335335 Academic_RemoveAbsentStudentsFromLesson
336336 Academic_CommentsForTheLesson
337- Academic_PublishAllLessons
338337 OrgOffice_Access
339338 OrgOffice_CreateOrgOffice
340339 OrgOffice_ListOrgOffices
@@ -349,7 +348,6 @@ enum Permission {
349348 Classwork_RemoveAttachmentsFromClassworkAssignment
350349 Classwork_AddVideoToClassworkAssignment
351350 Classwork_RemoveVideoToClassworkAssignment
352- Classwork_PublishAllClassworkAssignments
353351 Classwork_ListClassworkMaterial
354352 Classwork_UpdateClassworkMaterial
355353 Classwork_CreateClassworkMaterial
@@ -359,11 +357,9 @@ enum Permission {
359357 Classwork_SetGradeForClassworkSubmission
360358 Classwork_AddVideoToClassworkMaterial
361359 Classwork_RemoveVideoToClassworkMaterial
362- Classwork_PublishAllClassworkMaterial
363360 Classwork_CreateClassworkSubmission
364361 Classwork_ListClassworkSubmission
365362 Classwork_ShowSubmissionStatusList
366- Classwork_UpdateClassworkSubmission
367363 AvgGradeStatisticsOfClassworkInTheCourse
368364 Comment_CreateComment
369365 Rating_CreateRating
@@ -591,29 +587,22 @@ type Mutation {
591587 removeAttachmentsFromClassworkMaterial (attachments : [String ! ]! , classworkMaterialId : ID ! ): ClassworkMaterial !
592588 addVideoToClassworkMaterial (videoInput : AddVideoToClassworkInput ! , classworkMaterialId : ID ! ): ClassworkMaterial !
593589 removeVideoFromClassworkMaterial (videoId : String ! , classworkMaterialId : ID ! ): ClassworkMaterial !
594- publishAllClassworkMaterialsOfTheCourse (courseId : ID ! ): [ClassworkMaterial ! ]!
595590 createClassworkAssignment (courseId : ID ! , input : CreateClassworkAssignmentInput ! ): ClassworkAssignment !
596591 updateClassworkAssignment (updateInput : UpdateClassworkAssignmentInput ! , id : ID ! ): ClassworkAssignment !
597592 updateClassworkAssignmentPublication (publication : String ! , id : ID ! ): ClassworkAssignment !
598593 addAttachmentsToClassworkAssignment (attachmentsInput : AddAttachmentsToClassworkInput ! , classworkAssignmentId : ID ! ): ClassworkAssignment !
599594 removeAttachmentsFromClassworkAssignments (attachments : [String ! ]! , classworkAssignmentId : ID ! ): ClassworkAssignment !
600595 addVideoToClassworkAssignment (videoInput : AddVideoToClassworkInput ! , classworkAssignmentId : ID ! ): ClassworkAssignment !
601596 removeVideoFromClassworkAssignment (videoId : ID ! , classworkAssignmentId : ID ! ): ClassworkAssignment !
602- publishAllClassworkAssignmentsOfTheCourse (courseId : ID ! ): [ClassworkAssignment ! ]!
603597 createClassworkSubmission (createClassworkSubmissionInput : CreateClassworkSubmissionInput ! , courseId : ID ! ): ClassworkSubmission !
604598 setGradeForClassworkSubmission (setGradeForClassworkSubmissionInput : SetGradeForClassworkSubmissionInput ! ): ClassworkSubmission !
605- updateClassworkSubmission (updateInput : UpdateClassworkSubmissionInput ! , classworkAssignmentId : ID ! ): ClassworkSubmission !
606- addFilesToClassworkSubmission (submissionFilesInput : AddFilesToClassworkSubmissionInput ! , classworkSubmissionId : ID ! ): ClassworkSubmission !
607- removeFilesFromClassworkSubmission (submissionFilesInput : [String ! ], classworkSubmissionId : ID ! ): ClassworkSubmission !
608599 createLesson (createLessonInput : CreateLessonInput ! ): Lesson !
609600 updateLesson (updateInput : UpdateLessonInput ! , lessonId : ID ! , courseId : ID ! ): Lesson !
610601 addAbsentStudentsToLesson (absentStudentIds : [String ! ]! , lessonId : ID ! , courseId : ID ! ): Lesson !
611602 removeAbsentStudentsFromLesson (absentStudentIds : [String ! ]! , lessonId : ID ! , courseId : ID ! ): Lesson !
612603 commentsByLecturer (commentsForTheLessonByLecturerInput : CommentsForTheLessonByLecturerInput ! , commentsForTheLessonByLecturerQuery : CommentsForTheLessonByLecturerQuery ! ): Lesson !
613- publishAllLessonsOfTheCourse (courseId : ID ! ): [Lesson ! ]!
614604 createQuiz (input : CreateQuizInput ! ): Quiz !
615605 updatePublicationQuiz (publicationState : String ! , id : String ! ): Quiz !
616- publishAllQuizOfTheCourse (courseId : ID ! ): [Quiz ! ]!
617606 createQuestion (input : CreateQuestionInput ! ): Question !
618607 createQuizSubmit (input : CreateQuizSubmitInput ! ): QuizSubmit !
619608 submitQuiz (input : SubmitQuizInput ! ): QuizSubmit !
@@ -754,14 +743,6 @@ input SetGradeForClassworkSubmissionInput {
754743 grade : Float !
755744}
756745
757- input UpdateClassworkSubmissionInput {
758- description : String
759- }
760-
761- input AddFilesToClassworkSubmissionInput {
762- submissionFiles : [Upload ! ]!
763- }
764-
765746input CreateLessonInput {
766747 startTime : DateTime !
767748 endTime : DateTime !
@@ -784,9 +765,6 @@ input UpdateLessonInput {
784765 classworkAssignmentListBeforeClass : [String ! ]
785766 classworkAssignmentListInClass : [String ! ]
786767 classworkAssignmentListAfterClass : [String ! ]
787- quizListBeforeClass : [String ! ]
788- quizListInClass : [String ! ]
789- quizListAfterClass : [String ! ]
790768}
791769
792770enum UpdateLessonTimeOptions {
@@ -805,6 +783,9 @@ input CommentsForTheLessonByLecturerQuery {
805783
806784input CreateQuizInput {
807785 title : String !
786+ detailQuiz : String
787+ explainTheAnswer : String
788+ duDate : DateTime
808789 courseId : String !
809790 questionIds : [String ! ] = []
810791 duration : Float
0 commit comments