report.js 444 B

1234567891011121314151617
  1. export default {
  2. resolved: { type: Boolean, default: false, required: true },
  3. song: {
  4. _id: { type: String, required: true },
  5. youtubeId: { type: String, required: true }
  6. },
  7. description: { type: String },
  8. issues: [
  9. {
  10. name: String,
  11. reasons: Array
  12. }
  13. ],
  14. createdBy: { type: String, required: true },
  15. createdAt: { type: Date, default: Date.now, required: true },
  16. documentVersion: { type: Number, default: 2, required: true }
  17. };