diff options
author | Chocobozzz <me@florianbigard.com> | 2021-05-28 15:23:17 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-05-28 15:23:17 +0200 |
commit | 630421392314a4d78506f060055c754dfddf220b (patch) | |
tree | 7365327d5a95350c6cc1f78f6adede70793e053f /shared/models/custom-markup/custom-markup-data.model.ts | |
parent | 5351a0584f528e4ddb9c3c99329ba88e0ca8288e (diff) | |
download | PeerTube-630421392314a4d78506f060055c754dfddf220b.tar.gz PeerTube-630421392314a4d78506f060055c754dfddf220b.tar.zst PeerTube-630421392314a4d78506f060055c754dfddf220b.zip |
Support peertube button in custom markup
Diffstat (limited to 'shared/models/custom-markup/custom-markup-data.model.ts')
-rw-r--r-- | shared/models/custom-markup/custom-markup-data.model.ts | 7 |
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 | |||
30 | export type ButtonMarkupData = { | ||
31 | theme: 'primary' | 'secondary' | ||
32 | href: string | ||
33 | label: string | ||
34 | blankTarget?: string | ||
35 | } | ||