aboutsummaryrefslogtreecommitdiff
path: root/manga
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@protonmail.ch>2022-02-24 21:40:43 +0530
committerVidhu Kant Sharma <vidhukant@protonmail.ch>2022-02-24 21:40:43 +0530
commit314d9bf6cad4bebec431a217c23016680c56179b (patch)
treea08e45454724d84c3dab6f07cd04bf4bf37e87a9 /manga
parente4f90575f920cbd429814dfc27a775c0666bf718 (diff)
moved DefaultListStatus back to each package seperately
Diffstat (limited to 'manga')
-rw-r--r--manga/manga.structs.go11
1 files changed, 10 insertions, 1 deletions
diff --git a/manga/manga.structs.go b/manga/manga.structs.go
index 7c33c2b..2fb5b29 100644
--- a/manga/manga.structs.go
+++ b/manga/manga.structs.go
@@ -27,7 +27,16 @@ type Author struct {
}
type ListStatus struct {
- util.DefaultListStatus
+ Status string `json:"status"`
+ Score int `json:"score"`
+ StartDate string `json:"start_date"`
+ FinishDate string `json:"finish_date"`
+ Priority int `json:"priority"`
+ Tags string `json:"tags"`
+ Comments string `json:"comments"`
+ UpdatedAt string `json:"updated_at"`
+
+ // thsese fields are exclusive to manga
VolumesRead int `json:"num_volumes_read"`
ChaptersRead int `json:"num_chapters_read"`
IsRereading bool `json:"is_rereading"`