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