diff options
Diffstat (limited to 'shared/models/custom-markup')
-rw-r--r-- | shared/models/custom-markup/custom-markup-data.model.ts | 17 |
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 = { | |||
6 | export type VideoMiniatureMarkupData = { | 6 | export type VideoMiniatureMarkupData = { |
7 | // Video uuid | 7 | // Video uuid |
8 | uuid: string | 8 | uuid: string |
9 | |||
10 | onlyDisplayTitle?: string // boolean | ||
9 | } | 11 | } |
10 | 12 | ||
11 | export type PlaylistMiniatureMarkupData = { | 13 | export type PlaylistMiniatureMarkupData = { |
@@ -19,17 +21,22 @@ export type ChannelMiniatureMarkupData = { | |||
19 | } | 21 | } |
20 | 22 | ||
21 | export type VideosListMarkupData = { | 23 | export 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 | ||
28 | export type ButtonMarkupData = { | 35 | export 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 | ||
35 | export type ContainerMarkupData = { | 42 | export type ContainerMarkupData = { |