🔧 Implemented the long-awaited refactor of the unzip and unrar methods for cover and metadata extraction

This commit is contained in:
2022-03-15 02:04:11 -07:00
parent c163de3a88
commit 89a0fc7090
7 changed files with 505 additions and 423 deletions

View File

@@ -57,7 +57,11 @@ const ComicSchema = mongoose.Schema(
shortboxed: {},
gcd: {},
},
rawFileDetails: { type: RawFileDetailsSchema, es_indexed: true, default: {} },
rawFileDetails: {
type: RawFileDetailsSchema,
es_indexed: true,
default: {},
},
inferredMetadata: {
issue: {
name: { type: String, es_indexed: true },

View File

@@ -0,0 +1,6 @@
const mongoose = require("mongoose");
const ComicInfoXMLSchema = mongoose.Schema({
});
export default ComicInfoXMLSchema;