queueSong.js 523 B

12345678910111213
  1. module.exports = {
  2. songId: { type: String, min: 11, max: 11, required: true, index: true },
  3. title: { type: String, required: true },
  4. artists: [{ type: String }],
  5. genres: [{ type: String }],
  6. duration: { type: Number, required: true },
  7. skipDuration: { type: Number, required: true },
  8. thumbnail: { type: String, required: true },
  9. explicit: { type: Boolean, required: true },
  10. requestedBy: { type: String, required: true },
  11. requestedAt: { type: Date, default: Date.now, required: true },
  12. discogs: { type: Object }
  13. };