mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
46 lines
963 B
JavaScript
Executable File
46 lines
963 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,
|
|
},
|
|
lyrics_enabled: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}
|
|
} |