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