mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
49 lines
1022 B
JavaScript
Executable File
49 lines
1022 B
JavaScript
Executable File
export default {
|
|
name: "Track",
|
|
collection: "tracks",
|
|
schema: {
|
|
title: {
|
|
type: String,
|
|
required: true,
|
|
},
|
|
album: {
|
|
type: String,
|
|
},
|
|
artists: {
|
|
type: Array,
|
|
},
|
|
source: {
|
|
type: String,
|
|
required: true,
|
|
},
|
|
metadata: {
|
|
type: Object,
|
|
},
|
|
explicit: {
|
|
type: Boolean,
|
|
default: false,
|
|
},
|
|
public: {
|
|
type: Boolean,
|
|
default: true,
|
|
},
|
|
cover: {
|
|
type: String,
|
|
default: "https://storage.ragestudio.net/comty-static-assets/default_song.png"
|
|
},
|
|
videoCanvas: {
|
|
type: String,
|
|
},
|
|
spotifyId: {
|
|
type: String,
|
|
},
|
|
lyricsEnabled: {
|
|
type: Boolean,
|
|
default: true,
|
|
},
|
|
publisher: {
|
|
type: Object,
|
|
required: true,
|
|
},
|
|
}
|
|
} |