]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/server/job.model.ts
Add stats route
[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' |
ecb4e35f
C
6 'video-file' |
7 'email'
5cd80545
C
8
9export interface Job {
10 id: number
11 state: JobState
94a5ff8a
C
12 type: JobType
13 data: any,
14 error: any,
5cd80545
C
15 createdAt: Date
16 updatedAt: Date
17}