aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-05-28 15:23:17 +0200
committerChocobozzz <me@florianbigard.com>2021-05-28 15:23:17 +0200
commit630421392314a4d78506f060055c754dfddf220b (patch)
tree7365327d5a95350c6cc1f78f6adede70793e053f /shared
parent5351a0584f528e4ddb9c3c99329ba88e0ca8288e (diff)
downloadPeerTube-630421392314a4d78506f060055c754dfddf220b.tar.gz
PeerTube-630421392314a4d78506f060055c754dfddf220b.tar.zst
PeerTube-630421392314a4d78506f060055c754dfddf220b.zip
Support peertube button in custom markup
Diffstat (limited to 'shared')
-rw-r--r--shared/models/custom-markup/custom-markup-data.model.ts7
1 files changed, 7 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 af697428e..24ac3706c 100644
--- a/shared/models/custom-markup/custom-markup-data.model.ts
+++ b/shared/models/custom-markup/custom-markup-data.model.ts
@@ -26,3 +26,10 @@ export type VideosListMarkupData = {
26 languageOneOf: string // coma separated values 26 languageOneOf: string // coma separated values
27 count: string 27 count: string
28} 28}
29
30export type ButtonMarkupData = {
31 theme: 'primary' | 'secondary'
32 href: string
33 label: string
34 blankTarget?: string
35}