You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
613 B
26 lines
613 B
const mongoose = require('mongoose');
|
|
|
|
const AniSchema = new mongoose.Schema({
|
|
id: {type: String, unique: true},
|
|
name: String,
|
|
japname: String,
|
|
plot: String,
|
|
publishers: [String],
|
|
studios: [String],
|
|
airStartDate: Date,
|
|
airEndDate: Date,
|
|
isComplete: Boolean,
|
|
seasons: Number,
|
|
episodes: Number,
|
|
genres: [String],
|
|
tags: [String],
|
|
characters: [String],
|
|
streamAt: [String],
|
|
watchers: Number,
|
|
listed: Number,
|
|
liked: Number,
|
|
rating: Number,
|
|
lastUpdate: Date
|
|
});
|
|
|
|
module.exports = mongoose.model('anime', AniSchema); |