aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/models/custom-markup/custom-markup-data.model.ts17
1 files changed, 12 insertions, 5 deletions
diff --git a/shared/models/custom-markup/custom-markup-data.model.ts b/shared/models/custom-markup/custom-markup-data.model.ts
index d38f9412c..085ea7cf6 100644
--- a/shared/models/custom-markup/custom-markup-data.model.ts
+++ b/shared/models/custom-markup/custom-markup-data.model.ts
@@ -6,6 +6,8 @@ export type EmbedMarkupData = {
6export type VideoMiniatureMarkupData = { 6export type VideoMiniatureMarkupData = {
7 // Video uuid 7 // Video uuid
8 uuid: string 8 uuid: string
9
10 onlyDisplayTitle?: string // boolean
9} 11}
10 12
11export type PlaylistMiniatureMarkupData = { 13export type PlaylistMiniatureMarkupData = {
@@ -19,17 +21,22 @@ export type ChannelMiniatureMarkupData = {
19} 21}
20 22
21export type VideosListMarkupData = { 23export type VideosListMarkupData = {
22 sort: string 24 onlyDisplayTitle?: string // boolean
23 categoryOneOf: string // coma separated values 25
24 languageOneOf: string // coma separated values 26 sort?: string
25 count: string 27 count?: string
28
29 categoryOneOf?: string // coma separated values
30 languageOneOf?: string // coma separated values
31
32 onlyLocal?: string // boolean
26} 33}
27 34
28export type ButtonMarkupData = { 35export type ButtonMarkupData = {
29 theme: 'primary' | 'secondary' 36 theme: 'primary' | 'secondary'
30 href: string 37 href: string
31 label: string 38 label: string
32 blankTarget?: string 39 blankTarget?: string // boolean
33} 40}
34 41
35export type ContainerMarkupData = { 42export type ContainerMarkupData = {