]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/server/job.model.ts
Update translations from zanata and add cs and eo
[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' |
0138af92 7 'video-file-import' |
ecb4e35f
C
8 'video-file' |
9 'email'
5cd80545
C
10
11export interface Job {
12 id: number
13 state: JobState
94a5ff8a
C
14 type: JobType
15 data: any,
16 error: any,
5cd80545
C
17 createdAt: Date
18 updatedAt: Date
19}