#import "../../fragments/contentBlockInterfaceParts.gql"

query SnapshotDetail($id: ID!) {
  snapshot(id: $id) {
    id
    title
    metaTitle
    heroImage
    created
    changes {
      newContentBlocks
      newObjectives
      hiddenContentBlocks
      hiddenObjectives
    }
    creator
    objectiveGroups {
      id
      title
      displayTitle
      hidden
      objectives {
        hidden
        id
        text
      }
    }
    chapters {
      id
      description
      title
      titleHidden
      descriptionHidden
      contentBlocks {
        id
        ...ContentBlockInterfaceParts
        hidden
      }
    }
  }
}
