39 lines
740 B
GraphQL
39 lines
740 B
GraphQL
#import "./fragments/chapterParts.gql"
|
|
#import "./fragments/assignmentParts.gql"
|
|
#import "./fragments/objectiveGroupParts.gql"
|
|
#import "./fragments/objectiveParts.gql"
|
|
#import "./fragments/moduleParts.gql"
|
|
query ModuleDetailsQuery($slug: String!) {
|
|
module(slug: $slug) {
|
|
...ModuleParts
|
|
assignments {
|
|
edges {
|
|
node {
|
|
...AssignmentParts
|
|
}
|
|
}
|
|
}
|
|
objectiveGroups {
|
|
edges {
|
|
node {
|
|
...ObjectiveGroupParts
|
|
objectives {
|
|
edges {
|
|
node {
|
|
...ObjectiveParts
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
chapters {
|
|
edges {
|
|
node {
|
|
...ChapterParts
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|