aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/custom-markup
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-06-09 10:31:27 +0200
committerChocobozzz <me@florianbigard.com>2021-06-09 10:31:27 +0200
commit61cbafc1f80a33a895b54b15751a42e0d78af231 (patch)
tree4ecbd18133550053afe0d12441030f8a1c257511 /shared/models/custom-markup
parent9105634f16e5dfc66df198f23dbfae77dff2d821 (diff)
downloadPeerTube-61cbafc1f80a33a895b54b15751a42e0d78af231.tar.gz
PeerTube-61cbafc1f80a33a895b54b15751a42e0d78af231.tar.zst
PeerTube-61cbafc1f80a33a895b54b15751a42e0d78af231.zip
Improve channel card custom markup
Diffstat (limited to 'shared/models/custom-markup')
-rw-r--r--shared/models/custom-markup/custom-markup-data.model.ts4
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 = {
18export type ChannelMiniatureMarkupData = { 18export 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
23export type VideosListMarkupData = { 26export 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}