2021-05-27 09:59:55 -04:00
|
|
|
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
|
|
|
|
}
|
2021-05-28 09:23:17 -04:00
|
|
|
|
|
|
|
export type ButtonMarkupData = {
|
|
|
|
theme: 'primary' | 'secondary'
|
|
|
|
href: string
|
|
|
|
label: string
|
|
|
|
blankTarget?: string
|
|
|
|
}
|