aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Hololive/hololive.ts
blob: f348567c7a04f89ec1d206428ed68d879cdd91a4 (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;