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