Skip to content
Commit 8f0ae118 authored by Martin Juhás's avatar Martin Juhás
Browse files

feat: rework graphql api types

### Additions

* added `SimpleTeamType`
* added `SimpleEmailParticipantType`
* added `SimpleUserType`
* added `SimpleEmailThreadType`
* added `SimpleExerciseType`
* added `SimpleDefinitionType`
* added `SimpleToolType`
* added `SimpleRoleType`
* added `SimpleActionLogType`
* added `SimpleEmailType`
* added `SimpleQuestionType`
* added `SimpleMilestoneStateType`
* added `SimpleDefinitionChannelType`
* added `SimpleLearningObjectiveType`
* added `SimpleTeamLearningObjectiveType`
* added `SimpleFileInfoType`
* added `SimpleEmailAddressType`
* added `SimpleDefinitionInjectType`
* added `SimpleQuestionnaireType`
* added `SimpleTeamQuestionnaireStateType`
* added `SimpleQuestionnaireAnswerType`
* added `SimpleLearningActivityType`
* added `SimpleTeamLearningActivityType`

### Changes

* `GrapheneConfig` has been renamed to `ExerciseConfigType` to be more aligned with the current naming scheme
* old `ExtendedToolType` has been renamed to `ToolType`
* old `ToolType` has been renamed to `SimpleToolType`

#### ToolType

* field `definition` type changed to `SimpleDefinitionType`

#### DefinitionType

* field `files` type changed to `SimpleFileInfoType`
* field `learningObjectives` type changed to `SimpleLearningObjectiveType`
* field `addresses` type changed to `SimpleEmailAddressType`
* field `injects` type changed to `SimpleDefinitionInjectType`
* field `tools` type changed to `SimpleToolType`
* field `roles` type changed to `SimpleDefinitionRoleType`
* field `channels` type changed to `SimpleDefinitionChannelType`
* field `questionnaires` type changed to `SimpleQuestionnaireType`
* field `exercises` type changed to `SimpleExerciseType`
* field `userSet` type changed to `SimpleUserType`

#### ExerciseType

* field `definition` type changed to `SimpleDefinitionType`
* field `teams` type changed to `SimpleTeamType`
* field `emailParticipants` type changed to `SimpleEmailParticipantType`
* field `userSet` type changed to `SimpleUserType`
* field `threads` type changed to `SimpleEmailThreadType`

#### TeamType

* field `exercise` type changed to `SimpleExerciseType`
* field `emailAddress` type changed to `SimpleEmailAddressType`
* field `teamQuestionnaireStates` type changed to `SimpleTeamQuestionnaireStateType`
* field `logs` type changed to `SimpleActionLogType`
* field `userSet` type changed to `SimpleUserType`

#### ContentType

* field `fileInfo` type changed to `SimpleFileInfoType`

#### ToolDetailsType

* field `tool` type changed to `SimpleToolType`
* field `user` type changed to `SimpleUserType`

#### InjectDetailsType

* field `inject` type changed to `SimpleDefinitionInjectType`

#### CustomInjectDetailsType

* field `user` type changed to `SimpleUserType`

#### EmailType

* field `thread` type changed to `SimpleEmailThreadType`
* field `sender` type changed to `SimpleEmailParticipantType`
* field `user` type changed to `SimpleUserType`

#### QuestionType

* field `questionnaire` type changed to `SimpleQuestionnaireType`

#### QuestionnaireType

* field `definition` type changed to `SimpleDefinitionType`
* field `teamQuestionnaireStates` type changed to `SimpleTeamQuestionnaireStateType`

#### ActionLogType

* field `team` type changed to `SimpleTeamType`
* field `channel` type changed to `SimpleDefinitionChannelType`

#### MilestoneType

* field `definition` type changed to `SimpleDefinitionType`
* field `milestoneStates` type changed to `SimpleMilestoneStateType`
* field `activity` type changed to `SimpleLearningActivityType`

#### MilestoneStateType

* field `activity` type changed to `SimpleTeamLearningActivityType`

#### EmailThreadType

* field `participants` type changed to `SimpleEmailParticipantType`
* field `exercise` type changed to `SimpleExerciseType`

#### ToolResponseType

* field `tool` type changed to `SimpleToolType`

#### EmailAddressType

* field `definition` type changed to `SimpleDefinitionType`

#### EmailTemplateType

* field `emailAddress` type changed to `SimpleEmailAddressType`

#### EmailParticipantType

* field `exercise` type changed to `SimpleExerciseType`
* field `definitionAddress` type changed to `SimpleEmailAddressType`
* field `team` type changed to `SimpleTeamType`
* field `threads` type changed to `SimpleEmailThreadType`
* field `emails` type changed to `SimpleEmailType`

#### DefinitionInjectType

* field `definition` type changed to `SimpleDefinitionType`

#### FileInfoType

* field `definition` type changed to `SimpleDefinitionType`

#### UserType

* field `definitions` type changed to `SimpleDefinitionType`
* field `exercises` type changed to `SimpleExerciseType`
* field `teams` type changed to `SimpleTeamType`

#### DefinitionChannelType

* field `definition` type changed to `SimpleDefinitionType`

#### QuestionnaireAnswerType

* field `teamQuestionnaireState` type changed to `SimpleTeamQuestionnaireStateType`

#### TeamQuestionnaireStateType

* field `team` type changed to `SimpleTeamType`
* field `questionnaire` type changed to `SimpleQuestionnaireType`

#### LearningObjectiveType

* field `definition` type changed to `SimpleDefinitionType`

#### LearningActivityType

* field `objective` type changed to `SimpleLearningObjectiveType`

#### TeamLearningObjectiveType

* field `objective` type changed to `SimpleLearningObjectiveType`

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