]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/custom-markup/custom-markup-data.model.ts
Add more filters for video miniatures
[github/Chocobozzz/PeerTube.git] / shared / models / custom-markup / custom-markup-data.model.ts
CommitLineData
2539932e
C
1export type EmbedMarkupData = {
2 // Video or playlist uuid
3 uuid: string
4}
5
6export type VideoMiniatureMarkupData = {
7 // Video uuid
8 uuid: string
9105634f
C
9
10 onlyDisplayTitle?: string // boolean
2539932e
C
11}
12
13export type PlaylistMiniatureMarkupData = {
14 // Playlist uuid
15 uuid: string
16}
17
18export type ChannelMiniatureMarkupData = {
19 // Channel name (username)
20 name: string
21}
22
23export type VideosListMarkupData = {
9105634f
C
24 onlyDisplayTitle?: string // boolean
25
26 sort?: string
27 count?: string
28
29 categoryOneOf?: string // coma separated values
30 languageOneOf?: string // coma separated values
31
32 onlyLocal?: string // boolean
2539932e 33}
63042139
C
34
35export type ButtonMarkupData = {
36 theme: 'primary' | 'secondary'
37 href: string
38 label: string
9105634f 39 blankTarget?: string // boolean
63042139 40}
f7894f09
C
41
42export type ContainerMarkupData = {
43 width?: string
44 title?: string
45 description?: string
46}