code refactoring

This commit is contained in:
2024-08-20 20:29:32 +02:00
parent c51f320a6f
commit 8f2d9eaf6e
6 changed files with 20 additions and 17 deletions

View File

@@ -102,8 +102,15 @@ export type CustomTemplate = {
content: string
}
export enum LiveStreamStatus {
WAITING,
IN_PROGRESS,
COMPLETED,
ERRORED
}
export type LiveStreamProgress = Record<string, {
Status: number
Status: LiveStreamStatus
WaitTime: string
LiveDate: string
}>