PeerTube/shared/models/job.model.ts

13 lines
294 B
TypeScript
Raw Normal View History

2017-06-16 10:36:18 +02:00
export type JobState = 'pending' | 'processing' | 'error' | 'success'
2017-11-17 11:35:10 +01:00
export type JobCategory = 'transcoding' | 'activitypub-http'
2017-11-30 10:51:13 +01:00
export interface Job {
id: number
state: JobState
category: JobCategory
handlerName: string
handlerInputData: any
createdAt: Date
updatedAt: Date
}