]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame_incremental - 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
1export type EmbedMarkupData = {
2 // Video or playlist uuid
3 uuid: string
4}
5
6export type VideoMiniatureMarkupData = {
7 // Video uuid
8 uuid: string
9
10 onlyDisplayTitle?: string // boolean
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 = {
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
33}
34
35export type ButtonMarkupData = {
36 theme: 'primary' | 'secondary'
37 href: string
38 label: string
39 blankTarget?: string // boolean
40}
41
42export type ContainerMarkupData = {
43 width?: string
44 title?: string
45 description?: string
46}