#import "./schoolClassParts.gql"
#import "./moduleParts.gql"
fragment UserParts on PrivateUserNode {
  id
  pk
  username
  email
  firstName
  lastName
  avatarUrl
  expiryDate
  readOnly
  lastModule {
    id
    slug
  }
  lastTopic {
    id
    slug
  }
  selectedClass {
    id
    readOnly
  }
  recentModules(orderBy: "-visited") {
    edges {
      node {
        ...ModuleParts
      }
    }
  }
  schoolClasses {
    edges {
      node {
        ...SchoolClassParts
      }
    }
  }
}
