5350fd8e5b
It helps to track follow errors
18 lines
385 B
TypeScript
18 lines
385 B
TypeScript
export type JobState = 'active' | 'complete' | 'failed' | 'inactive' | 'delayed'
|
|
|
|
export type JobType = 'activitypub-http-unicast' |
|
|
'activitypub-http-broadcast' |
|
|
'activitypub-http-fetcher' |
|
|
'activitypub-follow' |
|
|
'video-file' |
|
|
'email'
|
|
|
|
export interface Job {
|
|
id: number
|
|
state: JobState
|
|
type: JobType
|
|
data: any,
|
|
error: any,
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
}
|