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