diff options
Diffstat (limited to 'shared/models/job.model.ts')
-rw-r--r-- | shared/models/job.model.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/shared/models/job.model.ts b/shared/models/job.model.ts index 10696e3f8..1c46a7900 100644 --- a/shared/models/job.model.ts +++ b/shared/models/job.model.ts | |||
@@ -1,2 +1,12 @@ | |||
1 | export type JobState = 'pending' | 'processing' | 'error' | 'success' | 1 | export type JobState = 'pending' | 'processing' | 'error' | 'success' |
2 | export type JobCategory = 'transcoding' | 'activitypub-http' | 2 | export type JobCategory = 'transcoding' | 'activitypub-http' |
3 | |||
4 | export interface Job { | ||
5 | id: number | ||
6 | state: JobState | ||
7 | category: JobCategory | ||
8 | handlerName: string | ||
9 | handlerInputData: any | ||
10 | createdAt: Date | ||
11 | updatedAt: Date | ||
12 | } | ||