aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/models/videos/live/live-video-event-payload.model.ts3
-rw-r--r--shared/models/videos/live/live-video-event.type.ts2
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 @@
1import { VideoState } from '../video-state.enum' 1import { VideoState } from '../video-state.enum'
2 2
3export interface LiveVideoEventPayload { 3export 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'