diff options
Diffstat (limited to 'shared/models/videos/live')
-rw-r--r-- | shared/models/videos/live/live-video-event-payload.model.ts | 3 | ||||
-rw-r--r-- | shared/models/videos/live/live-video-event.type.ts | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/shared/models/videos/live/live-video-event-payload.model.ts b/shared/models/videos/live/live-video-event-payload.model.ts index f9038f4de..6cd7540e8 100644 --- a/shared/models/videos/live/live-video-event-payload.model.ts +++ b/shared/models/videos/live/live-video-event-payload.model.ts | |||
@@ -1,5 +1,6 @@ | |||
1 | import { VideoState } from '../video-state.enum' | 1 | import { VideoState } from '../video-state.enum' |
2 | 2 | ||
3 | export interface LiveVideoEventPayload { | 3 | export interface LiveVideoEventPayload { |
4 | state: VideoState | 4 | state?: VideoState |
5 | views?: number | ||
5 | } | 6 | } |
diff --git a/shared/models/videos/live/live-video-event.type.ts b/shared/models/videos/live/live-video-event.type.ts index 4d15899da..50f794561 100644 --- a/shared/models/videos/live/live-video-event.type.ts +++ b/shared/models/videos/live/live-video-event.type.ts | |||
@@ -1 +1 @@ | |||
export type LiveVideoEventType = 'state-change' | export type LiveVideoEventType = 'state-change' | 'views-change' | ||