🔧 Refactoring to move away from calibre for uncompression and extraction

This commit is contained in:
2022-03-07 21:09:58 -08:00
parent 3237c93b94
commit 336735ef03
6 changed files with 56 additions and 27 deletions

View File

@@ -57,12 +57,13 @@ const ComicSchema = mongoose.Schema(
shortboxed: {},
gcd: {},
},
rawFileDetails: { type: RawFileDetailsSchema, es_indexed: true },
rawFileDetails: { type: RawFileDetailsSchema, es_indexed: true, default: {} },
inferredMetadata: {
issue: {
name: { type: String, es_indexed: true },
number: {
type: Number,
es_indexed: true,
required: false,
default: 0,
},