aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/models/server/job.model.ts15
1 files changed, 15 insertions, 0 deletions
diff --git a/shared/models/server/job.model.ts b/shared/models/server/job.model.ts
index d0293f542..6b07eba69 100644
--- a/shared/models/server/job.model.ts
+++ b/shared/models/server/job.model.ts
@@ -20,6 +20,7 @@ export type JobType =
20 | 'video-redundancy' 20 | 'video-redundancy'
21 | 'video-live-ending' 21 | 'video-live-ending'
22 | 'actor-keys' 22 | 'actor-keys'
23 | 'manage-video-torrent'
23 | 'move-to-object-storage' 24 | 'move-to-object-storage'
24 | 'video-edition' 25 | 'video-edition'
25 26
@@ -96,6 +97,20 @@ export type VideoRedundancyPayload = {
96 videoId: number 97 videoId: number
97} 98}
98 99
100export type ManageVideoTorrentPayload =
101 {
102 action: 'create'
103 videoId: number
104 videoFileId: number
105 } | {
106 action: 'update-metadata'
107
108 videoId?: number
109 streamingPlaylistId?: number
110
111 videoFileId: number
112 }
113
99// Video transcoding payloads 114// Video transcoding payloads
100 115
101interface BaseTranscodingPayload { 116interface BaseTranscodingPayload {