27 lines
459 B
TypeScript
27 lines
459 B
TypeScript
export interface ExportJob {
|
|
bookId: string,
|
|
type: string,
|
|
state: string,
|
|
created_at: Date,
|
|
updated_at: Date
|
|
}
|
|
|
|
export interface ImportJob {
|
|
bookId: string,
|
|
type: string,
|
|
url: string,
|
|
state: string,
|
|
created_at: Date,
|
|
updated_at: Date
|
|
}
|
|
|
|
export interface ExportJobsList {
|
|
pending: ExportJob[],
|
|
finished: ExportJob[],
|
|
}
|
|
|
|
export interface ImportJobsList {
|
|
pending: ImportJob[],
|
|
finished: ImportJob[]
|
|
}
|