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





                                                                                



                      


               


                 
export type JobState = 'active' | 'complete' | 'failed' | 'inactive' | 'delayed'

export type JobType = 'activitypub-http-unicast' |
  'activitypub-http-broadcast' |
  'activitypub-http-fetcher' |
  'video-file'

export interface Job {
  id: number
  state: JobState
  type: JobType
  data: any,
  error: any,
  createdAt: Date
  updatedAt: Date
}