export type LinkType = 'internal' | 'external' | 'miniProgram'

export interface LinkInfo {
  type: LinkType
  value: string
}

export interface ConfigItem {
  id: number
  name: string
  imageUrl: string
  link: LinkInfo
  sort: number
}

export interface ConfigData {
  enabled?: boolean
  durationSeconds?: number
  max: number
  items: ConfigItem[]
}

export interface Category {
  key: string
  label: string
  type: string
  recommendSizeText: string
}
