2021-05-27 08:59:55 -05:00
|
|
|
export type EmbedMarkupData = {
|
|
|
|
// Video or playlist uuid
|
|
|
|
uuid: string
|
|
|
|
}
|
|
|
|
|
|
|
|
export type VideoMiniatureMarkupData = {
|
|
|
|
// Video uuid
|
|
|
|
uuid: string
|
2021-06-09 02:32:47 -05:00
|
|
|
|
|
|
|
onlyDisplayTitle?: string // boolean
|
2021-05-27 08:59:55 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
export type PlaylistMiniatureMarkupData = {
|
|
|
|
// Playlist uuid
|
|
|
|
uuid: string
|
|
|
|
}
|
|
|
|
|
|
|
|
export type ChannelMiniatureMarkupData = {
|
|
|
|
// Channel name (username)
|
|
|
|
name: string
|
|
|
|
}
|
|
|
|
|
|
|
|
export type VideosListMarkupData = {
|
2021-06-09 02:32:47 -05:00
|
|
|
onlyDisplayTitle?: string // boolean
|
|
|
|
|
|
|
|
sort?: string
|
|
|
|
count?: string
|
|
|
|
|
|
|
|
categoryOneOf?: string // coma separated values
|
|
|
|
languageOneOf?: string // coma separated values
|
|
|
|
|
|
|
|
onlyLocal?: string // boolean
|
2021-05-27 08:59:55 -05:00
|
|
|
}
|
2021-05-28 08:23:17 -05:00
|
|
|
|
|
|
|
export type ButtonMarkupData = {
|
|
|
|
theme: 'primary' | 'secondary'
|
|
|
|
href: string
|
|
|
|
label: string
|
2021-06-09 02:32:47 -05:00
|
|
|
blankTarget?: string // boolean
|
2021-05-28 08:23:17 -05:00
|
|
|
}
|
2021-06-09 02:19:36 -05:00
|
|
|
|
|
|
|
export type ContainerMarkupData = {
|
|
|
|
width?: string
|
|
|
|
title?: string
|
|
|
|
description?: string
|
|
|
|
}
|