Initial api requests + stores + basic layout

This commit is contained in:
Gabe Kangas
2022-04-25 23:10:07 -07:00
parent 21af5ce020
commit e2e21d915b
10 changed files with 315 additions and 4 deletions

View File

@@ -0,0 +1,15 @@
export interface ServerStatus {
online: boolean;
viewerCount: number;
lastConnectTime?: Date;
lastDisconnectTime?: Date;
versionNumber?: string;
streamTitle?: string;
}
export function makeEmptyServerStatus(): ServerStatus {
return {
online: false,
viewerCount: 0,
};
}