Skip to content
Snippets Groups Projects
term.model.ts 298 B
Newer Older
  • Learn to ignore specific revisions
  • Guilhem CARRON's avatar
    Guilhem CARRON committed
    import { DateTime } from 'luxon'
    
    export interface Term {
      accepted: boolean
      acceptedAt: string | DateTime
      termsId?: string
      url?: string
      version: string
    }
    
    
    export type VersionType = 'minor' | 'major' | 'init'
    export interface TermsStatus {
      versionType: VersionType
      accepted: boolean
    }