Yonah 5fe911dd01
songs: represent autoplay as integer
This is represented in the same way as CID fields, so use the same data type.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2025-09-19 20:50:02 +09:00

11 lines
265 B
Go

package monstersirenfetch
// SongsResponse is the response of /api/songs.
type SongsResponse Response[SongsData]
// SongsData is the type of [SongsResponse] data.
type SongsData = struct {
List []Song `json:"list"`
Autoplay StringInt `json:"autoplay"`
}