PeerTube/shared/models/job.model.ts

13 lines
294 B
TypeScript
Raw Normal View History

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