🏗️ Added torrent attrs to comic model

This commit is contained in:
2024-03-03 12:22:40 -05:00
parent 4cdb11fcbd
commit 7dbe2b2701
3 changed files with 49 additions and 7 deletions

View File

@@ -115,13 +115,13 @@ const ComicSchema = mongoose.Schema(
default: [],
},
},
torrent: {
downloads: [],
sourceApplication: String,
magnet: String,
tracker: String,
status: String,
},
torrent: [
{
infoHash: String,
name: String,
announce: [String],
},
],
usenet: {
sourceApplication: String,
},

View File

@@ -23,6 +23,12 @@ const SettingsScehma = mongoose.Schema({
host: HostSchema,
},
},
prowlarr: {
client: {
host: HostSchema,
apiKey: String,
},
},
});
const Settings = mongoose.model("Settings", SettingsScehma);