mirror of
https://codeberg.org/SafeTwitch/safetwitch.git
synced 2025-02-03 01:58:48 -05:00
29 lines
No EOL
526 B
TypeScript
29 lines
No EOL
526 B
TypeScript
export interface Social {
|
|
type: string | null
|
|
name: string,
|
|
link: 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
|
|
stream?: StreamData | null
|
|
isPartner: boolean | null
|
|
colorHex: string
|
|
id: number
|
|
} |