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.ts10
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 @@
1export type JobState = 'pending' | 'processing' | 'error' | 'success' 1export type JobState = 'pending' | 'processing' | 'error' | 'success'
2export type JobCategory = 'transcoding' | 'activitypub-http' 2export type JobCategory = 'transcoding' | 'activitypub-http'
3
4export interface Job {
5 id: number
6 state: JobState
7 category: JobCategory
8 handlerName: string
9 handlerInputData: any
10 createdAt: Date
11 updatedAt: Date
12}