aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Hololive/hololive.ts
blob: 4b9ed25e74a7f454af1f653aeaa34d7682acedd1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
export interface Live {
	time: Date;
	link: string;
	videoId: string;
	streamer: string;
	livePreviewImage: string;
	guests: string[];
	streaming: boolean;
}

export interface ParseResult {
	lives: Live[];
	dict: Record<string, string>;
}

export const typeSchedule = (schedule: object) => schedule as ParseResult;