🚥 Added comic book cover interface
This commit is contained in:
@@ -14,3 +14,9 @@ export interface IFolderData {
|
|||||||
isFile: boolean;
|
isFile: boolean;
|
||||||
isLink: boolean;
|
isLink: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface IComicBookCover {
|
||||||
|
path: string;
|
||||||
|
containedIn: string;
|
||||||
|
fileSize:string;
|
||||||
|
}
|
||||||
|
|||||||
@@ -38,6 +38,8 @@ export const extractArchive = async (fileObject: IFolderData) => {
|
|||||||
switch(fileObject.extension) {
|
switch(fileObject.extension) {
|
||||||
case '.cbz':
|
case '.cbz':
|
||||||
break;
|
break;
|
||||||
|
case '.cbr':
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
const myBuffer = extractedFile.extraction;
|
const myBuffer = extractedFile.extraction;
|
||||||
logger.info(`Attempting to write ${extractedFile.fileHeader.name}`);
|
logger.info(`Attempting to write ${extractedFile.fileHeader.name}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user