1234567891011121314 |
- export default {
- 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 },
- documentVersion: { type: Number, default: 1, required: true }
- };
|