album.js 744 B

123456789101112131415161718192021222324252627
  1. export default {
  2. name: { type: String, required: true },
  3. // youtubeChannelIds: [
  4. // {
  5. // youtubeChannelId: { type: String },
  6. // comment: { type: String },
  7. // }
  8. // ],
  9. // spotifyArtistIds: [
  10. // {
  11. // spotifyArtistId: { type: String },
  12. // comment: { type: String },
  13. // }
  14. // ],
  15. // soundcloudArtistIds: [
  16. // {
  17. // soundcloudArtistId: { type: String },
  18. // comment: { type: String },
  19. // }
  20. // ],
  21. // musicBrainzIdentifier: { type: String, required: true },
  22. // musicBrainzData: { type: Object, required: true },
  23. comment: { type: String },
  24. createdBy: { type: String, required: true },
  25. createdAt: { type: Number, default: Date.now, required: true },
  26. documentVersion: { type: Number, default: 1, required: true }
  27. };