aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/server
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/server')
-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 d81b72696..3b4855eaa 100644
--- a/shared/models/server/job.model.ts
+++ b/shared/models/server/job.model.ts
@@ -1,4 +1,5 @@
1import { ContextType } from '../activitypub/context' 1import { ContextType } from '../activitypub/context'
2import { VideoState } from '../videos'
2import { VideoEditorTaskCut } from '../videos/editor' 3import { VideoEditorTaskCut } from '../videos/editor'
3import { VideoResolution } from '../videos/file/video-resolution.enum' 4import { VideoResolution } from '../videos/file/video-resolution.enum'
4import { SendEmailOptions } from './emailer.model' 5import { SendEmailOptions } from './emailer.model'
@@ -116,6 +117,9 @@ export type ManageVideoTorrentPayload =
116interface BaseTranscodingPayload { 117interface BaseTranscodingPayload {
117 videoUUID: string 118 videoUUID: string
118 isNewVideo?: boolean 119 isNewVideo?: boolean
120
121 // Custom notification when the task is finished
122 notification?: 'default' | 'video-edition'
119} 123}
120 124
121export interface HLSTranscodingPayload extends BaseTranscodingPayload { 125export interface HLSTranscodingPayload extends BaseTranscodingPayload {
@@ -171,6 +175,7 @@ export interface DeleteResumableUploadMetaFilePayload {
171export interface MoveObjectStoragePayload { 175export interface MoveObjectStoragePayload {
172 videoUUID: string 176 videoUUID: string
173 isNewVideo: boolean 177 isNewVideo: boolean
178 previousVideoState: VideoState
174} 179}
175 180
176export type VideoEditorTaskCutPayload = VideoEditorTaskCut 181export type VideoEditorTaskCutPayload = VideoEditorTaskCut