PeerTube/shared/models/job.model.ts
2017-11-30 10:55:06 +01:00

13 lines
294 B
TypeScript

export type JobState = 'pending' | 'processing' | 'error' | 'success'
export type JobCategory = 'transcoding' | 'activitypub-http'
export interface Job {
id: number
state: JobState
category: JobCategory
handlerName: string
handlerInputData: any
createdAt: Date
updatedAt: Date
}