mirror of
https://github.com/owncast/owncast.git
synced 2024-11-22 04:40:37 +03:00
15 lines
295 B
TypeScript
15 lines
295 B
TypeScript
export interface ServerStatus {
|
|
online: boolean;
|
|
viewerCount: number;
|
|
lastConnectTime?: Date;
|
|
lastDisconnectTime?: Date;
|
|
versionNumber?: string;
|
|
streamTitle?: string;
|
|
}
|
|
|
|
export function makeEmptyServerStatus(): ServerStatus {
|
|
return {
|
|
online: false,
|
|
viewerCount: 0,
|
|
};
|
|
}
|