diff options
author | Chocobozzz <me@florianbigard.com> | 2021-06-09 09:32:47 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-06-09 09:32:47 +0200 |
commit | 9105634f16e5dfc66df198f23dbfae77dff2d821 (patch) | |
tree | b88b569f75b9312486b382633b1e6eef59bb5045 /shared/models | |
parent | f7894f09649b8ae4009d51790f1ac636c4fc4439 (diff) | |
download | PeerTube-9105634f16e5dfc66df198f23dbfae77dff2d821.tar.gz PeerTube-9105634f16e5dfc66df198f23dbfae77dff2d821.tar.zst PeerTube-9105634f16e5dfc66df198f23dbfae77dff2d821.zip |
Add more filters for video miniatures
Diffstat (limited to 'shared/models')
-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 = { |