Add apply snapshot mutation

This commit is contained in:
Ramon Wenger 2021-05-06 23:19:04 +02:00
parent 66949f2574
commit 96ba04d1d1
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
#import "gql/fragments/objectiveGroupParts.gql"
#import "gql/fragments/objectiveParts.gql"
#import "gql/fragments/contentBlockInterfaceParts.gql"
#import "gql/fragments/contentBlockParts.gql"
#import "gql/fragments/moduleParts.gql"
#import "gql/fragments/chapterParts.gql"
mutation ApplySnapshot($input: ApplySnapshotInput!) {
applySnapshot(input: $input) {
success
module {
...ModuleParts
objectiveGroups {
...ObjectiveGroupParts
objectives {
...ObjectiveParts
}
}
chapters {
...ChapterParts
contentBlocks {
...ContentBlockInterfaceParts
...ContentBlockParts
}
}
}
}
}