aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/custom-markup/custom-markup-data.model.ts
blob: 24ac3706c1336c37efcd7d4823cf07b4e5763778 (plain) (tree)



























                                                






                                
export type EmbedMarkupData = {
  // Video or playlist uuid
  uuid: string
}

export type VideoMiniatureMarkupData = {
  // Video uuid
  uuid: string
}

export type PlaylistMiniatureMarkupData = {
  // Playlist uuid
  uuid: string
}

export type ChannelMiniatureMarkupData = {
  // Channel name (username)
  name: string
}

export type VideosListMarkupData = {
  title: string
  description: string
  sort: string
  categoryOneOf: string // coma separated values
  languageOneOf: string // coma separated values
  count: string
}

export type ButtonMarkupData = {
  theme: 'primary' | 'secondary'
  href: string
  label: string
  blankTarget?: string
}