diff options
author | Chocobozzz <me@florianbigard.com> | 2021-06-09 10:31:27 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-06-09 10:31:27 +0200 |
commit | 61cbafc1f80a33a895b54b15751a42e0d78af231 (patch) | |
tree | 4ecbd18133550053afe0d12441030f8a1c257511 /shared/models | |
parent | 9105634f16e5dfc66df198f23dbfae77dff2d821 (diff) | |
download | PeerTube-61cbafc1f80a33a895b54b15751a42e0d78af231.tar.gz PeerTube-61cbafc1f80a33a895b54b15751a42e0d78af231.tar.zst PeerTube-61cbafc1f80a33a895b54b15751a42e0d78af231.zip |
Improve channel card custom markup
Diffstat (limited to 'shared/models')
-rw-r--r-- | shared/models/custom-markup/custom-markup-data.model.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/models/custom-markup/custom-markup-data.model.ts b/shared/models/custom-markup/custom-markup-data.model.ts index 085ea7cf6..f3c23ec2c 100644 --- a/shared/models/custom-markup/custom-markup-data.model.ts +++ b/shared/models/custom-markup/custom-markup-data.model.ts | |||
@@ -18,6 +18,9 @@ export type PlaylistMiniatureMarkupData = { | |||
18 | export type ChannelMiniatureMarkupData = { | 18 | export type ChannelMiniatureMarkupData = { |
19 | // Channel name (username) | 19 | // Channel name (username) |
20 | name: string | 20 | name: string |
21 | |||
22 | displayLatestVideo?: string // boolean | ||
23 | displayDescription?: string // boolean | ||
21 | } | 24 | } |
22 | 25 | ||
23 | export type VideosListMarkupData = { | 26 | export type VideosListMarkupData = { |
@@ -43,4 +46,5 @@ export type ContainerMarkupData = { | |||
43 | width?: string | 46 | width?: string |
44 | title?: string | 47 | title?: string |
45 | description?: string | 48 | description?: string |
49 | layout?: 'row' | 'column' | ||
46 | } | 50 | } |