]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - 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
94a5ff8a
C
1export type JobState = 'active' | 'complete' | 'failed' | 'inactive' | 'delayed'
2
3export type JobType = 'activitypub-http-unicast' |
4 'activitypub-http-broadcast' |
5 'activitypub-http-fetcher' |
5350fd8e 6 'activitypub-follow' |
ecb4e35f
C
7 'video-file' |
8 'email'
5cd80545
C
9
10export interface Job {
11 id: number
12 state: JobState
94a5ff8a
C
13 type: JobType
14 data: any,
15 error: any,
5cd80545
C
16 createdAt: Date
17 updatedAt: Date
18}