chore: refresh gramsrv public release
This commit is contained in:
parent
75cebe8dbf
commit
70b6820474
1274 changed files with 378751 additions and 59919 deletions
23
internal/domain/saved_music.go
Normal file
23
internal/domain/saved_music.go
Normal 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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue