aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/job.model.ts
blob: 1c46a79004569207dd8d8bff1b889491985379ca (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                                                                     
                                                            









                       
export type JobState = 'pending' | 'processing' | 'error' | 'success'
export type JobCategory = 'transcoding' | 'activitypub-http'

export interface Job {
  id: number
  state: JobState
  category: JobCategory
  handlerName: string
  handlerInputData: any
  createdAt: Date
  updatedAt: Date
}