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