safetwitch/src/types/Streamer.ts
2023-09-10 15:21:55 -04:00

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
}