diff options
Diffstat (limited to 'shared/models/runners/runner-job-success-body.model.ts')
-rw-r--r-- | shared/models/runners/runner-job-success-body.model.ts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/shared/models/runners/runner-job-success-body.model.ts b/shared/models/runners/runner-job-success-body.model.ts index 223b7552d..17e921f69 100644 --- a/shared/models/runners/runner-job-success-body.model.ts +++ b/shared/models/runners/runner-job-success-body.model.ts | |||
@@ -11,7 +11,8 @@ export type RunnerJobSuccessPayload = | |||
11 | VODWebVideoTranscodingSuccess | | 11 | VODWebVideoTranscodingSuccess | |
12 | VODHLSTranscodingSuccess | | 12 | VODHLSTranscodingSuccess | |
13 | VODAudioMergeTranscodingSuccess | | 13 | VODAudioMergeTranscodingSuccess | |
14 | LiveRTMPHLSTranscodingSuccess | 14 | LiveRTMPHLSTranscodingSuccess | |
15 | VideoEditionTranscodingSuccess | ||
15 | 16 | ||
16 | export interface VODWebVideoTranscodingSuccess { | 17 | export interface VODWebVideoTranscodingSuccess { |
17 | videoFile: Blob | string | 18 | videoFile: Blob | string |
@@ -30,6 +31,10 @@ export interface LiveRTMPHLSTranscodingSuccess { | |||
30 | 31 | ||
31 | } | 32 | } |
32 | 33 | ||
34 | export interface VideoEditionTranscodingSuccess { | ||
35 | videoFile: Blob | string | ||
36 | } | ||
37 | |||
33 | export function isWebVideoOrAudioMergeTranscodingPayloadSuccess ( | 38 | export function isWebVideoOrAudioMergeTranscodingPayloadSuccess ( |
34 | payload: RunnerJobSuccessPayload | 39 | payload: RunnerJobSuccessPayload |
35 | ): payload is VODHLSTranscodingSuccess | VODAudioMergeTranscodingSuccess { | 40 | ): payload is VODHLSTranscodingSuccess | VODAudioMergeTranscodingSuccess { |