31 lines
493 B
TypeScript
31 lines
493 B
TypeScript
export interface Social {
|
|
type: string
|
|
name: string
|
|
url: string
|
|
}
|
|
|
|
export interface StreamData {
|
|
tags: string[]
|
|
title: string
|
|
topic: string
|
|
startedAt: number
|
|
viewers: number
|
|
preview: string
|
|
cursor?: string
|
|
}
|
|
|
|
export interface StreamerData {
|
|
username: string
|
|
login: string
|
|
followers: number
|
|
isLive: boolean
|
|
about: string
|
|
socials?: Social[]
|
|
pfp: string
|
|
banner: string
|
|
stream?: StreamData | null
|
|
isPartner: boolean | null
|
|
colorHex: string
|
|
id: number
|
|
}
|