Merge branch 'develop' of framagit.org:chocobozzz/PeerTube into develop
[oweals/peertube.git] / shared / models / server / job.model.ts
1 export type JobState = 'active' | 'complete' | 'failed' | 'inactive' | 'delayed'
2
3 export type JobType = 'activitypub-http-unicast' |
4   'activitypub-http-broadcast' |
5   'activitypub-http-fetcher' |
6   'activitypub-follow' |
7   'video-file' |
8   'email'
9
10 export interface Job {
11   id: number
12   state: JobState
13   type: JobType
14   data: any,
15   error: any,
16   createdAt: Date
17   updatedAt: Date
18 }