]>
Commit | Line | Data |
---|---|---|
1 | export type JobState = 'active' | 'completed' | 'failed' | 'waiting' | 'delayed' | |
2 | ||
3 | export type JobType = | |
4 | | 'activitypub-http-unicast' | |
5 | | 'activitypub-http-broadcast' | |
6 | | 'activitypub-http-fetcher' | |
7 | | 'activitypub-follow' | |
8 | | 'video-file-import' | |
9 | | 'video-transcoding' | |
10 | | 'email' | |
11 | | 'video-import' | |
12 | | 'videos-views' | |
13 | | 'activitypub-refresher' | |
14 | | 'video-redundancy' | |
15 | ||
16 | export interface Job { | |
17 | id: number | |
18 | state: JobState | |
19 | type: JobType | |
20 | data: any | |
21 | error: any | |
22 | createdAt: Date | string | |
23 | finishedOn: Date | string | |
24 | processedOn: Date | string | |
25 | } |