add interface file

This commit is contained in:
Bilal Catic
2020-02-14 21:07:10 +01:00
parent 6995bc5542
commit a91df8d6cc

View File

@@ -0,0 +1,26 @@
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[]
}