]>
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' | |
ecb4e35f | 8 | 'video-file' | |
fbad87b0 | 9 | 'email' | |
6b616860 C |
10 | 'video-import' | |
11 | 'videos-views' | |
5cd80545 C |
12 | |
13 | export interface Job { | |
14 | id: number | |
15 | state: JobState | |
94a5ff8a C |
16 | type: JobType |
17 | data: any, | |
18 | error: any, | |
5cd80545 | 19 | createdAt: Date |
94831479 C |
20 | finishedOn: Date |
21 | processedOn: Date | |
5cd80545 | 22 | } |