mirror of https://github.com/Chocobozzz/PeerTube
17 lines
348 B
TypeScript
17 lines
348 B
TypeScript
export type JobState = 'active' | 'complete' | 'failed' | 'inactive' | 'delayed'
|
|
|
|
export type JobType = 'activitypub-http-unicast' |
|
|
'activitypub-http-broadcast' |
|
|
'activitypub-http-fetcher' |
|
|
'video-file'
|
|
|
|
export interface Job {
|
|
id: number
|
|
state: JobState
|
|
type: JobType
|
|
data: any,
|
|
error: any,
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
}
|