diff options
Diffstat (limited to 'shared/models/custom-markup/custom-markup-data.model.ts')
-rw-r--r-- | shared/models/custom-markup/custom-markup-data.model.ts | 28 |
1 files changed, 28 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 new file mode 100644 index 000000000..af697428e --- /dev/null +++ b/shared/models/custom-markup/custom-markup-data.model.ts | |||
@@ -0,0 +1,28 @@ | |||
1 | export type EmbedMarkupData = { | ||
2 | // Video or playlist uuid | ||
3 | uuid: string | ||
4 | } | ||
5 | |||
6 | export type VideoMiniatureMarkupData = { | ||
7 | // Video uuid | ||
8 | uuid: string | ||
9 | } | ||
10 | |||
11 | export type PlaylistMiniatureMarkupData = { | ||
12 | // Playlist uuid | ||
13 | uuid: string | ||
14 | } | ||
15 | |||
16 | export type ChannelMiniatureMarkupData = { | ||
17 | // Channel name (username) | ||
18 | name: string | ||
19 | } | ||
20 | |||
21 | export type VideosListMarkupData = { | ||
22 | title: string | ||
23 | description: string | ||
24 | sort: string | ||
25 | categoryOneOf: string // coma separated values | ||
26 | languageOneOf: string // coma separated values | ||
27 | count: string | ||
28 | } | ||