affiliation.ts 695 B

12345678910111213141516171819202122232425
  1. import { Institution } from './institution'
  2. import { Portal } from './portal'
  3. import { Nullable } from './utils'
  4. export type Affiliation = {
  5. cachedConfirmedAt: Nullable<string>
  6. cachedEntitlement: Nullable<boolean>
  7. cachedLastDayToReconfirm: Nullable<string>
  8. cachedPastReconfirmDate: boolean
  9. cachedReconfirmedAt: Nullable<string>
  10. department: Nullable<string>
  11. domainCapturedByGroup?: boolean
  12. inReconfirmNotificationPeriod: boolean
  13. inferred: boolean
  14. institution: Institution
  15. licence: 'free' | 'pro_plus'
  16. pastReconfirmDate: boolean
  17. portal: Portal
  18. role: Nullable<string>
  19. group?: {
  20. domainCaptureEnabled: boolean
  21. managedUsersEnabled: boolean
  22. _id: string
  23. }
  24. }