blob: 3e396052a68e7f66fc27dcb5461b6f5f21c0e89e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
export type EmbedMarkupData = {
// Video or playlist uuid
uuid: string
}
export type VideoMiniatureMarkupData = {
// Video uuid
uuid: string
onlyDisplayTitle?: string // boolean
}
export type PlaylistMiniatureMarkupData = {
// Playlist uuid
uuid: string
}
export type ChannelMiniatureMarkupData = {
// Channel name (username)
name: string
displayLatestVideo?: string // boolean
displayDescription?: string // boolean
}
export type VideosListMarkupData = {
onlyDisplayTitle?: string // boolean
maxRows?: string // number
sort?: string
count?: string // number
categoryOneOf?: string // coma separated values, number[]
languageOneOf?: string // coma separated values
channelHandle?: string
accountHandle?: string
isLive?: string // number
onlyLocal?: string // boolean
}
export type ButtonMarkupData = {
theme: 'primary' | 'secondary'
href: string
label: string
blankTarget?: string // boolean
}
export type ContainerMarkupData = {
width?: string
title?: string
description?: string
layout?: 'row' | 'column'
justifyContent?: 'space-between' | 'normal' // default to 'space-between'
}
|