Support occitan
[oweals/peertube.git] / shared / models / server / job.model.ts
1 export type JobState = 'active' | 'completed' | 'failed' | 'waiting' | 'delayed'
2
3 export type JobType = 'activitypub-http-unicast' |
4   'activitypub-http-broadcast' |
5   'activitypub-http-fetcher' |
6   'activitypub-follow' |
7   'video-file-import' |
8   'video-file' |
9   'email' |
10   'video-import'
11
12 export interface Job {
13   id: number
14   state: JobState
15   type: JobType
16   data: any,
17   error: any,
18   createdAt: Date
19   finishedOn: Date
20   processedOn: Date
21 }