aboutsummaryrefslogtreecommitdiff
path: root/user/anime/animelist.structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'user/anime/animelist.structs.go')
-rw-r--r--user/anime/animelist.structs.go10
1 files changed, 6 insertions, 4 deletions
diff --git a/user/anime/animelist.structs.go b/user/anime/animelist.structs.go
index 80eb01a..c727d97 100644
--- a/user/anime/animelist.structs.go
+++ b/user/anime/animelist.structs.go
@@ -20,12 +20,15 @@ import (
"github.com/MikunoNaka/MAL2Go/anime"
)
-type AnimeListRaw struct {
+type animeListRaw struct {
Data []struct {
Anime anime.Anime `json:"node"`
ListStatus anime.ListStatus `json:"list_status"`
- } `json:"data"`
- Paging anime.ListPaging `json:"paging"`
+ } `json:"data"`
+ Paging struct {
+ NextPage string `json:"next"`
+ PrevPage string `json:"previous"`
+ } `json:"paging"`
}
type UpdateAnimeData struct {
@@ -35,7 +38,6 @@ type UpdateAnimeData struct {
EpWatched int
Priority int
TimesRewatched int
- // NOTE: idk what RewatchValue is
RewatchValue int
Tags string
Comments string