mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
42 lines
873 B
JavaScript
Executable File
42 lines
873 B
JavaScript
Executable File
export default {
|
|
name: "Track",
|
|
collection: "tracks",
|
|
schema: {
|
|
source: {
|
|
type: String,
|
|
required: true,
|
|
},
|
|
title: {
|
|
type: String,
|
|
required: true,
|
|
},
|
|
album: {
|
|
type: String,
|
|
},
|
|
artists: {
|
|
type: Array,
|
|
},
|
|
metadata: {
|
|
type: Object,
|
|
},
|
|
explicit: {
|
|
type: Boolean,
|
|
default: false,
|
|
},
|
|
public: {
|
|
type: Boolean,
|
|
default: true,
|
|
},
|
|
publish_date: {
|
|
type: Date,
|
|
},
|
|
cover: {
|
|
type: String,
|
|
default: "https://storage.ragestudio.net/comty-static-assets/default_song.png"
|
|
},
|
|
publisher: {
|
|
type: Object,
|
|
required: true,
|
|
},
|
|
}
|
|
} |