Add apply snapshot mutation
This commit is contained in:
parent
66949f2574
commit
96ba04d1d1
|
|
@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue