]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/server/job.model.ts
feature: IP filtering on signup page
[github/Chocobozzz/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 }