affiliation.ts 661 B

123456789101112131415161718192021222324
  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. inReconfirmNotificationPeriod: boolean
  12. inferred: boolean
  13. institution: Institution
  14. licence: 'free' | 'pro_plus'
  15. pastReconfirmDate: boolean
  16. portal: Portal
  17. role: Nullable<string>
  18. group?: {
  19. domainCaptureEnabled: boolean
  20. managedUsersEnabled: boolean
  21. _id: string
  22. }
  23. }