Commit 51081325 authored by Martin Juhás's avatar Martin Juhás
Browse files

feat: implement instructor comments

### Additions

* added new type `InstructorCommentType`
* added new type `InstructorCommentInput`
* added new type `InstructorCommentInputType`
* added new type `EditInstructorCommentInput`
* added new type `EditInstructorCommentInputType`
* added query `teamInstructorComments(teamId: ID!): [InstructorCommentType!]!`
* added query `exerciseInstructorComments(exerciseId: ID!): [InstructorCommentType!]!`
* added field `instructorComments: [InstructorCommentType!]!` to `ExerciseType` type
* added field `instructorComments: [InstructorCommentType!]!` to `TeamType` type
* added field `instructorComment` to `ActionLogType` type
* added new mutation `addInstructorComment(instructorCommentInput: InstructorCommentInput!): ActionLogType!`
* added new mutation `editInstructorComment(editInstructorComment: EditInstructorCommentInput!): ActionLogType!`
* added new mutation `deleteInstructorComment(exerciseId: ID!, commentId: ID!): ActionLogType!`

Closes #407
parent eea95582
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment