2539932e16
* Prepare homepage parsers * Add ability to update instance hompage * Add ability to set homepage as landing page * Add homepage preview in admin * Dynamically update left menu for homepage * Inject home content in homepage * Add videos list and channel miniature custom markup * Remove unused elements in markup service
28 lines
530 B
TypeScript
28 lines
530 B
TypeScript
export type EmbedMarkupData = {
|
|
// Video or playlist uuid
|
|
uuid: string
|
|
}
|
|
|
|
export type VideoMiniatureMarkupData = {
|
|
// Video uuid
|
|
uuid: string
|
|
}
|
|
|
|
export type PlaylistMiniatureMarkupData = {
|
|
// Playlist uuid
|
|
uuid: string
|
|
}
|
|
|
|
export type ChannelMiniatureMarkupData = {
|
|
// Channel name (username)
|
|
name: string
|
|
}
|
|
|
|
export type VideosListMarkupData = {
|
|
title: string
|
|
description: string
|
|
sort: string
|
|
categoryOneOf: string // coma separated values
|
|
languageOneOf: string // coma separated values
|
|
count: string
|
|
}
|