Skip to content
Commit 364e4789 authored by Martin Juhás's avatar Martin Juhás
Browse files

fix: fix API definitions

### Changes

* field `id` type changed to `ID!` on `ExerciseDefinitionType`
* field `definition` type changed to `ExerciseDefinitionType!` on `ToolType`
* field `definition` type changed to `ExerciseDefinitionType!` on `ExerciseType`
* field `teamIds` type changed to `[ID!]!` on `MilestoneStateType`
* field `definition` type changed to `ExerciseDefinitionType!` on `EmailAddressType`
* field `sender` type changed to `String!` on `EmailTemplateType`
* field `definitions` type changed to `[ExerciseDefinitionType!]!` on `UserType`
* field `uploadedDefinitions` type changed to `[ExerciseDefinitionType!]!` on `UserType`
* field `exercises` type changed to `[RestrictedExercise!]!` on `UserType`
* field `createdExercises` type changed to `[RestrictedExercise!]!` on `UserType`
* field `teams` type changed to `[RestrictedTeam!]!` on `UserType`
* field `group` type changed to `AuthGroup!` on `UserType`
* field `status` type changed to `Status!` on `TeamQuestionnaireStateType`
* return type changed to `[ExericseType!]!` for `exercises` query
* return type changed to `ExerciseType!` for `exerciseId` query
* return type changed to `[DefinitionType!]!` for `definitions` query
* return type changed to `DefinitionType!` for `definition` query
* return type changed to `[DefinitionInjectType!]!` for `injects` query
* return type changed to `[MilestoneType!]!` for `milestones` query
* return type changed to `FileInfo!` for `fileInfo` query
* return type changed to `[FileInfo!]!` for `teamUploadedFiles` query
* return type changed to `DefinitionChannelType!` for `channel` query
* return type changed to `[DefinitionChannelType!]!` for `exerciseChannels` query
* return type changed to `[LearningObjectiveType!]!` for `learningObjectives` query
* return type changed to `[QuestionnaireType!]!` for `questionnaires` query
* return type changed to `TeamType!` for `team` query
* return type changed to `[String!]!` for `teamRoles` query
* return type changed to `[ToolType!]!` for `teamTools` query
* return type changed to `[ExtendedToolType!]!` for `extendedTeamTools` query
* return type changed to `[ActionLogType!]!` for `teamChannelLogs` query
* return type changed to `MilestoneStateType!` for `teamMilestone` query
* return type changed to `[MilestoneStateType!]!` for `teamMilestones` query
* return type changed to `[EmailParticipantType!]!` for `emailContacts` query
* return type changed to `EmailParticipantType!` for `emailContact` query
* return type changed to `[EmailThreadType!]!` for `emailThreads` query
* return type changed to `EmailThreadType!` for `emailThread` query
* return type changed to `[String!]!` for `emailAddresses` query
* return type changed to `Boolean!` for `validateEmailAddress` query
* return type changed to `EmailParticipantType!` for `teamEmailParticipant` query
* return type changed to `[EmailTemplateType!]!` for `emailTemplates` query
* return type changed to `[EmailTemplateType!]!` for `threadTemplates` query
* return type changed to `EmailTemplateType!` for `threadTemplate` query
* return type changed to `Int!` for `exerciseTimeLeft` query
* return type changed to `GrapheneConfig!` for `exerciseConfig` query
* return type changed to `Boolean!` for `exerciseLoopRunning` query
* return type changed to `[MilestoneStateType!]!` for `analyticsMilestones` query
* return type changed to `[ActionLogType!]!` for `analyticsActionLogs` query
* return type changed to `[EmailThreadType!]!` for `analyticsEmailThreads` query
* return type changed to `[ToolType!]!` for `exerciseTools` query
* return type changed to `TeamQuestionnaireStateType!` for `questionnaireState` query
* return type changed to `[TeamQuestionnaireStateType!]!` for `teamQuestionnaires` query
* return type changed to `[TeamQuestionnaireStateType!]!` for `exerciseQuestionnaires` query
* return type changed to `[TeamLearningObjectiveType!]!` for `teamLearningObjectives` query
* return type changed to `[UserType!]!` for `users` query
* return type changed to `UserType!` for `user` query
* return type changed to `[TagType!]!` for `tags` query
* return type changed to `ExerciseType!` for `createExercise` mutation
* return type changed to `EmailThreadType!` for `createThread` mutation
* return type changed to `ExerciseType!` for `moveExerciseTime` mutation
* return type changed to `ExerciseType!` for `startExercise` mutation
* return type changed to `ExerciseType!` for `stopExercise` mutation
* return type changed to `UserType!` for `changeUserData` mutation
* field `exercise` type changed to `ExerciseType!` on `ExercisesSubscription`
* field `eventType` type changed to `ExerciseEventTypeEnum!` on `ExercisesSubscription`
* field `exerciseLoopRunning` type changed to `Boolean!` on `ExerciseLoopRunningSubscription`
* argument `teamId` type changed to `ID!` on `ExerciseLoopRunningSubscription`
* field `actionLog` type changed to `ActionLogType!` on `ActionLogsSubscription`
* argument `teamId` type changed to `ID!` on `ActionLogsSubscription`
* field `milestones` type changed to `[MilestoneStateType!]!` on `MilestonesSubscription`
* argument `teamId` type changed to `ID!` on `MilestonesSubscription`
* field `emailThread` type changed to `EmailThreadType!` on `EmailThreadSubscription`
* argument `teamId` type changed to `ID!` on `EmailThreadSubscription`
* field `milestones` type changed to `[MilestoneStateType!]` on `AnalyticsMilestonesSubscription`
* argument `exerciseId` type changed to `ID!` on `AnalyticsMilestonesSubscription`
* field `action_log` type changed to `ActionLogType!` on `AnalyticsActionLogsSubscription`
* argument `exerciseId` type changed to `ID!` on `AnalyticsActionLogsSubscription`
* field `emailThread` type changed to `EmailThreadType!` on `AnalyticsEmailThreadSubscription`
* argument `exerciseId` type changed to `ID!` on `AnalyticsEmailThreadSubscription`
* field `operationDone` type changed to `Boolean!` on `assignUsersToTeam`
* field `operationDone` type changed to `Boolean!` on `removeUsersFromTeam`
* field `operationDone` type changed to `Boolean!` on `assignInstructorsToExercise`
* field `operationDone` type changed to `Boolean!` on `removeInstructorsFromExercise`
* field `operationDone` type changed to `Boolean!` on `addDefinitionAccess`
* field `operationDone` type changed to `Boolean!` on `removeDefinitionAccess`
* field `operationDone` type changed to `Boolean!` on `regenerateCredentials`
* field `operationDone` type changed to `Boolean!` on `deleteUsers`
* field `operationDone` type changed to `Boolean!` on `assignUsersEqually`
* field `operationDone` type changed to `Boolean!` on `copyUsersAssignment`
* field `operationDone` type changed to `Boolean!` on `assignUsersByTags`
* field `operationDone` type changed to `Boolean!` on `deleteTags`
* field `operationDone` type changed to `Boolean!` on `updateTagAssignments`
* field `operationDone` type changed to `Boolean!` on `useTool`
* field `operationDone` type changed to `Boolean!` on `sendEmail`
* field `operationDone` type changed to `Boolean!` on `modifyMilestone`
* field `operationDone` type changed to `Boolean!` on `answerQuestionnaire`
* field `operationDone` type changed to `Boolean!` on `sendCustomInject`
* field `operationDone` type changed to `Boolean!` on `deleteExercise`
* field `operationDone` type changed to `Boolean!` on `deleteDefinition`

Closes #320
parent ad36e946
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