12345678910111213 |
- module.exports = {
- songId: { type: String, min: 11, max: 11, required: true, index: true },
- title: { type: String, required: true },
- artists: [{ type: String }],
- genres: [{ type: String }],
- duration: { type: Number, required: true },
- skipDuration: { type: Number, required: true },
- thumbnail: { type: String, required: true },
- explicit: { type: Boolean, required: true },
- requestedBy: { type: String, required: true },
- requestedAt: { type: Date, default: Date.now(), required: true },
- discogs: { type: Object }
- };
|