#import "gql/fragments/chapterParts.gql"
#import "gql/fragments/assignmentParts.gql"
#import "gql/fragments/objectiveGroupParts.gql"
#import "gql/fragments/objectiveParts.gql"
#import "gql/fragments/moduleParts.gql"
#import "gql/fragments/contentBlockInterfaceParts.gql"
#import "gql/fragments/contentBlockParts.gql"
query ModuleDetailsQuery($slug: String, $id: ID) {
  module(slug: $slug, id: $id) {
    ...ModuleParts
    assignments {
      edges {
        node {
          ...AssignmentParts
        }
      }
    }
    objectiveGroups {
      ...ObjectiveGroupParts
      objectives {
        ...ObjectiveParts
      }
    }
    chapters {
      ...ChapterParts
      contentBlocks {
        ...ContentBlockInterfaceParts
        ...ContentBlockParts
      }
    }
  }
}
