projects
/
oweals
/
peertube.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add create-import-video-file-job command
[oweals/peertube.git]
/
shared
/
models
/
server
/
job.model.ts
1
export type JobState = 'active' | 'complete' | 'failed' | 'inactive' | 'delayed'
2
3
export type JobType = 'activitypub-http-unicast' |
4
'activitypub-http-broadcast' |
5
'activitypub-http-fetcher' |
6
'activitypub-follow' |
7
'video-file-import' |
8
'video-file' |
9
'email'
10
11
export interface Job {
12
id: number
13
state: JobState
14
type: JobType
15
data: any,
16
error: any,
17
createdAt: Date
18
updatedAt: Date
19
}