1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 10:19:35 +02:00

Add more filters for video miniatures

This commit is contained in:
Chocobozzz 2021-06-09 09:32:47 +02:00
parent f7894f0964
commit 9105634f16
No known key found for this signature in database
GPG key ID: 583A612D890159BE
4 changed files with 52 additions and 21 deletions

View file

@ -6,6 +6,8 @@ export type EmbedMarkupData = {
export type VideoMiniatureMarkupData = {
// Video uuid
uuid: string
onlyDisplayTitle?: string // boolean
}
export type PlaylistMiniatureMarkupData = {
@ -19,17 +21,22 @@ export type ChannelMiniatureMarkupData = {
}
export type VideosListMarkupData = {
sort: string
categoryOneOf: string // coma separated values
languageOneOf: string // coma separated values
count: string
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
blankTarget?: string // boolean
}
export type ContainerMarkupData = {