aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/job.model.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/job.model.ts')
-rw-r--r--shared/models/job.model.ts14
1 files changed, 9 insertions, 5 deletions
diff --git a/shared/models/job.model.ts b/shared/models/job.model.ts
index 1c46a7900..1a25600f3 100644
--- a/shared/models/job.model.ts
+++ b/shared/models/job.model.ts
@@ -1,12 +1,16 @@
1export type JobState = 'pending' | 'processing' | 'error' | 'success' 1export type JobState = 'active' | 'complete' | 'failed' | 'inactive' | 'delayed'
2export type JobCategory = 'transcoding' | 'activitypub-http' 2
3export type JobType = 'activitypub-http-unicast' |
4 'activitypub-http-broadcast' |
5 'activitypub-http-fetcher' |
6 'video-file'
3 7
4export interface Job { 8export interface Job {
5 id: number 9 id: number
6 state: JobState 10 state: JobState
7 category: JobCategory 11 type: JobType
8 handlerName: string 12 data: any,
9 handlerInputData: any 13 error: any,
10 createdAt: Date 14 createdAt: Date
11 updatedAt: Date 15 updatedAt: Date
12} 16}