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