mirror of
https://codeberg.org/Hyperpipe/hyperpipe-backend
synced 2024-12-06 19:26:30 +01:00
Added
This commit is contained in:
+12
-1
@@ -11,6 +11,7 @@ type Item struct {
|
||||
Id string `json:"id"`
|
||||
Title string `json:"title"`
|
||||
Sub string `json:"subtitle"`
|
||||
SubId string `json:"subId"`
|
||||
Thumbnails []Thumbnail `json:"thumbnails"`
|
||||
}
|
||||
|
||||
@@ -21,6 +22,16 @@ type Items struct {
|
||||
Artists []Item `json:"recommendedArtists"`
|
||||
}
|
||||
|
||||
type Home struct {
|
||||
Contents []map[string]interface{} `json:"contents"`
|
||||
Continue string `json:"continue"`
|
||||
}
|
||||
|
||||
type Explore struct {
|
||||
Albums []Item `json:"albums_and_singles"`
|
||||
Trending []Item `json:"trending"`
|
||||
}
|
||||
|
||||
type Artist struct {
|
||||
Title string `json:"title"`
|
||||
Description string `json:"description"`
|
||||
@@ -37,7 +48,7 @@ type MediaSession struct {
|
||||
}
|
||||
|
||||
type Next struct {
|
||||
LyricsId string `json:"lyricsId"`
|
||||
LyricsId string `json:"lyricsId"`
|
||||
Songs []Item `json:"songs"`
|
||||
MediaSession MediaSession `json:"mediaSession"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user