]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/server/job.model.ts
Fix internal videos in playlists
[github/Chocobozzz/PeerTube.git] / shared / models / server / job.model.ts
CommitLineData
94831479 1export type JobState = 'active' | 'completed' | 'failed' | 'waiting' | 'delayed'
94a5ff8a 2
a1587156
C
3export type JobType =
4 | 'activitypub-http-unicast'
5 | 'activitypub-http-broadcast'
6 | 'activitypub-http-fetcher'
7 | 'activitypub-follow'
8 | 'video-file-import'
9 | 'video-transcoding'
10 | 'email'
11 | 'video-import'
12 | 'videos-views'
13 | 'activitypub-refresher'
14 | 'video-redundancy'
5cd80545
C
15
16export interface Job {
17 id: number
18 state: JobState
94a5ff8a 19 type: JobType
a1587156
C
20 data: any
21 error: any
1061c73f
C
22 createdAt: Date | string
23 finishedOn: Date | string
24 processedOn: Date | string
5cd80545 25}