]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/job.model.ts
Fix config test
[github/Chocobozzz/PeerTube.git] / shared / models / 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 'video-file' |
7 'email'
8
9 export interface Job {
10 id: number
11 state: JobState
12 type: JobType
13 data: any,
14 error: any,
15 createdAt: Date
16 updatedAt: Date
17 }