]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/custom-markup/custom-markup-data.model.ts
Merge branch 'release/3.2.0' into develop
[github/Chocobozzz/PeerTube.git] / shared / models / custom-markup / custom-markup-data.model.ts
1 export type EmbedMarkupData = {
2 // Video or playlist uuid
3 uuid: string
4 }
5
6 export type VideoMiniatureMarkupData = {
7 // Video uuid
8 uuid: string
9 }
10
11 export type PlaylistMiniatureMarkupData = {
12 // Playlist uuid
13 uuid: string
14 }
15
16 export type ChannelMiniatureMarkupData = {
17 // Channel name (username)
18 name: string
19 }
20
21 export type VideosListMarkupData = {
22 title: string
23 description: string
24 sort: string
25 categoryOneOf: string // coma separated values
26 languageOneOf: string // coma separated values
27 count: string
28 }
29
30 export type ButtonMarkupData = {
31 theme: 'primary' | 'secondary'
32 href: string
33 label: string
34 blankTarget?: string
35 }