]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame_incremental - shared/models/server/job.model.ts
Add ability to embed a video in Twitter
[github/Chocobozzz/PeerTube.git] / shared / models / server / job.model.ts
... / ...
CommitLineData
1export type JobState = 'active' | 'complete' | 'failed' | 'inactive' | 'delayed'
2
3export type JobType = 'activitypub-http-unicast' |
4 'activitypub-http-broadcast' |
5 'activitypub-http-fetcher' |
6 'activitypub-follow' |
7 'video-file' |
8 'email'
9
10export interface Job {
11 id: number
12 state: JobState
13 type: JobType
14 data: any,
15 error: any,
16 createdAt: Date
17 updatedAt: Date
18}