soundcloudTrack.js 848 B

123456789101112131415161718192021222324252627
  1. export default {
  2. trackId: { type: Number, unique: true },
  3. title: { type: String },
  4. artworkUrl: { type: String },
  5. soundcloudCreatedAt: { type: Date },
  6. duration: { type: Number },
  7. genre: { type: String },
  8. kind: { type: String },
  9. license: { type: String },
  10. likesCount: { type: Number },
  11. playbackCount: { type: Number },
  12. public: { type: Boolean },
  13. tagList: { type: String },
  14. userId: { type: Number },
  15. username: { type: String },
  16. userPermalink: { type: String },
  17. trackFormat: { type: String },
  18. permalink: { type: String },
  19. monetizationModel: { type: String },
  20. policy: { type: String },
  21. streamable: { type: Boolean },
  22. sharing: { type: String },
  23. state: { type: String },
  24. embeddableBy: { type: String },
  25. createdAt: { type: Date, default: Date.now, required: true },
  26. documentVersion: { type: Number, default: 1, required: true }
  27. };