queueSong.js 585 B

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