mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
- Introduces a new Music Library system for managing favorites (tracks, playlists, releases), replacing the previous TrackLike model. - Completely revamps the Studio TV profile page, adding live statistics, stream configuration, restream management, and media URL display. - Enhances the media player with a custom seekbar and improved audio playback logic for MPD and non-MPD sources. - Lays foundational groundwork for chat encryption with new models and APIs. - Refactors critical UI components like PlaylistView and PagePanel. - Standardizes monorepo development scripts to use npm. - Updates comty.js submodule and adds various new UI components.
44 lines
680 B
JavaScript
Executable File
44 lines
680 B
JavaScript
Executable File
export default {
|
|
name: "Playlist",
|
|
collection: "playlists",
|
|
schema: {
|
|
user_id: {
|
|
type: String,
|
|
required: true,
|
|
},
|
|
title: {
|
|
type: String,
|
|
required: true,
|
|
},
|
|
description: {
|
|
type: String,
|
|
},
|
|
list: {
|
|
type: Object,
|
|
default: [],
|
|
required: true,
|
|
},
|
|
cover: {
|
|
type: String,
|
|
default:
|
|
"https://storage.ragestudio.net/comty-static-assets/default_song.png",
|
|
},
|
|
thumbnail: {
|
|
type: String,
|
|
default:
|
|
"https://storage.ragestudio.net/comty-static-assets/default_song.png",
|
|
},
|
|
created_at: {
|
|
type: Date,
|
|
required: true,
|
|
},
|
|
publisher: {
|
|
type: Object,
|
|
},
|
|
public: {
|
|
type: Boolean,
|
|
default: true,
|
|
},
|
|
},
|
|
}
|