Newer
Older
import { FluidType, UserDuelState } from 'enums'
Hugo
committed
Hugo
committed
id: string
title: string
description: string
duration: Duration
}
export interface UserDuelEntity extends DuelEntity {
duration: Duration
threshold: number
startDate: string | null
fluidTypes: FluidType[]
userConsumption: number
}
export interface UserDuel extends Omit<UserDuelEntity, 'startDate'> {