Skip to content
Snippets Groups Projects
action.model.ts 337 B
Newer Older
  • Learn to ignore specific revisions
  • import { UserActionState } from 'enums'
    
    import { DateTime } from 'luxon'
    
    Guilhem CARRON's avatar
    Guilhem CARRON committed
    import { Ecogesture } from 'models'
    
    Guilhem CARRON's avatar
    Guilhem CARRON committed
    export interface UserActionEntity {
    
    Guilhem CARRON's avatar
    Guilhem CARRON committed
      ecogesture: Ecogesture | null
    
      state: UserActionState
    
    Guilhem CARRON's avatar
    Guilhem CARRON committed
      startDate: string | null
    }
    export interface UserAction extends Omit<UserActionEntity, 'startDate'> {
    
    Guilhem CARRON's avatar
    Guilhem CARRON committed
      startDate: DateTime | null