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