]>
Commit | Line | Data |
---|---|---|
94831479 | 1 | export type JobState = 'active' | 'completed' | 'failed' | 'waiting' | 'delayed' |
94a5ff8a C |
2 | |
3 | export type JobType = 'activitypub-http-unicast' | | |
4 | 'activitypub-http-broadcast' | | |
5 | 'activitypub-http-fetcher' | | |
5350fd8e | 6 | 'activitypub-follow' | |
0138af92 | 7 | 'video-file-import' | |
a0327eed | 8 | 'video-transcoding' | |
fbad87b0 | 9 | 'email' | |
6b616860 | 10 | 'video-import' | |
04b8c3fb C |
11 | 'videos-views' | |
12 | 'activitypub-refresher' | |
5cd80545 C |
13 | |
14 | export interface Job { | |
15 | id: number | |
16 | state: JobState | |
94a5ff8a C |
17 | type: JobType |
18 | data: any, | |
19 | error: any, | |
5cd80545 | 20 | createdAt: Date |
94831479 C |
21 | finishedOn: Date |
22 | processedOn: Date | |
5cd80545 | 23 | } |