Skip to content
Commit 0ed45206 authored by Martin Juhás's avatar Martin Juhás
Browse files

feat: implement free-form questions

### Additions

* added new `RadioQuestionDetailsType`
* added new `FreeFormQuestionDetailsType`
* added new `QuestionDetails`
* added new `QuestionRelatedMilestonesType`
* added new `AnswerType`
* added new `QuestionnaireInputType`
* added new `QuestionnaireReviewInputType`
* added new `QuestionnaireReviewInput`
* added new `QuestionTypes`
* added field `type: QuestionTypes!` to `QuestionType`
* added field `details: QuestionDetails!` to `QuestionType`
* added field `timestampReviewed: DateTime` to `TeamQuestionnaireStateType`
* added field `reviewedBy: RestrictedUser` to `TeamQuestionnaireStateType`
* added field `relatedMilestones: [QuestionRelatedMilestonesType!]!` to `TeamQuestionnaireStateType`

### Changes

* changed field `choice: Int!` on `AnswerInput` to `value: String!`
* changed field `choice: Int!` on `AnswerType` to `value: String!`
* field `answers` type changed to `[AnswerType!]!` on `QuestionnaireInputType`
* field `answers` type changed to `[AnswerInput!]!` on `QuestionnaireInput`
* removed field `max` from `QuestionType`
* removed field `correct` from `QuestionType`
* removed field `labels` from `QuestionType`
* removed field `controls` from `QuestionType`

Closes #340
parent 9ee0bd2d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment