aboutsummaryrefslogtreecommitdiff
path: root/user/manga/mangalist.structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'user/manga/mangalist.structs.go')
-rw-r--r--user/manga/mangalist.structs.go9
1 files changed, 8 insertions, 1 deletions
diff --git a/user/manga/mangalist.structs.go b/user/manga/mangalist.structs.go
index 860163b..0ea7d70 100644
--- a/user/manga/mangalist.structs.go
+++ b/user/manga/mangalist.structs.go
@@ -21,14 +21,21 @@ import (
"github.com/MikunoNaka/MAL2Go/manga"
)
+type Manga manga.Manga
+
type MangaListRaw struct {
Data []struct {
- Manga manga.Manga `json:"node"`
+ Manga Manga `json:"node"`
ListStatus manga.ListStatus `json:"list_status"`
} `json:"data"`
Paging util.ListPaging `json:"paging"`
}
+type MangaList struct {
+ Mangas []Manga
+ Paging util.ListPaging
+}
+
type UpdateMangaData struct {
Status string
IsRereading bool