Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

541 B
Raw Blame
export interface SelectOptionsItem<T = string | number> {
  id: T
  label: string

  description?: string
  imageUrl?: string
  classes?: string[]
}

export interface SelectChannelItem extends SelectOptionsItem {
  id: number // Force number
  name: string
  support: string

  editor: boolean
  collaborate: boolean
  owner: boolean

  ownerAccountName: string
  ownerAccountId: number
  displayName: string

  updatedAt: string | Date
}

export interface SelectOptionsGroup {
  label: string
  value: string
  items: SelectOptionsItem[]
}