queueSong.js 649 B

12345678910111213141516
  1. // Legacy file, not used atm, just exists for migration module
  2. export default {
  3. songId: { type: String, min: 11, max: 11, required: true, index: true },
  4. title: { type: String, required: true },
  5. artists: [{ type: String }],
  6. genres: [{ type: String }],
  7. duration: { type: Number, required: true },
  8. skipDuration: { type: Number, required: true },
  9. thumbnail: { type: String, required: true },
  10. explicit: { type: Boolean, required: true },
  11. requestedBy: { type: String, required: true },
  12. requestedAt: { type: Date, default: Date.now, required: true },
  13. discogs: { type: Object },
  14. documentVersion: { type: Number, default: 1, required: true }
  15. };