aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/server/job.model.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-09-25 10:04:21 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-11-09 15:33:04 +0100
commita5cf76afa378aae81af2a9b0ce548e5d2582f832 (patch)
tree58da320232bee7c9656774c5d6811e82bbf6c696 /shared/models/server/job.model.ts
parentde6310b2fcbb8a6b79c546b23dfa1920724faaa7 (diff)
downloadPeerTube-a5cf76afa378aae81af2a9b0ce548e5d2582f832.tar.gz
PeerTube-a5cf76afa378aae81af2a9b0ce548e5d2582f832.tar.zst
PeerTube-a5cf76afa378aae81af2a9b0ce548e5d2582f832.zip
Add watch messages if live has not started
Diffstat (limited to 'shared/models/server/job.model.ts')
-rw-r--r--shared/models/server/job.model.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/shared/models/server/job.model.ts b/shared/models/server/job.model.ts
index c643e6017..346b25607 100644
--- a/shared/models/server/job.model.ts
+++ b/shared/models/server/job.model.ts
@@ -16,6 +16,7 @@ export type JobType =
16 | 'videos-views' 16 | 'videos-views'
17 | 'activitypub-refresher' 17 | 'activitypub-refresher'
18 | 'video-redundancy' 18 | 'video-redundancy'
19 | 'video-live-ending'
19 20
20export interface Job { 21export interface Job {
21 id: number 22 id: number
@@ -126,3 +127,7 @@ export type VideoTranscodingPayload =
126 | NewResolutionTranscodingPayload 127 | NewResolutionTranscodingPayload
127 | OptimizeTranscodingPayload 128 | OptimizeTranscodingPayload
128 | MergeAudioTranscodingPayload 129 | MergeAudioTranscodingPayload
130
131export interface VideoLiveEndingPayload {
132 videoId: number
133}