export interface Event {
  id: number
  title: string
  description: string | null
  startTime: Date | string
  endTime: Date | string
  thumbnailFilename: string | null
  state: EventStateType
  channelId: number
  createdAt: Date | string
  updatedAt: Date | string
  liveUrl: string | null
}

export type EventStateType = 'active' | 'disabled'

export interface EventCreate {
  title: string
  description?: string
  startTime: string
  endTime: string
  thumbnailFilename?: string
  state?: EventStateType
}

export interface EventUpdate {
  title?: string
  description?: string
  startTime?: string
  endTime?: string
  thumbnailFilename?: string
  state?: EventStateType
}
