]>
Commit | Line | Data |
---|---|---|
94a5ff8a C |
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 | 'video-file' | |
5cd80545 C |
7 | |
8 | export interface Job { | |
9 | id: number | |
10 | state: JobState | |
94a5ff8a C |
11 | type: JobType |
12 | data: any, | |
13 | error: any, | |
5cd80545 C |
14 | createdAt: Date |
15 | updatedAt: Date | |
16 | } |