51 lines
817 B
TypeScript
Raw Normal View History

2023-07-19 20:26:43 -04:00
import type { StreamerData } from "./Streamer"
2023-07-04 20:53:02 -04:00
export interface MinifiedCategory {
image: string
id: string
name: string
displayName: string
}
export interface MinifiedStreamer {
name: string
login: string
pfp: string
colorHex: string
}
export interface Video {
preview: string
game: MinifiedCategory
duration: number
title: string
publishedAt: string
views: number
tag: string[]
2023-07-19 20:26:43 -04:00
streamer: StreamerData
2023-07-04 20:53:02 -04:00
}
export interface Shelve {
title: string
videos: Video[]
2023-07-19 20:26:43 -04:00
}
export interface VodMessager {
name: string
login: string
}
export interface VodCommentBadge {
version: number
setId: string
}
export interface VodComment {
message: string
messager: MinifiedStreamer
offset: number
cursor: string
badges: VodCommentBadge[]
2023-07-04 20:53:02 -04:00
}