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