chore: refresh gramsrv public release

This commit is contained in:
A 2026-06-30 14:37:43 +08:00
parent 75cebe8dbf
commit 70b6820474
1274 changed files with 378751 additions and 59919 deletions

View file

@ -0,0 +1,23 @@
package domain
const (
// MaxSavedMusicItems bounds one account's profile music list in the current
// small-scale compatibility phase.
MaxSavedMusicItems = 1000
)
// SaveMusicRequest mutates the current user's ordered profile music list.
type SaveMusicRequest struct {
UserID int64
Document Document
Unsave bool
AfterDocumentID int64
Date int
}
// SavedMusicList is an ordered page of music documents pinned to a user profile.
type SavedMusicList struct {
UserID int64
Documents []Document
Count int
}