playlist.js 222 B

123456
  1. module.exports = {
  2. displayName: { type: String, min: 2, max: 32, required: true },
  3. songs: { type: Array },
  4. createdBy: { type: String, required: true },
  5. createdAt: { type: Date, default: Date.now(), required: true }
  6. };