mirror of https://github.com/Chocobozzz/PeerTube
47 lines
840 B
TypeScript
47 lines
840 B
TypeScript
export type EmbedMarkupData = {
|
|
// Video or playlist uuid
|
|
uuid: string
|
|
}
|
|
|
|
export type VideoMiniatureMarkupData = {
|
|
// Video uuid
|
|
uuid: string
|
|
|
|
onlyDisplayTitle?: string // boolean
|
|
}
|
|
|
|
export type PlaylistMiniatureMarkupData = {
|
|
// Playlist uuid
|
|
uuid: string
|
|
}
|
|
|
|
export type ChannelMiniatureMarkupData = {
|
|
// Channel name (username)
|
|
name: string
|
|
}
|
|
|
|
export type VideosListMarkupData = {
|
|
onlyDisplayTitle?: string // boolean
|
|
|
|
sort?: string
|
|
count?: string
|
|
|
|
categoryOneOf?: string // coma separated values
|
|
languageOneOf?: string // coma separated values
|
|
|
|
onlyLocal?: string // boolean
|
|
}
|
|
|
|
export type ButtonMarkupData = {
|
|
theme: 'primary' | 'secondary'
|
|
href: string
|
|
label: string
|
|
blankTarget?: string // boolean
|
|
}
|
|
|
|
export type ContainerMarkupData = {
|
|
width?: string
|
|
title?: string
|
|
description?: string
|
|
}
|