🏗️ Added torrent attrs to comic model
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
@@ -23,6 +23,12 @@ const SettingsScehma = mongoose.Schema({
|
||||
host: HostSchema,
|
||||
},
|
||||
},
|
||||
prowlarr: {
|
||||
client: {
|
||||
host: HostSchema,
|
||||
apiKey: String,
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
const Settings = mongoose.model("Settings", SettingsScehma);
|
||||
|
||||
Reference in New Issue
Block a user