From 12e2c4897abd7052fdad6cc739a5ed27fc6c6cc0 Mon Sep 17 00:00:00 2001 From: 5rahim Date: Tue, 17 Feb 2026 08:52:01 +0100 Subject: [PATCH] chore: update gqlgenc and other deps --- DEVELOPMENT_AND_BUILD.md | 4 +- codegen/generated/public_structs.json | 3895 +++++++++-------- go.mod | 31 +- go.sum | 44 +- internal/api/anilist/client.go | 4 +- internal/api/anilist/client_gen.go | 3637 ++++++++------- internal/api/anilist/client_mock.go | 2 +- internal/api/anilist/models_gen.go | 641 ++- .../extension_repo/goja_plugin_types/app.d.ts | 320 +- .../platforms/shared_platform/cachelayer.go | 2 +- seanime-web/src/api/generated/types.ts | 280 +- 11 files changed, 4725 insertions(+), 4135 deletions(-) diff --git a/DEVELOPMENT_AND_BUILD.md b/DEVELOPMENT_AND_BUILD.md index 2609e11c..c7a0a765 100644 --- a/DEVELOPMENT_AND_BUILD.md +++ b/DEVELOPMENT_AND_BUILD.md @@ -156,13 +156,13 @@ The project integrates with the AniList GraphQL API: If you modify the GraphQL schema, run these commands: ```bash -go get github.com/Yamashou/gqlgenc@v0.25.4 +go get github.com/gqlgo/gqlgenc@v0.33.1 ``` ```bash cd internal/api/anilist ``` ```bash -go run github.com/Yamashou/gqlgenc +go run github.com/gqlgo/gqlgenc ``` ```bash cd ../../.. diff --git a/codegen/generated/public_structs.json b/codegen/generated/public_structs.json index 490b7ea2..a77147f9 100644 --- a/codegen/generated/public_structs.json +++ b/codegen/generated/public_structs.json @@ -1408,24 +1408,6 @@ "formattedName": "AL_BaseAnime_Title", "package": "anilist", "fields": [ - { - "name": "UserPreferred", - "jsonName": "userPreferred", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Romaji", - "jsonName": "romaji", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, { "name": "English", "jsonName": "english", @@ -1443,6 +1425,24 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "Romaji", + "jsonName": "romaji", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "UserPreferred", + "jsonName": "userPreferred", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -1454,6 +1454,15 @@ "formattedName": "AL_BaseAnime_CoverImage", "package": "anilist", "fields": [ + { + "name": "Color", + "jsonName": "color", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, { "name": "ExtraLarge", "jsonName": "extraLarge", @@ -1480,15 +1489,6 @@ "required": false, "public": true, "comments": [] - }, - { - "name": "Color", - "jsonName": "color", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] } ], "comments": [] @@ -1501,8 +1501,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -1519,8 +1519,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -1538,8 +1538,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -1556,8 +1556,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -1584,8 +1584,8 @@ "comments": [] }, { - "name": "TimeUntilAiring", - "jsonName": "timeUntilAiring", + "name": "Episode", + "jsonName": "episode", "goType": "int", "typescriptType": "number", "required": true, @@ -1593,8 +1593,8 @@ "comments": [] }, { - "name": "Episode", - "jsonName": "episode", + "name": "TimeUntilAiring", + "jsonName": "timeUntilAiring", "goType": "int", "typescriptType": "number", "required": true, @@ -1648,24 +1648,6 @@ "formattedName": "AL_CompleteAnime_Title", "package": "anilist", "fields": [ - { - "name": "UserPreferred", - "jsonName": "userPreferred", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Romaji", - "jsonName": "romaji", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, { "name": "English", "jsonName": "english", @@ -1683,6 +1665,24 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "Romaji", + "jsonName": "romaji", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "UserPreferred", + "jsonName": "userPreferred", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -1694,6 +1694,15 @@ "formattedName": "AL_CompleteAnime_CoverImage", "package": "anilist", "fields": [ + { + "name": "Color", + "jsonName": "color", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, { "name": "ExtraLarge", "jsonName": "extraLarge", @@ -1720,15 +1729,6 @@ "required": false, "public": true, "comments": [] - }, - { - "name": "Color", - "jsonName": "color", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] } ], "comments": [] @@ -1741,8 +1741,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -1759,8 +1759,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -1778,8 +1778,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -1796,8 +1796,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -1824,8 +1824,8 @@ "comments": [] }, { - "name": "TimeUntilAiring", - "jsonName": "timeUntilAiring", + "name": "Episode", + "jsonName": "episode", "goType": "int", "typescriptType": "number", "required": true, @@ -1833,8 +1833,8 @@ "comments": [] }, { - "name": "Episode", - "jsonName": "episode", + "name": "TimeUntilAiring", + "jsonName": "timeUntilAiring", "goType": "int", "typescriptType": "number", "required": true, @@ -1888,24 +1888,6 @@ "formattedName": "AL_CompleteAnime_Relations_Edges_Node_BaseAnime_Title", "package": "anilist", "fields": [ - { - "name": "UserPreferred", - "jsonName": "userPreferred", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Romaji", - "jsonName": "romaji", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, { "name": "English", "jsonName": "english", @@ -1923,6 +1905,24 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "Romaji", + "jsonName": "romaji", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "UserPreferred", + "jsonName": "userPreferred", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -1934,6 +1934,15 @@ "formattedName": "AL_CompleteAnime_Relations_Edges_Node_BaseAnime_CoverImage", "package": "anilist", "fields": [ + { + "name": "Color", + "jsonName": "color", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, { "name": "ExtraLarge", "jsonName": "extraLarge", @@ -1960,15 +1969,6 @@ "required": false, "public": true, "comments": [] - }, - { - "name": "Color", - "jsonName": "color", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] } ], "comments": [] @@ -1981,8 +1981,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -1999,8 +1999,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -2018,8 +2018,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -2036,8 +2036,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -2064,8 +2064,8 @@ "comments": [] }, { - "name": "TimeUntilAiring", - "jsonName": "timeUntilAiring", + "name": "Episode", + "jsonName": "episode", "goType": "int", "typescriptType": "number", "required": true, @@ -2073,8 +2073,8 @@ "comments": [] }, { - "name": "Episode", - "jsonName": "episode", + "name": "TimeUntilAiring", + "jsonName": "timeUntilAiring", "goType": "int", "typescriptType": "number", "required": true, @@ -2091,17 +2091,6 @@ "formattedName": "AL_CompleteAnime_Relations_Edges", "package": "anilist", "fields": [ - { - "name": "RelationType", - "jsonName": "relationType", - "goType": "MediaRelation", - "typescriptType": "AL_MediaRelation", - "usedTypescriptType": "AL_MediaRelation", - "usedStructName": "anilist.MediaRelation", - "required": false, - "public": true, - "comments": [] - }, { "name": "Node", "jsonName": "node", @@ -2112,6 +2101,17 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "RelationType", + "jsonName": "relationType", + "goType": "MediaRelation", + "typescriptType": "AL_MediaRelation", + "usedTypescriptType": "AL_MediaRelation", + "usedStructName": "anilist.MediaRelation", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -2145,8 +2145,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -2163,8 +2163,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -2181,6 +2181,15 @@ "formattedName": "AL_BaseCharacter_Name", "package": "anilist", "fields": [ + { + "name": "Alternative", + "jsonName": "alternative", + "goType": "[]string", + "typescriptType": "Array\u003cstring\u003e", + "required": false, + "public": true, + "comments": [] + }, { "name": "Full", "jsonName": "full", @@ -2198,15 +2207,6 @@ "required": false, "public": true, "comments": [] - }, - { - "name": "Alternative", - "jsonName": "alternative", - "goType": "[]string", - "typescriptType": "Array\u003cstring\u003e", - "required": false, - "public": true, - "comments": [] } ], "comments": [] @@ -2247,8 +2247,8 @@ "comments": [] }, { - "name": "TimeUntilAiring", - "jsonName": "timeUntilAiring", + "name": "Episode", + "jsonName": "episode", "goType": "int", "typescriptType": "number", "required": true, @@ -2256,8 +2256,8 @@ "comments": [] }, { - "name": "Episode", - "jsonName": "episode", + "name": "TimeUntilAiring", + "jsonName": "timeUntilAiring", "goType": "int", "typescriptType": "number", "required": true, @@ -2305,8 +2305,8 @@ "comments": [] }, { - "name": "TimeUntilAiring", - "jsonName": "timeUntilAiring", + "name": "Episode", + "jsonName": "episode", "goType": "int", "typescriptType": "number", "required": true, @@ -2314,8 +2314,8 @@ "comments": [] }, { - "name": "Episode", - "jsonName": "episode", + "name": "TimeUntilAiring", + "jsonName": "timeUntilAiring", "goType": "int", "typescriptType": "number", "required": true, @@ -2353,24 +2353,6 @@ "formattedName": "AL_BaseManga_Title", "package": "anilist", "fields": [ - { - "name": "UserPreferred", - "jsonName": "userPreferred", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Romaji", - "jsonName": "romaji", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, { "name": "English", "jsonName": "english", @@ -2388,6 +2370,24 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "Romaji", + "jsonName": "romaji", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "UserPreferred", + "jsonName": "userPreferred", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -2399,6 +2399,15 @@ "formattedName": "AL_BaseManga_CoverImage", "package": "anilist", "fields": [ + { + "name": "Color", + "jsonName": "color", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, { "name": "ExtraLarge", "jsonName": "extraLarge", @@ -2425,15 +2434,6 @@ "required": false, "public": true, "comments": [] - }, - { - "name": "Color", - "jsonName": "color", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] } ], "comments": [] @@ -2446,8 +2446,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -2464,8 +2464,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -2483,8 +2483,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -2501,8 +2501,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -2529,19 +2529,19 @@ "comments": [] }, { - "name": "Name", - "jsonName": "name", - "goType": "string", - "typescriptType": "string", + "name": "IsAnimationStudio", + "jsonName": "isAnimationStudio", + "goType": "bool", + "typescriptType": "boolean", "required": true, "public": true, "comments": [] }, { - "name": "IsAnimationStudio", - "jsonName": "isAnimationStudio", - "goType": "bool", - "typescriptType": "boolean", + "name": "Name", + "jsonName": "name", + "goType": "string", + "typescriptType": "string", "required": true, "public": true, "comments": [] @@ -2557,8 +2557,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -2575,8 +2575,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -2594,8 +2594,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -2612,8 +2612,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -2667,24 +2667,6 @@ "formattedName": "AL_AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_Title", "package": "anilist", "fields": [ - { - "name": "UserPreferred", - "jsonName": "userPreferred", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Romaji", - "jsonName": "romaji", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, { "name": "English", "jsonName": "english", @@ -2702,6 +2684,24 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "Romaji", + "jsonName": "romaji", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "UserPreferred", + "jsonName": "userPreferred", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -2713,6 +2713,15 @@ "formattedName": "AL_AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_CoverImage", "package": "anilist", "fields": [ + { + "name": "Color", + "jsonName": "color", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, { "name": "ExtraLarge", "jsonName": "extraLarge", @@ -2739,15 +2748,6 @@ "required": false, "public": true, "comments": [] - }, - { - "name": "Color", - "jsonName": "color", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] } ], "comments": [] @@ -2760,8 +2760,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -2778,8 +2778,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -2797,8 +2797,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -2815,8 +2815,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -2843,8 +2843,8 @@ "comments": [] }, { - "name": "TimeUntilAiring", - "jsonName": "timeUntilAiring", + "name": "Episode", + "jsonName": "episode", "goType": "int", "typescriptType": "number", "required": true, @@ -2852,8 +2852,8 @@ "comments": [] }, { - "name": "Episode", - "jsonName": "episode", + "name": "TimeUntilAiring", + "jsonName": "timeUntilAiring", "goType": "int", "typescriptType": "number", "required": true, @@ -2870,6 +2870,17 @@ "formattedName": "AL_AnimeCollection_MediaListCollection_Lists_Entries", "package": "anilist", "fields": [ + { + "name": "CompletedAt", + "jsonName": "completedAt", + "goType": "AnimeCollection_MediaListCollection_Lists_Entries_CompletedAt", + "typescriptType": "AL_AnimeCollection_MediaListCollection_Lists_Entries_CompletedAt", + "usedTypescriptType": "AL_AnimeCollection_MediaListCollection_Lists_Entries_CompletedAt", + "usedStructName": "anilist.AnimeCollection_MediaListCollection_Lists_Entries_CompletedAt", + "required": false, + "public": true, + "comments": [] + }, { "name": "ID", "jsonName": "id", @@ -2880,30 +2891,12 @@ "comments": [] }, { - "name": "Score", - "jsonName": "score", - "goType": "float64", - "typescriptType": "number", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Progress", - "jsonName": "progress", - "goType": "int", - "typescriptType": "number", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Status", - "jsonName": "status", - "goType": "MediaListStatus", - "typescriptType": "AL_MediaListStatus", - "usedTypescriptType": "AL_MediaListStatus", - "usedStructName": "anilist.MediaListStatus", + "name": "Media", + "jsonName": "media", + "goType": "BaseAnime", + "typescriptType": "AL_BaseAnime", + "usedTypescriptType": "AL_BaseAnime", + "usedStructName": "anilist.BaseAnime", "required": false, "public": true, "comments": [] @@ -2917,6 +2910,24 @@ "public": true, "comments": [] }, + { + "name": "Private", + "jsonName": "private", + "goType": "bool", + "typescriptType": "boolean", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "Progress", + "jsonName": "progress", + "goType": "int", + "typescriptType": "number", + "required": false, + "public": true, + "comments": [] + }, { "name": "Repeat", "jsonName": "repeat", @@ -2927,10 +2938,10 @@ "comments": [] }, { - "name": "Private", - "jsonName": "private", - "goType": "bool", - "typescriptType": "boolean", + "name": "Score", + "jsonName": "score", + "goType": "float64", + "typescriptType": "number", "required": false, "public": true, "comments": [] @@ -2947,23 +2958,12 @@ "comments": [] }, { - "name": "CompletedAt", - "jsonName": "completedAt", - "goType": "AnimeCollection_MediaListCollection_Lists_Entries_CompletedAt", - "typescriptType": "AL_AnimeCollection_MediaListCollection_Lists_Entries_CompletedAt", - "usedTypescriptType": "AL_AnimeCollection_MediaListCollection_Lists_Entries_CompletedAt", - "usedStructName": "anilist.AnimeCollection_MediaListCollection_Lists_Entries_CompletedAt", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Media", - "jsonName": "media", - "goType": "BaseAnime", - "typescriptType": "AL_BaseAnime", - "usedTypescriptType": "AL_BaseAnime", - "usedStructName": "anilist.BaseAnime", + "name": "Status", + "jsonName": "status", + "goType": "MediaListStatus", + "typescriptType": "AL_MediaListStatus", + "usedTypescriptType": "AL_MediaListStatus", + "usedStructName": "anilist.MediaListStatus", "required": false, "public": true, "comments": [] @@ -2979,21 +2979,12 @@ "package": "anilist", "fields": [ { - "name": "Status", - "jsonName": "status", - "goType": "MediaListStatus", - "typescriptType": "AL_MediaListStatus", - "usedTypescriptType": "AL_MediaListStatus", - "usedStructName": "anilist.MediaListStatus", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Name", - "jsonName": "name", - "goType": "string", - "typescriptType": "string", + "name": "Entries", + "jsonName": "entries", + "goType": "[]AnimeCollection_MediaListCollection_Lists_Entries", + "typescriptType": "Array\u003cAL_AnimeCollection_MediaListCollection_Lists_Entries\u003e", + "usedTypescriptType": "AL_AnimeCollection_MediaListCollection_Lists_Entries", + "usedStructName": "anilist.AnimeCollection_MediaListCollection_Lists_Entries", "required": false, "public": true, "comments": [] @@ -3008,12 +2999,21 @@ "comments": [] }, { - "name": "Entries", - "jsonName": "entries", - "goType": "[]AnimeCollection_MediaListCollection_Lists_Entries", - "typescriptType": "Array\u003cAL_AnimeCollection_MediaListCollection_Lists_Entries\u003e", - "usedTypescriptType": "AL_AnimeCollection_MediaListCollection_Lists_Entries", - "usedStructName": "anilist.AnimeCollection_MediaListCollection_Lists_Entries", + "name": "Name", + "jsonName": "name", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "Status", + "jsonName": "status", + "goType": "MediaListStatus", + "typescriptType": "AL_MediaListStatus", + "usedTypescriptType": "AL_MediaListStatus", + "usedStructName": "anilist.MediaListStatus", "required": false, "public": true, "comments": [] @@ -3050,8 +3050,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -3068,8 +3068,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -3087,8 +3087,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -3105,8 +3105,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -3160,24 +3160,6 @@ "formattedName": "AL_AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Title", "package": "anilist", "fields": [ - { - "name": "UserPreferred", - "jsonName": "userPreferred", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Romaji", - "jsonName": "romaji", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, { "name": "English", "jsonName": "english", @@ -3195,6 +3177,24 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "Romaji", + "jsonName": "romaji", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "UserPreferred", + "jsonName": "userPreferred", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -3206,6 +3206,15 @@ "formattedName": "AL_AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_CoverImage", "package": "anilist", "fields": [ + { + "name": "Color", + "jsonName": "color", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, { "name": "ExtraLarge", "jsonName": "extraLarge", @@ -3232,15 +3241,6 @@ "required": false, "public": true, "comments": [] - }, - { - "name": "Color", - "jsonName": "color", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] } ], "comments": [] @@ -3253,8 +3253,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -3271,8 +3271,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -3290,8 +3290,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -3308,8 +3308,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -3336,8 +3336,8 @@ "comments": [] }, { - "name": "TimeUntilAiring", - "jsonName": "timeUntilAiring", + "name": "Episode", + "jsonName": "episode", "goType": "int", "typescriptType": "number", "required": true, @@ -3345,8 +3345,8 @@ "comments": [] }, { - "name": "Episode", - "jsonName": "episode", + "name": "TimeUntilAiring", + "jsonName": "timeUntilAiring", "goType": "int", "typescriptType": "number", "required": true, @@ -3400,24 +3400,6 @@ "formattedName": "AL_AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_Title", "package": "anilist", "fields": [ - { - "name": "UserPreferred", - "jsonName": "userPreferred", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Romaji", - "jsonName": "romaji", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, { "name": "English", "jsonName": "english", @@ -3435,6 +3417,24 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "Romaji", + "jsonName": "romaji", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "UserPreferred", + "jsonName": "userPreferred", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -3446,6 +3446,15 @@ "formattedName": "AL_AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_CoverImage", "package": "anilist", "fields": [ + { + "name": "Color", + "jsonName": "color", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, { "name": "ExtraLarge", "jsonName": "extraLarge", @@ -3472,15 +3481,6 @@ "required": false, "public": true, "comments": [] - }, - { - "name": "Color", - "jsonName": "color", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] } ], "comments": [] @@ -3493,8 +3493,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -3511,8 +3511,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -3530,8 +3530,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -3548,8 +3548,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -3576,8 +3576,8 @@ "comments": [] }, { - "name": "TimeUntilAiring", - "jsonName": "timeUntilAiring", + "name": "Episode", + "jsonName": "episode", "goType": "int", "typescriptType": "number", "required": true, @@ -3585,8 +3585,8 @@ "comments": [] }, { - "name": "Episode", - "jsonName": "episode", + "name": "TimeUntilAiring", + "jsonName": "timeUntilAiring", "goType": "int", "typescriptType": "number", "required": true, @@ -3603,17 +3603,6 @@ "formattedName": "AL_AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges", "package": "anilist", "fields": [ - { - "name": "RelationType", - "jsonName": "relationType", - "goType": "MediaRelation", - "typescriptType": "AL_MediaRelation", - "usedTypescriptType": "AL_MediaRelation", - "usedStructName": "anilist.MediaRelation", - "required": false, - "public": true, - "comments": [] - }, { "name": "Node", "jsonName": "node", @@ -3624,6 +3613,17 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "RelationType", + "jsonName": "relationType", + "goType": "MediaRelation", + "typescriptType": "AL_MediaRelation", + "usedTypescriptType": "AL_MediaRelation", + "usedStructName": "anilist.MediaRelation", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -3656,6 +3656,17 @@ "formattedName": "AL_AnimeCollectionWithRelations_MediaListCollection_Lists_Entries", "package": "anilist", "fields": [ + { + "name": "CompletedAt", + "jsonName": "completedAt", + "goType": "AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_CompletedAt", + "typescriptType": "AL_AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_CompletedAt", + "usedTypescriptType": "AL_AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_CompletedAt", + "usedStructName": "anilist.AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_CompletedAt", + "required": false, + "public": true, + "comments": [] + }, { "name": "ID", "jsonName": "id", @@ -3666,30 +3677,12 @@ "comments": [] }, { - "name": "Score", - "jsonName": "score", - "goType": "float64", - "typescriptType": "number", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Progress", - "jsonName": "progress", - "goType": "int", - "typescriptType": "number", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Status", - "jsonName": "status", - "goType": "MediaListStatus", - "typescriptType": "AL_MediaListStatus", - "usedTypescriptType": "AL_MediaListStatus", - "usedStructName": "anilist.MediaListStatus", + "name": "Media", + "jsonName": "media", + "goType": "CompleteAnime", + "typescriptType": "AL_CompleteAnime", + "usedTypescriptType": "AL_CompleteAnime", + "usedStructName": "anilist.CompleteAnime", "required": false, "public": true, "comments": [] @@ -3703,6 +3696,24 @@ "public": true, "comments": [] }, + { + "name": "Private", + "jsonName": "private", + "goType": "bool", + "typescriptType": "boolean", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "Progress", + "jsonName": "progress", + "goType": "int", + "typescriptType": "number", + "required": false, + "public": true, + "comments": [] + }, { "name": "Repeat", "jsonName": "repeat", @@ -3713,10 +3724,10 @@ "comments": [] }, { - "name": "Private", - "jsonName": "private", - "goType": "bool", - "typescriptType": "boolean", + "name": "Score", + "jsonName": "score", + "goType": "float64", + "typescriptType": "number", "required": false, "public": true, "comments": [] @@ -3733,23 +3744,12 @@ "comments": [] }, { - "name": "CompletedAt", - "jsonName": "completedAt", - "goType": "AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_CompletedAt", - "typescriptType": "AL_AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_CompletedAt", - "usedTypescriptType": "AL_AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_CompletedAt", - "usedStructName": "anilist.AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_CompletedAt", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Media", - "jsonName": "media", - "goType": "CompleteAnime", - "typescriptType": "AL_CompleteAnime", - "usedTypescriptType": "AL_CompleteAnime", - "usedStructName": "anilist.CompleteAnime", + "name": "Status", + "jsonName": "status", + "goType": "MediaListStatus", + "typescriptType": "AL_MediaListStatus", + "usedTypescriptType": "AL_MediaListStatus", + "usedStructName": "anilist.MediaListStatus", "required": false, "public": true, "comments": [] @@ -3765,21 +3765,12 @@ "package": "anilist", "fields": [ { - "name": "Status", - "jsonName": "status", - "goType": "MediaListStatus", - "typescriptType": "AL_MediaListStatus", - "usedTypescriptType": "AL_MediaListStatus", - "usedStructName": "anilist.MediaListStatus", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Name", - "jsonName": "name", - "goType": "string", - "typescriptType": "string", + "name": "Entries", + "jsonName": "entries", + "goType": "[]AnimeCollectionWithRelations_MediaListCollection_Lists_Entries", + "typescriptType": "Array\u003cAL_AnimeCollectionWithRelations_MediaListCollection_Lists_Entries\u003e", + "usedTypescriptType": "AL_AnimeCollectionWithRelations_MediaListCollection_Lists_Entries", + "usedStructName": "anilist.AnimeCollectionWithRelations_MediaListCollection_Lists_Entries", "required": false, "public": true, "comments": [] @@ -3794,12 +3785,21 @@ "comments": [] }, { - "name": "Entries", - "jsonName": "entries", - "goType": "[]AnimeCollectionWithRelations_MediaListCollection_Lists_Entries", - "typescriptType": "Array\u003cAL_AnimeCollectionWithRelations_MediaListCollection_Lists_Entries\u003e", - "usedTypescriptType": "AL_AnimeCollectionWithRelations_MediaListCollection_Lists_Entries", - "usedStructName": "anilist.AnimeCollectionWithRelations_MediaListCollection_Lists_Entries", + "name": "Name", + "jsonName": "name", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "Status", + "jsonName": "status", + "goType": "MediaListStatus", + "typescriptType": "AL_MediaListStatus", + "usedTypescriptType": "AL_MediaListStatus", + "usedStructName": "anilist.MediaListStatus", "required": false, "public": true, "comments": [] @@ -3872,24 +3872,6 @@ "formattedName": "AL_BaseAnimeByMalId_Media_BaseAnime_Title", "package": "anilist", "fields": [ - { - "name": "UserPreferred", - "jsonName": "userPreferred", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Romaji", - "jsonName": "romaji", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, { "name": "English", "jsonName": "english", @@ -3907,6 +3889,24 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "Romaji", + "jsonName": "romaji", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "UserPreferred", + "jsonName": "userPreferred", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -3918,6 +3918,15 @@ "formattedName": "AL_BaseAnimeByMalId_Media_BaseAnime_CoverImage", "package": "anilist", "fields": [ + { + "name": "Color", + "jsonName": "color", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, { "name": "ExtraLarge", "jsonName": "extraLarge", @@ -3944,15 +3953,6 @@ "required": false, "public": true, "comments": [] - }, - { - "name": "Color", - "jsonName": "color", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] } ], "comments": [] @@ -3965,8 +3965,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -3983,8 +3983,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -4002,8 +4002,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -4020,8 +4020,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -4048,8 +4048,8 @@ "comments": [] }, { - "name": "TimeUntilAiring", - "jsonName": "timeUntilAiring", + "name": "Episode", + "jsonName": "episode", "goType": "int", "typescriptType": "number", "required": true, @@ -4057,8 +4057,8 @@ "comments": [] }, { - "name": "Episode", - "jsonName": "episode", + "name": "TimeUntilAiring", + "jsonName": "timeUntilAiring", "goType": "int", "typescriptType": "number", "required": true, @@ -4112,24 +4112,6 @@ "formattedName": "AL_BaseAnimeById_Media_BaseAnime_Title", "package": "anilist", "fields": [ - { - "name": "UserPreferred", - "jsonName": "userPreferred", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Romaji", - "jsonName": "romaji", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, { "name": "English", "jsonName": "english", @@ -4147,6 +4129,24 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "Romaji", + "jsonName": "romaji", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "UserPreferred", + "jsonName": "userPreferred", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -4158,6 +4158,15 @@ "formattedName": "AL_BaseAnimeById_Media_BaseAnime_CoverImage", "package": "anilist", "fields": [ + { + "name": "Color", + "jsonName": "color", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, { "name": "ExtraLarge", "jsonName": "extraLarge", @@ -4184,15 +4193,6 @@ "required": false, "public": true, "comments": [] - }, - { - "name": "Color", - "jsonName": "color", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] } ], "comments": [] @@ -4205,8 +4205,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -4223,8 +4223,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -4242,8 +4242,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -4260,8 +4260,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -4288,8 +4288,8 @@ "comments": [] }, { - "name": "TimeUntilAiring", - "jsonName": "timeUntilAiring", + "name": "Episode", + "jsonName": "episode", "goType": "int", "typescriptType": "number", "required": true, @@ -4297,8 +4297,8 @@ "comments": [] }, { - "name": "Episode", - "jsonName": "episode", + "name": "TimeUntilAiring", + "jsonName": "timeUntilAiring", "goType": "int", "typescriptType": "number", "required": true, @@ -4371,24 +4371,6 @@ "formattedName": "AL_SearchBaseAnimeByIds_Page_Media_BaseAnime_Title", "package": "anilist", "fields": [ - { - "name": "UserPreferred", - "jsonName": "userPreferred", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Romaji", - "jsonName": "romaji", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, { "name": "English", "jsonName": "english", @@ -4406,6 +4388,24 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "Romaji", + "jsonName": "romaji", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "UserPreferred", + "jsonName": "userPreferred", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -4417,6 +4417,15 @@ "formattedName": "AL_SearchBaseAnimeByIds_Page_Media_BaseAnime_CoverImage", "package": "anilist", "fields": [ + { + "name": "Color", + "jsonName": "color", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, { "name": "ExtraLarge", "jsonName": "extraLarge", @@ -4443,15 +4452,6 @@ "required": false, "public": true, "comments": [] - }, - { - "name": "Color", - "jsonName": "color", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] } ], "comments": [] @@ -4464,8 +4464,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -4482,8 +4482,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -4501,8 +4501,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -4519,8 +4519,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -4547,8 +4547,8 @@ "comments": [] }, { - "name": "TimeUntilAiring", - "jsonName": "timeUntilAiring", + "name": "Episode", + "jsonName": "episode", "goType": "int", "typescriptType": "number", "required": true, @@ -4556,8 +4556,8 @@ "comments": [] }, { - "name": "Episode", - "jsonName": "episode", + "name": "TimeUntilAiring", + "jsonName": "timeUntilAiring", "goType": "int", "typescriptType": "number", "required": true, @@ -4574,17 +4574,6 @@ "formattedName": "AL_SearchBaseAnimeByIds_Page", "package": "anilist", "fields": [ - { - "name": "PageInfo", - "jsonName": "pageInfo", - "goType": "SearchBaseAnimeByIds_Page_PageInfo", - "typescriptType": "AL_SearchBaseAnimeByIds_Page_PageInfo", - "usedTypescriptType": "AL_SearchBaseAnimeByIds_Page_PageInfo", - "usedStructName": "anilist.SearchBaseAnimeByIds_Page_PageInfo", - "required": false, - "public": true, - "comments": [] - }, { "name": "Media", "jsonName": "media", @@ -4595,6 +4584,17 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "PageInfo", + "jsonName": "pageInfo", + "goType": "SearchBaseAnimeByIds_Page_PageInfo", + "typescriptType": "AL_SearchBaseAnimeByIds_Page_PageInfo", + "usedTypescriptType": "AL_SearchBaseAnimeByIds_Page_PageInfo", + "usedStructName": "anilist.SearchBaseAnimeByIds_Page_PageInfo", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -4643,24 +4643,6 @@ "formattedName": "AL_CompleteAnimeById_Media_CompleteAnime_Title", "package": "anilist", "fields": [ - { - "name": "UserPreferred", - "jsonName": "userPreferred", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Romaji", - "jsonName": "romaji", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, { "name": "English", "jsonName": "english", @@ -4678,6 +4660,24 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "Romaji", + "jsonName": "romaji", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "UserPreferred", + "jsonName": "userPreferred", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -4689,6 +4689,15 @@ "formattedName": "AL_CompleteAnimeById_Media_CompleteAnime_CoverImage", "package": "anilist", "fields": [ + { + "name": "Color", + "jsonName": "color", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, { "name": "ExtraLarge", "jsonName": "extraLarge", @@ -4715,15 +4724,6 @@ "required": false, "public": true, "comments": [] - }, - { - "name": "Color", - "jsonName": "color", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] } ], "comments": [] @@ -4736,8 +4736,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -4754,8 +4754,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -4773,8 +4773,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -4791,8 +4791,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -4819,8 +4819,8 @@ "comments": [] }, { - "name": "TimeUntilAiring", - "jsonName": "timeUntilAiring", + "name": "Episode", + "jsonName": "episode", "goType": "int", "typescriptType": "number", "required": true, @@ -4828,8 +4828,8 @@ "comments": [] }, { - "name": "Episode", - "jsonName": "episode", + "name": "TimeUntilAiring", + "jsonName": "timeUntilAiring", "goType": "int", "typescriptType": "number", "required": true, @@ -4883,24 +4883,6 @@ "formattedName": "AL_CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_Title", "package": "anilist", "fields": [ - { - "name": "UserPreferred", - "jsonName": "userPreferred", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Romaji", - "jsonName": "romaji", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, { "name": "English", "jsonName": "english", @@ -4918,6 +4900,24 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "Romaji", + "jsonName": "romaji", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "UserPreferred", + "jsonName": "userPreferred", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -4929,6 +4929,15 @@ "formattedName": "AL_CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_CoverImage", "package": "anilist", "fields": [ + { + "name": "Color", + "jsonName": "color", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, { "name": "ExtraLarge", "jsonName": "extraLarge", @@ -4955,15 +4964,6 @@ "required": false, "public": true, "comments": [] - }, - { - "name": "Color", - "jsonName": "color", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] } ], "comments": [] @@ -4976,8 +4976,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -4994,8 +4994,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -5013,8 +5013,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -5031,8 +5031,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -5059,8 +5059,8 @@ "comments": [] }, { - "name": "TimeUntilAiring", - "jsonName": "timeUntilAiring", + "name": "Episode", + "jsonName": "episode", "goType": "int", "typescriptType": "number", "required": true, @@ -5068,8 +5068,8 @@ "comments": [] }, { - "name": "Episode", - "jsonName": "episode", + "name": "TimeUntilAiring", + "jsonName": "timeUntilAiring", "goType": "int", "typescriptType": "number", "required": true, @@ -5086,17 +5086,6 @@ "formattedName": "AL_CompleteAnimeById_Media_CompleteAnime_Relations_Edges", "package": "anilist", "fields": [ - { - "name": "RelationType", - "jsonName": "relationType", - "goType": "MediaRelation", - "typescriptType": "AL_MediaRelation", - "usedTypescriptType": "AL_MediaRelation", - "usedStructName": "anilist.MediaRelation", - "required": false, - "public": true, - "comments": [] - }, { "name": "Node", "jsonName": "node", @@ -5107,6 +5096,17 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "RelationType", + "jsonName": "relationType", + "goType": "MediaRelation", + "typescriptType": "AL_MediaRelation", + "usedTypescriptType": "AL_MediaRelation", + "usedStructName": "anilist.MediaRelation", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -5177,8 +5177,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -5195,8 +5195,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -5214,8 +5214,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -5232,8 +5232,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -5251,19 +5251,19 @@ "package": "anilist", "fields": [ { - "name": "Name", - "jsonName": "name", - "goType": "string", - "typescriptType": "string", + "name": "ID", + "jsonName": "id", + "goType": "int", + "typescriptType": "number", "required": true, "public": true, "comments": [] }, { - "name": "ID", - "jsonName": "id", - "goType": "int", - "typescriptType": "number", + "name": "Name", + "jsonName": "name", + "goType": "string", + "typescriptType": "string", "required": true, "public": true, "comments": [] @@ -5300,8 +5300,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -5318,8 +5318,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -5336,6 +5336,15 @@ "formattedName": "AL_AnimeDetailsById_Media_Characters_Edges_Node_BaseCharacter_Name", "package": "anilist", "fields": [ + { + "name": "Alternative", + "jsonName": "alternative", + "goType": "[]string", + "typescriptType": "Array\u003cstring\u003e", + "required": false, + "public": true, + "comments": [] + }, { "name": "Full", "jsonName": "full", @@ -5353,15 +5362,6 @@ "required": false, "public": true, "comments": [] - }, - { - "name": "Alternative", - "jsonName": "alternative", - "goType": "[]string", - "typescriptType": "Array\u003cstring\u003e", - "required": false, - "public": true, - "comments": [] } ], "comments": [] @@ -5401,17 +5401,6 @@ "public": true, "comments": [] }, - { - "name": "Role", - "jsonName": "role", - "goType": "CharacterRole", - "typescriptType": "AL_CharacterRole", - "usedTypescriptType": "AL_CharacterRole", - "usedStructName": "anilist.CharacterRole", - "required": false, - "public": true, - "comments": [] - }, { "name": "Name", "jsonName": "name", @@ -5431,6 +5420,17 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "Role", + "jsonName": "role", + "goType": "CharacterRole", + "typescriptType": "AL_CharacterRole", + "usedTypescriptType": "AL_CharacterRole", + "usedStructName": "anilist.CharacterRole", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -5482,6 +5482,15 @@ "formattedName": "AL_AnimeDetailsById_Media_Staff_Edges_Node", "package": "anilist", "fields": [ + { + "name": "ID", + "jsonName": "id", + "goType": "int", + "typescriptType": "number", + "required": true, + "public": true, + "comments": [] + }, { "name": "Name", "jsonName": "name", @@ -5492,15 +5501,6 @@ "required": false, "public": true, "comments": [] - }, - { - "name": "ID", - "jsonName": "id", - "goType": "int", - "typescriptType": "number", - "required": true, - "public": true, - "comments": [] } ], "comments": [] @@ -5512,15 +5512,6 @@ "formattedName": "AL_AnimeDetailsById_Media_Staff_Edges", "package": "anilist", "fields": [ - { - "name": "Role", - "jsonName": "role", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, { "name": "Node", "jsonName": "node", @@ -5531,6 +5522,15 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "Role", + "jsonName": "role", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -5563,6 +5563,15 @@ "formattedName": "AL_AnimeDetailsById_Media_Rankings", "package": "anilist", "fields": [ + { + "name": "AllTime", + "jsonName": "allTime", + "goType": "bool", + "typescriptType": "boolean", + "required": false, + "public": true, + "comments": [] + }, { "name": "Context", "jsonName": "context", @@ -5572,35 +5581,6 @@ "public": true, "comments": [] }, - { - "name": "Type", - "jsonName": "type", - "goType": "MediaRankType", - "typescriptType": "AL_MediaRankType", - "usedTypescriptType": "AL_MediaRankType", - "usedStructName": "anilist.MediaRankType", - "required": true, - "public": true, - "comments": [] - }, - { - "name": "Rank", - "jsonName": "rank", - "goType": "int", - "typescriptType": "number", - "required": true, - "public": true, - "comments": [] - }, - { - "name": "Year", - "jsonName": "year", - "goType": "int", - "typescriptType": "number", - "required": false, - "public": true, - "comments": [] - }, { "name": "Format", "jsonName": "format", @@ -5613,11 +5593,11 @@ "comments": [] }, { - "name": "AllTime", - "jsonName": "allTime", - "goType": "bool", - "typescriptType": "boolean", - "required": false, + "name": "Rank", + "jsonName": "rank", + "goType": "int", + "typescriptType": "number", + "required": true, "public": true, "comments": [] }, @@ -5631,6 +5611,26 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "Type", + "jsonName": "type", + "goType": "MediaRankType", + "typescriptType": "AL_MediaRankType", + "usedTypescriptType": "AL_MediaRankType", + "usedStructName": "anilist.MediaRankType", + "required": true, + "public": true, + "comments": [] + }, + { + "name": "Year", + "jsonName": "year", + "goType": "int", + "typescriptType": "number", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -5680,8 +5680,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -5698,8 +5698,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -5716,6 +5716,15 @@ "formattedName": "AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage", "package": "anilist", "fields": [ + { + "name": "Color", + "jsonName": "color", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, { "name": "ExtraLarge", "jsonName": "extraLarge", @@ -5742,15 +5751,6 @@ "required": false, "public": true, "comments": [] - }, - { - "name": "Color", - "jsonName": "color", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] } ], "comments": [] @@ -5762,15 +5762,6 @@ "formattedName": "AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title", "package": "anilist", "fields": [ - { - "name": "Romaji", - "jsonName": "romaji", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, { "name": "English", "jsonName": "english", @@ -5789,6 +5780,15 @@ "public": true, "comments": [] }, + { + "name": "Romaji", + "jsonName": "romaji", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, { "name": "UserPreferred", "jsonName": "userPreferred", @@ -5809,26 +5809,8 @@ "package": "anilist", "fields": [ { - "name": "ID", - "jsonName": "id", - "goType": "int", - "typescriptType": "number", - "required": true, - "public": true, - "comments": [] - }, - { - "name": "IDMal", - "jsonName": "idMal", - "goType": "int", - "typescriptType": "number", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "SiteURL", - "jsonName": "siteUrl", + "name": "BannerImage", + "jsonName": "bannerImage", "goType": "string", "typescriptType": "string", "required": false, @@ -5836,63 +5818,12 @@ "comments": [] }, { - "name": "Status", - "jsonName": "status", - "goType": "MediaStatus", - "typescriptType": "AL_MediaStatus", - "usedTypescriptType": "AL_MediaStatus", - "usedStructName": "anilist.MediaStatus", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "IsAdult", - "jsonName": "isAdult", - "goType": "bool", - "typescriptType": "boolean", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Season", - "jsonName": "season", - "goType": "MediaSeason", - "typescriptType": "AL_MediaSeason", - "usedTypescriptType": "AL_MediaSeason", - "usedStructName": "anilist.MediaSeason", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Type", - "jsonName": "type", - "goType": "MediaType", - "typescriptType": "AL_MediaType", - "usedTypescriptType": "AL_MediaType", - "usedStructName": "anilist.MediaType", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Format", - "jsonName": "format", - "goType": "MediaFormat", - "typescriptType": "AL_MediaFormat", - "usedTypescriptType": "AL_MediaFormat", - "usedStructName": "anilist.MediaFormat", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "MeanScore", - "jsonName": "meanScore", - "goType": "int", - "typescriptType": "number", + "name": "CoverImage", + "jsonName": "coverImage", + "goType": "AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage", + "typescriptType": "AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage", + "usedTypescriptType": "AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage", + "usedStructName": "anilist.AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage", "required": false, "public": true, "comments": [] @@ -5916,12 +5847,68 @@ "comments": [] }, { - "name": "Trailer", - "jsonName": "trailer", - "goType": "AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Trailer", - "typescriptType": "AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Trailer", - "usedTypescriptType": "AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Trailer", - "usedStructName": "anilist.AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Trailer", + "name": "Format", + "jsonName": "format", + "goType": "MediaFormat", + "typescriptType": "AL_MediaFormat", + "usedTypescriptType": "AL_MediaFormat", + "usedStructName": "anilist.MediaFormat", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "ID", + "jsonName": "id", + "goType": "int", + "typescriptType": "number", + "required": true, + "public": true, + "comments": [] + }, + { + "name": "IDMal", + "jsonName": "idMal", + "goType": "int", + "typescriptType": "number", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "IsAdult", + "jsonName": "isAdult", + "goType": "bool", + "typescriptType": "boolean", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "MeanScore", + "jsonName": "meanScore", + "goType": "int", + "typescriptType": "number", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "Season", + "jsonName": "season", + "goType": "MediaSeason", + "typescriptType": "AL_MediaSeason", + "usedTypescriptType": "AL_MediaSeason", + "usedStructName": "anilist.MediaSeason", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "SiteURL", + "jsonName": "siteUrl", + "goType": "string", + "typescriptType": "string", "required": false, "public": true, "comments": [] @@ -5938,21 +5925,12 @@ "comments": [] }, { - "name": "CoverImage", - "jsonName": "coverImage", - "goType": "AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage", - "typescriptType": "AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage", - "usedTypescriptType": "AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage", - "usedStructName": "anilist.AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "BannerImage", - "jsonName": "bannerImage", - "goType": "string", - "typescriptType": "string", + "name": "Status", + "jsonName": "status", + "goType": "MediaStatus", + "typescriptType": "AL_MediaStatus", + "usedTypescriptType": "AL_MediaStatus", + "usedStructName": "anilist.MediaStatus", "required": false, "public": true, "comments": [] @@ -5967,6 +5945,28 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "Trailer", + "jsonName": "trailer", + "goType": "AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Trailer", + "typescriptType": "AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Trailer", + "usedTypescriptType": "AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Trailer", + "usedStructName": "anilist.AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Trailer", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "Type", + "jsonName": "type", + "goType": "MediaType", + "typescriptType": "AL_MediaType", + "usedTypescriptType": "AL_MediaType", + "usedStructName": "anilist.MediaType", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -6078,24 +6078,6 @@ "formattedName": "AL_AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_Title", "package": "anilist", "fields": [ - { - "name": "UserPreferred", - "jsonName": "userPreferred", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Romaji", - "jsonName": "romaji", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, { "name": "English", "jsonName": "english", @@ -6113,6 +6095,24 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "Romaji", + "jsonName": "romaji", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "UserPreferred", + "jsonName": "userPreferred", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -6124,6 +6124,15 @@ "formattedName": "AL_AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_CoverImage", "package": "anilist", "fields": [ + { + "name": "Color", + "jsonName": "color", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, { "name": "ExtraLarge", "jsonName": "extraLarge", @@ -6150,15 +6159,6 @@ "required": false, "public": true, "comments": [] - }, - { - "name": "Color", - "jsonName": "color", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] } ], "comments": [] @@ -6171,8 +6171,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -6189,8 +6189,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -6208,8 +6208,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -6226,8 +6226,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -6254,8 +6254,8 @@ "comments": [] }, { - "name": "TimeUntilAiring", - "jsonName": "timeUntilAiring", + "name": "Episode", + "jsonName": "episode", "goType": "int", "typescriptType": "number", "required": true, @@ -6263,8 +6263,8 @@ "comments": [] }, { - "name": "Episode", - "jsonName": "episode", + "name": "TimeUntilAiring", + "jsonName": "timeUntilAiring", "goType": "int", "typescriptType": "number", "required": true, @@ -6281,17 +6281,6 @@ "formattedName": "AL_AnimeDetailsById_Media_Relations_Edges", "package": "anilist", "fields": [ - { - "name": "RelationType", - "jsonName": "relationType", - "goType": "MediaRelation", - "typescriptType": "AL_MediaRelation", - "usedTypescriptType": "AL_MediaRelation", - "usedStructName": "anilist.MediaRelation", - "required": false, - "public": true, - "comments": [] - }, { "name": "Node", "jsonName": "node", @@ -6302,6 +6291,17 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "RelationType", + "jsonName": "relationType", + "goType": "MediaRelation", + "typescriptType": "AL_MediaRelation", + "usedTypescriptType": "AL_MediaRelation", + "usedStructName": "anilist.MediaRelation", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -6334,42 +6334,6 @@ "formattedName": "AL_AnimeDetailsById_Media", "package": "anilist", "fields": [ - { - "name": "SiteURL", - "jsonName": "siteUrl", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "ID", - "jsonName": "id", - "goType": "int", - "typescriptType": "number", - "required": true, - "public": true, - "comments": [] - }, - { - "name": "Duration", - "jsonName": "duration", - "goType": "int", - "typescriptType": "number", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Genres", - "jsonName": "genres", - "goType": "[]string", - "typescriptType": "Array\u003cstring\u003e", - "required": false, - "public": true, - "comments": [] - }, { "name": "AverageScore", "jsonName": "averageScore", @@ -6379,77 +6343,6 @@ "public": true, "comments": [] }, - { - "name": "Popularity", - "jsonName": "popularity", - "goType": "int", - "typescriptType": "number", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "MeanScore", - "jsonName": "meanScore", - "goType": "int", - "typescriptType": "number", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Description", - "jsonName": "description", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Trailer", - "jsonName": "trailer", - "goType": "AnimeDetailsById_Media_Trailer", - "typescriptType": "AL_AnimeDetailsById_Media_Trailer", - "usedTypescriptType": "AL_AnimeDetailsById_Media_Trailer", - "usedStructName": "anilist.AnimeDetailsById_Media_Trailer", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "StartDate", - "jsonName": "startDate", - "goType": "AnimeDetailsById_Media_StartDate", - "typescriptType": "AL_AnimeDetailsById_Media_StartDate", - "usedTypescriptType": "AL_AnimeDetailsById_Media_StartDate", - "usedStructName": "anilist.AnimeDetailsById_Media_StartDate", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "EndDate", - "jsonName": "endDate", - "goType": "AnimeDetailsById_Media_EndDate", - "typescriptType": "AL_AnimeDetailsById_Media_EndDate", - "usedTypescriptType": "AL_AnimeDetailsById_Media_EndDate", - "usedStructName": "anilist.AnimeDetailsById_Media_EndDate", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Studios", - "jsonName": "studios", - "goType": "AnimeDetailsById_Media_Studios", - "typescriptType": "AL_AnimeDetailsById_Media_Studios", - "usedTypescriptType": "AL_AnimeDetailsById_Media_Studios", - "usedStructName": "anilist.AnimeDetailsById_Media_Studios", - "required": false, - "public": true, - "comments": [] - }, { "name": "Characters", "jsonName": "characters", @@ -6462,12 +6355,66 @@ "comments": [] }, { - "name": "Staff", - "jsonName": "staff", - "goType": "AnimeDetailsById_Media_Staff", - "typescriptType": "AL_AnimeDetailsById_Media_Staff", - "usedTypescriptType": "AL_AnimeDetailsById_Media_Staff", - "usedStructName": "anilist.AnimeDetailsById_Media_Staff", + "name": "Description", + "jsonName": "description", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "Duration", + "jsonName": "duration", + "goType": "int", + "typescriptType": "number", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "EndDate", + "jsonName": "endDate", + "goType": "AnimeDetailsById_Media_EndDate", + "typescriptType": "AL_AnimeDetailsById_Media_EndDate", + "usedTypescriptType": "AL_AnimeDetailsById_Media_EndDate", + "usedStructName": "anilist.AnimeDetailsById_Media_EndDate", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "Genres", + "jsonName": "genres", + "goType": "[]string", + "typescriptType": "Array\u003cstring\u003e", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "ID", + "jsonName": "id", + "goType": "int", + "typescriptType": "number", + "required": true, + "public": true, + "comments": [] + }, + { + "name": "MeanScore", + "jsonName": "meanScore", + "goType": "int", + "typescriptType": "number", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "Popularity", + "jsonName": "popularity", + "goType": "int", + "typescriptType": "number", "required": false, "public": true, "comments": [] @@ -6504,6 +6451,59 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "SiteURL", + "jsonName": "siteUrl", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "Staff", + "jsonName": "staff", + "goType": "AnimeDetailsById_Media_Staff", + "typescriptType": "AL_AnimeDetailsById_Media_Staff", + "usedTypescriptType": "AL_AnimeDetailsById_Media_Staff", + "usedStructName": "anilist.AnimeDetailsById_Media_Staff", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "StartDate", + "jsonName": "startDate", + "goType": "AnimeDetailsById_Media_StartDate", + "typescriptType": "AL_AnimeDetailsById_Media_StartDate", + "usedTypescriptType": "AL_AnimeDetailsById_Media_StartDate", + "usedStructName": "anilist.AnimeDetailsById_Media_StartDate", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "Studios", + "jsonName": "studios", + "goType": "AnimeDetailsById_Media_Studios", + "typescriptType": "AL_AnimeDetailsById_Media_Studios", + "usedTypescriptType": "AL_AnimeDetailsById_Media_Studios", + "usedStructName": "anilist.AnimeDetailsById_Media_Studios", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "Trailer", + "jsonName": "trailer", + "goType": "AnimeDetailsById_Media_Trailer", + "typescriptType": "AL_AnimeDetailsById_Media_Trailer", + "usedTypescriptType": "AL_AnimeDetailsById_Media_Trailer", + "usedStructName": "anilist.AnimeDetailsById_Media_Trailer", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -6515,6 +6515,15 @@ "formattedName": "AL_ListAnime_Page_PageInfo", "package": "anilist", "fields": [ + { + "name": "CurrentPage", + "jsonName": "currentPage", + "goType": "int", + "typescriptType": "number", + "required": false, + "public": true, + "comments": [] + }, { "name": "HasNextPage", "jsonName": "hasNextPage", @@ -6525,8 +6534,8 @@ "comments": [] }, { - "name": "Total", - "jsonName": "total", + "name": "LastPage", + "jsonName": "lastPage", "goType": "int", "typescriptType": "number", "required": false, @@ -6543,17 +6552,8 @@ "comments": [] }, { - "name": "CurrentPage", - "jsonName": "currentPage", - "goType": "int", - "typescriptType": "number", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "LastPage", - "jsonName": "lastPage", + "name": "Total", + "jsonName": "total", "goType": "int", "typescriptType": "number", "required": false, @@ -6607,24 +6607,6 @@ "formattedName": "AL_ListAnime_Page_Media_BaseAnime_Title", "package": "anilist", "fields": [ - { - "name": "UserPreferred", - "jsonName": "userPreferred", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Romaji", - "jsonName": "romaji", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, { "name": "English", "jsonName": "english", @@ -6642,6 +6624,24 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "Romaji", + "jsonName": "romaji", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "UserPreferred", + "jsonName": "userPreferred", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -6653,6 +6653,15 @@ "formattedName": "AL_ListAnime_Page_Media_BaseAnime_CoverImage", "package": "anilist", "fields": [ + { + "name": "Color", + "jsonName": "color", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, { "name": "ExtraLarge", "jsonName": "extraLarge", @@ -6679,15 +6688,6 @@ "required": false, "public": true, "comments": [] - }, - { - "name": "Color", - "jsonName": "color", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] } ], "comments": [] @@ -6700,8 +6700,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -6718,8 +6718,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -6737,8 +6737,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -6755,8 +6755,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -6783,8 +6783,8 @@ "comments": [] }, { - "name": "TimeUntilAiring", - "jsonName": "timeUntilAiring", + "name": "Episode", + "jsonName": "episode", "goType": "int", "typescriptType": "number", "required": true, @@ -6792,8 +6792,8 @@ "comments": [] }, { - "name": "Episode", - "jsonName": "episode", + "name": "TimeUntilAiring", + "jsonName": "timeUntilAiring", "goType": "int", "typescriptType": "number", "required": true, @@ -6810,17 +6810,6 @@ "formattedName": "AL_ListAnime_Page", "package": "anilist", "fields": [ - { - "name": "PageInfo", - "jsonName": "pageInfo", - "goType": "ListAnime_Page_PageInfo", - "typescriptType": "AL_ListAnime_Page_PageInfo", - "usedTypescriptType": "AL_ListAnime_Page_PageInfo", - "usedStructName": "anilist.ListAnime_Page_PageInfo", - "required": false, - "public": true, - "comments": [] - }, { "name": "Media", "jsonName": "media", @@ -6831,6 +6820,17 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "PageInfo", + "jsonName": "pageInfo", + "goType": "ListAnime_Page_PageInfo", + "typescriptType": "AL_ListAnime_Page_PageInfo", + "usedTypescriptType": "AL_ListAnime_Page_PageInfo", + "usedStructName": "anilist.ListAnime_Page_PageInfo", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -6842,6 +6842,15 @@ "formattedName": "AL_ListRecentAnime_Page_PageInfo", "package": "anilist", "fields": [ + { + "name": "CurrentPage", + "jsonName": "currentPage", + "goType": "int", + "typescriptType": "number", + "required": false, + "public": true, + "comments": [] + }, { "name": "HasNextPage", "jsonName": "hasNextPage", @@ -6852,8 +6861,8 @@ "comments": [] }, { - "name": "Total", - "jsonName": "total", + "name": "LastPage", + "jsonName": "lastPage", "goType": "int", "typescriptType": "number", "required": false, @@ -6870,17 +6879,8 @@ "comments": [] }, { - "name": "CurrentPage", - "jsonName": "currentPage", - "goType": "int", - "typescriptType": "number", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "LastPage", - "jsonName": "lastPage", + "name": "Total", + "jsonName": "total", "goType": "int", "typescriptType": "number", "required": false, @@ -6934,24 +6934,6 @@ "formattedName": "AL_ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_Title", "package": "anilist", "fields": [ - { - "name": "UserPreferred", - "jsonName": "userPreferred", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Romaji", - "jsonName": "romaji", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, { "name": "English", "jsonName": "english", @@ -6969,6 +6951,24 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "Romaji", + "jsonName": "romaji", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "UserPreferred", + "jsonName": "userPreferred", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -6980,6 +6980,15 @@ "formattedName": "AL_ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_CoverImage", "package": "anilist", "fields": [ + { + "name": "Color", + "jsonName": "color", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, { "name": "ExtraLarge", "jsonName": "extraLarge", @@ -7006,15 +7015,6 @@ "required": false, "public": true, "comments": [] - }, - { - "name": "Color", - "jsonName": "color", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] } ], "comments": [] @@ -7027,8 +7027,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -7045,8 +7045,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -7064,8 +7064,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -7082,8 +7082,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -7110,8 +7110,8 @@ "comments": [] }, { - "name": "TimeUntilAiring", - "jsonName": "timeUntilAiring", + "name": "Episode", + "jsonName": "episode", "goType": "int", "typescriptType": "number", "required": true, @@ -7119,8 +7119,8 @@ "comments": [] }, { - "name": "Episode", - "jsonName": "episode", + "name": "TimeUntilAiring", + "jsonName": "timeUntilAiring", "goType": "int", "typescriptType": "number", "required": true, @@ -7137,15 +7137,6 @@ "formattedName": "AL_ListRecentAnime_Page_AiringSchedules", "package": "anilist", "fields": [ - { - "name": "ID", - "jsonName": "id", - "goType": "int", - "typescriptType": "number", - "required": true, - "public": true, - "comments": [] - }, { "name": "AiringAt", "jsonName": "airingAt", @@ -7165,8 +7156,8 @@ "comments": [] }, { - "name": "TimeUntilAiring", - "jsonName": "timeUntilAiring", + "name": "ID", + "jsonName": "id", "goType": "int", "typescriptType": "number", "required": true, @@ -7183,6 +7174,15 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "TimeUntilAiring", + "jsonName": "timeUntilAiring", + "goType": "int", + "typescriptType": "number", + "required": true, + "public": true, + "comments": [] } ], "comments": [] @@ -7194,17 +7194,6 @@ "formattedName": "AL_ListRecentAnime_Page", "package": "anilist", "fields": [ - { - "name": "PageInfo", - "jsonName": "pageInfo", - "goType": "ListRecentAnime_Page_PageInfo", - "typescriptType": "AL_ListRecentAnime_Page_PageInfo", - "usedTypescriptType": "AL_ListRecentAnime_Page_PageInfo", - "usedStructName": "anilist.ListRecentAnime_Page_PageInfo", - "required": false, - "public": true, - "comments": [] - }, { "name": "AiringSchedules", "jsonName": "airingSchedules", @@ -7215,6 +7204,17 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "PageInfo", + "jsonName": "pageInfo", + "goType": "ListRecentAnime_Page_PageInfo", + "typescriptType": "AL_ListRecentAnime_Page_PageInfo", + "usedTypescriptType": "AL_ListRecentAnime_Page_PageInfo", + "usedStructName": "anilist.ListRecentAnime_Page_PageInfo", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -7236,8 +7236,8 @@ "comments": [] }, { - "name": "TimeUntilAiring", - "jsonName": "timeUntilAiring", + "name": "Episode", + "jsonName": "episode", "goType": "int", "typescriptType": "number", "required": true, @@ -7245,8 +7245,8 @@ "comments": [] }, { - "name": "Episode", - "jsonName": "episode", + "name": "TimeUntilAiring", + "jsonName": "timeUntilAiring", "goType": "int", "typescriptType": "number", "required": true, @@ -7294,8 +7294,8 @@ "comments": [] }, { - "name": "TimeUntilAiring", - "jsonName": "timeUntilAiring", + "name": "Episode", + "jsonName": "episode", "goType": "int", "typescriptType": "number", "required": true, @@ -7303,8 +7303,8 @@ "comments": [] }, { - "name": "Episode", - "jsonName": "episode", + "name": "TimeUntilAiring", + "jsonName": "timeUntilAiring", "goType": "int", "typescriptType": "number", "required": true, @@ -7373,8 +7373,8 @@ "comments": [] }, { - "name": "TimeUntilAiring", - "jsonName": "timeUntilAiring", + "name": "Episode", + "jsonName": "episode", "goType": "int", "typescriptType": "number", "required": true, @@ -7382,8 +7382,8 @@ "comments": [] }, { - "name": "Episode", - "jsonName": "episode", + "name": "TimeUntilAiring", + "jsonName": "timeUntilAiring", "goType": "int", "typescriptType": "number", "required": true, @@ -7431,8 +7431,8 @@ "comments": [] }, { - "name": "TimeUntilAiring", - "jsonName": "timeUntilAiring", + "name": "Episode", + "jsonName": "episode", "goType": "int", "typescriptType": "number", "required": true, @@ -7440,8 +7440,8 @@ "comments": [] }, { - "name": "Episode", - "jsonName": "episode", + "name": "TimeUntilAiring", + "jsonName": "timeUntilAiring", "goType": "int", "typescriptType": "number", "required": true, @@ -7510,8 +7510,8 @@ "comments": [] }, { - "name": "TimeUntilAiring", - "jsonName": "timeUntilAiring", + "name": "Episode", + "jsonName": "episode", "goType": "int", "typescriptType": "number", "required": true, @@ -7519,8 +7519,8 @@ "comments": [] }, { - "name": "Episode", - "jsonName": "episode", + "name": "TimeUntilAiring", + "jsonName": "timeUntilAiring", "goType": "int", "typescriptType": "number", "required": true, @@ -7568,8 +7568,8 @@ "comments": [] }, { - "name": "TimeUntilAiring", - "jsonName": "timeUntilAiring", + "name": "Episode", + "jsonName": "episode", "goType": "int", "typescriptType": "number", "required": true, @@ -7577,8 +7577,8 @@ "comments": [] }, { - "name": "Episode", - "jsonName": "episode", + "name": "TimeUntilAiring", + "jsonName": "timeUntilAiring", "goType": "int", "typescriptType": "number", "required": true, @@ -7647,8 +7647,8 @@ "comments": [] }, { - "name": "TimeUntilAiring", - "jsonName": "timeUntilAiring", + "name": "Episode", + "jsonName": "episode", "goType": "int", "typescriptType": "number", "required": true, @@ -7656,8 +7656,8 @@ "comments": [] }, { - "name": "Episode", - "jsonName": "episode", + "name": "TimeUntilAiring", + "jsonName": "timeUntilAiring", "goType": "int", "typescriptType": "number", "required": true, @@ -7705,8 +7705,8 @@ "comments": [] }, { - "name": "TimeUntilAiring", - "jsonName": "timeUntilAiring", + "name": "Episode", + "jsonName": "episode", "goType": "int", "typescriptType": "number", "required": true, @@ -7714,8 +7714,8 @@ "comments": [] }, { - "name": "Episode", - "jsonName": "episode", + "name": "TimeUntilAiring", + "jsonName": "timeUntilAiring", "goType": "int", "typescriptType": "number", "required": true, @@ -7784,8 +7784,8 @@ "comments": [] }, { - "name": "TimeUntilAiring", - "jsonName": "timeUntilAiring", + "name": "Episode", + "jsonName": "episode", "goType": "int", "typescriptType": "number", "required": true, @@ -7793,8 +7793,8 @@ "comments": [] }, { - "name": "Episode", - "jsonName": "episode", + "name": "TimeUntilAiring", + "jsonName": "timeUntilAiring", "goType": "int", "typescriptType": "number", "required": true, @@ -7842,8 +7842,8 @@ "comments": [] }, { - "name": "TimeUntilAiring", - "jsonName": "timeUntilAiring", + "name": "Episode", + "jsonName": "episode", "goType": "int", "typescriptType": "number", "required": true, @@ -7851,8 +7851,8 @@ "comments": [] }, { - "name": "Episode", - "jsonName": "episode", + "name": "TimeUntilAiring", + "jsonName": "timeUntilAiring", "goType": "int", "typescriptType": "number", "required": true, @@ -7921,8 +7921,8 @@ "comments": [] }, { - "name": "TimeUntilAiring", - "jsonName": "timeUntilAiring", + "name": "Episode", + "jsonName": "episode", "goType": "int", "typescriptType": "number", "required": true, @@ -7930,8 +7930,8 @@ "comments": [] }, { - "name": "Episode", - "jsonName": "episode", + "name": "TimeUntilAiring", + "jsonName": "timeUntilAiring", "goType": "int", "typescriptType": "number", "required": true, @@ -7979,8 +7979,8 @@ "comments": [] }, { - "name": "TimeUntilAiring", - "jsonName": "timeUntilAiring", + "name": "Episode", + "jsonName": "episode", "goType": "int", "typescriptType": "number", "required": true, @@ -7988,8 +7988,8 @@ "comments": [] }, { - "name": "Episode", - "jsonName": "episode", + "name": "TimeUntilAiring", + "jsonName": "timeUntilAiring", "goType": "int", "typescriptType": "number", "required": true, @@ -8125,8 +8125,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -8143,8 +8143,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -8162,8 +8162,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -8180,8 +8180,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -8198,24 +8198,6 @@ "formattedName": "AL_MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_Title", "package": "anilist", "fields": [ - { - "name": "UserPreferred", - "jsonName": "userPreferred", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Romaji", - "jsonName": "romaji", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, { "name": "English", "jsonName": "english", @@ -8233,6 +8215,24 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "Romaji", + "jsonName": "romaji", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "UserPreferred", + "jsonName": "userPreferred", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -8244,6 +8244,15 @@ "formattedName": "AL_MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_CoverImage", "package": "anilist", "fields": [ + { + "name": "Color", + "jsonName": "color", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, { "name": "ExtraLarge", "jsonName": "extraLarge", @@ -8270,15 +8279,6 @@ "required": false, "public": true, "comments": [] - }, - { - "name": "Color", - "jsonName": "color", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] } ], "comments": [] @@ -8291,8 +8291,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -8309,8 +8309,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -8328,8 +8328,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -8346,8 +8346,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -8364,6 +8364,17 @@ "formattedName": "AL_MangaCollection_MediaListCollection_Lists_Entries", "package": "anilist", "fields": [ + { + "name": "CompletedAt", + "jsonName": "completedAt", + "goType": "MangaCollection_MediaListCollection_Lists_Entries_CompletedAt", + "typescriptType": "AL_MangaCollection_MediaListCollection_Lists_Entries_CompletedAt", + "usedTypescriptType": "AL_MangaCollection_MediaListCollection_Lists_Entries_CompletedAt", + "usedStructName": "anilist.MangaCollection_MediaListCollection_Lists_Entries_CompletedAt", + "required": false, + "public": true, + "comments": [] + }, { "name": "ID", "jsonName": "id", @@ -8374,30 +8385,12 @@ "comments": [] }, { - "name": "Score", - "jsonName": "score", - "goType": "float64", - "typescriptType": "number", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Progress", - "jsonName": "progress", - "goType": "int", - "typescriptType": "number", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Status", - "jsonName": "status", - "goType": "MediaListStatus", - "typescriptType": "AL_MediaListStatus", - "usedTypescriptType": "AL_MediaListStatus", - "usedStructName": "anilist.MediaListStatus", + "name": "Media", + "jsonName": "media", + "goType": "BaseManga", + "typescriptType": "AL_BaseManga", + "usedTypescriptType": "AL_BaseManga", + "usedStructName": "anilist.BaseManga", "required": false, "public": true, "comments": [] @@ -8411,6 +8404,24 @@ "public": true, "comments": [] }, + { + "name": "Private", + "jsonName": "private", + "goType": "bool", + "typescriptType": "boolean", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "Progress", + "jsonName": "progress", + "goType": "int", + "typescriptType": "number", + "required": false, + "public": true, + "comments": [] + }, { "name": "Repeat", "jsonName": "repeat", @@ -8421,10 +8432,10 @@ "comments": [] }, { - "name": "Private", - "jsonName": "private", - "goType": "bool", - "typescriptType": "boolean", + "name": "Score", + "jsonName": "score", + "goType": "float64", + "typescriptType": "number", "required": false, "public": true, "comments": [] @@ -8441,23 +8452,12 @@ "comments": [] }, { - "name": "CompletedAt", - "jsonName": "completedAt", - "goType": "MangaCollection_MediaListCollection_Lists_Entries_CompletedAt", - "typescriptType": "AL_MangaCollection_MediaListCollection_Lists_Entries_CompletedAt", - "usedTypescriptType": "AL_MangaCollection_MediaListCollection_Lists_Entries_CompletedAt", - "usedStructName": "anilist.MangaCollection_MediaListCollection_Lists_Entries_CompletedAt", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Media", - "jsonName": "media", - "goType": "BaseManga", - "typescriptType": "AL_BaseManga", - "usedTypescriptType": "AL_BaseManga", - "usedStructName": "anilist.BaseManga", + "name": "Status", + "jsonName": "status", + "goType": "MediaListStatus", + "typescriptType": "AL_MediaListStatus", + "usedTypescriptType": "AL_MediaListStatus", + "usedStructName": "anilist.MediaListStatus", "required": false, "public": true, "comments": [] @@ -8473,21 +8473,12 @@ "package": "anilist", "fields": [ { - "name": "Status", - "jsonName": "status", - "goType": "MediaListStatus", - "typescriptType": "AL_MediaListStatus", - "usedTypescriptType": "AL_MediaListStatus", - "usedStructName": "anilist.MediaListStatus", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Name", - "jsonName": "name", - "goType": "string", - "typescriptType": "string", + "name": "Entries", + "jsonName": "entries", + "goType": "[]MangaCollection_MediaListCollection_Lists_Entries", + "typescriptType": "Array\u003cAL_MangaCollection_MediaListCollection_Lists_Entries\u003e", + "usedTypescriptType": "AL_MangaCollection_MediaListCollection_Lists_Entries", + "usedStructName": "anilist.MangaCollection_MediaListCollection_Lists_Entries", "required": false, "public": true, "comments": [] @@ -8502,12 +8493,21 @@ "comments": [] }, { - "name": "Entries", - "jsonName": "entries", - "goType": "[]MangaCollection_MediaListCollection_Lists_Entries", - "typescriptType": "Array\u003cAL_MangaCollection_MediaListCollection_Lists_Entries\u003e", - "usedTypescriptType": "AL_MangaCollection_MediaListCollection_Lists_Entries", - "usedStructName": "anilist.MangaCollection_MediaListCollection_Lists_Entries", + "name": "Name", + "jsonName": "name", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "Status", + "jsonName": "status", + "goType": "MediaListStatus", + "typescriptType": "AL_MediaListStatus", + "usedTypescriptType": "AL_MediaListStatus", + "usedStructName": "anilist.MediaListStatus", "required": false, "public": true, "comments": [] @@ -8563,8 +8563,17 @@ "package": "anilist", "fields": [ { - "name": "UserPreferred", - "jsonName": "userPreferred", + "name": "English", + "jsonName": "english", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "Native", + "jsonName": "native", "goType": "string", "typescriptType": "string", "required": false, @@ -8581,17 +8590,8 @@ "comments": [] }, { - "name": "English", - "jsonName": "english", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Native", - "jsonName": "native", + "name": "UserPreferred", + "jsonName": "userPreferred", "goType": "string", "typescriptType": "string", "required": false, @@ -8608,6 +8608,15 @@ "formattedName": "AL_SearchBaseManga_Page_Media_BaseManga_CoverImage", "package": "anilist", "fields": [ + { + "name": "Color", + "jsonName": "color", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, { "name": "ExtraLarge", "jsonName": "extraLarge", @@ -8634,15 +8643,6 @@ "required": false, "public": true, "comments": [] - }, - { - "name": "Color", - "jsonName": "color", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] } ], "comments": [] @@ -8655,8 +8655,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -8673,8 +8673,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -8692,8 +8692,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -8710,8 +8710,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -8728,17 +8728,6 @@ "formattedName": "AL_SearchBaseManga_Page", "package": "anilist", "fields": [ - { - "name": "PageInfo", - "jsonName": "pageInfo", - "goType": "SearchBaseManga_Page_PageInfo", - "typescriptType": "AL_SearchBaseManga_Page_PageInfo", - "usedTypescriptType": "AL_SearchBaseManga_Page_PageInfo", - "usedStructName": "anilist.SearchBaseManga_Page_PageInfo", - "required": false, - "public": true, - "comments": [] - }, { "name": "Media", "jsonName": "media", @@ -8749,6 +8738,17 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "PageInfo", + "jsonName": "pageInfo", + "goType": "SearchBaseManga_Page_PageInfo", + "typescriptType": "AL_SearchBaseManga_Page_PageInfo", + "usedTypescriptType": "AL_SearchBaseManga_Page_PageInfo", + "usedStructName": "anilist.SearchBaseManga_Page_PageInfo", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -8760,24 +8760,6 @@ "formattedName": "AL_BaseMangaById_Media_BaseManga_Title", "package": "anilist", "fields": [ - { - "name": "UserPreferred", - "jsonName": "userPreferred", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Romaji", - "jsonName": "romaji", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, { "name": "English", "jsonName": "english", @@ -8795,6 +8777,24 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "Romaji", + "jsonName": "romaji", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "UserPreferred", + "jsonName": "userPreferred", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -8806,6 +8806,15 @@ "formattedName": "AL_BaseMangaById_Media_BaseManga_CoverImage", "package": "anilist", "fields": [ + { + "name": "Color", + "jsonName": "color", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, { "name": "ExtraLarge", "jsonName": "extraLarge", @@ -8832,15 +8841,6 @@ "required": false, "public": true, "comments": [] - }, - { - "name": "Color", - "jsonName": "color", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] } ], "comments": [] @@ -8853,8 +8853,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -8871,8 +8871,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -8890,8 +8890,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -8908,8 +8908,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -8926,6 +8926,15 @@ "formattedName": "AL_MangaDetailsById_Media_Rankings", "package": "anilist", "fields": [ + { + "name": "AllTime", + "jsonName": "allTime", + "goType": "bool", + "typescriptType": "boolean", + "required": false, + "public": true, + "comments": [] + }, { "name": "Context", "jsonName": "context", @@ -8935,35 +8944,6 @@ "public": true, "comments": [] }, - { - "name": "Type", - "jsonName": "type", - "goType": "MediaRankType", - "typescriptType": "AL_MediaRankType", - "usedTypescriptType": "AL_MediaRankType", - "usedStructName": "anilist.MediaRankType", - "required": true, - "public": true, - "comments": [] - }, - { - "name": "Rank", - "jsonName": "rank", - "goType": "int", - "typescriptType": "number", - "required": true, - "public": true, - "comments": [] - }, - { - "name": "Year", - "jsonName": "year", - "goType": "int", - "typescriptType": "number", - "required": false, - "public": true, - "comments": [] - }, { "name": "Format", "jsonName": "format", @@ -8976,11 +8956,11 @@ "comments": [] }, { - "name": "AllTime", - "jsonName": "allTime", - "goType": "bool", - "typescriptType": "boolean", - "required": false, + "name": "Rank", + "jsonName": "rank", + "goType": "int", + "typescriptType": "number", + "required": true, "public": true, "comments": [] }, @@ -8994,6 +8974,26 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "Type", + "jsonName": "type", + "goType": "MediaRankType", + "typescriptType": "AL_MediaRankType", + "usedTypescriptType": "AL_MediaRankType", + "usedStructName": "anilist.MediaRankType", + "required": true, + "public": true, + "comments": [] + }, + { + "name": "Year", + "jsonName": "year", + "goType": "int", + "typescriptType": "number", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -9006,8 +9006,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -9024,8 +9024,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -9042,6 +9042,15 @@ "formattedName": "AL_MangaDetailsById_Media_Characters_Edges_Node_BaseCharacter_Name", "package": "anilist", "fields": [ + { + "name": "Alternative", + "jsonName": "alternative", + "goType": "[]string", + "typescriptType": "Array\u003cstring\u003e", + "required": false, + "public": true, + "comments": [] + }, { "name": "Full", "jsonName": "full", @@ -9059,15 +9068,6 @@ "required": false, "public": true, "comments": [] - }, - { - "name": "Alternative", - "jsonName": "alternative", - "goType": "[]string", - "typescriptType": "Array\u003cstring\u003e", - "required": false, - "public": true, - "comments": [] } ], "comments": [] @@ -9107,17 +9107,6 @@ "public": true, "comments": [] }, - { - "name": "Role", - "jsonName": "role", - "goType": "CharacterRole", - "typescriptType": "AL_CharacterRole", - "usedTypescriptType": "AL_CharacterRole", - "usedStructName": "anilist.CharacterRole", - "required": false, - "public": true, - "comments": [] - }, { "name": "Name", "jsonName": "name", @@ -9137,6 +9126,17 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "Role", + "jsonName": "role", + "goType": "CharacterRole", + "typescriptType": "AL_CharacterRole", + "usedTypescriptType": "AL_CharacterRole", + "usedStructName": "anilist.CharacterRole", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -9169,24 +9169,6 @@ "formattedName": "AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title", "package": "anilist", "fields": [ - { - "name": "UserPreferred", - "jsonName": "userPreferred", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Romaji", - "jsonName": "romaji", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, { "name": "English", "jsonName": "english", @@ -9204,6 +9186,24 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "Romaji", + "jsonName": "romaji", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "UserPreferred", + "jsonName": "userPreferred", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -9215,6 +9215,15 @@ "formattedName": "AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage", "package": "anilist", "fields": [ + { + "name": "Color", + "jsonName": "color", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, { "name": "ExtraLarge", "jsonName": "extraLarge", @@ -9241,15 +9250,6 @@ "required": false, "public": true, "comments": [] - }, - { - "name": "Color", - "jsonName": "color", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] } ], "comments": [] @@ -9262,8 +9262,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -9280,8 +9280,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -9299,8 +9299,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -9317,8 +9317,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -9335,77 +9335,6 @@ "formattedName": "AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation", "package": "anilist", "fields": [ - { - "name": "ID", - "jsonName": "id", - "goType": "int", - "typescriptType": "number", - "required": true, - "public": true, - "comments": [] - }, - { - "name": "IDMal", - "jsonName": "idMal", - "goType": "int", - "typescriptType": "number", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "SiteURL", - "jsonName": "siteUrl", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Status", - "jsonName": "status", - "goType": "MediaStatus", - "typescriptType": "AL_MediaStatus", - "usedTypescriptType": "AL_MediaStatus", - "usedStructName": "anilist.MediaStatus", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Season", - "jsonName": "season", - "goType": "MediaSeason", - "typescriptType": "AL_MediaSeason", - "usedTypescriptType": "AL_MediaSeason", - "usedStructName": "anilist.MediaSeason", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Type", - "jsonName": "type", - "goType": "MediaType", - "typescriptType": "AL_MediaType", - "usedTypescriptType": "AL_MediaType", - "usedStructName": "anilist.MediaType", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Format", - "jsonName": "format", - "goType": "MediaFormat", - "typescriptType": "AL_MediaFormat", - "usedTypescriptType": "AL_MediaFormat", - "usedStructName": "anilist.MediaFormat", - "required": false, - "public": true, - "comments": [] - }, { "name": "BannerImage", "jsonName": "bannerImage", @@ -9424,33 +9353,6 @@ "public": true, "comments": [] }, - { - "name": "Volumes", - "jsonName": "volumes", - "goType": "int", - "typescriptType": "number", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Synonyms", - "jsonName": "synonyms", - "goType": "[]string", - "typescriptType": "Array\u003cstring\u003e", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "IsAdult", - "jsonName": "isAdult", - "goType": "bool", - "typescriptType": "boolean", - "required": false, - "public": true, - "comments": [] - }, { "name": "CountryOfOrigin", "jsonName": "countryOfOrigin", @@ -9460,35 +9362,6 @@ "public": true, "comments": [] }, - { - "name": "MeanScore", - "jsonName": "meanScore", - "goType": "int", - "typescriptType": "number", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Description", - "jsonName": "description", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Title", - "jsonName": "title", - "goType": "MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title", - "typescriptType": "AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title", - "usedTypescriptType": "AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title", - "usedStructName": "anilist.MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title", - "required": false, - "public": true, - "comments": [] - }, { "name": "CoverImage", "jsonName": "coverImage", @@ -9501,12 +9374,10 @@ "comments": [] }, { - "name": "StartDate", - "jsonName": "startDate", - "goType": "MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate", - "typescriptType": "AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate", - "usedTypescriptType": "AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate", - "usedStructName": "anilist.MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate", + "name": "Description", + "jsonName": "description", + "goType": "string", + "typescriptType": "string", "required": false, "public": true, "comments": [] @@ -9521,6 +9392,135 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "Format", + "jsonName": "format", + "goType": "MediaFormat", + "typescriptType": "AL_MediaFormat", + "usedTypescriptType": "AL_MediaFormat", + "usedStructName": "anilist.MediaFormat", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "ID", + "jsonName": "id", + "goType": "int", + "typescriptType": "number", + "required": true, + "public": true, + "comments": [] + }, + { + "name": "IDMal", + "jsonName": "idMal", + "goType": "int", + "typescriptType": "number", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "IsAdult", + "jsonName": "isAdult", + "goType": "bool", + "typescriptType": "boolean", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "MeanScore", + "jsonName": "meanScore", + "goType": "int", + "typescriptType": "number", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "Season", + "jsonName": "season", + "goType": "MediaSeason", + "typescriptType": "AL_MediaSeason", + "usedTypescriptType": "AL_MediaSeason", + "usedStructName": "anilist.MediaSeason", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "SiteURL", + "jsonName": "siteUrl", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "StartDate", + "jsonName": "startDate", + "goType": "MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate", + "typescriptType": "AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate", + "usedTypescriptType": "AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate", + "usedStructName": "anilist.MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "Status", + "jsonName": "status", + "goType": "MediaStatus", + "typescriptType": "AL_MediaStatus", + "usedTypescriptType": "AL_MediaStatus", + "usedStructName": "anilist.MediaStatus", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "Synonyms", + "jsonName": "synonyms", + "goType": "[]string", + "typescriptType": "Array\u003cstring\u003e", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "Title", + "jsonName": "title", + "goType": "MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title", + "typescriptType": "AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title", + "usedTypescriptType": "AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title", + "usedStructName": "anilist.MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "Type", + "jsonName": "type", + "goType": "MediaType", + "typescriptType": "AL_MediaType", + "usedTypescriptType": "AL_MediaType", + "usedStructName": "anilist.MediaType", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "Volumes", + "jsonName": "volumes", + "goType": "int", + "typescriptType": "number", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -9595,24 +9595,6 @@ "formattedName": "AL_MangaDetailsById_Media_Relations_Edges_Node_BaseManga_Title", "package": "anilist", "fields": [ - { - "name": "UserPreferred", - "jsonName": "userPreferred", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Romaji", - "jsonName": "romaji", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, { "name": "English", "jsonName": "english", @@ -9630,6 +9612,24 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "Romaji", + "jsonName": "romaji", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "UserPreferred", + "jsonName": "userPreferred", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -9641,6 +9641,15 @@ "formattedName": "AL_MangaDetailsById_Media_Relations_Edges_Node_BaseManga_CoverImage", "package": "anilist", "fields": [ + { + "name": "Color", + "jsonName": "color", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, { "name": "ExtraLarge", "jsonName": "extraLarge", @@ -9667,15 +9676,6 @@ "required": false, "public": true, "comments": [] - }, - { - "name": "Color", - "jsonName": "color", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] } ], "comments": [] @@ -9688,8 +9688,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -9706,8 +9706,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -9725,8 +9725,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -9743,8 +9743,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -9761,17 +9761,6 @@ "formattedName": "AL_MangaDetailsById_Media_Relations_Edges", "package": "anilist", "fields": [ - { - "name": "RelationType", - "jsonName": "relationType", - "goType": "MediaRelation", - "typescriptType": "AL_MediaRelation", - "usedTypescriptType": "AL_MediaRelation", - "usedStructName": "anilist.MediaRelation", - "required": false, - "public": true, - "comments": [] - }, { "name": "Node", "jsonName": "node", @@ -9782,6 +9771,17 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "RelationType", + "jsonName": "relationType", + "goType": "MediaRelation", + "typescriptType": "AL_MediaRelation", + "usedTypescriptType": "AL_MediaRelation", + "usedStructName": "anilist.MediaRelation", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -9815,23 +9815,16 @@ "package": "anilist", "fields": [ { - "name": "SiteURL", - "jsonName": "siteUrl", - "goType": "string", - "typescriptType": "string", + "name": "Characters", + "jsonName": "characters", + "goType": "MangaDetailsById_Media_Characters", + "typescriptType": "AL_MangaDetailsById_Media_Characters", + "usedTypescriptType": "AL_MangaDetailsById_Media_Characters", + "usedStructName": "anilist.MangaDetailsById_Media_Characters", "required": false, "public": true, "comments": [] }, - { - "name": "ID", - "jsonName": "id", - "goType": "int", - "typescriptType": "number", - "required": true, - "public": true, - "comments": [] - }, { "name": "Duration", "jsonName": "duration", @@ -9850,6 +9843,15 @@ "public": true, "comments": [] }, + { + "name": "ID", + "jsonName": "id", + "goType": "int", + "typescriptType": "number", + "required": true, + "public": true, + "comments": [] + }, { "name": "Rankings", "jsonName": "rankings", @@ -9861,17 +9863,6 @@ "public": true, "comments": [] }, - { - "name": "Characters", - "jsonName": "characters", - "goType": "MangaDetailsById_Media_Characters", - "typescriptType": "AL_MangaDetailsById_Media_Characters", - "usedTypescriptType": "AL_MangaDetailsById_Media_Characters", - "usedStructName": "anilist.MangaDetailsById_Media_Characters", - "required": false, - "public": true, - "comments": [] - }, { "name": "Recommendations", "jsonName": "recommendations", @@ -9893,6 +9884,15 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "SiteURL", + "jsonName": "siteUrl", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -9904,6 +9904,15 @@ "formattedName": "AL_ListManga_Page_PageInfo", "package": "anilist", "fields": [ + { + "name": "CurrentPage", + "jsonName": "currentPage", + "goType": "int", + "typescriptType": "number", + "required": false, + "public": true, + "comments": [] + }, { "name": "HasNextPage", "jsonName": "hasNextPage", @@ -9914,8 +9923,8 @@ "comments": [] }, { - "name": "Total", - "jsonName": "total", + "name": "LastPage", + "jsonName": "lastPage", "goType": "int", "typescriptType": "number", "required": false, @@ -9932,17 +9941,8 @@ "comments": [] }, { - "name": "CurrentPage", - "jsonName": "currentPage", - "goType": "int", - "typescriptType": "number", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "LastPage", - "jsonName": "lastPage", + "name": "Total", + "jsonName": "total", "goType": "int", "typescriptType": "number", "required": false, @@ -9959,24 +9959,6 @@ "formattedName": "AL_ListManga_Page_Media_BaseManga_Title", "package": "anilist", "fields": [ - { - "name": "UserPreferred", - "jsonName": "userPreferred", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Romaji", - "jsonName": "romaji", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, { "name": "English", "jsonName": "english", @@ -9994,6 +9976,24 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "Romaji", + "jsonName": "romaji", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "UserPreferred", + "jsonName": "userPreferred", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -10005,6 +10005,15 @@ "formattedName": "AL_ListManga_Page_Media_BaseManga_CoverImage", "package": "anilist", "fields": [ + { + "name": "Color", + "jsonName": "color", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, { "name": "ExtraLarge", "jsonName": "extraLarge", @@ -10031,15 +10040,6 @@ "required": false, "public": true, "comments": [] - }, - { - "name": "Color", - "jsonName": "color", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] } ], "comments": [] @@ -10052,8 +10052,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -10070,8 +10070,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -10089,8 +10089,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -10107,8 +10107,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -10125,17 +10125,6 @@ "formattedName": "AL_ListManga_Page", "package": "anilist", "fields": [ - { - "name": "PageInfo", - "jsonName": "pageInfo", - "goType": "ListManga_Page_PageInfo", - "typescriptType": "AL_ListManga_Page_PageInfo", - "usedTypescriptType": "AL_ListManga_Page_PageInfo", - "usedStructName": "anilist.ListManga_Page_PageInfo", - "required": false, - "public": true, - "comments": [] - }, { "name": "Media", "jsonName": "media", @@ -10146,6 +10135,17 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "PageInfo", + "jsonName": "pageInfo", + "goType": "ListManga_Page_PageInfo", + "typescriptType": "AL_ListManga_Page_PageInfo", + "usedTypescriptType": "AL_ListManga_Page_PageInfo", + "usedStructName": "anilist.ListManga_Page_PageInfo", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -10167,19 +10167,19 @@ "comments": [] }, { - "name": "Name", - "jsonName": "name", - "goType": "string", - "typescriptType": "string", + "name": "IsAnimationStudio", + "jsonName": "isAnimationStudio", + "goType": "bool", + "typescriptType": "boolean", "required": true, "public": true, "comments": [] }, { - "name": "IsAnimationStudio", - "jsonName": "isAnimationStudio", - "goType": "bool", - "typescriptType": "boolean", + "name": "Name", + "jsonName": "name", + "goType": "string", + "typescriptType": "string", "required": true, "public": true, "comments": [] @@ -10203,15 +10203,6 @@ "public": true, "comments": [] }, - { - "name": "MinutesWatched", - "jsonName": "minutesWatched", - "goType": "int", - "typescriptType": "number", - "required": true, - "public": true, - "comments": [] - }, { "name": "EpisodesWatched", "jsonName": "episodesWatched", @@ -10221,15 +10212,6 @@ "public": true, "comments": [] }, - { - "name": "MeanScore", - "jsonName": "meanScore", - "goType": "float64", - "typescriptType": "number", - "required": true, - "public": true, - "comments": [] - }, { "name": "Formats", "jsonName": "formats", @@ -10253,23 +10235,30 @@ "comments": [] }, { - "name": "Statuses", - "jsonName": "statuses", - "goType": "[]UserStatusStats", - "typescriptType": "Array\u003cAL_UserStatusStats\u003e", - "usedTypescriptType": "AL_UserStatusStats", - "usedStructName": "anilist.UserStatusStats", - "required": false, + "name": "MeanScore", + "jsonName": "meanScore", + "goType": "float64", + "typescriptType": "number", + "required": true, "public": true, "comments": [] }, { - "name": "Studios", - "jsonName": "studios", - "goType": "[]UserStudioStats", - "typescriptType": "Array\u003cAL_UserStudioStats\u003e", - "usedTypescriptType": "AL_UserStudioStats", - "usedStructName": "anilist.UserStudioStats", + "name": "MinutesWatched", + "jsonName": "minutesWatched", + "goType": "int", + "typescriptType": "number", + "required": true, + "public": true, + "comments": [] + }, + { + "name": "ReleaseYears", + "jsonName": "releaseYears", + "goType": "[]UserReleaseYearStats", + "typescriptType": "Array\u003cAL_UserReleaseYearStats\u003e", + "usedTypescriptType": "AL_UserReleaseYearStats", + "usedStructName": "anilist.UserReleaseYearStats", "required": false, "public": true, "comments": [] @@ -10297,12 +10286,23 @@ "comments": [] }, { - "name": "ReleaseYears", - "jsonName": "releaseYears", - "goType": "[]UserReleaseYearStats", - "typescriptType": "Array\u003cAL_UserReleaseYearStats\u003e", - "usedTypescriptType": "AL_UserReleaseYearStats", - "usedStructName": "anilist.UserReleaseYearStats", + "name": "Statuses", + "jsonName": "statuses", + "goType": "[]UserStatusStats", + "typescriptType": "Array\u003cAL_UserStatusStats\u003e", + "usedTypescriptType": "AL_UserStatusStats", + "usedStructName": "anilist.UserStatusStats", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "Studios", + "jsonName": "studios", + "goType": "[]UserStudioStats", + "typescriptType": "Array\u003cAL_UserStudioStats\u003e", + "usedTypescriptType": "AL_UserStudioStats", + "usedStructName": "anilist.UserStudioStats", "required": false, "public": true, "comments": [] @@ -10327,19 +10327,19 @@ "comments": [] }, { - "name": "Name", - "jsonName": "name", - "goType": "string", - "typescriptType": "string", + "name": "IsAnimationStudio", + "jsonName": "isAnimationStudio", + "goType": "bool", + "typescriptType": "boolean", "required": true, "public": true, "comments": [] }, { - "name": "IsAnimationStudio", - "jsonName": "isAnimationStudio", - "goType": "bool", - "typescriptType": "boolean", + "name": "Name", + "jsonName": "name", + "goType": "string", + "typescriptType": "string", "required": true, "public": true, "comments": [] @@ -10354,15 +10354,6 @@ "formattedName": "AL_ViewerStats_Viewer_Statistics_Manga", "package": "anilist", "fields": [ - { - "name": "Count", - "jsonName": "count", - "goType": "int", - "typescriptType": "number", - "required": true, - "public": true, - "comments": [] - }, { "name": "ChaptersRead", "jsonName": "chaptersRead", @@ -10373,9 +10364,9 @@ "comments": [] }, { - "name": "MeanScore", - "jsonName": "meanScore", - "goType": "float64", + "name": "Count", + "jsonName": "count", + "goType": "int", "typescriptType": "number", "required": true, "public": true, @@ -10404,23 +10395,21 @@ "comments": [] }, { - "name": "Statuses", - "jsonName": "statuses", - "goType": "[]UserStatusStats", - "typescriptType": "Array\u003cAL_UserStatusStats\u003e", - "usedTypescriptType": "AL_UserStatusStats", - "usedStructName": "anilist.UserStatusStats", - "required": false, + "name": "MeanScore", + "jsonName": "meanScore", + "goType": "float64", + "typescriptType": "number", + "required": true, "public": true, "comments": [] }, { - "name": "Studios", - "jsonName": "studios", - "goType": "[]UserStudioStats", - "typescriptType": "Array\u003cAL_UserStudioStats\u003e", - "usedTypescriptType": "AL_UserStudioStats", - "usedStructName": "anilist.UserStudioStats", + "name": "ReleaseYears", + "jsonName": "releaseYears", + "goType": "[]UserReleaseYearStats", + "typescriptType": "Array\u003cAL_UserReleaseYearStats\u003e", + "usedTypescriptType": "AL_UserReleaseYearStats", + "usedStructName": "anilist.UserReleaseYearStats", "required": false, "public": true, "comments": [] @@ -10448,12 +10437,23 @@ "comments": [] }, { - "name": "ReleaseYears", - "jsonName": "releaseYears", - "goType": "[]UserReleaseYearStats", - "typescriptType": "Array\u003cAL_UserReleaseYearStats\u003e", - "usedTypescriptType": "AL_UserReleaseYearStats", - "usedStructName": "anilist.UserReleaseYearStats", + "name": "Statuses", + "jsonName": "statuses", + "goType": "[]UserStatusStats", + "typescriptType": "Array\u003cAL_UserStatusStats\u003e", + "usedTypescriptType": "AL_UserStatusStats", + "usedStructName": "anilist.UserStatusStats", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "Studios", + "jsonName": "studios", + "goType": "[]UserStudioStats", + "typescriptType": "Array\u003cAL_UserStudioStats\u003e", + "usedTypescriptType": "AL_UserStudioStats", + "usedStructName": "anilist.UserStudioStats", "required": false, "public": true, "comments": [] @@ -10558,24 +10558,6 @@ "formattedName": "AL_StudioDetails_Studio_Media_Nodes_BaseAnime_Title", "package": "anilist", "fields": [ - { - "name": "UserPreferred", - "jsonName": "userPreferred", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, - { - "name": "Romaji", - "jsonName": "romaji", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] - }, { "name": "English", "jsonName": "english", @@ -10593,6 +10575,24 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "Romaji", + "jsonName": "romaji", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, + { + "name": "UserPreferred", + "jsonName": "userPreferred", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -10604,6 +10604,15 @@ "formattedName": "AL_StudioDetails_Studio_Media_Nodes_BaseAnime_CoverImage", "package": "anilist", "fields": [ + { + "name": "Color", + "jsonName": "color", + "goType": "string", + "typescriptType": "string", + "required": false, + "public": true, + "comments": [] + }, { "name": "ExtraLarge", "jsonName": "extraLarge", @@ -10630,15 +10639,6 @@ "required": false, "public": true, "comments": [] - }, - { - "name": "Color", - "jsonName": "color", - "goType": "string", - "typescriptType": "string", - "required": false, - "public": true, - "comments": [] } ], "comments": [] @@ -10651,8 +10651,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -10669,8 +10669,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -10688,8 +10688,8 @@ "package": "anilist", "fields": [ { - "name": "Year", - "jsonName": "year", + "name": "Day", + "jsonName": "day", "goType": "int", "typescriptType": "number", "required": false, @@ -10706,8 +10706,8 @@ "comments": [] }, { - "name": "Day", - "jsonName": "day", + "name": "Year", + "jsonName": "year", "goType": "int", "typescriptType": "number", "required": false, @@ -10734,8 +10734,8 @@ "comments": [] }, { - "name": "TimeUntilAiring", - "jsonName": "timeUntilAiring", + "name": "Episode", + "jsonName": "episode", "goType": "int", "typescriptType": "number", "required": true, @@ -10743,8 +10743,8 @@ "comments": [] }, { - "name": "Episode", - "jsonName": "episode", + "name": "TimeUntilAiring", + "jsonName": "timeUntilAiring", "goType": "int", "typescriptType": "number", "required": true, @@ -10800,15 +10800,6 @@ "public": true, "comments": [] }, - { - "name": "Name", - "jsonName": "name", - "goType": "string", - "typescriptType": "string", - "required": true, - "public": true, - "comments": [] - }, { "name": "Media", "jsonName": "media", @@ -10819,6 +10810,15 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "Name", + "jsonName": "name", + "goType": "string", + "typescriptType": "string", + "required": true, + "public": true, + "comments": [] } ], "comments": [] @@ -10859,8 +10859,8 @@ "package": "anilist", "fields": [ { - "name": "DisplayAdultContent", - "jsonName": "displayAdultContent", + "name": "AiringNotifications", + "jsonName": "airingNotifications", "goType": "bool", "typescriptType": "boolean", "required": false, @@ -10868,8 +10868,8 @@ "comments": [] }, { - "name": "AiringNotifications", - "jsonName": "airingNotifications", + "name": "DisplayAdultContent", + "jsonName": "displayAdultContent", "goType": "bool", "typescriptType": "boolean", "required": false, @@ -10895,15 +10895,6 @@ "formattedName": "AL_GetViewer_Viewer", "package": "anilist", "fields": [ - { - "name": "Name", - "jsonName": "name", - "goType": "string", - "typescriptType": "string", - "required": true, - "public": true, - "comments": [] - }, { "name": "Avatar", "jsonName": "avatar", @@ -10933,6 +10924,15 @@ "public": true, "comments": [] }, + { + "name": "Name", + "jsonName": "name", + "goType": "string", + "typescriptType": "string", + "required": true, + "public": true, + "comments": [] + }, { "name": "Options", "jsonName": "options", @@ -49786,6 +49786,17 @@ "required": true, "public": false, "comments": [] + }, + { + "name": "animeCollection", + "jsonName": "animeCollection", + "goType": "anilist.AnimeCollection", + "typescriptType": "AL_AnimeCollection", + "usedTypescriptType": "AL_AnimeCollection", + "usedStructName": "anilist.AnimeCollection", + "required": false, + "public": false, + "comments": [] } ], "comments": [] @@ -52978,6 +52989,17 @@ "required": false, "public": true, "comments": [] + }, + { + "name": "OptionalAnimeCollection", + "jsonName": "OptionalAnimeCollection", + "goType": "anilist.AnimeCollection", + "typescriptType": "AL_AnimeCollection", + "usedTypescriptType": "AL_AnimeCollection", + "usedStructName": "anilist.AnimeCollection", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -53345,6 +53367,17 @@ "required": true, "public": true, "comments": [] + }, + { + "name": "AnimeCollection", + "jsonName": "AnimeCollection", + "goType": "anilist.AnimeCollection", + "typescriptType": "AL_AnimeCollection", + "usedTypescriptType": "AL_AnimeCollection", + "usedStructName": "anilist.AnimeCollection", + "required": false, + "public": true, + "comments": [] } ], "comments": [] @@ -86679,7 +86712,7 @@ "required": false, "public": true, "comments": [ - " [\"tauri\", \"web\", \"denshi\"]" + " [\"web\", \"denshi\"]" ] }, { diff --git a/go.mod b/go.mod index 0e93c022..d301e08e 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,6 @@ require ( github.com/Masterminds/semver/v3 v3.4.0 github.com/Microsoft/go-winio v0.6.2 github.com/PuerkitoBio/goquery v1.11.0 - github.com/Yamashou/gqlgenc v0.25.4 github.com/adrg/strutil v0.3.1 github.com/anacrolix/log v0.17.1-0.20251118025802-918f1157b7bb github.com/anacrolix/torrent v1.61.0 @@ -19,8 +18,8 @@ require ( github.com/chromedp/chromedp v0.14.2 github.com/cli/browser v1.3.0 github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc - github.com/dop251/goja v0.0.0-20260106131823-651366fbe6e3 - github.com/dop251/goja_nodejs v0.0.0-20251015164255-5e94316bedaf + github.com/dop251/goja v0.0.0-20260216154549-8b74ce4618c5 + github.com/dop251/goja_nodejs v0.0.0-20260212111938-1f56ff5bcf14 github.com/dustin/go-humanize v1.0.1 github.com/evanw/esbuild v0.27.3 github.com/fsnotify/fsnotify v1.9.0 @@ -32,6 +31,7 @@ require ( github.com/google/go-querystring v1.2.0 github.com/google/uuid v1.6.0 github.com/gorilla/websocket v1.5.3 + github.com/gqlgo/gqlgenc v0.33.1 github.com/hekmon/transmissionrpc/v3 v3.0.0 github.com/huin/goupnp v1.3.0 github.com/imroc/req/v3 v3.57.0 @@ -51,26 +51,21 @@ require ( github.com/stretchr/testify v1.11.1 github.com/xfrr/goffmpeg v1.0.0 github.com/ziflex/lecho/v3 v3.9.0 - golang.org/x/crypto v0.47.0 - golang.org/x/image v0.35.0 - golang.org/x/net v0.49.0 - golang.org/x/term v0.39.0 - golang.org/x/text v0.33.0 + golang.org/x/crypto v0.48.0 + golang.org/x/image v0.36.0 + golang.org/x/net v0.50.0 + golang.org/x/term v0.40.0 + golang.org/x/text v0.34.0 golang.org/x/time v0.14.0 gopkg.in/vansante/go-ffprobe.v2 v2.3.0 gorm.io/gorm v1.31.1 ) require ( - github.com/anacrolix/btree v0.0.0-20251201064447-d86c3fa41bd8 // indirect - github.com/google/go-cmp v0.7.0 // indirect - go.opentelemetry.io/auto/sdk v1.2.1 // indirect -) - -require ( - github.com/99designs/gqlgen v0.17.54 // indirect + github.com/99designs/gqlgen v0.17.73 // indirect github.com/RoaringBitmap/roaring v1.2.3 // indirect github.com/alecthomas/atomic v0.1.0-alpha2 // indirect + github.com/anacrolix/btree v0.0.0-20251201064447-d86c3fa41bd8 // indirect github.com/anacrolix/chansync v0.7.0 // indirect github.com/anacrolix/dht/v2 v2.23.0 // indirect github.com/anacrolix/envpprof v1.4.0 // indirect @@ -117,6 +112,7 @@ require ( github.com/gobwas/ws v1.4.0 // indirect github.com/godbus/dbus/v5 v5.1.0 // indirect github.com/google/btree v1.1.2 // indirect + github.com/google/go-cmp v0.7.0 // indirect github.com/google/pprof v0.0.0-20250423184734-337e5dd93bb4 // indirect github.com/hashicorp/go-cleanhttp v0.5.2 // indirect github.com/hekmon/cunits/v2 v2.1.0 // indirect @@ -182,10 +178,11 @@ require ( github.com/tidwall/btree v1.8.1 // indirect github.com/valyala/bytebufferpool v1.0.0 // indirect github.com/valyala/fasttemplate v1.2.2 // indirect - github.com/vektah/gqlparser/v2 v2.5.16 // indirect + github.com/vektah/gqlparser/v2 v2.5.26 // indirect github.com/wlynxg/anet v0.0.3 // indirect github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect go.etcd.io/bbolt v1.3.6 // indirect + go.opentelemetry.io/auto/sdk v1.2.1 // indirect go.opentelemetry.io/otel v1.38.0 // indirect go.opentelemetry.io/otel/metric v1.38.0 // indirect go.opentelemetry.io/otel/trace v1.38.0 // indirect @@ -193,7 +190,7 @@ require ( go.yaml.in/yaml/v3 v3.0.4 // indirect golang.org/x/exp v0.0.0-20251113190631-e25ba8c21ef6 // indirect golang.org/x/sync v0.19.0 - golang.org/x/sys v0.40.0 // indirect + golang.org/x/sys v0.41.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect lukechampine.com/blake3 v1.1.6 // indirect modernc.org/libc v1.41.0 // indirect diff --git a/go.sum b/go.sum index efed3831..7309618d 100644 --- a/go.sum +++ b/go.sum @@ -12,8 +12,8 @@ github.com/5rahim/habari v0.1.12 h1:JPw5JqkfUx9bI0gKkU4lsbgmNI5en7Qp1+9e8mbVN9M= github.com/5rahim/habari v0.1.12/go.mod h1:0nBj4/5OxTAoIICP4P3+/YJGNf8L7w+gnU1ivj7nFJA= github.com/5rahim/hls-m3u8 v0.1.0 h1:budttK+sJ4mos+W9/7eGTj5Lp2jAWOvLK5CFML4Z4Vk= github.com/5rahim/hls-m3u8 v0.1.0/go.mod h1:yd2ILWHFjLaI3wm0f/AV+IJAZ9Gcv/GTcc8BPshkhaI= -github.com/99designs/gqlgen v0.17.54 h1:AsF49k/7RJlwA00RQYsYN0T8cQuaosnV/7G1dHC3Uh8= -github.com/99designs/gqlgen v0.17.54/go.mod h1:77/+pVe6zlTsz++oUg2m8VLgzdUPHxjoAG3BxI5y8Rc= +github.com/99designs/gqlgen v0.17.73 h1:A3Ki+rHWqKbAOlg5fxiZBnz6OjW3nwupDHEG15gEsrg= +github.com/99designs/gqlgen v0.17.73/go.mod h1:2RyGWjy2k7W9jxrs8MOQthXGkD3L3oGr0jXW3Pu8lGg= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/Masterminds/semver/v3 v3.4.0 h1:Zog+i5UMtVoCU8oKka5P7i9q9HgrJeGzI9SA1Xbatp0= github.com/Masterminds/semver/v3 v3.4.0/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM= @@ -30,8 +30,6 @@ github.com/RoaringBitmap/roaring v1.2.3 h1:yqreLINqIrX22ErkKI0vY47/ivtJr6n+kMhVO github.com/RoaringBitmap/roaring v1.2.3/go.mod h1:plvDsJQpxOC5bw8LRteu/MLWHsHez/3y6cubLI4/1yE= github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= -github.com/Yamashou/gqlgenc v0.25.4 h1:b+RMy15GX1p9rtMWvjivX3kxyhROypHh/THruHRRjcE= -github.com/Yamashou/gqlgenc v0.25.4/go.mod h1:G0g1N81xpIklVdnyboW1zwOHcj/n4hNfhTwfN29Rjig= github.com/adrg/strutil v0.3.1 h1:OLvSS7CSJO8lBii4YmBt8jiK9QOtB9CzCzwl4Ic/Fz4= github.com/adrg/strutil v0.3.1/go.mod h1:8h90y18QLrs11IBffcGX3NW/GFBXCMcNg4M7H6MspPA= github.com/alecthomas/assert/v2 v2.0.0-alpha3 h1:pcHeMvQ3OMstAWgaeaXIAL8uzB9xMm2zlxt+/4ml8lk= @@ -164,10 +162,10 @@ github.com/dlclark/regexp2 v1.11.4/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cn github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= github.com/dop251/base64dec v0.0.0-20231022112746-c6c9f9a96217 h1:16iT9CBDOniJwFGPI41MbUDfEk74hFaKTqudrX8kenY= github.com/dop251/base64dec v0.0.0-20231022112746-c6c9f9a96217/go.mod h1:eIb+f24U+eWQCIsj9D/ah+MD9UP+wdxuqzsdLD+mhGM= -github.com/dop251/goja v0.0.0-20260106131823-651366fbe6e3 h1:bVp3yUzvSAJzu9GqID+Z96P+eu5TKnIMJSV4QaZMauM= -github.com/dop251/goja v0.0.0-20260106131823-651366fbe6e3/go.mod h1:MxLav0peU43GgvwVgNbLAj1s/bSGboKkhuULvq/7hx4= -github.com/dop251/goja_nodejs v0.0.0-20251015164255-5e94316bedaf h1:gbmvliZnCut4NjaPSNOQlfqBoZ9C5Dpf72mHMMYhgVE= -github.com/dop251/goja_nodejs v0.0.0-20251015164255-5e94316bedaf/go.mod h1:Tb7Xxye4LX7cT3i8YLvmPMGCV92IOi4CDZvm/V8ylc0= +github.com/dop251/goja v0.0.0-20260216154549-8b74ce4618c5 h1:QckvTXtu55YMopmVeDrPQ/r+T6xjw8KMCmE3UgUldkw= +github.com/dop251/goja v0.0.0-20260216154549-8b74ce4618c5/go.mod h1:MxLav0peU43GgvwVgNbLAj1s/bSGboKkhuULvq/7hx4= +github.com/dop251/goja_nodejs v0.0.0-20260212111938-1f56ff5bcf14 h1:3U8dTgyNBhEQ/GVw0jZW5q+93Zw2gAZPRWhJ9TwV3rM= +github.com/dop251/goja_nodejs v0.0.0-20260212111938-1f56ff5bcf14/go.mod h1:Tb7Xxye4LX7cT3i8YLvmPMGCV92IOi4CDZvm/V8ylc0= github.com/dustin/go-humanize v0.0.0-20180421182945-02af3965c54e/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= @@ -278,6 +276,8 @@ github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51 github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg= github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/gqlgo/gqlgenc v0.33.1 h1:r4wNp20L2NNE/59rIZoBPNVmHyrcKAyYPLP6DiwZ54Q= +github.com/gqlgo/gqlgenc v0.33.1/go.mod h1:saXWMb8bbHVR0r+iwTslksNO06lx9rKXagrjzPfG+rQ= github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ= github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= @@ -540,8 +540,8 @@ github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6Kllzaw github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= github.com/valyala/fasttemplate v1.2.2 h1:lxLXG0uE3Qnshl9QyaK6XJxMXlQZELvChBOCmQD0Loo= github.com/valyala/fasttemplate v1.2.2/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= -github.com/vektah/gqlparser/v2 v2.5.16 h1:1gcmLTvs3JLKXckwCwlUagVn/IlV2bwqle0vJ0vy5p8= -github.com/vektah/gqlparser/v2 v2.5.16/go.mod h1:1lz1OeCqgQbQepsGxPVywrjdBHW2T08PUS3pJqepRww= +github.com/vektah/gqlparser/v2 v2.5.26 h1:REqqFkO8+SOEgZHR/eHScjjVjGS8Nk3RMO/juiTobN4= +github.com/vektah/gqlparser/v2 v2.5.26/go.mod h1:D1/VCZtV3LPnQrcPBeR/q5jkSQIPti0uYCP/RI0gIeo= github.com/willf/bitset v1.1.9/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4= github.com/willf/bitset v1.1.10/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4= github.com/wlynxg/anet v0.0.3 h1:PvR53psxFXstc12jelG6f1Lv4MWqE0tI76/hHGjh9rg= @@ -585,14 +585,14 @@ golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU= golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= golang.org/x/crypto v0.31.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk= -golang.org/x/crypto v0.47.0 h1:V6e3FRj+n4dbpw86FJ8Fv7XVOql7TEwpHapKoMJ/GO8= -golang.org/x/crypto v0.47.0/go.mod h1:ff3Y9VzzKbwSSEzWqJsJVBnWmRwRSHt/6Op5n9bQc4A= +golang.org/x/crypto v0.48.0 h1:/VRzVqiRSggnhY7gNRxPauEQ5Drw9haKdM0jqfcCFts= +golang.org/x/crypto v0.48.0/go.mod h1:r0kV5h3qnFPlQnBSrULhlsRfryS2pmewsg+XfMgkVos= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20220428152302-39d4317da171/go.mod h1:lgLbSvA5ygNOMpwM/9anMpWVlVJ7Z+cHWq/eFuinpGE= golang.org/x/exp v0.0.0-20251113190631-e25ba8c21ef6 h1:zfMcR1Cs4KNuomFFgGefv5N0czO2XZpUbxGUy8i8ug0= golang.org/x/exp v0.0.0-20251113190631-e25ba8c21ef6/go.mod h1:46edojNIoXTNOhySWIWdix628clX9ODXwPsQuG6hsK0= -golang.org/x/image v0.35.0 h1:LKjiHdgMtO8z7Fh18nGY6KDcoEtVfsgLDPeLyguqb7I= -golang.org/x/image v0.35.0/go.mod h1:MwPLTVgvxSASsxdLzKrl8BRFuyqMyGhLwmC+TO1Sybk= +golang.org/x/image v0.36.0 h1:Iknbfm1afbgtwPTmHnS2gTM/6PPZfH+z2EFuOkSbqwc= +golang.org/x/image v0.36.0/go.mod h1:YsWD2TyyGKiIX1kZlu9QfKIsQ4nAAK9bdgdrIsE7xy4= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -626,8 +626,8 @@ golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= golang.org/x/net v0.33.0/go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4= -golang.org/x/net v0.49.0 h1:eeHFmOGUTtaaPSGNmjBKpbng9MulQsJURQUAfUwY++o= -golang.org/x/net v0.49.0/go.mod h1:/ysNB2EvaqvesRkuLAyjI1ycPZlQHM3q01F02UY/MV8= +golang.org/x/net v0.50.0 h1:ucWh9eiCGyDR3vtzso0WMQinm2Dnt8cFMuQa9K33J60= +golang.org/x/net v0.50.0/go.mod h1:UgoSli3F/pBgdJBHCTc+tp3gmrU4XswgGRgtnwWTfyM= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -676,8 +676,8 @@ golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.28.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.40.0 h1:DBZZqJ2Rkml6QMQsZywtnjnnGvHza6BTfYFWY9kjEWQ= -golang.org/x/sys v0.40.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= +golang.org/x/sys v0.41.0 h1:Ivj+2Cp/ylzLiEU89QhWblYnOE9zerudt9Ftecq2C6k= +golang.org/x/sys v0.41.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= golang.org/x/telemetry v0.0.0-20240228155512-f48c80bd79b2/go.mod h1:TeRTkGYfJXctD9OcfyVLyj2J3IxLnKwHJR8f4D8a3YE= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= @@ -688,8 +688,8 @@ golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk= golang.org/x/term v0.20.0/go.mod h1:8UkIAJTvZgivsXaD6/pH6U9ecQzZ45awqEOzuCvwpFY= golang.org/x/term v0.27.0/go.mod h1:iMsnZpn0cago0GOrHO2+Y7u7JPn5AylBrcoWkElMTSM= -golang.org/x/term v0.39.0 h1:RclSuaJf32jOqZz74CkPA9qFuVTX7vhLlpfj/IGWlqY= -golang.org/x/term v0.39.0/go.mod h1:yxzUCTP/U+FzoxfdKmLaA0RV1WgE0VY7hXBwKtY/4ww= +golang.org/x/term v0.40.0 h1:36e4zGLqU4yhjlmxEaagx2KuYbJq3EwY8K943ZsHcvg= +golang.org/x/term v0.40.0/go.mod h1:w2P8uVp06p2iyKKuvXIm7N/y0UCRt3UfJTfZ7oOpglM= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= @@ -701,8 +701,8 @@ golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ= -golang.org/x/text v0.33.0 h1:B3njUFyqtHDUI5jMn1YIr5B0IE2U0qck04r6d4KPAxE= -golang.org/x/text v0.33.0/go.mod h1:LuMebE6+rBincTi9+xWTY8TztLzKHc/9C1uBCG27+q8= +golang.org/x/text v0.34.0 h1:oL/Qq0Kdaqxa1KbNeMKwQq0reLCCaFtqu2eNuSeNHbk= +golang.org/x/text v0.34.0/go.mod h1:homfLqTYRFyVYemLBFl5GgL/DWEiH5wcsQ5gSh1yziA= golang.org/x/time v0.14.0 h1:MRx4UaLrDotUKUdCIqzPC48t1Y9hANFKIRpNx+Te8PI= golang.org/x/time v0.14.0/go.mod h1:eL/Oa2bBBK0TkX57Fyni+NgnyQQN4LitPmob2Hjnqw4= golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= diff --git a/internal/api/anilist/client.go b/internal/api/anilist/client.go index a359f8e2..8b2c84f3 100644 --- a/internal/api/anilist/client.go +++ b/internal/api/anilist/client.go @@ -13,9 +13,9 @@ import ( "strconv" "time" - "github.com/Yamashou/gqlgenc/clientv2" - "github.com/Yamashou/gqlgenc/graphqljson" "github.com/goccy/go-json" + "github.com/gqlgo/gqlgenc/clientv2" + "github.com/gqlgo/gqlgenc/graphqljson" "github.com/rs/zerolog" ) diff --git a/internal/api/anilist/client_gen.go b/internal/api/anilist/client_gen.go index 123335e8..b0a86a99 100644 --- a/internal/api/anilist/client_gen.go +++ b/internal/api/anilist/client_gen.go @@ -1,12 +1,11 @@ -// Code generated by github.com/Yamashou/gqlgenc, DO NOT EDIT. +// Code generated by github.com/gqlgo/gqlgenc, DO NOT EDIT. package anilist import ( "context" - "net/http" - "github.com/Yamashou/gqlgenc/clientv2" + "github.com/gqlgo/gqlgenc/clientv2" ) type GithubGraphQLClient interface { @@ -39,7 +38,7 @@ type Client struct { Client *clientv2.Client } -func NewClient(cli *http.Client, baseURL string, options *clientv2.Options, interceptors ...clientv2.RequestInterceptor) GithubGraphQLClient { +func NewClient(cli clientv2.HttpClient, baseURL string, options *clientv2.Options, interceptors ...clientv2.RequestInterceptor) GithubGraphQLClient { return &Client{Client: clientv2.NewClient(cli, baseURL, options, interceptors...)} } @@ -971,24 +970,12 @@ func (t *BaseAnime_Trailer) GetThumbnail() *string { } type BaseAnime_Title struct { - UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" - Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" English *string "json:\"english,omitempty\" graphql:\"english\"" Native *string "json:\"native,omitempty\" graphql:\"native\"" + Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" + UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" } -func (t *BaseAnime_Title) GetUserPreferred() *string { - if t == nil { - t = &BaseAnime_Title{} - } - return t.UserPreferred -} -func (t *BaseAnime_Title) GetRomaji() *string { - if t == nil { - t = &BaseAnime_Title{} - } - return t.Romaji -} func (t *BaseAnime_Title) GetEnglish() *string { if t == nil { t = &BaseAnime_Title{} @@ -1001,14 +988,32 @@ func (t *BaseAnime_Title) GetNative() *string { } return t.Native } +func (t *BaseAnime_Title) GetRomaji() *string { + if t == nil { + t = &BaseAnime_Title{} + } + return t.Romaji +} +func (t *BaseAnime_Title) GetUserPreferred() *string { + if t == nil { + t = &BaseAnime_Title{} + } + return t.UserPreferred +} type BaseAnime_CoverImage struct { + Color *string "json:\"color,omitempty\" graphql:\"color\"" ExtraLarge *string "json:\"extraLarge,omitempty\" graphql:\"extraLarge\"" Large *string "json:\"large,omitempty\" graphql:\"large\"" Medium *string "json:\"medium,omitempty\" graphql:\"medium\"" - Color *string "json:\"color,omitempty\" graphql:\"color\"" } +func (t *BaseAnime_CoverImage) GetColor() *string { + if t == nil { + t = &BaseAnime_CoverImage{} + } + return t.Color +} func (t *BaseAnime_CoverImage) GetExtraLarge() *string { if t == nil { t = &BaseAnime_CoverImage{} @@ -1027,24 +1032,18 @@ func (t *BaseAnime_CoverImage) GetMedium() *string { } return t.Medium } -func (t *BaseAnime_CoverImage) GetColor() *string { - if t == nil { - t = &BaseAnime_CoverImage{} - } - return t.Color -} type BaseAnime_StartDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *BaseAnime_StartDate) GetYear() *int { +func (t *BaseAnime_StartDate) GetDay() *int { if t == nil { t = &BaseAnime_StartDate{} } - return t.Year + return t.Day } func (t *BaseAnime_StartDate) GetMonth() *int { if t == nil { @@ -1052,24 +1051,24 @@ func (t *BaseAnime_StartDate) GetMonth() *int { } return t.Month } -func (t *BaseAnime_StartDate) GetDay() *int { +func (t *BaseAnime_StartDate) GetYear() *int { if t == nil { t = &BaseAnime_StartDate{} } - return t.Day + return t.Year } type BaseAnime_EndDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *BaseAnime_EndDate) GetYear() *int { +func (t *BaseAnime_EndDate) GetDay() *int { if t == nil { t = &BaseAnime_EndDate{} } - return t.Year + return t.Day } func (t *BaseAnime_EndDate) GetMonth() *int { if t == nil { @@ -1077,17 +1076,17 @@ func (t *BaseAnime_EndDate) GetMonth() *int { } return t.Month } -func (t *BaseAnime_EndDate) GetDay() *int { +func (t *BaseAnime_EndDate) GetYear() *int { if t == nil { t = &BaseAnime_EndDate{} } - return t.Day + return t.Year } type BaseAnime_NextAiringEpisode struct { AiringAt int "json:\"airingAt\" graphql:\"airingAt\"" - TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" Episode int "json:\"episode\" graphql:\"episode\"" + TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" } func (t *BaseAnime_NextAiringEpisode) GetAiringAt() int { @@ -1096,18 +1095,18 @@ func (t *BaseAnime_NextAiringEpisode) GetAiringAt() int { } return t.AiringAt } -func (t *BaseAnime_NextAiringEpisode) GetTimeUntilAiring() int { - if t == nil { - t = &BaseAnime_NextAiringEpisode{} - } - return t.TimeUntilAiring -} func (t *BaseAnime_NextAiringEpisode) GetEpisode() int { if t == nil { t = &BaseAnime_NextAiringEpisode{} } return t.Episode } +func (t *BaseAnime_NextAiringEpisode) GetTimeUntilAiring() int { + if t == nil { + t = &BaseAnime_NextAiringEpisode{} + } + return t.TimeUntilAiring +} type CompleteAnime_Trailer struct { ID *string "json:\"id,omitempty\" graphql:\"id\"" @@ -1135,24 +1134,12 @@ func (t *CompleteAnime_Trailer) GetThumbnail() *string { } type CompleteAnime_Title struct { - UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" - Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" English *string "json:\"english,omitempty\" graphql:\"english\"" Native *string "json:\"native,omitempty\" graphql:\"native\"" + Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" + UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" } -func (t *CompleteAnime_Title) GetUserPreferred() *string { - if t == nil { - t = &CompleteAnime_Title{} - } - return t.UserPreferred -} -func (t *CompleteAnime_Title) GetRomaji() *string { - if t == nil { - t = &CompleteAnime_Title{} - } - return t.Romaji -} func (t *CompleteAnime_Title) GetEnglish() *string { if t == nil { t = &CompleteAnime_Title{} @@ -1165,14 +1152,32 @@ func (t *CompleteAnime_Title) GetNative() *string { } return t.Native } +func (t *CompleteAnime_Title) GetRomaji() *string { + if t == nil { + t = &CompleteAnime_Title{} + } + return t.Romaji +} +func (t *CompleteAnime_Title) GetUserPreferred() *string { + if t == nil { + t = &CompleteAnime_Title{} + } + return t.UserPreferred +} type CompleteAnime_CoverImage struct { + Color *string "json:\"color,omitempty\" graphql:\"color\"" ExtraLarge *string "json:\"extraLarge,omitempty\" graphql:\"extraLarge\"" Large *string "json:\"large,omitempty\" graphql:\"large\"" Medium *string "json:\"medium,omitempty\" graphql:\"medium\"" - Color *string "json:\"color,omitempty\" graphql:\"color\"" } +func (t *CompleteAnime_CoverImage) GetColor() *string { + if t == nil { + t = &CompleteAnime_CoverImage{} + } + return t.Color +} func (t *CompleteAnime_CoverImage) GetExtraLarge() *string { if t == nil { t = &CompleteAnime_CoverImage{} @@ -1191,24 +1196,18 @@ func (t *CompleteAnime_CoverImage) GetMedium() *string { } return t.Medium } -func (t *CompleteAnime_CoverImage) GetColor() *string { - if t == nil { - t = &CompleteAnime_CoverImage{} - } - return t.Color -} type CompleteAnime_StartDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *CompleteAnime_StartDate) GetYear() *int { +func (t *CompleteAnime_StartDate) GetDay() *int { if t == nil { t = &CompleteAnime_StartDate{} } - return t.Year + return t.Day } func (t *CompleteAnime_StartDate) GetMonth() *int { if t == nil { @@ -1216,24 +1215,24 @@ func (t *CompleteAnime_StartDate) GetMonth() *int { } return t.Month } -func (t *CompleteAnime_StartDate) GetDay() *int { +func (t *CompleteAnime_StartDate) GetYear() *int { if t == nil { t = &CompleteAnime_StartDate{} } - return t.Day + return t.Year } type CompleteAnime_EndDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *CompleteAnime_EndDate) GetYear() *int { +func (t *CompleteAnime_EndDate) GetDay() *int { if t == nil { t = &CompleteAnime_EndDate{} } - return t.Year + return t.Day } func (t *CompleteAnime_EndDate) GetMonth() *int { if t == nil { @@ -1241,17 +1240,17 @@ func (t *CompleteAnime_EndDate) GetMonth() *int { } return t.Month } -func (t *CompleteAnime_EndDate) GetDay() *int { +func (t *CompleteAnime_EndDate) GetYear() *int { if t == nil { t = &CompleteAnime_EndDate{} } - return t.Day + return t.Year } type CompleteAnime_NextAiringEpisode struct { AiringAt int "json:\"airingAt\" graphql:\"airingAt\"" - TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" Episode int "json:\"episode\" graphql:\"episode\"" + TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" } func (t *CompleteAnime_NextAiringEpisode) GetAiringAt() int { @@ -1260,18 +1259,18 @@ func (t *CompleteAnime_NextAiringEpisode) GetAiringAt() int { } return t.AiringAt } -func (t *CompleteAnime_NextAiringEpisode) GetTimeUntilAiring() int { - if t == nil { - t = &CompleteAnime_NextAiringEpisode{} - } - return t.TimeUntilAiring -} func (t *CompleteAnime_NextAiringEpisode) GetEpisode() int { if t == nil { t = &CompleteAnime_NextAiringEpisode{} } return t.Episode } +func (t *CompleteAnime_NextAiringEpisode) GetTimeUntilAiring() int { + if t == nil { + t = &CompleteAnime_NextAiringEpisode{} + } + return t.TimeUntilAiring +} type CompleteAnime_Relations_Edges_Node_BaseAnime_Trailer struct { ID *string "json:\"id,omitempty\" graphql:\"id\"" @@ -1299,24 +1298,12 @@ func (t *CompleteAnime_Relations_Edges_Node_BaseAnime_Trailer) GetThumbnail() *s } type CompleteAnime_Relations_Edges_Node_BaseAnime_Title struct { - UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" - Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" English *string "json:\"english,omitempty\" graphql:\"english\"" Native *string "json:\"native,omitempty\" graphql:\"native\"" + Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" + UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" } -func (t *CompleteAnime_Relations_Edges_Node_BaseAnime_Title) GetUserPreferred() *string { - if t == nil { - t = &CompleteAnime_Relations_Edges_Node_BaseAnime_Title{} - } - return t.UserPreferred -} -func (t *CompleteAnime_Relations_Edges_Node_BaseAnime_Title) GetRomaji() *string { - if t == nil { - t = &CompleteAnime_Relations_Edges_Node_BaseAnime_Title{} - } - return t.Romaji -} func (t *CompleteAnime_Relations_Edges_Node_BaseAnime_Title) GetEnglish() *string { if t == nil { t = &CompleteAnime_Relations_Edges_Node_BaseAnime_Title{} @@ -1329,14 +1316,32 @@ func (t *CompleteAnime_Relations_Edges_Node_BaseAnime_Title) GetNative() *string } return t.Native } +func (t *CompleteAnime_Relations_Edges_Node_BaseAnime_Title) GetRomaji() *string { + if t == nil { + t = &CompleteAnime_Relations_Edges_Node_BaseAnime_Title{} + } + return t.Romaji +} +func (t *CompleteAnime_Relations_Edges_Node_BaseAnime_Title) GetUserPreferred() *string { + if t == nil { + t = &CompleteAnime_Relations_Edges_Node_BaseAnime_Title{} + } + return t.UserPreferred +} type CompleteAnime_Relations_Edges_Node_BaseAnime_CoverImage struct { + Color *string "json:\"color,omitempty\" graphql:\"color\"" ExtraLarge *string "json:\"extraLarge,omitempty\" graphql:\"extraLarge\"" Large *string "json:\"large,omitempty\" graphql:\"large\"" Medium *string "json:\"medium,omitempty\" graphql:\"medium\"" - Color *string "json:\"color,omitempty\" graphql:\"color\"" } +func (t *CompleteAnime_Relations_Edges_Node_BaseAnime_CoverImage) GetColor() *string { + if t == nil { + t = &CompleteAnime_Relations_Edges_Node_BaseAnime_CoverImage{} + } + return t.Color +} func (t *CompleteAnime_Relations_Edges_Node_BaseAnime_CoverImage) GetExtraLarge() *string { if t == nil { t = &CompleteAnime_Relations_Edges_Node_BaseAnime_CoverImage{} @@ -1355,24 +1360,18 @@ func (t *CompleteAnime_Relations_Edges_Node_BaseAnime_CoverImage) GetMedium() *s } return t.Medium } -func (t *CompleteAnime_Relations_Edges_Node_BaseAnime_CoverImage) GetColor() *string { - if t == nil { - t = &CompleteAnime_Relations_Edges_Node_BaseAnime_CoverImage{} - } - return t.Color -} type CompleteAnime_Relations_Edges_Node_BaseAnime_StartDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *CompleteAnime_Relations_Edges_Node_BaseAnime_StartDate) GetYear() *int { +func (t *CompleteAnime_Relations_Edges_Node_BaseAnime_StartDate) GetDay() *int { if t == nil { t = &CompleteAnime_Relations_Edges_Node_BaseAnime_StartDate{} } - return t.Year + return t.Day } func (t *CompleteAnime_Relations_Edges_Node_BaseAnime_StartDate) GetMonth() *int { if t == nil { @@ -1380,24 +1379,24 @@ func (t *CompleteAnime_Relations_Edges_Node_BaseAnime_StartDate) GetMonth() *int } return t.Month } -func (t *CompleteAnime_Relations_Edges_Node_BaseAnime_StartDate) GetDay() *int { +func (t *CompleteAnime_Relations_Edges_Node_BaseAnime_StartDate) GetYear() *int { if t == nil { t = &CompleteAnime_Relations_Edges_Node_BaseAnime_StartDate{} } - return t.Day + return t.Year } type CompleteAnime_Relations_Edges_Node_BaseAnime_EndDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *CompleteAnime_Relations_Edges_Node_BaseAnime_EndDate) GetYear() *int { +func (t *CompleteAnime_Relations_Edges_Node_BaseAnime_EndDate) GetDay() *int { if t == nil { t = &CompleteAnime_Relations_Edges_Node_BaseAnime_EndDate{} } - return t.Year + return t.Day } func (t *CompleteAnime_Relations_Edges_Node_BaseAnime_EndDate) GetMonth() *int { if t == nil { @@ -1405,17 +1404,17 @@ func (t *CompleteAnime_Relations_Edges_Node_BaseAnime_EndDate) GetMonth() *int { } return t.Month } -func (t *CompleteAnime_Relations_Edges_Node_BaseAnime_EndDate) GetDay() *int { +func (t *CompleteAnime_Relations_Edges_Node_BaseAnime_EndDate) GetYear() *int { if t == nil { t = &CompleteAnime_Relations_Edges_Node_BaseAnime_EndDate{} } - return t.Day + return t.Year } type CompleteAnime_Relations_Edges_Node_BaseAnime_NextAiringEpisode struct { AiringAt int "json:\"airingAt\" graphql:\"airingAt\"" - TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" Episode int "json:\"episode\" graphql:\"episode\"" + TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" } func (t *CompleteAnime_Relations_Edges_Node_BaseAnime_NextAiringEpisode) GetAiringAt() int { @@ -1424,36 +1423,36 @@ func (t *CompleteAnime_Relations_Edges_Node_BaseAnime_NextAiringEpisode) GetAiri } return t.AiringAt } -func (t *CompleteAnime_Relations_Edges_Node_BaseAnime_NextAiringEpisode) GetTimeUntilAiring() int { - if t == nil { - t = &CompleteAnime_Relations_Edges_Node_BaseAnime_NextAiringEpisode{} - } - return t.TimeUntilAiring -} func (t *CompleteAnime_Relations_Edges_Node_BaseAnime_NextAiringEpisode) GetEpisode() int { if t == nil { t = &CompleteAnime_Relations_Edges_Node_BaseAnime_NextAiringEpisode{} } return t.Episode } +func (t *CompleteAnime_Relations_Edges_Node_BaseAnime_NextAiringEpisode) GetTimeUntilAiring() int { + if t == nil { + t = &CompleteAnime_Relations_Edges_Node_BaseAnime_NextAiringEpisode{} + } + return t.TimeUntilAiring +} type CompleteAnime_Relations_Edges struct { - RelationType *MediaRelation "json:\"relationType,omitempty\" graphql:\"relationType\"" Node *BaseAnime "json:\"node,omitempty\" graphql:\"node\"" + RelationType *MediaRelation "json:\"relationType,omitempty\" graphql:\"relationType\"" } -func (t *CompleteAnime_Relations_Edges) GetRelationType() *MediaRelation { - if t == nil { - t = &CompleteAnime_Relations_Edges{} - } - return t.RelationType -} func (t *CompleteAnime_Relations_Edges) GetNode() *BaseAnime { if t == nil { t = &CompleteAnime_Relations_Edges{} } return t.Node } +func (t *CompleteAnime_Relations_Edges) GetRelationType() *MediaRelation { + if t == nil { + t = &CompleteAnime_Relations_Edges{} + } + return t.RelationType +} type CompleteAnime_Relations struct { Edges []*CompleteAnime_Relations_Edges "json:\"edges,omitempty\" graphql:\"edges\"" @@ -1467,16 +1466,16 @@ func (t *CompleteAnime_Relations) GetEdges() []*CompleteAnime_Relations_Edges { } type BaseCharacter_DateOfBirth struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *BaseCharacter_DateOfBirth) GetYear() *int { +func (t *BaseCharacter_DateOfBirth) GetDay() *int { if t == nil { t = &BaseCharacter_DateOfBirth{} } - return t.Year + return t.Day } func (t *BaseCharacter_DateOfBirth) GetMonth() *int { if t == nil { @@ -1484,19 +1483,25 @@ func (t *BaseCharacter_DateOfBirth) GetMonth() *int { } return t.Month } -func (t *BaseCharacter_DateOfBirth) GetDay() *int { +func (t *BaseCharacter_DateOfBirth) GetYear() *int { if t == nil { t = &BaseCharacter_DateOfBirth{} } - return t.Day + return t.Year } type BaseCharacter_Name struct { + Alternative []*string "json:\"alternative,omitempty\" graphql:\"alternative\"" Full *string "json:\"full,omitempty\" graphql:\"full\"" Native *string "json:\"native,omitempty\" graphql:\"native\"" - Alternative []*string "json:\"alternative,omitempty\" graphql:\"alternative\"" } +func (t *BaseCharacter_Name) GetAlternative() []*string { + if t == nil { + t = &BaseCharacter_Name{} + } + return t.Alternative +} func (t *BaseCharacter_Name) GetFull() *string { if t == nil { t = &BaseCharacter_Name{} @@ -1509,12 +1514,6 @@ func (t *BaseCharacter_Name) GetNative() *string { } return t.Native } -func (t *BaseCharacter_Name) GetAlternative() []*string { - if t == nil { - t = &BaseCharacter_Name{} - } - return t.Alternative -} type BaseCharacter_Image struct { Large *string "json:\"large,omitempty\" graphql:\"large\"" @@ -1529,8 +1528,8 @@ func (t *BaseCharacter_Image) GetLarge() *string { type AnimeSchedule_Previous_Nodes struct { AiringAt int "json:\"airingAt\" graphql:\"airingAt\"" - TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" Episode int "json:\"episode\" graphql:\"episode\"" + TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" } func (t *AnimeSchedule_Previous_Nodes) GetAiringAt() int { @@ -1539,18 +1538,18 @@ func (t *AnimeSchedule_Previous_Nodes) GetAiringAt() int { } return t.AiringAt } -func (t *AnimeSchedule_Previous_Nodes) GetTimeUntilAiring() int { - if t == nil { - t = &AnimeSchedule_Previous_Nodes{} - } - return t.TimeUntilAiring -} func (t *AnimeSchedule_Previous_Nodes) GetEpisode() int { if t == nil { t = &AnimeSchedule_Previous_Nodes{} } return t.Episode } +func (t *AnimeSchedule_Previous_Nodes) GetTimeUntilAiring() int { + if t == nil { + t = &AnimeSchedule_Previous_Nodes{} + } + return t.TimeUntilAiring +} type AnimeSchedule_Previous struct { Nodes []*AnimeSchedule_Previous_Nodes "json:\"nodes,omitempty\" graphql:\"nodes\"" @@ -1565,8 +1564,8 @@ func (t *AnimeSchedule_Previous) GetNodes() []*AnimeSchedule_Previous_Nodes { type AnimeSchedule_Upcoming_Nodes struct { AiringAt int "json:\"airingAt\" graphql:\"airingAt\"" - TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" Episode int "json:\"episode\" graphql:\"episode\"" + TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" } func (t *AnimeSchedule_Upcoming_Nodes) GetAiringAt() int { @@ -1575,18 +1574,18 @@ func (t *AnimeSchedule_Upcoming_Nodes) GetAiringAt() int { } return t.AiringAt } -func (t *AnimeSchedule_Upcoming_Nodes) GetTimeUntilAiring() int { - if t == nil { - t = &AnimeSchedule_Upcoming_Nodes{} - } - return t.TimeUntilAiring -} func (t *AnimeSchedule_Upcoming_Nodes) GetEpisode() int { if t == nil { t = &AnimeSchedule_Upcoming_Nodes{} } return t.Episode } +func (t *AnimeSchedule_Upcoming_Nodes) GetTimeUntilAiring() int { + if t == nil { + t = &AnimeSchedule_Upcoming_Nodes{} + } + return t.TimeUntilAiring +} type AnimeSchedule_Upcoming struct { Nodes []*AnimeSchedule_Upcoming_Nodes "json:\"nodes,omitempty\" graphql:\"nodes\"" @@ -1600,24 +1599,12 @@ func (t *AnimeSchedule_Upcoming) GetNodes() []*AnimeSchedule_Upcoming_Nodes { } type BaseManga_Title struct { - UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" - Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" English *string "json:\"english,omitempty\" graphql:\"english\"" Native *string "json:\"native,omitempty\" graphql:\"native\"" + Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" + UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" } -func (t *BaseManga_Title) GetUserPreferred() *string { - if t == nil { - t = &BaseManga_Title{} - } - return t.UserPreferred -} -func (t *BaseManga_Title) GetRomaji() *string { - if t == nil { - t = &BaseManga_Title{} - } - return t.Romaji -} func (t *BaseManga_Title) GetEnglish() *string { if t == nil { t = &BaseManga_Title{} @@ -1630,14 +1617,32 @@ func (t *BaseManga_Title) GetNative() *string { } return t.Native } +func (t *BaseManga_Title) GetRomaji() *string { + if t == nil { + t = &BaseManga_Title{} + } + return t.Romaji +} +func (t *BaseManga_Title) GetUserPreferred() *string { + if t == nil { + t = &BaseManga_Title{} + } + return t.UserPreferred +} type BaseManga_CoverImage struct { + Color *string "json:\"color,omitempty\" graphql:\"color\"" ExtraLarge *string "json:\"extraLarge,omitempty\" graphql:\"extraLarge\"" Large *string "json:\"large,omitempty\" graphql:\"large\"" Medium *string "json:\"medium,omitempty\" graphql:\"medium\"" - Color *string "json:\"color,omitempty\" graphql:\"color\"" } +func (t *BaseManga_CoverImage) GetColor() *string { + if t == nil { + t = &BaseManga_CoverImage{} + } + return t.Color +} func (t *BaseManga_CoverImage) GetExtraLarge() *string { if t == nil { t = &BaseManga_CoverImage{} @@ -1656,24 +1661,18 @@ func (t *BaseManga_CoverImage) GetMedium() *string { } return t.Medium } -func (t *BaseManga_CoverImage) GetColor() *string { - if t == nil { - t = &BaseManga_CoverImage{} - } - return t.Color -} type BaseManga_StartDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *BaseManga_StartDate) GetYear() *int { +func (t *BaseManga_StartDate) GetDay() *int { if t == nil { t = &BaseManga_StartDate{} } - return t.Year + return t.Day } func (t *BaseManga_StartDate) GetMonth() *int { if t == nil { @@ -1681,24 +1680,24 @@ func (t *BaseManga_StartDate) GetMonth() *int { } return t.Month } -func (t *BaseManga_StartDate) GetDay() *int { +func (t *BaseManga_StartDate) GetYear() *int { if t == nil { t = &BaseManga_StartDate{} } - return t.Day + return t.Year } type BaseManga_EndDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *BaseManga_EndDate) GetYear() *int { +func (t *BaseManga_EndDate) GetDay() *int { if t == nil { t = &BaseManga_EndDate{} } - return t.Year + return t.Day } func (t *BaseManga_EndDate) GetMonth() *int { if t == nil { @@ -1706,17 +1705,17 @@ func (t *BaseManga_EndDate) GetMonth() *int { } return t.Month } -func (t *BaseManga_EndDate) GetDay() *int { +func (t *BaseManga_EndDate) GetYear() *int { if t == nil { t = &BaseManga_EndDate{} } - return t.Day + return t.Year } type UserStudioStats_Studio struct { ID int "json:\"id\" graphql:\"id\"" - Name string "json:\"name\" graphql:\"name\"" IsAnimationStudio bool "json:\"isAnimationStudio\" graphql:\"isAnimationStudio\"" + Name string "json:\"name\" graphql:\"name\"" } func (t *UserStudioStats_Studio) GetID() int { @@ -1725,30 +1724,30 @@ func (t *UserStudioStats_Studio) GetID() int { } return t.ID } -func (t *UserStudioStats_Studio) GetName() string { - if t == nil { - t = &UserStudioStats_Studio{} - } - return t.Name -} func (t *UserStudioStats_Studio) GetIsAnimationStudio() bool { if t == nil { t = &UserStudioStats_Studio{} } return t.IsAnimationStudio } - -type AnimeCollection_MediaListCollection_Lists_Entries_StartedAt struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" - Day *int "json:\"day,omitempty\" graphql:\"day\"" +func (t *UserStudioStats_Studio) GetName() string { + if t == nil { + t = &UserStudioStats_Studio{} + } + return t.Name } -func (t *AnimeCollection_MediaListCollection_Lists_Entries_StartedAt) GetYear() *int { +type AnimeCollection_MediaListCollection_Lists_Entries_StartedAt struct { + Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" +} + +func (t *AnimeCollection_MediaListCollection_Lists_Entries_StartedAt) GetDay() *int { if t == nil { t = &AnimeCollection_MediaListCollection_Lists_Entries_StartedAt{} } - return t.Year + return t.Day } func (t *AnimeCollection_MediaListCollection_Lists_Entries_StartedAt) GetMonth() *int { if t == nil { @@ -1756,24 +1755,24 @@ func (t *AnimeCollection_MediaListCollection_Lists_Entries_StartedAt) GetMonth() } return t.Month } -func (t *AnimeCollection_MediaListCollection_Lists_Entries_StartedAt) GetDay() *int { +func (t *AnimeCollection_MediaListCollection_Lists_Entries_StartedAt) GetYear() *int { if t == nil { t = &AnimeCollection_MediaListCollection_Lists_Entries_StartedAt{} } - return t.Day + return t.Year } type AnimeCollection_MediaListCollection_Lists_Entries_CompletedAt struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *AnimeCollection_MediaListCollection_Lists_Entries_CompletedAt) GetYear() *int { +func (t *AnimeCollection_MediaListCollection_Lists_Entries_CompletedAt) GetDay() *int { if t == nil { t = &AnimeCollection_MediaListCollection_Lists_Entries_CompletedAt{} } - return t.Year + return t.Day } func (t *AnimeCollection_MediaListCollection_Lists_Entries_CompletedAt) GetMonth() *int { if t == nil { @@ -1781,11 +1780,11 @@ func (t *AnimeCollection_MediaListCollection_Lists_Entries_CompletedAt) GetMonth } return t.Month } -func (t *AnimeCollection_MediaListCollection_Lists_Entries_CompletedAt) GetDay() *int { +func (t *AnimeCollection_MediaListCollection_Lists_Entries_CompletedAt) GetYear() *int { if t == nil { t = &AnimeCollection_MediaListCollection_Lists_Entries_CompletedAt{} } - return t.Day + return t.Year } type AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_Trailer struct { @@ -1814,24 +1813,12 @@ func (t *AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_Trail } type AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_Title struct { - UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" - Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" English *string "json:\"english,omitempty\" graphql:\"english\"" Native *string "json:\"native,omitempty\" graphql:\"native\"" + Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" + UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" } -func (t *AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_Title) GetUserPreferred() *string { - if t == nil { - t = &AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_Title{} - } - return t.UserPreferred -} -func (t *AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_Title) GetRomaji() *string { - if t == nil { - t = &AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_Title{} - } - return t.Romaji -} func (t *AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_Title) GetEnglish() *string { if t == nil { t = &AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_Title{} @@ -1844,14 +1831,32 @@ func (t *AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_Title } return t.Native } +func (t *AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_Title) GetRomaji() *string { + if t == nil { + t = &AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_Title{} + } + return t.Romaji +} +func (t *AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_Title) GetUserPreferred() *string { + if t == nil { + t = &AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_Title{} + } + return t.UserPreferred +} type AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_CoverImage struct { + Color *string "json:\"color,omitempty\" graphql:\"color\"" ExtraLarge *string "json:\"extraLarge,omitempty\" graphql:\"extraLarge\"" Large *string "json:\"large,omitempty\" graphql:\"large\"" Medium *string "json:\"medium,omitempty\" graphql:\"medium\"" - Color *string "json:\"color,omitempty\" graphql:\"color\"" } +func (t *AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_CoverImage) GetColor() *string { + if t == nil { + t = &AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_CoverImage{} + } + return t.Color +} func (t *AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_CoverImage) GetExtraLarge() *string { if t == nil { t = &AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_CoverImage{} @@ -1870,24 +1875,18 @@ func (t *AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_Cover } return t.Medium } -func (t *AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_CoverImage) GetColor() *string { - if t == nil { - t = &AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_CoverImage{} - } - return t.Color -} type AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_StartDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_StartDate) GetYear() *int { +func (t *AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_StartDate) GetDay() *int { if t == nil { t = &AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_StartDate{} } - return t.Year + return t.Day } func (t *AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_StartDate) GetMonth() *int { if t == nil { @@ -1895,24 +1894,24 @@ func (t *AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_Start } return t.Month } -func (t *AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_StartDate) GetDay() *int { +func (t *AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_StartDate) GetYear() *int { if t == nil { t = &AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_StartDate{} } - return t.Day + return t.Year } type AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_EndDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_EndDate) GetYear() *int { +func (t *AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_EndDate) GetDay() *int { if t == nil { t = &AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_EndDate{} } - return t.Year + return t.Day } func (t *AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_EndDate) GetMonth() *int { if t == nil { @@ -1920,17 +1919,17 @@ func (t *AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_EndDa } return t.Month } -func (t *AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_EndDate) GetDay() *int { +func (t *AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_EndDate) GetYear() *int { if t == nil { t = &AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_EndDate{} } - return t.Day + return t.Year } type AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_NextAiringEpisode struct { AiringAt int "json:\"airingAt\" graphql:\"airingAt\"" - TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" Episode int "json:\"episode\" graphql:\"episode\"" + TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" } func (t *AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_NextAiringEpisode) GetAiringAt() int { @@ -1939,111 +1938,105 @@ func (t *AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_NextA } return t.AiringAt } -func (t *AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_NextAiringEpisode) GetTimeUntilAiring() int { - if t == nil { - t = &AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_NextAiringEpisode{} - } - return t.TimeUntilAiring -} func (t *AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_NextAiringEpisode) GetEpisode() int { if t == nil { t = &AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_NextAiringEpisode{} } return t.Episode } +func (t *AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_NextAiringEpisode) GetTimeUntilAiring() int { + if t == nil { + t = &AnimeCollection_MediaListCollection_Lists_Entries_Media_BaseAnime_NextAiringEpisode{} + } + return t.TimeUntilAiring +} type AnimeCollection_MediaListCollection_Lists_Entries struct { - ID int "json:\"id\" graphql:\"id\"" - Score *float64 "json:\"score,omitempty\" graphql:\"score\"" - Progress *int "json:\"progress,omitempty\" graphql:\"progress\"" - Status *MediaListStatus "json:\"status,omitempty\" graphql:\"status\"" - Notes *string "json:\"notes,omitempty\" graphql:\"notes\"" - Repeat *int "json:\"repeat,omitempty\" graphql:\"repeat\"" - Private *bool "json:\"private,omitempty\" graphql:\"private\"" - StartedAt *AnimeCollection_MediaListCollection_Lists_Entries_StartedAt "json:\"startedAt,omitempty\" graphql:\"startedAt\"" CompletedAt *AnimeCollection_MediaListCollection_Lists_Entries_CompletedAt "json:\"completedAt,omitempty\" graphql:\"completedAt\"" + ID int "json:\"id\" graphql:\"id\"" Media *BaseAnime "json:\"media,omitempty\" graphql:\"media\"" + Notes *string "json:\"notes,omitempty\" graphql:\"notes\"" + Private *bool "json:\"private,omitempty\" graphql:\"private\"" + Progress *int "json:\"progress,omitempty\" graphql:\"progress\"" + Repeat *int "json:\"repeat,omitempty\" graphql:\"repeat\"" + Score *float64 "json:\"score,omitempty\" graphql:\"score\"" + StartedAt *AnimeCollection_MediaListCollection_Lists_Entries_StartedAt "json:\"startedAt,omitempty\" graphql:\"startedAt\"" + Status *MediaListStatus "json:\"status,omitempty\" graphql:\"status\"" } -func (t *AnimeCollection_MediaListCollection_Lists_Entries) GetID() int { - if t == nil { - t = &AnimeCollection_MediaListCollection_Lists_Entries{} - } - return t.ID -} -func (t *AnimeCollection_MediaListCollection_Lists_Entries) GetScore() *float64 { - if t == nil { - t = &AnimeCollection_MediaListCollection_Lists_Entries{} - } - return t.Score -} -func (t *AnimeCollection_MediaListCollection_Lists_Entries) GetProgress() *int { - if t == nil { - t = &AnimeCollection_MediaListCollection_Lists_Entries{} - } - return t.Progress -} -func (t *AnimeCollection_MediaListCollection_Lists_Entries) GetStatus() *MediaListStatus { - if t == nil { - t = &AnimeCollection_MediaListCollection_Lists_Entries{} - } - return t.Status -} -func (t *AnimeCollection_MediaListCollection_Lists_Entries) GetNotes() *string { - if t == nil { - t = &AnimeCollection_MediaListCollection_Lists_Entries{} - } - return t.Notes -} -func (t *AnimeCollection_MediaListCollection_Lists_Entries) GetRepeat() *int { - if t == nil { - t = &AnimeCollection_MediaListCollection_Lists_Entries{} - } - return t.Repeat -} -func (t *AnimeCollection_MediaListCollection_Lists_Entries) GetPrivate() *bool { - if t == nil { - t = &AnimeCollection_MediaListCollection_Lists_Entries{} - } - return t.Private -} -func (t *AnimeCollection_MediaListCollection_Lists_Entries) GetStartedAt() *AnimeCollection_MediaListCollection_Lists_Entries_StartedAt { - if t == nil { - t = &AnimeCollection_MediaListCollection_Lists_Entries{} - } - return t.StartedAt -} func (t *AnimeCollection_MediaListCollection_Lists_Entries) GetCompletedAt() *AnimeCollection_MediaListCollection_Lists_Entries_CompletedAt { if t == nil { t = &AnimeCollection_MediaListCollection_Lists_Entries{} } return t.CompletedAt } +func (t *AnimeCollection_MediaListCollection_Lists_Entries) GetID() int { + if t == nil { + t = &AnimeCollection_MediaListCollection_Lists_Entries{} + } + return t.ID +} func (t *AnimeCollection_MediaListCollection_Lists_Entries) GetMedia() *BaseAnime { if t == nil { t = &AnimeCollection_MediaListCollection_Lists_Entries{} } return t.Media } - -type AnimeCollection_MediaListCollection_Lists struct { - Status *MediaListStatus "json:\"status,omitempty\" graphql:\"status\"" - Name *string "json:\"name,omitempty\" graphql:\"name\"" - IsCustomList *bool "json:\"isCustomList,omitempty\" graphql:\"isCustomList\"" - Entries []*AnimeCollection_MediaListCollection_Lists_Entries "json:\"entries,omitempty\" graphql:\"entries\"" -} - -func (t *AnimeCollection_MediaListCollection_Lists) GetStatus() *MediaListStatus { +func (t *AnimeCollection_MediaListCollection_Lists_Entries) GetNotes() *string { if t == nil { - t = &AnimeCollection_MediaListCollection_Lists{} + t = &AnimeCollection_MediaListCollection_Lists_Entries{} + } + return t.Notes +} +func (t *AnimeCollection_MediaListCollection_Lists_Entries) GetPrivate() *bool { + if t == nil { + t = &AnimeCollection_MediaListCollection_Lists_Entries{} + } + return t.Private +} +func (t *AnimeCollection_MediaListCollection_Lists_Entries) GetProgress() *int { + if t == nil { + t = &AnimeCollection_MediaListCollection_Lists_Entries{} + } + return t.Progress +} +func (t *AnimeCollection_MediaListCollection_Lists_Entries) GetRepeat() *int { + if t == nil { + t = &AnimeCollection_MediaListCollection_Lists_Entries{} + } + return t.Repeat +} +func (t *AnimeCollection_MediaListCollection_Lists_Entries) GetScore() *float64 { + if t == nil { + t = &AnimeCollection_MediaListCollection_Lists_Entries{} + } + return t.Score +} +func (t *AnimeCollection_MediaListCollection_Lists_Entries) GetStartedAt() *AnimeCollection_MediaListCollection_Lists_Entries_StartedAt { + if t == nil { + t = &AnimeCollection_MediaListCollection_Lists_Entries{} + } + return t.StartedAt +} +func (t *AnimeCollection_MediaListCollection_Lists_Entries) GetStatus() *MediaListStatus { + if t == nil { + t = &AnimeCollection_MediaListCollection_Lists_Entries{} } return t.Status } -func (t *AnimeCollection_MediaListCollection_Lists) GetName() *string { + +type AnimeCollection_MediaListCollection_Lists struct { + Entries []*AnimeCollection_MediaListCollection_Lists_Entries "json:\"entries,omitempty\" graphql:\"entries\"" + IsCustomList *bool "json:\"isCustomList,omitempty\" graphql:\"isCustomList\"" + Name *string "json:\"name,omitempty\" graphql:\"name\"" + Status *MediaListStatus "json:\"status,omitempty\" graphql:\"status\"" +} + +func (t *AnimeCollection_MediaListCollection_Lists) GetEntries() []*AnimeCollection_MediaListCollection_Lists_Entries { if t == nil { t = &AnimeCollection_MediaListCollection_Lists{} } - return t.Name + return t.Entries } func (t *AnimeCollection_MediaListCollection_Lists) GetIsCustomList() *bool { if t == nil { @@ -2051,11 +2044,17 @@ func (t *AnimeCollection_MediaListCollection_Lists) GetIsCustomList() *bool { } return t.IsCustomList } -func (t *AnimeCollection_MediaListCollection_Lists) GetEntries() []*AnimeCollection_MediaListCollection_Lists_Entries { +func (t *AnimeCollection_MediaListCollection_Lists) GetName() *string { if t == nil { t = &AnimeCollection_MediaListCollection_Lists{} } - return t.Entries + return t.Name +} +func (t *AnimeCollection_MediaListCollection_Lists) GetStatus() *MediaListStatus { + if t == nil { + t = &AnimeCollection_MediaListCollection_Lists{} + } + return t.Status } type AnimeCollection_MediaListCollection struct { @@ -2070,16 +2069,16 @@ func (t *AnimeCollection_MediaListCollection) GetLists() []*AnimeCollection_Medi } type AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_StartedAt struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_StartedAt) GetYear() *int { +func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_StartedAt) GetDay() *int { if t == nil { t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_StartedAt{} } - return t.Year + return t.Day } func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_StartedAt) GetMonth() *int { if t == nil { @@ -2087,24 +2086,24 @@ func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_StartedA } return t.Month } -func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_StartedAt) GetDay() *int { +func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_StartedAt) GetYear() *int { if t == nil { t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_StartedAt{} } - return t.Day + return t.Year } type AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_CompletedAt struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_CompletedAt) GetYear() *int { +func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_CompletedAt) GetDay() *int { if t == nil { t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_CompletedAt{} } - return t.Year + return t.Day } func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_CompletedAt) GetMonth() *int { if t == nil { @@ -2112,11 +2111,11 @@ func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Complete } return t.Month } -func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_CompletedAt) GetDay() *int { +func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_CompletedAt) GetYear() *int { if t == nil { t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_CompletedAt{} } - return t.Day + return t.Year } type AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Trailer struct { @@ -2145,24 +2144,12 @@ func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_Co } type AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Title struct { - UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" - Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" English *string "json:\"english,omitempty\" graphql:\"english\"" Native *string "json:\"native,omitempty\" graphql:\"native\"" + Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" + UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" } -func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Title) GetUserPreferred() *string { - if t == nil { - t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Title{} - } - return t.UserPreferred -} -func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Title) GetRomaji() *string { - if t == nil { - t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Title{} - } - return t.Romaji -} func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Title) GetEnglish() *string { if t == nil { t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Title{} @@ -2175,14 +2162,32 @@ func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_Co } return t.Native } +func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Title) GetRomaji() *string { + if t == nil { + t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Title{} + } + return t.Romaji +} +func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Title) GetUserPreferred() *string { + if t == nil { + t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Title{} + } + return t.UserPreferred +} type AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_CoverImage struct { + Color *string "json:\"color,omitempty\" graphql:\"color\"" ExtraLarge *string "json:\"extraLarge,omitempty\" graphql:\"extraLarge\"" Large *string "json:\"large,omitempty\" graphql:\"large\"" Medium *string "json:\"medium,omitempty\" graphql:\"medium\"" - Color *string "json:\"color,omitempty\" graphql:\"color\"" } +func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_CoverImage) GetColor() *string { + if t == nil { + t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_CoverImage{} + } + return t.Color +} func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_CoverImage) GetExtraLarge() *string { if t == nil { t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_CoverImage{} @@ -2201,24 +2206,18 @@ func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_Co } return t.Medium } -func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_CoverImage) GetColor() *string { - if t == nil { - t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_CoverImage{} - } - return t.Color -} type AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_StartDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_StartDate) GetYear() *int { +func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_StartDate) GetDay() *int { if t == nil { t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_StartDate{} } - return t.Year + return t.Day } func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_StartDate) GetMonth() *int { if t == nil { @@ -2226,24 +2225,24 @@ func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_Co } return t.Month } -func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_StartDate) GetDay() *int { +func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_StartDate) GetYear() *int { if t == nil { t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_StartDate{} } - return t.Day + return t.Year } type AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_EndDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_EndDate) GetYear() *int { +func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_EndDate) GetDay() *int { if t == nil { t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_EndDate{} } - return t.Year + return t.Day } func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_EndDate) GetMonth() *int { if t == nil { @@ -2251,17 +2250,17 @@ func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_Co } return t.Month } -func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_EndDate) GetDay() *int { +func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_EndDate) GetYear() *int { if t == nil { t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_EndDate{} } - return t.Day + return t.Year } type AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_NextAiringEpisode struct { AiringAt int "json:\"airingAt\" graphql:\"airingAt\"" - TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" Episode int "json:\"episode\" graphql:\"episode\"" + TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" } func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_NextAiringEpisode) GetAiringAt() int { @@ -2270,18 +2269,18 @@ func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_Co } return t.AiringAt } -func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_NextAiringEpisode) GetTimeUntilAiring() int { - if t == nil { - t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_NextAiringEpisode{} - } - return t.TimeUntilAiring -} func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_NextAiringEpisode) GetEpisode() int { if t == nil { t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_NextAiringEpisode{} } return t.Episode } +func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_NextAiringEpisode) GetTimeUntilAiring() int { + if t == nil { + t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_NextAiringEpisode{} + } + return t.TimeUntilAiring +} type AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_Trailer struct { ID *string "json:\"id,omitempty\" graphql:\"id\"" @@ -2309,24 +2308,12 @@ func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_Co } type AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_Title struct { - UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" - Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" English *string "json:\"english,omitempty\" graphql:\"english\"" Native *string "json:\"native,omitempty\" graphql:\"native\"" + Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" + UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" } -func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_Title) GetUserPreferred() *string { - if t == nil { - t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_Title{} - } - return t.UserPreferred -} -func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_Title) GetRomaji() *string { - if t == nil { - t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_Title{} - } - return t.Romaji -} func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_Title) GetEnglish() *string { if t == nil { t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_Title{} @@ -2339,14 +2326,32 @@ func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_Co } return t.Native } +func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_Title) GetRomaji() *string { + if t == nil { + t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_Title{} + } + return t.Romaji +} +func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_Title) GetUserPreferred() *string { + if t == nil { + t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_Title{} + } + return t.UserPreferred +} type AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_CoverImage struct { + Color *string "json:\"color,omitempty\" graphql:\"color\"" ExtraLarge *string "json:\"extraLarge,omitempty\" graphql:\"extraLarge\"" Large *string "json:\"large,omitempty\" graphql:\"large\"" Medium *string "json:\"medium,omitempty\" graphql:\"medium\"" - Color *string "json:\"color,omitempty\" graphql:\"color\"" } +func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_CoverImage) GetColor() *string { + if t == nil { + t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_CoverImage{} + } + return t.Color +} func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_CoverImage) GetExtraLarge() *string { if t == nil { t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_CoverImage{} @@ -2365,24 +2370,18 @@ func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_Co } return t.Medium } -func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_CoverImage) GetColor() *string { - if t == nil { - t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_CoverImage{} - } - return t.Color -} type AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_StartDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_StartDate) GetYear() *int { +func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_StartDate) GetDay() *int { if t == nil { t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_StartDate{} } - return t.Year + return t.Day } func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_StartDate) GetMonth() *int { if t == nil { @@ -2390,24 +2389,24 @@ func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_Co } return t.Month } -func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_StartDate) GetDay() *int { +func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_StartDate) GetYear() *int { if t == nil { t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_StartDate{} } - return t.Day + return t.Year } type AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_EndDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_EndDate) GetYear() *int { +func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_EndDate) GetDay() *int { if t == nil { t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_EndDate{} } - return t.Year + return t.Day } func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_EndDate) GetMonth() *int { if t == nil { @@ -2415,17 +2414,17 @@ func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_Co } return t.Month } -func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_EndDate) GetDay() *int { +func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_EndDate) GetYear() *int { if t == nil { t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_EndDate{} } - return t.Day + return t.Year } type AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_NextAiringEpisode struct { AiringAt int "json:\"airingAt\" graphql:\"airingAt\"" - TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" Episode int "json:\"episode\" graphql:\"episode\"" + TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" } func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_NextAiringEpisode) GetAiringAt() int { @@ -2434,36 +2433,36 @@ func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_Co } return t.AiringAt } -func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_NextAiringEpisode) GetTimeUntilAiring() int { - if t == nil { - t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_NextAiringEpisode{} - } - return t.TimeUntilAiring -} func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_NextAiringEpisode) GetEpisode() int { if t == nil { t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_NextAiringEpisode{} } return t.Episode } +func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_NextAiringEpisode) GetTimeUntilAiring() int { + if t == nil { + t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_NextAiringEpisode{} + } + return t.TimeUntilAiring +} type AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges struct { - RelationType *MediaRelation "json:\"relationType,omitempty\" graphql:\"relationType\"" Node *BaseAnime "json:\"node,omitempty\" graphql:\"node\"" + RelationType *MediaRelation "json:\"relationType,omitempty\" graphql:\"relationType\"" } -func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges) GetRelationType() *MediaRelation { - if t == nil { - t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges{} - } - return t.RelationType -} func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges) GetNode() *BaseAnime { if t == nil { t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges{} } return t.Node } +func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges) GetRelationType() *MediaRelation { + if t == nil { + t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges{} + } + return t.RelationType +} type AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations struct { Edges []*AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_CompleteAnime_Relations_Edges "json:\"edges,omitempty\" graphql:\"edges\"" @@ -2477,97 +2476,91 @@ func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_Media_Co } type AnimeCollectionWithRelations_MediaListCollection_Lists_Entries struct { - ID int "json:\"id\" graphql:\"id\"" - Score *float64 "json:\"score,omitempty\" graphql:\"score\"" - Progress *int "json:\"progress,omitempty\" graphql:\"progress\"" - Status *MediaListStatus "json:\"status,omitempty\" graphql:\"status\"" - Notes *string "json:\"notes,omitempty\" graphql:\"notes\"" - Repeat *int "json:\"repeat,omitempty\" graphql:\"repeat\"" - Private *bool "json:\"private,omitempty\" graphql:\"private\"" - StartedAt *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_StartedAt "json:\"startedAt,omitempty\" graphql:\"startedAt\"" CompletedAt *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_CompletedAt "json:\"completedAt,omitempty\" graphql:\"completedAt\"" + ID int "json:\"id\" graphql:\"id\"" Media *CompleteAnime "json:\"media,omitempty\" graphql:\"media\"" + Notes *string "json:\"notes,omitempty\" graphql:\"notes\"" + Private *bool "json:\"private,omitempty\" graphql:\"private\"" + Progress *int "json:\"progress,omitempty\" graphql:\"progress\"" + Repeat *int "json:\"repeat,omitempty\" graphql:\"repeat\"" + Score *float64 "json:\"score,omitempty\" graphql:\"score\"" + StartedAt *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_StartedAt "json:\"startedAt,omitempty\" graphql:\"startedAt\"" + Status *MediaListStatus "json:\"status,omitempty\" graphql:\"status\"" } -func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries) GetID() int { - if t == nil { - t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries{} - } - return t.ID -} -func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries) GetScore() *float64 { - if t == nil { - t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries{} - } - return t.Score -} -func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries) GetProgress() *int { - if t == nil { - t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries{} - } - return t.Progress -} -func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries) GetStatus() *MediaListStatus { - if t == nil { - t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries{} - } - return t.Status -} -func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries) GetNotes() *string { - if t == nil { - t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries{} - } - return t.Notes -} -func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries) GetRepeat() *int { - if t == nil { - t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries{} - } - return t.Repeat -} -func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries) GetPrivate() *bool { - if t == nil { - t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries{} - } - return t.Private -} -func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries) GetStartedAt() *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_StartedAt { - if t == nil { - t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries{} - } - return t.StartedAt -} func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries) GetCompletedAt() *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_CompletedAt { if t == nil { t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries{} } return t.CompletedAt } +func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries) GetID() int { + if t == nil { + t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries{} + } + return t.ID +} func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries) GetMedia() *CompleteAnime { if t == nil { t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries{} } return t.Media } - -type AnimeCollectionWithRelations_MediaListCollection_Lists struct { - Status *MediaListStatus "json:\"status,omitempty\" graphql:\"status\"" - Name *string "json:\"name,omitempty\" graphql:\"name\"" - IsCustomList *bool "json:\"isCustomList,omitempty\" graphql:\"isCustomList\"" - Entries []*AnimeCollectionWithRelations_MediaListCollection_Lists_Entries "json:\"entries,omitempty\" graphql:\"entries\"" -} - -func (t *AnimeCollectionWithRelations_MediaListCollection_Lists) GetStatus() *MediaListStatus { +func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries) GetNotes() *string { if t == nil { - t = &AnimeCollectionWithRelations_MediaListCollection_Lists{} + t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries{} + } + return t.Notes +} +func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries) GetPrivate() *bool { + if t == nil { + t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries{} + } + return t.Private +} +func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries) GetProgress() *int { + if t == nil { + t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries{} + } + return t.Progress +} +func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries) GetRepeat() *int { + if t == nil { + t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries{} + } + return t.Repeat +} +func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries) GetScore() *float64 { + if t == nil { + t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries{} + } + return t.Score +} +func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries) GetStartedAt() *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_StartedAt { + if t == nil { + t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries{} + } + return t.StartedAt +} +func (t *AnimeCollectionWithRelations_MediaListCollection_Lists_Entries) GetStatus() *MediaListStatus { + if t == nil { + t = &AnimeCollectionWithRelations_MediaListCollection_Lists_Entries{} } return t.Status } -func (t *AnimeCollectionWithRelations_MediaListCollection_Lists) GetName() *string { + +type AnimeCollectionWithRelations_MediaListCollection_Lists struct { + Entries []*AnimeCollectionWithRelations_MediaListCollection_Lists_Entries "json:\"entries,omitempty\" graphql:\"entries\"" + IsCustomList *bool "json:\"isCustomList,omitempty\" graphql:\"isCustomList\"" + Name *string "json:\"name,omitempty\" graphql:\"name\"" + Status *MediaListStatus "json:\"status,omitempty\" graphql:\"status\"" +} + +func (t *AnimeCollectionWithRelations_MediaListCollection_Lists) GetEntries() []*AnimeCollectionWithRelations_MediaListCollection_Lists_Entries { if t == nil { t = &AnimeCollectionWithRelations_MediaListCollection_Lists{} } - return t.Name + return t.Entries } func (t *AnimeCollectionWithRelations_MediaListCollection_Lists) GetIsCustomList() *bool { if t == nil { @@ -2575,11 +2568,17 @@ func (t *AnimeCollectionWithRelations_MediaListCollection_Lists) GetIsCustomList } return t.IsCustomList } -func (t *AnimeCollectionWithRelations_MediaListCollection_Lists) GetEntries() []*AnimeCollectionWithRelations_MediaListCollection_Lists_Entries { +func (t *AnimeCollectionWithRelations_MediaListCollection_Lists) GetName() *string { if t == nil { t = &AnimeCollectionWithRelations_MediaListCollection_Lists{} } - return t.Entries + return t.Name +} +func (t *AnimeCollectionWithRelations_MediaListCollection_Lists) GetStatus() *MediaListStatus { + if t == nil { + t = &AnimeCollectionWithRelations_MediaListCollection_Lists{} + } + return t.Status } type AnimeCollectionWithRelations_MediaListCollection struct { @@ -2619,24 +2618,12 @@ func (t *BaseAnimeByMalId_Media_BaseAnime_Trailer) GetThumbnail() *string { } type BaseAnimeByMalId_Media_BaseAnime_Title struct { - UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" - Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" English *string "json:\"english,omitempty\" graphql:\"english\"" Native *string "json:\"native,omitempty\" graphql:\"native\"" + Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" + UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" } -func (t *BaseAnimeByMalId_Media_BaseAnime_Title) GetUserPreferred() *string { - if t == nil { - t = &BaseAnimeByMalId_Media_BaseAnime_Title{} - } - return t.UserPreferred -} -func (t *BaseAnimeByMalId_Media_BaseAnime_Title) GetRomaji() *string { - if t == nil { - t = &BaseAnimeByMalId_Media_BaseAnime_Title{} - } - return t.Romaji -} func (t *BaseAnimeByMalId_Media_BaseAnime_Title) GetEnglish() *string { if t == nil { t = &BaseAnimeByMalId_Media_BaseAnime_Title{} @@ -2649,14 +2636,32 @@ func (t *BaseAnimeByMalId_Media_BaseAnime_Title) GetNative() *string { } return t.Native } +func (t *BaseAnimeByMalId_Media_BaseAnime_Title) GetRomaji() *string { + if t == nil { + t = &BaseAnimeByMalId_Media_BaseAnime_Title{} + } + return t.Romaji +} +func (t *BaseAnimeByMalId_Media_BaseAnime_Title) GetUserPreferred() *string { + if t == nil { + t = &BaseAnimeByMalId_Media_BaseAnime_Title{} + } + return t.UserPreferred +} type BaseAnimeByMalId_Media_BaseAnime_CoverImage struct { + Color *string "json:\"color,omitempty\" graphql:\"color\"" ExtraLarge *string "json:\"extraLarge,omitempty\" graphql:\"extraLarge\"" Large *string "json:\"large,omitempty\" graphql:\"large\"" Medium *string "json:\"medium,omitempty\" graphql:\"medium\"" - Color *string "json:\"color,omitempty\" graphql:\"color\"" } +func (t *BaseAnimeByMalId_Media_BaseAnime_CoverImage) GetColor() *string { + if t == nil { + t = &BaseAnimeByMalId_Media_BaseAnime_CoverImage{} + } + return t.Color +} func (t *BaseAnimeByMalId_Media_BaseAnime_CoverImage) GetExtraLarge() *string { if t == nil { t = &BaseAnimeByMalId_Media_BaseAnime_CoverImage{} @@ -2675,24 +2680,18 @@ func (t *BaseAnimeByMalId_Media_BaseAnime_CoverImage) GetMedium() *string { } return t.Medium } -func (t *BaseAnimeByMalId_Media_BaseAnime_CoverImage) GetColor() *string { - if t == nil { - t = &BaseAnimeByMalId_Media_BaseAnime_CoverImage{} - } - return t.Color -} type BaseAnimeByMalId_Media_BaseAnime_StartDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *BaseAnimeByMalId_Media_BaseAnime_StartDate) GetYear() *int { +func (t *BaseAnimeByMalId_Media_BaseAnime_StartDate) GetDay() *int { if t == nil { t = &BaseAnimeByMalId_Media_BaseAnime_StartDate{} } - return t.Year + return t.Day } func (t *BaseAnimeByMalId_Media_BaseAnime_StartDate) GetMonth() *int { if t == nil { @@ -2700,24 +2699,24 @@ func (t *BaseAnimeByMalId_Media_BaseAnime_StartDate) GetMonth() *int { } return t.Month } -func (t *BaseAnimeByMalId_Media_BaseAnime_StartDate) GetDay() *int { +func (t *BaseAnimeByMalId_Media_BaseAnime_StartDate) GetYear() *int { if t == nil { t = &BaseAnimeByMalId_Media_BaseAnime_StartDate{} } - return t.Day + return t.Year } type BaseAnimeByMalId_Media_BaseAnime_EndDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *BaseAnimeByMalId_Media_BaseAnime_EndDate) GetYear() *int { +func (t *BaseAnimeByMalId_Media_BaseAnime_EndDate) GetDay() *int { if t == nil { t = &BaseAnimeByMalId_Media_BaseAnime_EndDate{} } - return t.Year + return t.Day } func (t *BaseAnimeByMalId_Media_BaseAnime_EndDate) GetMonth() *int { if t == nil { @@ -2725,17 +2724,17 @@ func (t *BaseAnimeByMalId_Media_BaseAnime_EndDate) GetMonth() *int { } return t.Month } -func (t *BaseAnimeByMalId_Media_BaseAnime_EndDate) GetDay() *int { +func (t *BaseAnimeByMalId_Media_BaseAnime_EndDate) GetYear() *int { if t == nil { t = &BaseAnimeByMalId_Media_BaseAnime_EndDate{} } - return t.Day + return t.Year } type BaseAnimeByMalId_Media_BaseAnime_NextAiringEpisode struct { AiringAt int "json:\"airingAt\" graphql:\"airingAt\"" - TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" Episode int "json:\"episode\" graphql:\"episode\"" + TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" } func (t *BaseAnimeByMalId_Media_BaseAnime_NextAiringEpisode) GetAiringAt() int { @@ -2744,18 +2743,18 @@ func (t *BaseAnimeByMalId_Media_BaseAnime_NextAiringEpisode) GetAiringAt() int { } return t.AiringAt } -func (t *BaseAnimeByMalId_Media_BaseAnime_NextAiringEpisode) GetTimeUntilAiring() int { - if t == nil { - t = &BaseAnimeByMalId_Media_BaseAnime_NextAiringEpisode{} - } - return t.TimeUntilAiring -} func (t *BaseAnimeByMalId_Media_BaseAnime_NextAiringEpisode) GetEpisode() int { if t == nil { t = &BaseAnimeByMalId_Media_BaseAnime_NextAiringEpisode{} } return t.Episode } +func (t *BaseAnimeByMalId_Media_BaseAnime_NextAiringEpisode) GetTimeUntilAiring() int { + if t == nil { + t = &BaseAnimeByMalId_Media_BaseAnime_NextAiringEpisode{} + } + return t.TimeUntilAiring +} type BaseAnimeById_Media_BaseAnime_Trailer struct { ID *string "json:\"id,omitempty\" graphql:\"id\"" @@ -2783,24 +2782,12 @@ func (t *BaseAnimeById_Media_BaseAnime_Trailer) GetThumbnail() *string { } type BaseAnimeById_Media_BaseAnime_Title struct { - UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" - Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" English *string "json:\"english,omitempty\" graphql:\"english\"" Native *string "json:\"native,omitempty\" graphql:\"native\"" + Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" + UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" } -func (t *BaseAnimeById_Media_BaseAnime_Title) GetUserPreferred() *string { - if t == nil { - t = &BaseAnimeById_Media_BaseAnime_Title{} - } - return t.UserPreferred -} -func (t *BaseAnimeById_Media_BaseAnime_Title) GetRomaji() *string { - if t == nil { - t = &BaseAnimeById_Media_BaseAnime_Title{} - } - return t.Romaji -} func (t *BaseAnimeById_Media_BaseAnime_Title) GetEnglish() *string { if t == nil { t = &BaseAnimeById_Media_BaseAnime_Title{} @@ -2813,14 +2800,32 @@ func (t *BaseAnimeById_Media_BaseAnime_Title) GetNative() *string { } return t.Native } +func (t *BaseAnimeById_Media_BaseAnime_Title) GetRomaji() *string { + if t == nil { + t = &BaseAnimeById_Media_BaseAnime_Title{} + } + return t.Romaji +} +func (t *BaseAnimeById_Media_BaseAnime_Title) GetUserPreferred() *string { + if t == nil { + t = &BaseAnimeById_Media_BaseAnime_Title{} + } + return t.UserPreferred +} type BaseAnimeById_Media_BaseAnime_CoverImage struct { + Color *string "json:\"color,omitempty\" graphql:\"color\"" ExtraLarge *string "json:\"extraLarge,omitempty\" graphql:\"extraLarge\"" Large *string "json:\"large,omitempty\" graphql:\"large\"" Medium *string "json:\"medium,omitempty\" graphql:\"medium\"" - Color *string "json:\"color,omitempty\" graphql:\"color\"" } +func (t *BaseAnimeById_Media_BaseAnime_CoverImage) GetColor() *string { + if t == nil { + t = &BaseAnimeById_Media_BaseAnime_CoverImage{} + } + return t.Color +} func (t *BaseAnimeById_Media_BaseAnime_CoverImage) GetExtraLarge() *string { if t == nil { t = &BaseAnimeById_Media_BaseAnime_CoverImage{} @@ -2839,24 +2844,18 @@ func (t *BaseAnimeById_Media_BaseAnime_CoverImage) GetMedium() *string { } return t.Medium } -func (t *BaseAnimeById_Media_BaseAnime_CoverImage) GetColor() *string { - if t == nil { - t = &BaseAnimeById_Media_BaseAnime_CoverImage{} - } - return t.Color -} type BaseAnimeById_Media_BaseAnime_StartDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *BaseAnimeById_Media_BaseAnime_StartDate) GetYear() *int { +func (t *BaseAnimeById_Media_BaseAnime_StartDate) GetDay() *int { if t == nil { t = &BaseAnimeById_Media_BaseAnime_StartDate{} } - return t.Year + return t.Day } func (t *BaseAnimeById_Media_BaseAnime_StartDate) GetMonth() *int { if t == nil { @@ -2864,24 +2863,24 @@ func (t *BaseAnimeById_Media_BaseAnime_StartDate) GetMonth() *int { } return t.Month } -func (t *BaseAnimeById_Media_BaseAnime_StartDate) GetDay() *int { +func (t *BaseAnimeById_Media_BaseAnime_StartDate) GetYear() *int { if t == nil { t = &BaseAnimeById_Media_BaseAnime_StartDate{} } - return t.Day + return t.Year } type BaseAnimeById_Media_BaseAnime_EndDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *BaseAnimeById_Media_BaseAnime_EndDate) GetYear() *int { +func (t *BaseAnimeById_Media_BaseAnime_EndDate) GetDay() *int { if t == nil { t = &BaseAnimeById_Media_BaseAnime_EndDate{} } - return t.Year + return t.Day } func (t *BaseAnimeById_Media_BaseAnime_EndDate) GetMonth() *int { if t == nil { @@ -2889,17 +2888,17 @@ func (t *BaseAnimeById_Media_BaseAnime_EndDate) GetMonth() *int { } return t.Month } -func (t *BaseAnimeById_Media_BaseAnime_EndDate) GetDay() *int { +func (t *BaseAnimeById_Media_BaseAnime_EndDate) GetYear() *int { if t == nil { t = &BaseAnimeById_Media_BaseAnime_EndDate{} } - return t.Day + return t.Year } type BaseAnimeById_Media_BaseAnime_NextAiringEpisode struct { AiringAt int "json:\"airingAt\" graphql:\"airingAt\"" - TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" Episode int "json:\"episode\" graphql:\"episode\"" + TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" } func (t *BaseAnimeById_Media_BaseAnime_NextAiringEpisode) GetAiringAt() int { @@ -2908,18 +2907,18 @@ func (t *BaseAnimeById_Media_BaseAnime_NextAiringEpisode) GetAiringAt() int { } return t.AiringAt } -func (t *BaseAnimeById_Media_BaseAnime_NextAiringEpisode) GetTimeUntilAiring() int { - if t == nil { - t = &BaseAnimeById_Media_BaseAnime_NextAiringEpisode{} - } - return t.TimeUntilAiring -} func (t *BaseAnimeById_Media_BaseAnime_NextAiringEpisode) GetEpisode() int { if t == nil { t = &BaseAnimeById_Media_BaseAnime_NextAiringEpisode{} } return t.Episode } +func (t *BaseAnimeById_Media_BaseAnime_NextAiringEpisode) GetTimeUntilAiring() int { + if t == nil { + t = &BaseAnimeById_Media_BaseAnime_NextAiringEpisode{} + } + return t.TimeUntilAiring +} type SearchBaseAnimeByIds_Page_PageInfo struct { HasNextPage *bool "json:\"hasNextPage,omitempty\" graphql:\"hasNextPage\"" @@ -2958,24 +2957,12 @@ func (t *SearchBaseAnimeByIds_Page_Media_BaseAnime_Trailer) GetThumbnail() *stri } type SearchBaseAnimeByIds_Page_Media_BaseAnime_Title struct { - UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" - Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" English *string "json:\"english,omitempty\" graphql:\"english\"" Native *string "json:\"native,omitempty\" graphql:\"native\"" + Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" + UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" } -func (t *SearchBaseAnimeByIds_Page_Media_BaseAnime_Title) GetUserPreferred() *string { - if t == nil { - t = &SearchBaseAnimeByIds_Page_Media_BaseAnime_Title{} - } - return t.UserPreferred -} -func (t *SearchBaseAnimeByIds_Page_Media_BaseAnime_Title) GetRomaji() *string { - if t == nil { - t = &SearchBaseAnimeByIds_Page_Media_BaseAnime_Title{} - } - return t.Romaji -} func (t *SearchBaseAnimeByIds_Page_Media_BaseAnime_Title) GetEnglish() *string { if t == nil { t = &SearchBaseAnimeByIds_Page_Media_BaseAnime_Title{} @@ -2988,14 +2975,32 @@ func (t *SearchBaseAnimeByIds_Page_Media_BaseAnime_Title) GetNative() *string { } return t.Native } +func (t *SearchBaseAnimeByIds_Page_Media_BaseAnime_Title) GetRomaji() *string { + if t == nil { + t = &SearchBaseAnimeByIds_Page_Media_BaseAnime_Title{} + } + return t.Romaji +} +func (t *SearchBaseAnimeByIds_Page_Media_BaseAnime_Title) GetUserPreferred() *string { + if t == nil { + t = &SearchBaseAnimeByIds_Page_Media_BaseAnime_Title{} + } + return t.UserPreferred +} type SearchBaseAnimeByIds_Page_Media_BaseAnime_CoverImage struct { + Color *string "json:\"color,omitempty\" graphql:\"color\"" ExtraLarge *string "json:\"extraLarge,omitempty\" graphql:\"extraLarge\"" Large *string "json:\"large,omitempty\" graphql:\"large\"" Medium *string "json:\"medium,omitempty\" graphql:\"medium\"" - Color *string "json:\"color,omitempty\" graphql:\"color\"" } +func (t *SearchBaseAnimeByIds_Page_Media_BaseAnime_CoverImage) GetColor() *string { + if t == nil { + t = &SearchBaseAnimeByIds_Page_Media_BaseAnime_CoverImage{} + } + return t.Color +} func (t *SearchBaseAnimeByIds_Page_Media_BaseAnime_CoverImage) GetExtraLarge() *string { if t == nil { t = &SearchBaseAnimeByIds_Page_Media_BaseAnime_CoverImage{} @@ -3014,24 +3019,18 @@ func (t *SearchBaseAnimeByIds_Page_Media_BaseAnime_CoverImage) GetMedium() *stri } return t.Medium } -func (t *SearchBaseAnimeByIds_Page_Media_BaseAnime_CoverImage) GetColor() *string { - if t == nil { - t = &SearchBaseAnimeByIds_Page_Media_BaseAnime_CoverImage{} - } - return t.Color -} type SearchBaseAnimeByIds_Page_Media_BaseAnime_StartDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *SearchBaseAnimeByIds_Page_Media_BaseAnime_StartDate) GetYear() *int { +func (t *SearchBaseAnimeByIds_Page_Media_BaseAnime_StartDate) GetDay() *int { if t == nil { t = &SearchBaseAnimeByIds_Page_Media_BaseAnime_StartDate{} } - return t.Year + return t.Day } func (t *SearchBaseAnimeByIds_Page_Media_BaseAnime_StartDate) GetMonth() *int { if t == nil { @@ -3039,24 +3038,24 @@ func (t *SearchBaseAnimeByIds_Page_Media_BaseAnime_StartDate) GetMonth() *int { } return t.Month } -func (t *SearchBaseAnimeByIds_Page_Media_BaseAnime_StartDate) GetDay() *int { +func (t *SearchBaseAnimeByIds_Page_Media_BaseAnime_StartDate) GetYear() *int { if t == nil { t = &SearchBaseAnimeByIds_Page_Media_BaseAnime_StartDate{} } - return t.Day + return t.Year } type SearchBaseAnimeByIds_Page_Media_BaseAnime_EndDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *SearchBaseAnimeByIds_Page_Media_BaseAnime_EndDate) GetYear() *int { +func (t *SearchBaseAnimeByIds_Page_Media_BaseAnime_EndDate) GetDay() *int { if t == nil { t = &SearchBaseAnimeByIds_Page_Media_BaseAnime_EndDate{} } - return t.Year + return t.Day } func (t *SearchBaseAnimeByIds_Page_Media_BaseAnime_EndDate) GetMonth() *int { if t == nil { @@ -3064,17 +3063,17 @@ func (t *SearchBaseAnimeByIds_Page_Media_BaseAnime_EndDate) GetMonth() *int { } return t.Month } -func (t *SearchBaseAnimeByIds_Page_Media_BaseAnime_EndDate) GetDay() *int { +func (t *SearchBaseAnimeByIds_Page_Media_BaseAnime_EndDate) GetYear() *int { if t == nil { t = &SearchBaseAnimeByIds_Page_Media_BaseAnime_EndDate{} } - return t.Day + return t.Year } type SearchBaseAnimeByIds_Page_Media_BaseAnime_NextAiringEpisode struct { AiringAt int "json:\"airingAt\" graphql:\"airingAt\"" - TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" Episode int "json:\"episode\" graphql:\"episode\"" + TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" } func (t *SearchBaseAnimeByIds_Page_Media_BaseAnime_NextAiringEpisode) GetAiringAt() int { @@ -3083,36 +3082,36 @@ func (t *SearchBaseAnimeByIds_Page_Media_BaseAnime_NextAiringEpisode) GetAiringA } return t.AiringAt } -func (t *SearchBaseAnimeByIds_Page_Media_BaseAnime_NextAiringEpisode) GetTimeUntilAiring() int { - if t == nil { - t = &SearchBaseAnimeByIds_Page_Media_BaseAnime_NextAiringEpisode{} - } - return t.TimeUntilAiring -} func (t *SearchBaseAnimeByIds_Page_Media_BaseAnime_NextAiringEpisode) GetEpisode() int { if t == nil { t = &SearchBaseAnimeByIds_Page_Media_BaseAnime_NextAiringEpisode{} } return t.Episode } +func (t *SearchBaseAnimeByIds_Page_Media_BaseAnime_NextAiringEpisode) GetTimeUntilAiring() int { + if t == nil { + t = &SearchBaseAnimeByIds_Page_Media_BaseAnime_NextAiringEpisode{} + } + return t.TimeUntilAiring +} type SearchBaseAnimeByIds_Page struct { - PageInfo *SearchBaseAnimeByIds_Page_PageInfo "json:\"pageInfo,omitempty\" graphql:\"pageInfo\"" Media []*BaseAnime "json:\"media,omitempty\" graphql:\"media\"" + PageInfo *SearchBaseAnimeByIds_Page_PageInfo "json:\"pageInfo,omitempty\" graphql:\"pageInfo\"" } -func (t *SearchBaseAnimeByIds_Page) GetPageInfo() *SearchBaseAnimeByIds_Page_PageInfo { - if t == nil { - t = &SearchBaseAnimeByIds_Page{} - } - return t.PageInfo -} func (t *SearchBaseAnimeByIds_Page) GetMedia() []*BaseAnime { if t == nil { t = &SearchBaseAnimeByIds_Page{} } return t.Media } +func (t *SearchBaseAnimeByIds_Page) GetPageInfo() *SearchBaseAnimeByIds_Page_PageInfo { + if t == nil { + t = &SearchBaseAnimeByIds_Page{} + } + return t.PageInfo +} type CompleteAnimeById_Media_CompleteAnime_Trailer struct { ID *string "json:\"id,omitempty\" graphql:\"id\"" @@ -3140,24 +3139,12 @@ func (t *CompleteAnimeById_Media_CompleteAnime_Trailer) GetThumbnail() *string { } type CompleteAnimeById_Media_CompleteAnime_Title struct { - UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" - Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" English *string "json:\"english,omitempty\" graphql:\"english\"" Native *string "json:\"native,omitempty\" graphql:\"native\"" + Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" + UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" } -func (t *CompleteAnimeById_Media_CompleteAnime_Title) GetUserPreferred() *string { - if t == nil { - t = &CompleteAnimeById_Media_CompleteAnime_Title{} - } - return t.UserPreferred -} -func (t *CompleteAnimeById_Media_CompleteAnime_Title) GetRomaji() *string { - if t == nil { - t = &CompleteAnimeById_Media_CompleteAnime_Title{} - } - return t.Romaji -} func (t *CompleteAnimeById_Media_CompleteAnime_Title) GetEnglish() *string { if t == nil { t = &CompleteAnimeById_Media_CompleteAnime_Title{} @@ -3170,14 +3157,32 @@ func (t *CompleteAnimeById_Media_CompleteAnime_Title) GetNative() *string { } return t.Native } +func (t *CompleteAnimeById_Media_CompleteAnime_Title) GetRomaji() *string { + if t == nil { + t = &CompleteAnimeById_Media_CompleteAnime_Title{} + } + return t.Romaji +} +func (t *CompleteAnimeById_Media_CompleteAnime_Title) GetUserPreferred() *string { + if t == nil { + t = &CompleteAnimeById_Media_CompleteAnime_Title{} + } + return t.UserPreferred +} type CompleteAnimeById_Media_CompleteAnime_CoverImage struct { + Color *string "json:\"color,omitempty\" graphql:\"color\"" ExtraLarge *string "json:\"extraLarge,omitempty\" graphql:\"extraLarge\"" Large *string "json:\"large,omitempty\" graphql:\"large\"" Medium *string "json:\"medium,omitempty\" graphql:\"medium\"" - Color *string "json:\"color,omitempty\" graphql:\"color\"" } +func (t *CompleteAnimeById_Media_CompleteAnime_CoverImage) GetColor() *string { + if t == nil { + t = &CompleteAnimeById_Media_CompleteAnime_CoverImage{} + } + return t.Color +} func (t *CompleteAnimeById_Media_CompleteAnime_CoverImage) GetExtraLarge() *string { if t == nil { t = &CompleteAnimeById_Media_CompleteAnime_CoverImage{} @@ -3196,24 +3201,18 @@ func (t *CompleteAnimeById_Media_CompleteAnime_CoverImage) GetMedium() *string { } return t.Medium } -func (t *CompleteAnimeById_Media_CompleteAnime_CoverImage) GetColor() *string { - if t == nil { - t = &CompleteAnimeById_Media_CompleteAnime_CoverImage{} - } - return t.Color -} type CompleteAnimeById_Media_CompleteAnime_StartDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *CompleteAnimeById_Media_CompleteAnime_StartDate) GetYear() *int { +func (t *CompleteAnimeById_Media_CompleteAnime_StartDate) GetDay() *int { if t == nil { t = &CompleteAnimeById_Media_CompleteAnime_StartDate{} } - return t.Year + return t.Day } func (t *CompleteAnimeById_Media_CompleteAnime_StartDate) GetMonth() *int { if t == nil { @@ -3221,24 +3220,24 @@ func (t *CompleteAnimeById_Media_CompleteAnime_StartDate) GetMonth() *int { } return t.Month } -func (t *CompleteAnimeById_Media_CompleteAnime_StartDate) GetDay() *int { +func (t *CompleteAnimeById_Media_CompleteAnime_StartDate) GetYear() *int { if t == nil { t = &CompleteAnimeById_Media_CompleteAnime_StartDate{} } - return t.Day + return t.Year } type CompleteAnimeById_Media_CompleteAnime_EndDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *CompleteAnimeById_Media_CompleteAnime_EndDate) GetYear() *int { +func (t *CompleteAnimeById_Media_CompleteAnime_EndDate) GetDay() *int { if t == nil { t = &CompleteAnimeById_Media_CompleteAnime_EndDate{} } - return t.Year + return t.Day } func (t *CompleteAnimeById_Media_CompleteAnime_EndDate) GetMonth() *int { if t == nil { @@ -3246,17 +3245,17 @@ func (t *CompleteAnimeById_Media_CompleteAnime_EndDate) GetMonth() *int { } return t.Month } -func (t *CompleteAnimeById_Media_CompleteAnime_EndDate) GetDay() *int { +func (t *CompleteAnimeById_Media_CompleteAnime_EndDate) GetYear() *int { if t == nil { t = &CompleteAnimeById_Media_CompleteAnime_EndDate{} } - return t.Day + return t.Year } type CompleteAnimeById_Media_CompleteAnime_NextAiringEpisode struct { AiringAt int "json:\"airingAt\" graphql:\"airingAt\"" - TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" Episode int "json:\"episode\" graphql:\"episode\"" + TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" } func (t *CompleteAnimeById_Media_CompleteAnime_NextAiringEpisode) GetAiringAt() int { @@ -3265,18 +3264,18 @@ func (t *CompleteAnimeById_Media_CompleteAnime_NextAiringEpisode) GetAiringAt() } return t.AiringAt } -func (t *CompleteAnimeById_Media_CompleteAnime_NextAiringEpisode) GetTimeUntilAiring() int { - if t == nil { - t = &CompleteAnimeById_Media_CompleteAnime_NextAiringEpisode{} - } - return t.TimeUntilAiring -} func (t *CompleteAnimeById_Media_CompleteAnime_NextAiringEpisode) GetEpisode() int { if t == nil { t = &CompleteAnimeById_Media_CompleteAnime_NextAiringEpisode{} } return t.Episode } +func (t *CompleteAnimeById_Media_CompleteAnime_NextAiringEpisode) GetTimeUntilAiring() int { + if t == nil { + t = &CompleteAnimeById_Media_CompleteAnime_NextAiringEpisode{} + } + return t.TimeUntilAiring +} type CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_Trailer struct { ID *string "json:\"id,omitempty\" graphql:\"id\"" @@ -3304,24 +3303,12 @@ func (t *CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_Tr } type CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_Title struct { - UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" - Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" English *string "json:\"english,omitempty\" graphql:\"english\"" Native *string "json:\"native,omitempty\" graphql:\"native\"" + Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" + UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" } -func (t *CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_Title) GetUserPreferred() *string { - if t == nil { - t = &CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_Title{} - } - return t.UserPreferred -} -func (t *CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_Title) GetRomaji() *string { - if t == nil { - t = &CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_Title{} - } - return t.Romaji -} func (t *CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_Title) GetEnglish() *string { if t == nil { t = &CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_Title{} @@ -3334,14 +3321,32 @@ func (t *CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_Ti } return t.Native } +func (t *CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_Title) GetRomaji() *string { + if t == nil { + t = &CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_Title{} + } + return t.Romaji +} +func (t *CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_Title) GetUserPreferred() *string { + if t == nil { + t = &CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_Title{} + } + return t.UserPreferred +} type CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_CoverImage struct { + Color *string "json:\"color,omitempty\" graphql:\"color\"" ExtraLarge *string "json:\"extraLarge,omitempty\" graphql:\"extraLarge\"" Large *string "json:\"large,omitempty\" graphql:\"large\"" Medium *string "json:\"medium,omitempty\" graphql:\"medium\"" - Color *string "json:\"color,omitempty\" graphql:\"color\"" } +func (t *CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_CoverImage) GetColor() *string { + if t == nil { + t = &CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_CoverImage{} + } + return t.Color +} func (t *CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_CoverImage) GetExtraLarge() *string { if t == nil { t = &CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_CoverImage{} @@ -3360,24 +3365,18 @@ func (t *CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_Co } return t.Medium } -func (t *CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_CoverImage) GetColor() *string { - if t == nil { - t = &CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_CoverImage{} - } - return t.Color -} type CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_StartDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_StartDate) GetYear() *int { +func (t *CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_StartDate) GetDay() *int { if t == nil { t = &CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_StartDate{} } - return t.Year + return t.Day } func (t *CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_StartDate) GetMonth() *int { if t == nil { @@ -3385,24 +3384,24 @@ func (t *CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_St } return t.Month } -func (t *CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_StartDate) GetDay() *int { +func (t *CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_StartDate) GetYear() *int { if t == nil { t = &CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_StartDate{} } - return t.Day + return t.Year } type CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_EndDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_EndDate) GetYear() *int { +func (t *CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_EndDate) GetDay() *int { if t == nil { t = &CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_EndDate{} } - return t.Year + return t.Day } func (t *CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_EndDate) GetMonth() *int { if t == nil { @@ -3410,17 +3409,17 @@ func (t *CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_En } return t.Month } -func (t *CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_EndDate) GetDay() *int { +func (t *CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_EndDate) GetYear() *int { if t == nil { t = &CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_EndDate{} } - return t.Day + return t.Year } type CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_NextAiringEpisode struct { AiringAt int "json:\"airingAt\" graphql:\"airingAt\"" - TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" Episode int "json:\"episode\" graphql:\"episode\"" + TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" } func (t *CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_NextAiringEpisode) GetAiringAt() int { @@ -3429,36 +3428,36 @@ func (t *CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_Ne } return t.AiringAt } -func (t *CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_NextAiringEpisode) GetTimeUntilAiring() int { - if t == nil { - t = &CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_NextAiringEpisode{} - } - return t.TimeUntilAiring -} func (t *CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_NextAiringEpisode) GetEpisode() int { if t == nil { t = &CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_NextAiringEpisode{} } return t.Episode } +func (t *CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_NextAiringEpisode) GetTimeUntilAiring() int { + if t == nil { + t = &CompleteAnimeById_Media_CompleteAnime_Relations_Edges_Node_BaseAnime_NextAiringEpisode{} + } + return t.TimeUntilAiring +} type CompleteAnimeById_Media_CompleteAnime_Relations_Edges struct { - RelationType *MediaRelation "json:\"relationType,omitempty\" graphql:\"relationType\"" Node *BaseAnime "json:\"node,omitempty\" graphql:\"node\"" + RelationType *MediaRelation "json:\"relationType,omitempty\" graphql:\"relationType\"" } -func (t *CompleteAnimeById_Media_CompleteAnime_Relations_Edges) GetRelationType() *MediaRelation { - if t == nil { - t = &CompleteAnimeById_Media_CompleteAnime_Relations_Edges{} - } - return t.RelationType -} func (t *CompleteAnimeById_Media_CompleteAnime_Relations_Edges) GetNode() *BaseAnime { if t == nil { t = &CompleteAnimeById_Media_CompleteAnime_Relations_Edges{} } return t.Node } +func (t *CompleteAnimeById_Media_CompleteAnime_Relations_Edges) GetRelationType() *MediaRelation { + if t == nil { + t = &CompleteAnimeById_Media_CompleteAnime_Relations_Edges{} + } + return t.RelationType +} type CompleteAnimeById_Media_CompleteAnime_Relations struct { Edges []*CompleteAnimeById_Media_CompleteAnime_Relations_Edges "json:\"edges,omitempty\" graphql:\"edges\"" @@ -3497,16 +3496,16 @@ func (t *AnimeDetailsById_Media_Trailer) GetThumbnail() *string { } type AnimeDetailsById_Media_StartDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *AnimeDetailsById_Media_StartDate) GetYear() *int { +func (t *AnimeDetailsById_Media_StartDate) GetDay() *int { if t == nil { t = &AnimeDetailsById_Media_StartDate{} } - return t.Year + return t.Day } func (t *AnimeDetailsById_Media_StartDate) GetMonth() *int { if t == nil { @@ -3514,24 +3513,24 @@ func (t *AnimeDetailsById_Media_StartDate) GetMonth() *int { } return t.Month } -func (t *AnimeDetailsById_Media_StartDate) GetDay() *int { +func (t *AnimeDetailsById_Media_StartDate) GetYear() *int { if t == nil { t = &AnimeDetailsById_Media_StartDate{} } - return t.Day + return t.Year } type AnimeDetailsById_Media_EndDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *AnimeDetailsById_Media_EndDate) GetYear() *int { +func (t *AnimeDetailsById_Media_EndDate) GetDay() *int { if t == nil { t = &AnimeDetailsById_Media_EndDate{} } - return t.Year + return t.Day } func (t *AnimeDetailsById_Media_EndDate) GetMonth() *int { if t == nil { @@ -3539,30 +3538,30 @@ func (t *AnimeDetailsById_Media_EndDate) GetMonth() *int { } return t.Month } -func (t *AnimeDetailsById_Media_EndDate) GetDay() *int { +func (t *AnimeDetailsById_Media_EndDate) GetYear() *int { if t == nil { t = &AnimeDetailsById_Media_EndDate{} } - return t.Day + return t.Year } type AnimeDetailsById_Media_Studios_Nodes struct { - Name string "json:\"name\" graphql:\"name\"" ID int "json:\"id\" graphql:\"id\"" + Name string "json:\"name\" graphql:\"name\"" } -func (t *AnimeDetailsById_Media_Studios_Nodes) GetName() string { - if t == nil { - t = &AnimeDetailsById_Media_Studios_Nodes{} - } - return t.Name -} func (t *AnimeDetailsById_Media_Studios_Nodes) GetID() int { if t == nil { t = &AnimeDetailsById_Media_Studios_Nodes{} } return t.ID } +func (t *AnimeDetailsById_Media_Studios_Nodes) GetName() string { + if t == nil { + t = &AnimeDetailsById_Media_Studios_Nodes{} + } + return t.Name +} type AnimeDetailsById_Media_Studios struct { Nodes []*AnimeDetailsById_Media_Studios_Nodes "json:\"nodes,omitempty\" graphql:\"nodes\"" @@ -3576,16 +3575,16 @@ func (t *AnimeDetailsById_Media_Studios) GetNodes() []*AnimeDetailsById_Media_St } type AnimeDetailsById_Media_Characters_Edges_Node_BaseCharacter_DateOfBirth struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *AnimeDetailsById_Media_Characters_Edges_Node_BaseCharacter_DateOfBirth) GetYear() *int { +func (t *AnimeDetailsById_Media_Characters_Edges_Node_BaseCharacter_DateOfBirth) GetDay() *int { if t == nil { t = &AnimeDetailsById_Media_Characters_Edges_Node_BaseCharacter_DateOfBirth{} } - return t.Year + return t.Day } func (t *AnimeDetailsById_Media_Characters_Edges_Node_BaseCharacter_DateOfBirth) GetMonth() *int { if t == nil { @@ -3593,19 +3592,25 @@ func (t *AnimeDetailsById_Media_Characters_Edges_Node_BaseCharacter_DateOfBirth) } return t.Month } -func (t *AnimeDetailsById_Media_Characters_Edges_Node_BaseCharacter_DateOfBirth) GetDay() *int { +func (t *AnimeDetailsById_Media_Characters_Edges_Node_BaseCharacter_DateOfBirth) GetYear() *int { if t == nil { t = &AnimeDetailsById_Media_Characters_Edges_Node_BaseCharacter_DateOfBirth{} } - return t.Day + return t.Year } type AnimeDetailsById_Media_Characters_Edges_Node_BaseCharacter_Name struct { + Alternative []*string "json:\"alternative,omitempty\" graphql:\"alternative\"" Full *string "json:\"full,omitempty\" graphql:\"full\"" Native *string "json:\"native,omitempty\" graphql:\"native\"" - Alternative []*string "json:\"alternative,omitempty\" graphql:\"alternative\"" } +func (t *AnimeDetailsById_Media_Characters_Edges_Node_BaseCharacter_Name) GetAlternative() []*string { + if t == nil { + t = &AnimeDetailsById_Media_Characters_Edges_Node_BaseCharacter_Name{} + } + return t.Alternative +} func (t *AnimeDetailsById_Media_Characters_Edges_Node_BaseCharacter_Name) GetFull() *string { if t == nil { t = &AnimeDetailsById_Media_Characters_Edges_Node_BaseCharacter_Name{} @@ -3618,12 +3623,6 @@ func (t *AnimeDetailsById_Media_Characters_Edges_Node_BaseCharacter_Name) GetNat } return t.Native } -func (t *AnimeDetailsById_Media_Characters_Edges_Node_BaseCharacter_Name) GetAlternative() []*string { - if t == nil { - t = &AnimeDetailsById_Media_Characters_Edges_Node_BaseCharacter_Name{} - } - return t.Alternative -} type AnimeDetailsById_Media_Characters_Edges_Node_BaseCharacter_Image struct { Large *string "json:\"large,omitempty\" graphql:\"large\"" @@ -3638,9 +3637,9 @@ func (t *AnimeDetailsById_Media_Characters_Edges_Node_BaseCharacter_Image) GetLa type AnimeDetailsById_Media_Characters_Edges struct { ID *int "json:\"id,omitempty\" graphql:\"id\"" - Role *CharacterRole "json:\"role,omitempty\" graphql:\"role\"" Name *string "json:\"name,omitempty\" graphql:\"name\"" Node *BaseCharacter "json:\"node,omitempty\" graphql:\"node\"" + Role *CharacterRole "json:\"role,omitempty\" graphql:\"role\"" } func (t *AnimeDetailsById_Media_Characters_Edges) GetID() *int { @@ -3649,12 +3648,6 @@ func (t *AnimeDetailsById_Media_Characters_Edges) GetID() *int { } return t.ID } -func (t *AnimeDetailsById_Media_Characters_Edges) GetRole() *CharacterRole { - if t == nil { - t = &AnimeDetailsById_Media_Characters_Edges{} - } - return t.Role -} func (t *AnimeDetailsById_Media_Characters_Edges) GetName() *string { if t == nil { t = &AnimeDetailsById_Media_Characters_Edges{} @@ -3667,6 +3660,12 @@ func (t *AnimeDetailsById_Media_Characters_Edges) GetNode() *BaseCharacter { } return t.Node } +func (t *AnimeDetailsById_Media_Characters_Edges) GetRole() *CharacterRole { + if t == nil { + t = &AnimeDetailsById_Media_Characters_Edges{} + } + return t.Role +} type AnimeDetailsById_Media_Characters struct { Edges []*AnimeDetailsById_Media_Characters_Edges "json:\"edges,omitempty\" graphql:\"edges\"" @@ -3691,40 +3690,40 @@ func (t *AnimeDetailsById_Media_Staff_Edges_Node_Name) GetFull() *string { } type AnimeDetailsById_Media_Staff_Edges_Node struct { - Name *AnimeDetailsById_Media_Staff_Edges_Node_Name "json:\"name,omitempty\" graphql:\"name\"" ID int "json:\"id\" graphql:\"id\"" + Name *AnimeDetailsById_Media_Staff_Edges_Node_Name "json:\"name,omitempty\" graphql:\"name\"" } -func (t *AnimeDetailsById_Media_Staff_Edges_Node) GetName() *AnimeDetailsById_Media_Staff_Edges_Node_Name { - if t == nil { - t = &AnimeDetailsById_Media_Staff_Edges_Node{} - } - return t.Name -} func (t *AnimeDetailsById_Media_Staff_Edges_Node) GetID() int { if t == nil { t = &AnimeDetailsById_Media_Staff_Edges_Node{} } return t.ID } +func (t *AnimeDetailsById_Media_Staff_Edges_Node) GetName() *AnimeDetailsById_Media_Staff_Edges_Node_Name { + if t == nil { + t = &AnimeDetailsById_Media_Staff_Edges_Node{} + } + return t.Name +} type AnimeDetailsById_Media_Staff_Edges struct { - Role *string "json:\"role,omitempty\" graphql:\"role\"" Node *AnimeDetailsById_Media_Staff_Edges_Node "json:\"node,omitempty\" graphql:\"node\"" + Role *string "json:\"role,omitempty\" graphql:\"role\"" } -func (t *AnimeDetailsById_Media_Staff_Edges) GetRole() *string { - if t == nil { - t = &AnimeDetailsById_Media_Staff_Edges{} - } - return t.Role -} func (t *AnimeDetailsById_Media_Staff_Edges) GetNode() *AnimeDetailsById_Media_Staff_Edges_Node { if t == nil { t = &AnimeDetailsById_Media_Staff_Edges{} } return t.Node } +func (t *AnimeDetailsById_Media_Staff_Edges) GetRole() *string { + if t == nil { + t = &AnimeDetailsById_Media_Staff_Edges{} + } + return t.Role +} type AnimeDetailsById_Media_Staff struct { Edges []*AnimeDetailsById_Media_Staff_Edges "json:\"edges,omitempty\" graphql:\"edges\"" @@ -3738,50 +3737,38 @@ func (t *AnimeDetailsById_Media_Staff) GetEdges() []*AnimeDetailsById_Media_Staf } type AnimeDetailsById_Media_Rankings struct { - Context string "json:\"context\" graphql:\"context\"" - Type MediaRankType "json:\"type\" graphql:\"type\"" - Rank int "json:\"rank\" graphql:\"rank\"" - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Format MediaFormat "json:\"format\" graphql:\"format\"" AllTime *bool "json:\"allTime,omitempty\" graphql:\"allTime\"" + Context string "json:\"context\" graphql:\"context\"" + Format MediaFormat "json:\"format\" graphql:\"format\"" + Rank int "json:\"rank\" graphql:\"rank\"" Season *MediaSeason "json:\"season,omitempty\" graphql:\"season\"" + Type MediaRankType "json:\"type\" graphql:\"type\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } +func (t *AnimeDetailsById_Media_Rankings) GetAllTime() *bool { + if t == nil { + t = &AnimeDetailsById_Media_Rankings{} + } + return t.AllTime +} func (t *AnimeDetailsById_Media_Rankings) GetContext() string { if t == nil { t = &AnimeDetailsById_Media_Rankings{} } return t.Context } -func (t *AnimeDetailsById_Media_Rankings) GetType() *MediaRankType { - if t == nil { - t = &AnimeDetailsById_Media_Rankings{} - } - return &t.Type -} -func (t *AnimeDetailsById_Media_Rankings) GetRank() int { - if t == nil { - t = &AnimeDetailsById_Media_Rankings{} - } - return t.Rank -} -func (t *AnimeDetailsById_Media_Rankings) GetYear() *int { - if t == nil { - t = &AnimeDetailsById_Media_Rankings{} - } - return t.Year -} func (t *AnimeDetailsById_Media_Rankings) GetFormat() *MediaFormat { if t == nil { t = &AnimeDetailsById_Media_Rankings{} } return &t.Format } -func (t *AnimeDetailsById_Media_Rankings) GetAllTime() *bool { +func (t *AnimeDetailsById_Media_Rankings) GetRank() int { if t == nil { t = &AnimeDetailsById_Media_Rankings{} } - return t.AllTime + return t.Rank } func (t *AnimeDetailsById_Media_Rankings) GetSeason() *MediaSeason { if t == nil { @@ -3789,6 +3776,18 @@ func (t *AnimeDetailsById_Media_Rankings) GetSeason() *MediaSeason { } return t.Season } +func (t *AnimeDetailsById_Media_Rankings) GetType() *MediaRankType { + if t == nil { + t = &AnimeDetailsById_Media_Rankings{} + } + return &t.Type +} +func (t *AnimeDetailsById_Media_Rankings) GetYear() *int { + if t == nil { + t = &AnimeDetailsById_Media_Rankings{} + } + return t.Year +} type AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Trailer struct { ID *string "json:\"id,omitempty\" graphql:\"id\"" @@ -3816,16 +3815,16 @@ func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_T } type AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate) GetYear() *int { +func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate) GetDay() *int { if t == nil { t = &AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate{} } - return t.Year + return t.Day } func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate) GetMonth() *int { if t == nil { @@ -3833,20 +3832,26 @@ func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_S } return t.Month } -func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate) GetDay() *int { +func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate) GetYear() *int { if t == nil { t = &AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate{} } - return t.Day + return t.Year } type AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage struct { + Color *string "json:\"color,omitempty\" graphql:\"color\"" ExtraLarge *string "json:\"extraLarge,omitempty\" graphql:\"extraLarge\"" Large *string "json:\"large,omitempty\" graphql:\"large\"" Medium *string "json:\"medium,omitempty\" graphql:\"medium\"" - Color *string "json:\"color,omitempty\" graphql:\"color\"" } +func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage) GetColor() *string { + if t == nil { + t = &AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage{} + } + return t.Color +} func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage) GetExtraLarge() *string { if t == nil { t = &AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage{} @@ -3865,26 +3870,14 @@ func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_C } return t.Medium } -func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage) GetColor() *string { - if t == nil { - t = &AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage{} - } - return t.Color -} type AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title struct { - Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" English *string "json:\"english,omitempty\" graphql:\"english\"" Native *string "json:\"native,omitempty\" graphql:\"native\"" + Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" } -func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title) GetRomaji() *string { - if t == nil { - t = &AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title{} - } - return t.Romaji -} func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title) GetEnglish() *string { if t == nil { t = &AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title{} @@ -3897,6 +3890,12 @@ func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_T } return t.Native } +func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title) GetRomaji() *string { + if t == nil { + t = &AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title{} + } + return t.Romaji +} func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title) GetUserPreferred() *string { if t == nil { t = &AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title{} @@ -3905,77 +3904,35 @@ func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_T } type AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation struct { - ID int "json:\"id\" graphql:\"id\"" - IDMal *int "json:\"idMal,omitempty\" graphql:\"idMal\"" - SiteURL *string "json:\"siteUrl,omitempty\" graphql:\"siteUrl\"" - Status *MediaStatus "json:\"status,omitempty\" graphql:\"status\"" - IsAdult *bool "json:\"isAdult,omitempty\" graphql:\"isAdult\"" - Season *MediaSeason "json:\"season,omitempty\" graphql:\"season\"" - Type *MediaType "json:\"type,omitempty\" graphql:\"type\"" - Format *MediaFormat "json:\"format,omitempty\" graphql:\"format\"" - MeanScore *int "json:\"meanScore,omitempty\" graphql:\"meanScore\"" + BannerImage *string "json:\"bannerImage,omitempty\" graphql:\"bannerImage\"" + CoverImage *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage "json:\"coverImage,omitempty\" graphql:\"coverImage\"" Description *string "json:\"description,omitempty\" graphql:\"description\"" Episodes *int "json:\"episodes,omitempty\" graphql:\"episodes\"" - Trailer *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Trailer "json:\"trailer,omitempty\" graphql:\"trailer\"" + Format *MediaFormat "json:\"format,omitempty\" graphql:\"format\"" + ID int "json:\"id\" graphql:\"id\"" + IDMal *int "json:\"idMal,omitempty\" graphql:\"idMal\"" + IsAdult *bool "json:\"isAdult,omitempty\" graphql:\"isAdult\"" + MeanScore *int "json:\"meanScore,omitempty\" graphql:\"meanScore\"" + Season *MediaSeason "json:\"season,omitempty\" graphql:\"season\"" + SiteURL *string "json:\"siteUrl,omitempty\" graphql:\"siteUrl\"" StartDate *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate "json:\"startDate,omitempty\" graphql:\"startDate\"" - CoverImage *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage "json:\"coverImage,omitempty\" graphql:\"coverImage\"" - BannerImage *string "json:\"bannerImage,omitempty\" graphql:\"bannerImage\"" + Status *MediaStatus "json:\"status,omitempty\" graphql:\"status\"" Title *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title "json:\"title,omitempty\" graphql:\"title\"" + Trailer *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Trailer "json:\"trailer,omitempty\" graphql:\"trailer\"" + Type *MediaType "json:\"type,omitempty\" graphql:\"type\"" } -func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetID() int { +func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetBannerImage() *string { if t == nil { t = &AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} } - return t.ID + return t.BannerImage } -func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetIDMal() *int { +func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetCoverImage() *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage { if t == nil { t = &AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} } - return t.IDMal -} -func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetSiteURL() *string { - if t == nil { - t = &AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} - } - return t.SiteURL -} -func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetStatus() *MediaStatus { - if t == nil { - t = &AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} - } - return t.Status -} -func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetIsAdult() *bool { - if t == nil { - t = &AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} - } - return t.IsAdult -} -func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetSeason() *MediaSeason { - if t == nil { - t = &AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} - } - return t.Season -} -func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetType() *MediaType { - if t == nil { - t = &AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} - } - return t.Type -} -func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetFormat() *MediaFormat { - if t == nil { - t = &AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} - } - return t.Format -} -func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetMeanScore() *int { - if t == nil { - t = &AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} - } - return t.MeanScore + return t.CoverImage } func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetDescription() *string { if t == nil { @@ -3989,11 +3946,47 @@ func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) } return t.Episodes } -func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetTrailer() *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Trailer { +func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetFormat() *MediaFormat { if t == nil { t = &AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} } - return t.Trailer + return t.Format +} +func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetID() int { + if t == nil { + t = &AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} + } + return t.ID +} +func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetIDMal() *int { + if t == nil { + t = &AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} + } + return t.IDMal +} +func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetIsAdult() *bool { + if t == nil { + t = &AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} + } + return t.IsAdult +} +func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetMeanScore() *int { + if t == nil { + t = &AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} + } + return t.MeanScore +} +func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetSeason() *MediaSeason { + if t == nil { + t = &AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} + } + return t.Season +} +func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetSiteURL() *string { + if t == nil { + t = &AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} + } + return t.SiteURL } func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetStartDate() *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate { if t == nil { @@ -4001,17 +3994,11 @@ func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) } return t.StartDate } -func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetCoverImage() *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage { +func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetStatus() *MediaStatus { if t == nil { t = &AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} } - return t.CoverImage -} -func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetBannerImage() *string { - if t == nil { - t = &AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} - } - return t.BannerImage + return t.Status } func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetTitle() *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title { if t == nil { @@ -4019,6 +4006,18 @@ func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) } return t.Title } +func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetTrailer() *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Trailer { + if t == nil { + t = &AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} + } + return t.Trailer +} +func (t *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetType() *MediaType { + if t == nil { + t = &AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} + } + return t.Type +} type AnimeDetailsById_Media_Recommendations_Edges_Node struct { MediaRecommendation *AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation "json:\"mediaRecommendation,omitempty\" graphql:\"mediaRecommendation\"" @@ -4079,24 +4078,12 @@ func (t *AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_Trailer) GetThumb } type AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_Title struct { - UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" - Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" English *string "json:\"english,omitempty\" graphql:\"english\"" Native *string "json:\"native,omitempty\" graphql:\"native\"" + Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" + UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" } -func (t *AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_Title) GetUserPreferred() *string { - if t == nil { - t = &AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_Title{} - } - return t.UserPreferred -} -func (t *AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_Title) GetRomaji() *string { - if t == nil { - t = &AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_Title{} - } - return t.Romaji -} func (t *AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_Title) GetEnglish() *string { if t == nil { t = &AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_Title{} @@ -4109,14 +4096,32 @@ func (t *AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_Title) GetNative( } return t.Native } +func (t *AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_Title) GetRomaji() *string { + if t == nil { + t = &AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_Title{} + } + return t.Romaji +} +func (t *AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_Title) GetUserPreferred() *string { + if t == nil { + t = &AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_Title{} + } + return t.UserPreferred +} type AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_CoverImage struct { + Color *string "json:\"color,omitempty\" graphql:\"color\"" ExtraLarge *string "json:\"extraLarge,omitempty\" graphql:\"extraLarge\"" Large *string "json:\"large,omitempty\" graphql:\"large\"" Medium *string "json:\"medium,omitempty\" graphql:\"medium\"" - Color *string "json:\"color,omitempty\" graphql:\"color\"" } +func (t *AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_CoverImage) GetColor() *string { + if t == nil { + t = &AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_CoverImage{} + } + return t.Color +} func (t *AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_CoverImage) GetExtraLarge() *string { if t == nil { t = &AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_CoverImage{} @@ -4135,24 +4140,18 @@ func (t *AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_CoverImage) GetMe } return t.Medium } -func (t *AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_CoverImage) GetColor() *string { - if t == nil { - t = &AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_CoverImage{} - } - return t.Color -} type AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_StartDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_StartDate) GetYear() *int { +func (t *AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_StartDate) GetDay() *int { if t == nil { t = &AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_StartDate{} } - return t.Year + return t.Day } func (t *AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_StartDate) GetMonth() *int { if t == nil { @@ -4160,24 +4159,24 @@ func (t *AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_StartDate) GetMon } return t.Month } -func (t *AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_StartDate) GetDay() *int { +func (t *AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_StartDate) GetYear() *int { if t == nil { t = &AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_StartDate{} } - return t.Day + return t.Year } type AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_EndDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_EndDate) GetYear() *int { +func (t *AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_EndDate) GetDay() *int { if t == nil { t = &AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_EndDate{} } - return t.Year + return t.Day } func (t *AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_EndDate) GetMonth() *int { if t == nil { @@ -4185,17 +4184,17 @@ func (t *AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_EndDate) GetMonth } return t.Month } -func (t *AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_EndDate) GetDay() *int { +func (t *AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_EndDate) GetYear() *int { if t == nil { t = &AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_EndDate{} } - return t.Day + return t.Year } type AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_NextAiringEpisode struct { AiringAt int "json:\"airingAt\" graphql:\"airingAt\"" - TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" Episode int "json:\"episode\" graphql:\"episode\"" + TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" } func (t *AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_NextAiringEpisode) GetAiringAt() int { @@ -4204,36 +4203,36 @@ func (t *AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_NextAiringEpisode } return t.AiringAt } -func (t *AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_NextAiringEpisode) GetTimeUntilAiring() int { - if t == nil { - t = &AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_NextAiringEpisode{} - } - return t.TimeUntilAiring -} func (t *AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_NextAiringEpisode) GetEpisode() int { if t == nil { t = &AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_NextAiringEpisode{} } return t.Episode } +func (t *AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_NextAiringEpisode) GetTimeUntilAiring() int { + if t == nil { + t = &AnimeDetailsById_Media_Relations_Edges_Node_BaseAnime_NextAiringEpisode{} + } + return t.TimeUntilAiring +} type AnimeDetailsById_Media_Relations_Edges struct { - RelationType *MediaRelation "json:\"relationType,omitempty\" graphql:\"relationType\"" Node *BaseAnime "json:\"node,omitempty\" graphql:\"node\"" + RelationType *MediaRelation "json:\"relationType,omitempty\" graphql:\"relationType\"" } -func (t *AnimeDetailsById_Media_Relations_Edges) GetRelationType() *MediaRelation { - if t == nil { - t = &AnimeDetailsById_Media_Relations_Edges{} - } - return t.RelationType -} func (t *AnimeDetailsById_Media_Relations_Edges) GetNode() *BaseAnime { if t == nil { t = &AnimeDetailsById_Media_Relations_Edges{} } return t.Node } +func (t *AnimeDetailsById_Media_Relations_Edges) GetRelationType() *MediaRelation { + if t == nil { + t = &AnimeDetailsById_Media_Relations_Edges{} + } + return t.RelationType +} type AnimeDetailsById_Media_Relations struct { Edges []*AnimeDetailsById_Media_Relations_Edges "json:\"edges,omitempty\" graphql:\"edges\"" @@ -4247,108 +4246,78 @@ func (t *AnimeDetailsById_Media_Relations) GetEdges() []*AnimeDetailsById_Media_ } type AnimeDetailsById_Media struct { - SiteURL *string "json:\"siteUrl,omitempty\" graphql:\"siteUrl\"" - ID int "json:\"id\" graphql:\"id\"" - Duration *int "json:\"duration,omitempty\" graphql:\"duration\"" - Genres []*string "json:\"genres,omitempty\" graphql:\"genres\"" AverageScore *int "json:\"averageScore,omitempty\" graphql:\"averageScore\"" - Popularity *int "json:\"popularity,omitempty\" graphql:\"popularity\"" - MeanScore *int "json:\"meanScore,omitempty\" graphql:\"meanScore\"" - Description *string "json:\"description,omitempty\" graphql:\"description\"" - Trailer *AnimeDetailsById_Media_Trailer "json:\"trailer,omitempty\" graphql:\"trailer\"" - StartDate *AnimeDetailsById_Media_StartDate "json:\"startDate,omitempty\" graphql:\"startDate\"" - EndDate *AnimeDetailsById_Media_EndDate "json:\"endDate,omitempty\" graphql:\"endDate\"" - Studios *AnimeDetailsById_Media_Studios "json:\"studios,omitempty\" graphql:\"studios\"" Characters *AnimeDetailsById_Media_Characters "json:\"characters,omitempty\" graphql:\"characters\"" - Staff *AnimeDetailsById_Media_Staff "json:\"staff,omitempty\" graphql:\"staff\"" + Description *string "json:\"description,omitempty\" graphql:\"description\"" + Duration *int "json:\"duration,omitempty\" graphql:\"duration\"" + EndDate *AnimeDetailsById_Media_EndDate "json:\"endDate,omitempty\" graphql:\"endDate\"" + Genres []*string "json:\"genres,omitempty\" graphql:\"genres\"" + ID int "json:\"id\" graphql:\"id\"" + MeanScore *int "json:\"meanScore,omitempty\" graphql:\"meanScore\"" + Popularity *int "json:\"popularity,omitempty\" graphql:\"popularity\"" Rankings []*AnimeDetailsById_Media_Rankings "json:\"rankings,omitempty\" graphql:\"rankings\"" Recommendations *AnimeDetailsById_Media_Recommendations "json:\"recommendations,omitempty\" graphql:\"recommendations\"" Relations *AnimeDetailsById_Media_Relations "json:\"relations,omitempty\" graphql:\"relations\"" + SiteURL *string "json:\"siteUrl,omitempty\" graphql:\"siteUrl\"" + Staff *AnimeDetailsById_Media_Staff "json:\"staff,omitempty\" graphql:\"staff\"" + StartDate *AnimeDetailsById_Media_StartDate "json:\"startDate,omitempty\" graphql:\"startDate\"" + Studios *AnimeDetailsById_Media_Studios "json:\"studios,omitempty\" graphql:\"studios\"" + Trailer *AnimeDetailsById_Media_Trailer "json:\"trailer,omitempty\" graphql:\"trailer\"" } -func (t *AnimeDetailsById_Media) GetSiteURL() *string { - if t == nil { - t = &AnimeDetailsById_Media{} - } - return t.SiteURL -} -func (t *AnimeDetailsById_Media) GetID() int { - if t == nil { - t = &AnimeDetailsById_Media{} - } - return t.ID -} -func (t *AnimeDetailsById_Media) GetDuration() *int { - if t == nil { - t = &AnimeDetailsById_Media{} - } - return t.Duration -} -func (t *AnimeDetailsById_Media) GetGenres() []*string { - if t == nil { - t = &AnimeDetailsById_Media{} - } - return t.Genres -} func (t *AnimeDetailsById_Media) GetAverageScore() *int { if t == nil { t = &AnimeDetailsById_Media{} } return t.AverageScore } -func (t *AnimeDetailsById_Media) GetPopularity() *int { - if t == nil { - t = &AnimeDetailsById_Media{} - } - return t.Popularity -} -func (t *AnimeDetailsById_Media) GetMeanScore() *int { - if t == nil { - t = &AnimeDetailsById_Media{} - } - return t.MeanScore -} -func (t *AnimeDetailsById_Media) GetDescription() *string { - if t == nil { - t = &AnimeDetailsById_Media{} - } - return t.Description -} -func (t *AnimeDetailsById_Media) GetTrailer() *AnimeDetailsById_Media_Trailer { - if t == nil { - t = &AnimeDetailsById_Media{} - } - return t.Trailer -} -func (t *AnimeDetailsById_Media) GetStartDate() *AnimeDetailsById_Media_StartDate { - if t == nil { - t = &AnimeDetailsById_Media{} - } - return t.StartDate -} -func (t *AnimeDetailsById_Media) GetEndDate() *AnimeDetailsById_Media_EndDate { - if t == nil { - t = &AnimeDetailsById_Media{} - } - return t.EndDate -} -func (t *AnimeDetailsById_Media) GetStudios() *AnimeDetailsById_Media_Studios { - if t == nil { - t = &AnimeDetailsById_Media{} - } - return t.Studios -} func (t *AnimeDetailsById_Media) GetCharacters() *AnimeDetailsById_Media_Characters { if t == nil { t = &AnimeDetailsById_Media{} } return t.Characters } -func (t *AnimeDetailsById_Media) GetStaff() *AnimeDetailsById_Media_Staff { +func (t *AnimeDetailsById_Media) GetDescription() *string { if t == nil { t = &AnimeDetailsById_Media{} } - return t.Staff + return t.Description +} +func (t *AnimeDetailsById_Media) GetDuration() *int { + if t == nil { + t = &AnimeDetailsById_Media{} + } + return t.Duration +} +func (t *AnimeDetailsById_Media) GetEndDate() *AnimeDetailsById_Media_EndDate { + if t == nil { + t = &AnimeDetailsById_Media{} + } + return t.EndDate +} +func (t *AnimeDetailsById_Media) GetGenres() []*string { + if t == nil { + t = &AnimeDetailsById_Media{} + } + return t.Genres +} +func (t *AnimeDetailsById_Media) GetID() int { + if t == nil { + t = &AnimeDetailsById_Media{} + } + return t.ID +} +func (t *AnimeDetailsById_Media) GetMeanScore() *int { + if t == nil { + t = &AnimeDetailsById_Media{} + } + return t.MeanScore +} +func (t *AnimeDetailsById_Media) GetPopularity() *int { + if t == nil { + t = &AnimeDetailsById_Media{} + } + return t.Popularity } func (t *AnimeDetailsById_Media) GetRankings() []*AnimeDetailsById_Media_Rankings { if t == nil { @@ -4368,26 +4337,62 @@ func (t *AnimeDetailsById_Media) GetRelations() *AnimeDetailsById_Media_Relation } return t.Relations } - -type ListAnime_Page_PageInfo struct { - HasNextPage *bool "json:\"hasNextPage,omitempty\" graphql:\"hasNextPage\"" - Total *int "json:\"total,omitempty\" graphql:\"total\"" - PerPage *int "json:\"perPage,omitempty\" graphql:\"perPage\"" - CurrentPage *int "json:\"currentPage,omitempty\" graphql:\"currentPage\"" - LastPage *int "json:\"lastPage,omitempty\" graphql:\"lastPage\"" +func (t *AnimeDetailsById_Media) GetSiteURL() *string { + if t == nil { + t = &AnimeDetailsById_Media{} + } + return t.SiteURL +} +func (t *AnimeDetailsById_Media) GetStaff() *AnimeDetailsById_Media_Staff { + if t == nil { + t = &AnimeDetailsById_Media{} + } + return t.Staff +} +func (t *AnimeDetailsById_Media) GetStartDate() *AnimeDetailsById_Media_StartDate { + if t == nil { + t = &AnimeDetailsById_Media{} + } + return t.StartDate +} +func (t *AnimeDetailsById_Media) GetStudios() *AnimeDetailsById_Media_Studios { + if t == nil { + t = &AnimeDetailsById_Media{} + } + return t.Studios +} +func (t *AnimeDetailsById_Media) GetTrailer() *AnimeDetailsById_Media_Trailer { + if t == nil { + t = &AnimeDetailsById_Media{} + } + return t.Trailer } +type ListAnime_Page_PageInfo struct { + CurrentPage *int "json:\"currentPage,omitempty\" graphql:\"currentPage\"" + HasNextPage *bool "json:\"hasNextPage,omitempty\" graphql:\"hasNextPage\"" + LastPage *int "json:\"lastPage,omitempty\" graphql:\"lastPage\"" + PerPage *int "json:\"perPage,omitempty\" graphql:\"perPage\"" + Total *int "json:\"total,omitempty\" graphql:\"total\"" +} + +func (t *ListAnime_Page_PageInfo) GetCurrentPage() *int { + if t == nil { + t = &ListAnime_Page_PageInfo{} + } + return t.CurrentPage +} func (t *ListAnime_Page_PageInfo) GetHasNextPage() *bool { if t == nil { t = &ListAnime_Page_PageInfo{} } return t.HasNextPage } -func (t *ListAnime_Page_PageInfo) GetTotal() *int { +func (t *ListAnime_Page_PageInfo) GetLastPage() *int { if t == nil { t = &ListAnime_Page_PageInfo{} } - return t.Total + return t.LastPage } func (t *ListAnime_Page_PageInfo) GetPerPage() *int { if t == nil { @@ -4395,17 +4400,11 @@ func (t *ListAnime_Page_PageInfo) GetPerPage() *int { } return t.PerPage } -func (t *ListAnime_Page_PageInfo) GetCurrentPage() *int { +func (t *ListAnime_Page_PageInfo) GetTotal() *int { if t == nil { t = &ListAnime_Page_PageInfo{} } - return t.CurrentPage -} -func (t *ListAnime_Page_PageInfo) GetLastPage() *int { - if t == nil { - t = &ListAnime_Page_PageInfo{} - } - return t.LastPage + return t.Total } type ListAnime_Page_Media_BaseAnime_Trailer struct { @@ -4434,24 +4433,12 @@ func (t *ListAnime_Page_Media_BaseAnime_Trailer) GetThumbnail() *string { } type ListAnime_Page_Media_BaseAnime_Title struct { - UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" - Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" English *string "json:\"english,omitempty\" graphql:\"english\"" Native *string "json:\"native,omitempty\" graphql:\"native\"" + Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" + UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" } -func (t *ListAnime_Page_Media_BaseAnime_Title) GetUserPreferred() *string { - if t == nil { - t = &ListAnime_Page_Media_BaseAnime_Title{} - } - return t.UserPreferred -} -func (t *ListAnime_Page_Media_BaseAnime_Title) GetRomaji() *string { - if t == nil { - t = &ListAnime_Page_Media_BaseAnime_Title{} - } - return t.Romaji -} func (t *ListAnime_Page_Media_BaseAnime_Title) GetEnglish() *string { if t == nil { t = &ListAnime_Page_Media_BaseAnime_Title{} @@ -4464,14 +4451,32 @@ func (t *ListAnime_Page_Media_BaseAnime_Title) GetNative() *string { } return t.Native } +func (t *ListAnime_Page_Media_BaseAnime_Title) GetRomaji() *string { + if t == nil { + t = &ListAnime_Page_Media_BaseAnime_Title{} + } + return t.Romaji +} +func (t *ListAnime_Page_Media_BaseAnime_Title) GetUserPreferred() *string { + if t == nil { + t = &ListAnime_Page_Media_BaseAnime_Title{} + } + return t.UserPreferred +} type ListAnime_Page_Media_BaseAnime_CoverImage struct { + Color *string "json:\"color,omitempty\" graphql:\"color\"" ExtraLarge *string "json:\"extraLarge,omitempty\" graphql:\"extraLarge\"" Large *string "json:\"large,omitempty\" graphql:\"large\"" Medium *string "json:\"medium,omitempty\" graphql:\"medium\"" - Color *string "json:\"color,omitempty\" graphql:\"color\"" } +func (t *ListAnime_Page_Media_BaseAnime_CoverImage) GetColor() *string { + if t == nil { + t = &ListAnime_Page_Media_BaseAnime_CoverImage{} + } + return t.Color +} func (t *ListAnime_Page_Media_BaseAnime_CoverImage) GetExtraLarge() *string { if t == nil { t = &ListAnime_Page_Media_BaseAnime_CoverImage{} @@ -4490,24 +4495,18 @@ func (t *ListAnime_Page_Media_BaseAnime_CoverImage) GetMedium() *string { } return t.Medium } -func (t *ListAnime_Page_Media_BaseAnime_CoverImage) GetColor() *string { - if t == nil { - t = &ListAnime_Page_Media_BaseAnime_CoverImage{} - } - return t.Color -} type ListAnime_Page_Media_BaseAnime_StartDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *ListAnime_Page_Media_BaseAnime_StartDate) GetYear() *int { +func (t *ListAnime_Page_Media_BaseAnime_StartDate) GetDay() *int { if t == nil { t = &ListAnime_Page_Media_BaseAnime_StartDate{} } - return t.Year + return t.Day } func (t *ListAnime_Page_Media_BaseAnime_StartDate) GetMonth() *int { if t == nil { @@ -4515,24 +4514,24 @@ func (t *ListAnime_Page_Media_BaseAnime_StartDate) GetMonth() *int { } return t.Month } -func (t *ListAnime_Page_Media_BaseAnime_StartDate) GetDay() *int { +func (t *ListAnime_Page_Media_BaseAnime_StartDate) GetYear() *int { if t == nil { t = &ListAnime_Page_Media_BaseAnime_StartDate{} } - return t.Day + return t.Year } type ListAnime_Page_Media_BaseAnime_EndDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *ListAnime_Page_Media_BaseAnime_EndDate) GetYear() *int { +func (t *ListAnime_Page_Media_BaseAnime_EndDate) GetDay() *int { if t == nil { t = &ListAnime_Page_Media_BaseAnime_EndDate{} } - return t.Year + return t.Day } func (t *ListAnime_Page_Media_BaseAnime_EndDate) GetMonth() *int { if t == nil { @@ -4540,17 +4539,17 @@ func (t *ListAnime_Page_Media_BaseAnime_EndDate) GetMonth() *int { } return t.Month } -func (t *ListAnime_Page_Media_BaseAnime_EndDate) GetDay() *int { +func (t *ListAnime_Page_Media_BaseAnime_EndDate) GetYear() *int { if t == nil { t = &ListAnime_Page_Media_BaseAnime_EndDate{} } - return t.Day + return t.Year } type ListAnime_Page_Media_BaseAnime_NextAiringEpisode struct { AiringAt int "json:\"airingAt\" graphql:\"airingAt\"" - TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" Episode int "json:\"episode\" graphql:\"episode\"" + TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" } func (t *ListAnime_Page_Media_BaseAnime_NextAiringEpisode) GetAiringAt() int { @@ -4559,56 +4558,62 @@ func (t *ListAnime_Page_Media_BaseAnime_NextAiringEpisode) GetAiringAt() int { } return t.AiringAt } -func (t *ListAnime_Page_Media_BaseAnime_NextAiringEpisode) GetTimeUntilAiring() int { - if t == nil { - t = &ListAnime_Page_Media_BaseAnime_NextAiringEpisode{} - } - return t.TimeUntilAiring -} func (t *ListAnime_Page_Media_BaseAnime_NextAiringEpisode) GetEpisode() int { if t == nil { t = &ListAnime_Page_Media_BaseAnime_NextAiringEpisode{} } return t.Episode } +func (t *ListAnime_Page_Media_BaseAnime_NextAiringEpisode) GetTimeUntilAiring() int { + if t == nil { + t = &ListAnime_Page_Media_BaseAnime_NextAiringEpisode{} + } + return t.TimeUntilAiring +} type ListAnime_Page struct { - PageInfo *ListAnime_Page_PageInfo "json:\"pageInfo,omitempty\" graphql:\"pageInfo\"" Media []*BaseAnime "json:\"media,omitempty\" graphql:\"media\"" + PageInfo *ListAnime_Page_PageInfo "json:\"pageInfo,omitempty\" graphql:\"pageInfo\"" } -func (t *ListAnime_Page) GetPageInfo() *ListAnime_Page_PageInfo { - if t == nil { - t = &ListAnime_Page{} - } - return t.PageInfo -} func (t *ListAnime_Page) GetMedia() []*BaseAnime { if t == nil { t = &ListAnime_Page{} } return t.Media } - -type ListRecentAnime_Page_PageInfo struct { - HasNextPage *bool "json:\"hasNextPage,omitempty\" graphql:\"hasNextPage\"" - Total *int "json:\"total,omitempty\" graphql:\"total\"" - PerPage *int "json:\"perPage,omitempty\" graphql:\"perPage\"" - CurrentPage *int "json:\"currentPage,omitempty\" graphql:\"currentPage\"" - LastPage *int "json:\"lastPage,omitempty\" graphql:\"lastPage\"" +func (t *ListAnime_Page) GetPageInfo() *ListAnime_Page_PageInfo { + if t == nil { + t = &ListAnime_Page{} + } + return t.PageInfo } +type ListRecentAnime_Page_PageInfo struct { + CurrentPage *int "json:\"currentPage,omitempty\" graphql:\"currentPage\"" + HasNextPage *bool "json:\"hasNextPage,omitempty\" graphql:\"hasNextPage\"" + LastPage *int "json:\"lastPage,omitempty\" graphql:\"lastPage\"" + PerPage *int "json:\"perPage,omitempty\" graphql:\"perPage\"" + Total *int "json:\"total,omitempty\" graphql:\"total\"" +} + +func (t *ListRecentAnime_Page_PageInfo) GetCurrentPage() *int { + if t == nil { + t = &ListRecentAnime_Page_PageInfo{} + } + return t.CurrentPage +} func (t *ListRecentAnime_Page_PageInfo) GetHasNextPage() *bool { if t == nil { t = &ListRecentAnime_Page_PageInfo{} } return t.HasNextPage } -func (t *ListRecentAnime_Page_PageInfo) GetTotal() *int { +func (t *ListRecentAnime_Page_PageInfo) GetLastPage() *int { if t == nil { t = &ListRecentAnime_Page_PageInfo{} } - return t.Total + return t.LastPage } func (t *ListRecentAnime_Page_PageInfo) GetPerPage() *int { if t == nil { @@ -4616,17 +4621,11 @@ func (t *ListRecentAnime_Page_PageInfo) GetPerPage() *int { } return t.PerPage } -func (t *ListRecentAnime_Page_PageInfo) GetCurrentPage() *int { +func (t *ListRecentAnime_Page_PageInfo) GetTotal() *int { if t == nil { t = &ListRecentAnime_Page_PageInfo{} } - return t.CurrentPage -} -func (t *ListRecentAnime_Page_PageInfo) GetLastPage() *int { - if t == nil { - t = &ListRecentAnime_Page_PageInfo{} - } - return t.LastPage + return t.Total } type ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_Trailer struct { @@ -4655,24 +4654,12 @@ func (t *ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_Trailer) GetThumbn } type ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_Title struct { - UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" - Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" English *string "json:\"english,omitempty\" graphql:\"english\"" Native *string "json:\"native,omitempty\" graphql:\"native\"" + Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" + UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" } -func (t *ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_Title) GetUserPreferred() *string { - if t == nil { - t = &ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_Title{} - } - return t.UserPreferred -} -func (t *ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_Title) GetRomaji() *string { - if t == nil { - t = &ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_Title{} - } - return t.Romaji -} func (t *ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_Title) GetEnglish() *string { if t == nil { t = &ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_Title{} @@ -4685,14 +4672,32 @@ func (t *ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_Title) GetNative() } return t.Native } +func (t *ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_Title) GetRomaji() *string { + if t == nil { + t = &ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_Title{} + } + return t.Romaji +} +func (t *ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_Title) GetUserPreferred() *string { + if t == nil { + t = &ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_Title{} + } + return t.UserPreferred +} type ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_CoverImage struct { + Color *string "json:\"color,omitempty\" graphql:\"color\"" ExtraLarge *string "json:\"extraLarge,omitempty\" graphql:\"extraLarge\"" Large *string "json:\"large,omitempty\" graphql:\"large\"" Medium *string "json:\"medium,omitempty\" graphql:\"medium\"" - Color *string "json:\"color,omitempty\" graphql:\"color\"" } +func (t *ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_CoverImage) GetColor() *string { + if t == nil { + t = &ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_CoverImage{} + } + return t.Color +} func (t *ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_CoverImage) GetExtraLarge() *string { if t == nil { t = &ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_CoverImage{} @@ -4711,24 +4716,18 @@ func (t *ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_CoverImage) GetMed } return t.Medium } -func (t *ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_CoverImage) GetColor() *string { - if t == nil { - t = &ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_CoverImage{} - } - return t.Color -} type ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_StartDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_StartDate) GetYear() *int { +func (t *ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_StartDate) GetDay() *int { if t == nil { t = &ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_StartDate{} } - return t.Year + return t.Day } func (t *ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_StartDate) GetMonth() *int { if t == nil { @@ -4736,24 +4735,24 @@ func (t *ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_StartDate) GetMont } return t.Month } -func (t *ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_StartDate) GetDay() *int { +func (t *ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_StartDate) GetYear() *int { if t == nil { t = &ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_StartDate{} } - return t.Day + return t.Year } type ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_EndDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_EndDate) GetYear() *int { +func (t *ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_EndDate) GetDay() *int { if t == nil { t = &ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_EndDate{} } - return t.Year + return t.Day } func (t *ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_EndDate) GetMonth() *int { if t == nil { @@ -4761,17 +4760,17 @@ func (t *ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_EndDate) GetMonth( } return t.Month } -func (t *ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_EndDate) GetDay() *int { +func (t *ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_EndDate) GetYear() *int { if t == nil { t = &ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_EndDate{} } - return t.Day + return t.Year } type ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_NextAiringEpisode struct { AiringAt int "json:\"airingAt\" graphql:\"airingAt\"" - TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" Episode int "json:\"episode\" graphql:\"episode\"" + TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" } func (t *ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_NextAiringEpisode) GetAiringAt() int { @@ -4780,33 +4779,27 @@ func (t *ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_NextAiringEpisode) } return t.AiringAt } -func (t *ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_NextAiringEpisode) GetTimeUntilAiring() int { - if t == nil { - t = &ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_NextAiringEpisode{} - } - return t.TimeUntilAiring -} func (t *ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_NextAiringEpisode) GetEpisode() int { if t == nil { t = &ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_NextAiringEpisode{} } return t.Episode } +func (t *ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_NextAiringEpisode) GetTimeUntilAiring() int { + if t == nil { + t = &ListRecentAnime_Page_AiringSchedules_Media_BaseAnime_NextAiringEpisode{} + } + return t.TimeUntilAiring +} type ListRecentAnime_Page_AiringSchedules struct { - ID int "json:\"id\" graphql:\"id\"" AiringAt int "json:\"airingAt\" graphql:\"airingAt\"" Episode int "json:\"episode\" graphql:\"episode\"" - TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" + ID int "json:\"id\" graphql:\"id\"" Media *BaseAnime "json:\"media,omitempty\" graphql:\"media\"" + TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" } -func (t *ListRecentAnime_Page_AiringSchedules) GetID() int { - if t == nil { - t = &ListRecentAnime_Page_AiringSchedules{} - } - return t.ID -} func (t *ListRecentAnime_Page_AiringSchedules) GetAiringAt() int { if t == nil { t = &ListRecentAnime_Page_AiringSchedules{} @@ -4819,11 +4812,11 @@ func (t *ListRecentAnime_Page_AiringSchedules) GetEpisode() int { } return t.Episode } -func (t *ListRecentAnime_Page_AiringSchedules) GetTimeUntilAiring() int { +func (t *ListRecentAnime_Page_AiringSchedules) GetID() int { if t == nil { t = &ListRecentAnime_Page_AiringSchedules{} } - return t.TimeUntilAiring + return t.ID } func (t *ListRecentAnime_Page_AiringSchedules) GetMedia() *BaseAnime { if t == nil { @@ -4831,29 +4824,35 @@ func (t *ListRecentAnime_Page_AiringSchedules) GetMedia() *BaseAnime { } return t.Media } +func (t *ListRecentAnime_Page_AiringSchedules) GetTimeUntilAiring() int { + if t == nil { + t = &ListRecentAnime_Page_AiringSchedules{} + } + return t.TimeUntilAiring +} type ListRecentAnime_Page struct { - PageInfo *ListRecentAnime_Page_PageInfo "json:\"pageInfo,omitempty\" graphql:\"pageInfo\"" AiringSchedules []*ListRecentAnime_Page_AiringSchedules "json:\"airingSchedules,omitempty\" graphql:\"airingSchedules\"" + PageInfo *ListRecentAnime_Page_PageInfo "json:\"pageInfo,omitempty\" graphql:\"pageInfo\"" } -func (t *ListRecentAnime_Page) GetPageInfo() *ListRecentAnime_Page_PageInfo { - if t == nil { - t = &ListRecentAnime_Page{} - } - return t.PageInfo -} func (t *ListRecentAnime_Page) GetAiringSchedules() []*ListRecentAnime_Page_AiringSchedules { if t == nil { t = &ListRecentAnime_Page{} } return t.AiringSchedules } +func (t *ListRecentAnime_Page) GetPageInfo() *ListRecentAnime_Page_PageInfo { + if t == nil { + t = &ListRecentAnime_Page{} + } + return t.PageInfo +} type AnimeAiringSchedule_Ongoing_Media_AnimeSchedule_Previous_Nodes struct { AiringAt int "json:\"airingAt\" graphql:\"airingAt\"" - TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" Episode int "json:\"episode\" graphql:\"episode\"" + TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" } func (t *AnimeAiringSchedule_Ongoing_Media_AnimeSchedule_Previous_Nodes) GetAiringAt() int { @@ -4862,18 +4861,18 @@ func (t *AnimeAiringSchedule_Ongoing_Media_AnimeSchedule_Previous_Nodes) GetAiri } return t.AiringAt } -func (t *AnimeAiringSchedule_Ongoing_Media_AnimeSchedule_Previous_Nodes) GetTimeUntilAiring() int { - if t == nil { - t = &AnimeAiringSchedule_Ongoing_Media_AnimeSchedule_Previous_Nodes{} - } - return t.TimeUntilAiring -} func (t *AnimeAiringSchedule_Ongoing_Media_AnimeSchedule_Previous_Nodes) GetEpisode() int { if t == nil { t = &AnimeAiringSchedule_Ongoing_Media_AnimeSchedule_Previous_Nodes{} } return t.Episode } +func (t *AnimeAiringSchedule_Ongoing_Media_AnimeSchedule_Previous_Nodes) GetTimeUntilAiring() int { + if t == nil { + t = &AnimeAiringSchedule_Ongoing_Media_AnimeSchedule_Previous_Nodes{} + } + return t.TimeUntilAiring +} type AnimeAiringSchedule_Ongoing_Media_AnimeSchedule_Previous struct { Nodes []*AnimeAiringSchedule_Ongoing_Media_AnimeSchedule_Previous_Nodes "json:\"nodes,omitempty\" graphql:\"nodes\"" @@ -4888,8 +4887,8 @@ func (t *AnimeAiringSchedule_Ongoing_Media_AnimeSchedule_Previous) GetNodes() [] type AnimeAiringSchedule_Ongoing_Media_AnimeSchedule_Upcoming_Nodes struct { AiringAt int "json:\"airingAt\" graphql:\"airingAt\"" - TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" Episode int "json:\"episode\" graphql:\"episode\"" + TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" } func (t *AnimeAiringSchedule_Ongoing_Media_AnimeSchedule_Upcoming_Nodes) GetAiringAt() int { @@ -4898,18 +4897,18 @@ func (t *AnimeAiringSchedule_Ongoing_Media_AnimeSchedule_Upcoming_Nodes) GetAiri } return t.AiringAt } -func (t *AnimeAiringSchedule_Ongoing_Media_AnimeSchedule_Upcoming_Nodes) GetTimeUntilAiring() int { - if t == nil { - t = &AnimeAiringSchedule_Ongoing_Media_AnimeSchedule_Upcoming_Nodes{} - } - return t.TimeUntilAiring -} func (t *AnimeAiringSchedule_Ongoing_Media_AnimeSchedule_Upcoming_Nodes) GetEpisode() int { if t == nil { t = &AnimeAiringSchedule_Ongoing_Media_AnimeSchedule_Upcoming_Nodes{} } return t.Episode } +func (t *AnimeAiringSchedule_Ongoing_Media_AnimeSchedule_Upcoming_Nodes) GetTimeUntilAiring() int { + if t == nil { + t = &AnimeAiringSchedule_Ongoing_Media_AnimeSchedule_Upcoming_Nodes{} + } + return t.TimeUntilAiring +} type AnimeAiringSchedule_Ongoing_Media_AnimeSchedule_Upcoming struct { Nodes []*AnimeAiringSchedule_Ongoing_Media_AnimeSchedule_Upcoming_Nodes "json:\"nodes,omitempty\" graphql:\"nodes\"" @@ -4935,8 +4934,8 @@ func (t *AnimeAiringSchedule_Ongoing) GetMedia() []*AnimeSchedule { type AnimeAiringSchedule_OngoingNext_Media_AnimeSchedule_Previous_Nodes struct { AiringAt int "json:\"airingAt\" graphql:\"airingAt\"" - TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" Episode int "json:\"episode\" graphql:\"episode\"" + TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" } func (t *AnimeAiringSchedule_OngoingNext_Media_AnimeSchedule_Previous_Nodes) GetAiringAt() int { @@ -4945,18 +4944,18 @@ func (t *AnimeAiringSchedule_OngoingNext_Media_AnimeSchedule_Previous_Nodes) Get } return t.AiringAt } -func (t *AnimeAiringSchedule_OngoingNext_Media_AnimeSchedule_Previous_Nodes) GetTimeUntilAiring() int { - if t == nil { - t = &AnimeAiringSchedule_OngoingNext_Media_AnimeSchedule_Previous_Nodes{} - } - return t.TimeUntilAiring -} func (t *AnimeAiringSchedule_OngoingNext_Media_AnimeSchedule_Previous_Nodes) GetEpisode() int { if t == nil { t = &AnimeAiringSchedule_OngoingNext_Media_AnimeSchedule_Previous_Nodes{} } return t.Episode } +func (t *AnimeAiringSchedule_OngoingNext_Media_AnimeSchedule_Previous_Nodes) GetTimeUntilAiring() int { + if t == nil { + t = &AnimeAiringSchedule_OngoingNext_Media_AnimeSchedule_Previous_Nodes{} + } + return t.TimeUntilAiring +} type AnimeAiringSchedule_OngoingNext_Media_AnimeSchedule_Previous struct { Nodes []*AnimeAiringSchedule_OngoingNext_Media_AnimeSchedule_Previous_Nodes "json:\"nodes,omitempty\" graphql:\"nodes\"" @@ -4971,8 +4970,8 @@ func (t *AnimeAiringSchedule_OngoingNext_Media_AnimeSchedule_Previous) GetNodes( type AnimeAiringSchedule_OngoingNext_Media_AnimeSchedule_Upcoming_Nodes struct { AiringAt int "json:\"airingAt\" graphql:\"airingAt\"" - TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" Episode int "json:\"episode\" graphql:\"episode\"" + TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" } func (t *AnimeAiringSchedule_OngoingNext_Media_AnimeSchedule_Upcoming_Nodes) GetAiringAt() int { @@ -4981,18 +4980,18 @@ func (t *AnimeAiringSchedule_OngoingNext_Media_AnimeSchedule_Upcoming_Nodes) Get } return t.AiringAt } -func (t *AnimeAiringSchedule_OngoingNext_Media_AnimeSchedule_Upcoming_Nodes) GetTimeUntilAiring() int { - if t == nil { - t = &AnimeAiringSchedule_OngoingNext_Media_AnimeSchedule_Upcoming_Nodes{} - } - return t.TimeUntilAiring -} func (t *AnimeAiringSchedule_OngoingNext_Media_AnimeSchedule_Upcoming_Nodes) GetEpisode() int { if t == nil { t = &AnimeAiringSchedule_OngoingNext_Media_AnimeSchedule_Upcoming_Nodes{} } return t.Episode } +func (t *AnimeAiringSchedule_OngoingNext_Media_AnimeSchedule_Upcoming_Nodes) GetTimeUntilAiring() int { + if t == nil { + t = &AnimeAiringSchedule_OngoingNext_Media_AnimeSchedule_Upcoming_Nodes{} + } + return t.TimeUntilAiring +} type AnimeAiringSchedule_OngoingNext_Media_AnimeSchedule_Upcoming struct { Nodes []*AnimeAiringSchedule_OngoingNext_Media_AnimeSchedule_Upcoming_Nodes "json:\"nodes,omitempty\" graphql:\"nodes\"" @@ -5018,8 +5017,8 @@ func (t *AnimeAiringSchedule_OngoingNext) GetMedia() []*AnimeSchedule { type AnimeAiringSchedule_Upcoming_Media_AnimeSchedule_Previous_Nodes struct { AiringAt int "json:\"airingAt\" graphql:\"airingAt\"" - TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" Episode int "json:\"episode\" graphql:\"episode\"" + TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" } func (t *AnimeAiringSchedule_Upcoming_Media_AnimeSchedule_Previous_Nodes) GetAiringAt() int { @@ -5028,18 +5027,18 @@ func (t *AnimeAiringSchedule_Upcoming_Media_AnimeSchedule_Previous_Nodes) GetAir } return t.AiringAt } -func (t *AnimeAiringSchedule_Upcoming_Media_AnimeSchedule_Previous_Nodes) GetTimeUntilAiring() int { - if t == nil { - t = &AnimeAiringSchedule_Upcoming_Media_AnimeSchedule_Previous_Nodes{} - } - return t.TimeUntilAiring -} func (t *AnimeAiringSchedule_Upcoming_Media_AnimeSchedule_Previous_Nodes) GetEpisode() int { if t == nil { t = &AnimeAiringSchedule_Upcoming_Media_AnimeSchedule_Previous_Nodes{} } return t.Episode } +func (t *AnimeAiringSchedule_Upcoming_Media_AnimeSchedule_Previous_Nodes) GetTimeUntilAiring() int { + if t == nil { + t = &AnimeAiringSchedule_Upcoming_Media_AnimeSchedule_Previous_Nodes{} + } + return t.TimeUntilAiring +} type AnimeAiringSchedule_Upcoming_Media_AnimeSchedule_Previous struct { Nodes []*AnimeAiringSchedule_Upcoming_Media_AnimeSchedule_Previous_Nodes "json:\"nodes,omitempty\" graphql:\"nodes\"" @@ -5054,8 +5053,8 @@ func (t *AnimeAiringSchedule_Upcoming_Media_AnimeSchedule_Previous) GetNodes() [ type AnimeAiringSchedule_Upcoming_Media_AnimeSchedule_Upcoming_Nodes struct { AiringAt int "json:\"airingAt\" graphql:\"airingAt\"" - TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" Episode int "json:\"episode\" graphql:\"episode\"" + TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" } func (t *AnimeAiringSchedule_Upcoming_Media_AnimeSchedule_Upcoming_Nodes) GetAiringAt() int { @@ -5064,18 +5063,18 @@ func (t *AnimeAiringSchedule_Upcoming_Media_AnimeSchedule_Upcoming_Nodes) GetAir } return t.AiringAt } -func (t *AnimeAiringSchedule_Upcoming_Media_AnimeSchedule_Upcoming_Nodes) GetTimeUntilAiring() int { - if t == nil { - t = &AnimeAiringSchedule_Upcoming_Media_AnimeSchedule_Upcoming_Nodes{} - } - return t.TimeUntilAiring -} func (t *AnimeAiringSchedule_Upcoming_Media_AnimeSchedule_Upcoming_Nodes) GetEpisode() int { if t == nil { t = &AnimeAiringSchedule_Upcoming_Media_AnimeSchedule_Upcoming_Nodes{} } return t.Episode } +func (t *AnimeAiringSchedule_Upcoming_Media_AnimeSchedule_Upcoming_Nodes) GetTimeUntilAiring() int { + if t == nil { + t = &AnimeAiringSchedule_Upcoming_Media_AnimeSchedule_Upcoming_Nodes{} + } + return t.TimeUntilAiring +} type AnimeAiringSchedule_Upcoming_Media_AnimeSchedule_Upcoming struct { Nodes []*AnimeAiringSchedule_Upcoming_Media_AnimeSchedule_Upcoming_Nodes "json:\"nodes,omitempty\" graphql:\"nodes\"" @@ -5101,8 +5100,8 @@ func (t *AnimeAiringSchedule_Upcoming) GetMedia() []*AnimeSchedule { type AnimeAiringSchedule_UpcomingNext_Media_AnimeSchedule_Previous_Nodes struct { AiringAt int "json:\"airingAt\" graphql:\"airingAt\"" - TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" Episode int "json:\"episode\" graphql:\"episode\"" + TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" } func (t *AnimeAiringSchedule_UpcomingNext_Media_AnimeSchedule_Previous_Nodes) GetAiringAt() int { @@ -5111,18 +5110,18 @@ func (t *AnimeAiringSchedule_UpcomingNext_Media_AnimeSchedule_Previous_Nodes) Ge } return t.AiringAt } -func (t *AnimeAiringSchedule_UpcomingNext_Media_AnimeSchedule_Previous_Nodes) GetTimeUntilAiring() int { - if t == nil { - t = &AnimeAiringSchedule_UpcomingNext_Media_AnimeSchedule_Previous_Nodes{} - } - return t.TimeUntilAiring -} func (t *AnimeAiringSchedule_UpcomingNext_Media_AnimeSchedule_Previous_Nodes) GetEpisode() int { if t == nil { t = &AnimeAiringSchedule_UpcomingNext_Media_AnimeSchedule_Previous_Nodes{} } return t.Episode } +func (t *AnimeAiringSchedule_UpcomingNext_Media_AnimeSchedule_Previous_Nodes) GetTimeUntilAiring() int { + if t == nil { + t = &AnimeAiringSchedule_UpcomingNext_Media_AnimeSchedule_Previous_Nodes{} + } + return t.TimeUntilAiring +} type AnimeAiringSchedule_UpcomingNext_Media_AnimeSchedule_Previous struct { Nodes []*AnimeAiringSchedule_UpcomingNext_Media_AnimeSchedule_Previous_Nodes "json:\"nodes,omitempty\" graphql:\"nodes\"" @@ -5137,8 +5136,8 @@ func (t *AnimeAiringSchedule_UpcomingNext_Media_AnimeSchedule_Previous) GetNodes type AnimeAiringSchedule_UpcomingNext_Media_AnimeSchedule_Upcoming_Nodes struct { AiringAt int "json:\"airingAt\" graphql:\"airingAt\"" - TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" Episode int "json:\"episode\" graphql:\"episode\"" + TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" } func (t *AnimeAiringSchedule_UpcomingNext_Media_AnimeSchedule_Upcoming_Nodes) GetAiringAt() int { @@ -5147,18 +5146,18 @@ func (t *AnimeAiringSchedule_UpcomingNext_Media_AnimeSchedule_Upcoming_Nodes) Ge } return t.AiringAt } -func (t *AnimeAiringSchedule_UpcomingNext_Media_AnimeSchedule_Upcoming_Nodes) GetTimeUntilAiring() int { - if t == nil { - t = &AnimeAiringSchedule_UpcomingNext_Media_AnimeSchedule_Upcoming_Nodes{} - } - return t.TimeUntilAiring -} func (t *AnimeAiringSchedule_UpcomingNext_Media_AnimeSchedule_Upcoming_Nodes) GetEpisode() int { if t == nil { t = &AnimeAiringSchedule_UpcomingNext_Media_AnimeSchedule_Upcoming_Nodes{} } return t.Episode } +func (t *AnimeAiringSchedule_UpcomingNext_Media_AnimeSchedule_Upcoming_Nodes) GetTimeUntilAiring() int { + if t == nil { + t = &AnimeAiringSchedule_UpcomingNext_Media_AnimeSchedule_Upcoming_Nodes{} + } + return t.TimeUntilAiring +} type AnimeAiringSchedule_UpcomingNext_Media_AnimeSchedule_Upcoming struct { Nodes []*AnimeAiringSchedule_UpcomingNext_Media_AnimeSchedule_Upcoming_Nodes "json:\"nodes,omitempty\" graphql:\"nodes\"" @@ -5184,8 +5183,8 @@ func (t *AnimeAiringSchedule_UpcomingNext) GetMedia() []*AnimeSchedule { type AnimeAiringSchedule_Preceding_Media_AnimeSchedule_Previous_Nodes struct { AiringAt int "json:\"airingAt\" graphql:\"airingAt\"" - TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" Episode int "json:\"episode\" graphql:\"episode\"" + TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" } func (t *AnimeAiringSchedule_Preceding_Media_AnimeSchedule_Previous_Nodes) GetAiringAt() int { @@ -5194,18 +5193,18 @@ func (t *AnimeAiringSchedule_Preceding_Media_AnimeSchedule_Previous_Nodes) GetAi } return t.AiringAt } -func (t *AnimeAiringSchedule_Preceding_Media_AnimeSchedule_Previous_Nodes) GetTimeUntilAiring() int { - if t == nil { - t = &AnimeAiringSchedule_Preceding_Media_AnimeSchedule_Previous_Nodes{} - } - return t.TimeUntilAiring -} func (t *AnimeAiringSchedule_Preceding_Media_AnimeSchedule_Previous_Nodes) GetEpisode() int { if t == nil { t = &AnimeAiringSchedule_Preceding_Media_AnimeSchedule_Previous_Nodes{} } return t.Episode } +func (t *AnimeAiringSchedule_Preceding_Media_AnimeSchedule_Previous_Nodes) GetTimeUntilAiring() int { + if t == nil { + t = &AnimeAiringSchedule_Preceding_Media_AnimeSchedule_Previous_Nodes{} + } + return t.TimeUntilAiring +} type AnimeAiringSchedule_Preceding_Media_AnimeSchedule_Previous struct { Nodes []*AnimeAiringSchedule_Preceding_Media_AnimeSchedule_Previous_Nodes "json:\"nodes,omitempty\" graphql:\"nodes\"" @@ -5220,8 +5219,8 @@ func (t *AnimeAiringSchedule_Preceding_Media_AnimeSchedule_Previous) GetNodes() type AnimeAiringSchedule_Preceding_Media_AnimeSchedule_Upcoming_Nodes struct { AiringAt int "json:\"airingAt\" graphql:\"airingAt\"" - TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" Episode int "json:\"episode\" graphql:\"episode\"" + TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" } func (t *AnimeAiringSchedule_Preceding_Media_AnimeSchedule_Upcoming_Nodes) GetAiringAt() int { @@ -5230,18 +5229,18 @@ func (t *AnimeAiringSchedule_Preceding_Media_AnimeSchedule_Upcoming_Nodes) GetAi } return t.AiringAt } -func (t *AnimeAiringSchedule_Preceding_Media_AnimeSchedule_Upcoming_Nodes) GetTimeUntilAiring() int { - if t == nil { - t = &AnimeAiringSchedule_Preceding_Media_AnimeSchedule_Upcoming_Nodes{} - } - return t.TimeUntilAiring -} func (t *AnimeAiringSchedule_Preceding_Media_AnimeSchedule_Upcoming_Nodes) GetEpisode() int { if t == nil { t = &AnimeAiringSchedule_Preceding_Media_AnimeSchedule_Upcoming_Nodes{} } return t.Episode } +func (t *AnimeAiringSchedule_Preceding_Media_AnimeSchedule_Upcoming_Nodes) GetTimeUntilAiring() int { + if t == nil { + t = &AnimeAiringSchedule_Preceding_Media_AnimeSchedule_Upcoming_Nodes{} + } + return t.TimeUntilAiring +} type AnimeAiringSchedule_Preceding_Media_AnimeSchedule_Upcoming struct { Nodes []*AnimeAiringSchedule_Preceding_Media_AnimeSchedule_Upcoming_Nodes "json:\"nodes,omitempty\" graphql:\"nodes\"" @@ -5267,8 +5266,8 @@ func (t *AnimeAiringSchedule_Preceding) GetMedia() []*AnimeSchedule { type AnimeAiringScheduleRaw_Page_Media_AnimeSchedule_Previous_Nodes struct { AiringAt int "json:\"airingAt\" graphql:\"airingAt\"" - TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" Episode int "json:\"episode\" graphql:\"episode\"" + TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" } func (t *AnimeAiringScheduleRaw_Page_Media_AnimeSchedule_Previous_Nodes) GetAiringAt() int { @@ -5277,18 +5276,18 @@ func (t *AnimeAiringScheduleRaw_Page_Media_AnimeSchedule_Previous_Nodes) GetAiri } return t.AiringAt } -func (t *AnimeAiringScheduleRaw_Page_Media_AnimeSchedule_Previous_Nodes) GetTimeUntilAiring() int { - if t == nil { - t = &AnimeAiringScheduleRaw_Page_Media_AnimeSchedule_Previous_Nodes{} - } - return t.TimeUntilAiring -} func (t *AnimeAiringScheduleRaw_Page_Media_AnimeSchedule_Previous_Nodes) GetEpisode() int { if t == nil { t = &AnimeAiringScheduleRaw_Page_Media_AnimeSchedule_Previous_Nodes{} } return t.Episode } +func (t *AnimeAiringScheduleRaw_Page_Media_AnimeSchedule_Previous_Nodes) GetTimeUntilAiring() int { + if t == nil { + t = &AnimeAiringScheduleRaw_Page_Media_AnimeSchedule_Previous_Nodes{} + } + return t.TimeUntilAiring +} type AnimeAiringScheduleRaw_Page_Media_AnimeSchedule_Previous struct { Nodes []*AnimeAiringScheduleRaw_Page_Media_AnimeSchedule_Previous_Nodes "json:\"nodes,omitempty\" graphql:\"nodes\"" @@ -5303,8 +5302,8 @@ func (t *AnimeAiringScheduleRaw_Page_Media_AnimeSchedule_Previous) GetNodes() [] type AnimeAiringScheduleRaw_Page_Media_AnimeSchedule_Upcoming_Nodes struct { AiringAt int "json:\"airingAt\" graphql:\"airingAt\"" - TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" Episode int "json:\"episode\" graphql:\"episode\"" + TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" } func (t *AnimeAiringScheduleRaw_Page_Media_AnimeSchedule_Upcoming_Nodes) GetAiringAt() int { @@ -5313,18 +5312,18 @@ func (t *AnimeAiringScheduleRaw_Page_Media_AnimeSchedule_Upcoming_Nodes) GetAiri } return t.AiringAt } -func (t *AnimeAiringScheduleRaw_Page_Media_AnimeSchedule_Upcoming_Nodes) GetTimeUntilAiring() int { - if t == nil { - t = &AnimeAiringScheduleRaw_Page_Media_AnimeSchedule_Upcoming_Nodes{} - } - return t.TimeUntilAiring -} func (t *AnimeAiringScheduleRaw_Page_Media_AnimeSchedule_Upcoming_Nodes) GetEpisode() int { if t == nil { t = &AnimeAiringScheduleRaw_Page_Media_AnimeSchedule_Upcoming_Nodes{} } return t.Episode } +func (t *AnimeAiringScheduleRaw_Page_Media_AnimeSchedule_Upcoming_Nodes) GetTimeUntilAiring() int { + if t == nil { + t = &AnimeAiringScheduleRaw_Page_Media_AnimeSchedule_Upcoming_Nodes{} + } + return t.TimeUntilAiring +} type AnimeAiringScheduleRaw_Page_Media_AnimeSchedule_Upcoming struct { Nodes []*AnimeAiringScheduleRaw_Page_Media_AnimeSchedule_Upcoming_Nodes "json:\"nodes,omitempty\" graphql:\"nodes\"" @@ -5393,16 +5392,16 @@ func (t *UpdateMediaListEntryRepeat_SaveMediaListEntry) GetID() int { } type MangaCollection_MediaListCollection_Lists_Entries_StartedAt struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *MangaCollection_MediaListCollection_Lists_Entries_StartedAt) GetYear() *int { +func (t *MangaCollection_MediaListCollection_Lists_Entries_StartedAt) GetDay() *int { if t == nil { t = &MangaCollection_MediaListCollection_Lists_Entries_StartedAt{} } - return t.Year + return t.Day } func (t *MangaCollection_MediaListCollection_Lists_Entries_StartedAt) GetMonth() *int { if t == nil { @@ -5410,24 +5409,24 @@ func (t *MangaCollection_MediaListCollection_Lists_Entries_StartedAt) GetMonth() } return t.Month } -func (t *MangaCollection_MediaListCollection_Lists_Entries_StartedAt) GetDay() *int { +func (t *MangaCollection_MediaListCollection_Lists_Entries_StartedAt) GetYear() *int { if t == nil { t = &MangaCollection_MediaListCollection_Lists_Entries_StartedAt{} } - return t.Day + return t.Year } type MangaCollection_MediaListCollection_Lists_Entries_CompletedAt struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *MangaCollection_MediaListCollection_Lists_Entries_CompletedAt) GetYear() *int { +func (t *MangaCollection_MediaListCollection_Lists_Entries_CompletedAt) GetDay() *int { if t == nil { t = &MangaCollection_MediaListCollection_Lists_Entries_CompletedAt{} } - return t.Year + return t.Day } func (t *MangaCollection_MediaListCollection_Lists_Entries_CompletedAt) GetMonth() *int { if t == nil { @@ -5435,32 +5434,20 @@ func (t *MangaCollection_MediaListCollection_Lists_Entries_CompletedAt) GetMonth } return t.Month } -func (t *MangaCollection_MediaListCollection_Lists_Entries_CompletedAt) GetDay() *int { +func (t *MangaCollection_MediaListCollection_Lists_Entries_CompletedAt) GetYear() *int { if t == nil { t = &MangaCollection_MediaListCollection_Lists_Entries_CompletedAt{} } - return t.Day + return t.Year } type MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_Title struct { - UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" - Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" English *string "json:\"english,omitempty\" graphql:\"english\"" Native *string "json:\"native,omitempty\" graphql:\"native\"" + Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" + UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" } -func (t *MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_Title) GetUserPreferred() *string { - if t == nil { - t = &MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_Title{} - } - return t.UserPreferred -} -func (t *MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_Title) GetRomaji() *string { - if t == nil { - t = &MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_Title{} - } - return t.Romaji -} func (t *MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_Title) GetEnglish() *string { if t == nil { t = &MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_Title{} @@ -5473,14 +5460,32 @@ func (t *MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_Title } return t.Native } +func (t *MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_Title) GetRomaji() *string { + if t == nil { + t = &MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_Title{} + } + return t.Romaji +} +func (t *MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_Title) GetUserPreferred() *string { + if t == nil { + t = &MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_Title{} + } + return t.UserPreferred +} type MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_CoverImage struct { + Color *string "json:\"color,omitempty\" graphql:\"color\"" ExtraLarge *string "json:\"extraLarge,omitempty\" graphql:\"extraLarge\"" Large *string "json:\"large,omitempty\" graphql:\"large\"" Medium *string "json:\"medium,omitempty\" graphql:\"medium\"" - Color *string "json:\"color,omitempty\" graphql:\"color\"" } +func (t *MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_CoverImage) GetColor() *string { + if t == nil { + t = &MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_CoverImage{} + } + return t.Color +} func (t *MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_CoverImage) GetExtraLarge() *string { if t == nil { t = &MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_CoverImage{} @@ -5499,24 +5504,18 @@ func (t *MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_Cover } return t.Medium } -func (t *MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_CoverImage) GetColor() *string { - if t == nil { - t = &MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_CoverImage{} - } - return t.Color -} type MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_StartDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_StartDate) GetYear() *int { +func (t *MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_StartDate) GetDay() *int { if t == nil { t = &MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_StartDate{} } - return t.Year + return t.Day } func (t *MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_StartDate) GetMonth() *int { if t == nil { @@ -5524,24 +5523,24 @@ func (t *MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_Start } return t.Month } -func (t *MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_StartDate) GetDay() *int { +func (t *MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_StartDate) GetYear() *int { if t == nil { t = &MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_StartDate{} } - return t.Day + return t.Year } type MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_EndDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_EndDate) GetYear() *int { +func (t *MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_EndDate) GetDay() *int { if t == nil { t = &MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_EndDate{} } - return t.Year + return t.Day } func (t *MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_EndDate) GetMonth() *int { if t == nil { @@ -5549,105 +5548,99 @@ func (t *MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_EndDa } return t.Month } -func (t *MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_EndDate) GetDay() *int { +func (t *MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_EndDate) GetYear() *int { if t == nil { t = &MangaCollection_MediaListCollection_Lists_Entries_Media_BaseManga_EndDate{} } - return t.Day + return t.Year } type MangaCollection_MediaListCollection_Lists_Entries struct { - ID int "json:\"id\" graphql:\"id\"" - Score *float64 "json:\"score,omitempty\" graphql:\"score\"" - Progress *int "json:\"progress,omitempty\" graphql:\"progress\"" - Status *MediaListStatus "json:\"status,omitempty\" graphql:\"status\"" - Notes *string "json:\"notes,omitempty\" graphql:\"notes\"" - Repeat *int "json:\"repeat,omitempty\" graphql:\"repeat\"" - Private *bool "json:\"private,omitempty\" graphql:\"private\"" - StartedAt *MangaCollection_MediaListCollection_Lists_Entries_StartedAt "json:\"startedAt,omitempty\" graphql:\"startedAt\"" CompletedAt *MangaCollection_MediaListCollection_Lists_Entries_CompletedAt "json:\"completedAt,omitempty\" graphql:\"completedAt\"" + ID int "json:\"id\" graphql:\"id\"" Media *BaseManga "json:\"media,omitempty\" graphql:\"media\"" + Notes *string "json:\"notes,omitempty\" graphql:\"notes\"" + Private *bool "json:\"private,omitempty\" graphql:\"private\"" + Progress *int "json:\"progress,omitempty\" graphql:\"progress\"" + Repeat *int "json:\"repeat,omitempty\" graphql:\"repeat\"" + Score *float64 "json:\"score,omitempty\" graphql:\"score\"" + StartedAt *MangaCollection_MediaListCollection_Lists_Entries_StartedAt "json:\"startedAt,omitempty\" graphql:\"startedAt\"" + Status *MediaListStatus "json:\"status,omitempty\" graphql:\"status\"" } -func (t *MangaCollection_MediaListCollection_Lists_Entries) GetID() int { - if t == nil { - t = &MangaCollection_MediaListCollection_Lists_Entries{} - } - return t.ID -} -func (t *MangaCollection_MediaListCollection_Lists_Entries) GetScore() *float64 { - if t == nil { - t = &MangaCollection_MediaListCollection_Lists_Entries{} - } - return t.Score -} -func (t *MangaCollection_MediaListCollection_Lists_Entries) GetProgress() *int { - if t == nil { - t = &MangaCollection_MediaListCollection_Lists_Entries{} - } - return t.Progress -} -func (t *MangaCollection_MediaListCollection_Lists_Entries) GetStatus() *MediaListStatus { - if t == nil { - t = &MangaCollection_MediaListCollection_Lists_Entries{} - } - return t.Status -} -func (t *MangaCollection_MediaListCollection_Lists_Entries) GetNotes() *string { - if t == nil { - t = &MangaCollection_MediaListCollection_Lists_Entries{} - } - return t.Notes -} -func (t *MangaCollection_MediaListCollection_Lists_Entries) GetRepeat() *int { - if t == nil { - t = &MangaCollection_MediaListCollection_Lists_Entries{} - } - return t.Repeat -} -func (t *MangaCollection_MediaListCollection_Lists_Entries) GetPrivate() *bool { - if t == nil { - t = &MangaCollection_MediaListCollection_Lists_Entries{} - } - return t.Private -} -func (t *MangaCollection_MediaListCollection_Lists_Entries) GetStartedAt() *MangaCollection_MediaListCollection_Lists_Entries_StartedAt { - if t == nil { - t = &MangaCollection_MediaListCollection_Lists_Entries{} - } - return t.StartedAt -} func (t *MangaCollection_MediaListCollection_Lists_Entries) GetCompletedAt() *MangaCollection_MediaListCollection_Lists_Entries_CompletedAt { if t == nil { t = &MangaCollection_MediaListCollection_Lists_Entries{} } return t.CompletedAt } +func (t *MangaCollection_MediaListCollection_Lists_Entries) GetID() int { + if t == nil { + t = &MangaCollection_MediaListCollection_Lists_Entries{} + } + return t.ID +} func (t *MangaCollection_MediaListCollection_Lists_Entries) GetMedia() *BaseManga { if t == nil { t = &MangaCollection_MediaListCollection_Lists_Entries{} } return t.Media } - -type MangaCollection_MediaListCollection_Lists struct { - Status *MediaListStatus "json:\"status,omitempty\" graphql:\"status\"" - Name *string "json:\"name,omitempty\" graphql:\"name\"" - IsCustomList *bool "json:\"isCustomList,omitempty\" graphql:\"isCustomList\"" - Entries []*MangaCollection_MediaListCollection_Lists_Entries "json:\"entries,omitempty\" graphql:\"entries\"" -} - -func (t *MangaCollection_MediaListCollection_Lists) GetStatus() *MediaListStatus { +func (t *MangaCollection_MediaListCollection_Lists_Entries) GetNotes() *string { if t == nil { - t = &MangaCollection_MediaListCollection_Lists{} + t = &MangaCollection_MediaListCollection_Lists_Entries{} + } + return t.Notes +} +func (t *MangaCollection_MediaListCollection_Lists_Entries) GetPrivate() *bool { + if t == nil { + t = &MangaCollection_MediaListCollection_Lists_Entries{} + } + return t.Private +} +func (t *MangaCollection_MediaListCollection_Lists_Entries) GetProgress() *int { + if t == nil { + t = &MangaCollection_MediaListCollection_Lists_Entries{} + } + return t.Progress +} +func (t *MangaCollection_MediaListCollection_Lists_Entries) GetRepeat() *int { + if t == nil { + t = &MangaCollection_MediaListCollection_Lists_Entries{} + } + return t.Repeat +} +func (t *MangaCollection_MediaListCollection_Lists_Entries) GetScore() *float64 { + if t == nil { + t = &MangaCollection_MediaListCollection_Lists_Entries{} + } + return t.Score +} +func (t *MangaCollection_MediaListCollection_Lists_Entries) GetStartedAt() *MangaCollection_MediaListCollection_Lists_Entries_StartedAt { + if t == nil { + t = &MangaCollection_MediaListCollection_Lists_Entries{} + } + return t.StartedAt +} +func (t *MangaCollection_MediaListCollection_Lists_Entries) GetStatus() *MediaListStatus { + if t == nil { + t = &MangaCollection_MediaListCollection_Lists_Entries{} } return t.Status } -func (t *MangaCollection_MediaListCollection_Lists) GetName() *string { + +type MangaCollection_MediaListCollection_Lists struct { + Entries []*MangaCollection_MediaListCollection_Lists_Entries "json:\"entries,omitempty\" graphql:\"entries\"" + IsCustomList *bool "json:\"isCustomList,omitempty\" graphql:\"isCustomList\"" + Name *string "json:\"name,omitempty\" graphql:\"name\"" + Status *MediaListStatus "json:\"status,omitempty\" graphql:\"status\"" +} + +func (t *MangaCollection_MediaListCollection_Lists) GetEntries() []*MangaCollection_MediaListCollection_Lists_Entries { if t == nil { t = &MangaCollection_MediaListCollection_Lists{} } - return t.Name + return t.Entries } func (t *MangaCollection_MediaListCollection_Lists) GetIsCustomList() *bool { if t == nil { @@ -5655,11 +5648,17 @@ func (t *MangaCollection_MediaListCollection_Lists) GetIsCustomList() *bool { } return t.IsCustomList } -func (t *MangaCollection_MediaListCollection_Lists) GetEntries() []*MangaCollection_MediaListCollection_Lists_Entries { +func (t *MangaCollection_MediaListCollection_Lists) GetName() *string { if t == nil { t = &MangaCollection_MediaListCollection_Lists{} } - return t.Entries + return t.Name +} +func (t *MangaCollection_MediaListCollection_Lists) GetStatus() *MediaListStatus { + if t == nil { + t = &MangaCollection_MediaListCollection_Lists{} + } + return t.Status } type MangaCollection_MediaListCollection struct { @@ -5685,24 +5684,12 @@ func (t *SearchBaseManga_Page_PageInfo) GetHasNextPage() *bool { } type SearchBaseManga_Page_Media_BaseManga_Title struct { - UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" - Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" English *string "json:\"english,omitempty\" graphql:\"english\"" Native *string "json:\"native,omitempty\" graphql:\"native\"" + Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" + UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" } -func (t *SearchBaseManga_Page_Media_BaseManga_Title) GetUserPreferred() *string { - if t == nil { - t = &SearchBaseManga_Page_Media_BaseManga_Title{} - } - return t.UserPreferred -} -func (t *SearchBaseManga_Page_Media_BaseManga_Title) GetRomaji() *string { - if t == nil { - t = &SearchBaseManga_Page_Media_BaseManga_Title{} - } - return t.Romaji -} func (t *SearchBaseManga_Page_Media_BaseManga_Title) GetEnglish() *string { if t == nil { t = &SearchBaseManga_Page_Media_BaseManga_Title{} @@ -5715,14 +5702,32 @@ func (t *SearchBaseManga_Page_Media_BaseManga_Title) GetNative() *string { } return t.Native } +func (t *SearchBaseManga_Page_Media_BaseManga_Title) GetRomaji() *string { + if t == nil { + t = &SearchBaseManga_Page_Media_BaseManga_Title{} + } + return t.Romaji +} +func (t *SearchBaseManga_Page_Media_BaseManga_Title) GetUserPreferred() *string { + if t == nil { + t = &SearchBaseManga_Page_Media_BaseManga_Title{} + } + return t.UserPreferred +} type SearchBaseManga_Page_Media_BaseManga_CoverImage struct { + Color *string "json:\"color,omitempty\" graphql:\"color\"" ExtraLarge *string "json:\"extraLarge,omitempty\" graphql:\"extraLarge\"" Large *string "json:\"large,omitempty\" graphql:\"large\"" Medium *string "json:\"medium,omitempty\" graphql:\"medium\"" - Color *string "json:\"color,omitempty\" graphql:\"color\"" } +func (t *SearchBaseManga_Page_Media_BaseManga_CoverImage) GetColor() *string { + if t == nil { + t = &SearchBaseManga_Page_Media_BaseManga_CoverImage{} + } + return t.Color +} func (t *SearchBaseManga_Page_Media_BaseManga_CoverImage) GetExtraLarge() *string { if t == nil { t = &SearchBaseManga_Page_Media_BaseManga_CoverImage{} @@ -5741,24 +5746,18 @@ func (t *SearchBaseManga_Page_Media_BaseManga_CoverImage) GetMedium() *string { } return t.Medium } -func (t *SearchBaseManga_Page_Media_BaseManga_CoverImage) GetColor() *string { - if t == nil { - t = &SearchBaseManga_Page_Media_BaseManga_CoverImage{} - } - return t.Color -} type SearchBaseManga_Page_Media_BaseManga_StartDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *SearchBaseManga_Page_Media_BaseManga_StartDate) GetYear() *int { +func (t *SearchBaseManga_Page_Media_BaseManga_StartDate) GetDay() *int { if t == nil { t = &SearchBaseManga_Page_Media_BaseManga_StartDate{} } - return t.Year + return t.Day } func (t *SearchBaseManga_Page_Media_BaseManga_StartDate) GetMonth() *int { if t == nil { @@ -5766,24 +5765,24 @@ func (t *SearchBaseManga_Page_Media_BaseManga_StartDate) GetMonth() *int { } return t.Month } -func (t *SearchBaseManga_Page_Media_BaseManga_StartDate) GetDay() *int { +func (t *SearchBaseManga_Page_Media_BaseManga_StartDate) GetYear() *int { if t == nil { t = &SearchBaseManga_Page_Media_BaseManga_StartDate{} } - return t.Day + return t.Year } type SearchBaseManga_Page_Media_BaseManga_EndDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *SearchBaseManga_Page_Media_BaseManga_EndDate) GetYear() *int { +func (t *SearchBaseManga_Page_Media_BaseManga_EndDate) GetDay() *int { if t == nil { t = &SearchBaseManga_Page_Media_BaseManga_EndDate{} } - return t.Year + return t.Day } func (t *SearchBaseManga_Page_Media_BaseManga_EndDate) GetMonth() *int { if t == nil { @@ -5791,50 +5790,38 @@ func (t *SearchBaseManga_Page_Media_BaseManga_EndDate) GetMonth() *int { } return t.Month } -func (t *SearchBaseManga_Page_Media_BaseManga_EndDate) GetDay() *int { +func (t *SearchBaseManga_Page_Media_BaseManga_EndDate) GetYear() *int { if t == nil { t = &SearchBaseManga_Page_Media_BaseManga_EndDate{} } - return t.Day + return t.Year } type SearchBaseManga_Page struct { - PageInfo *SearchBaseManga_Page_PageInfo "json:\"pageInfo,omitempty\" graphql:\"pageInfo\"" Media []*BaseManga "json:\"media,omitempty\" graphql:\"media\"" + PageInfo *SearchBaseManga_Page_PageInfo "json:\"pageInfo,omitempty\" graphql:\"pageInfo\"" } -func (t *SearchBaseManga_Page) GetPageInfo() *SearchBaseManga_Page_PageInfo { - if t == nil { - t = &SearchBaseManga_Page{} - } - return t.PageInfo -} func (t *SearchBaseManga_Page) GetMedia() []*BaseManga { if t == nil { t = &SearchBaseManga_Page{} } return t.Media } +func (t *SearchBaseManga_Page) GetPageInfo() *SearchBaseManga_Page_PageInfo { + if t == nil { + t = &SearchBaseManga_Page{} + } + return t.PageInfo +} type BaseMangaById_Media_BaseManga_Title struct { - UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" - Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" English *string "json:\"english,omitempty\" graphql:\"english\"" Native *string "json:\"native,omitempty\" graphql:\"native\"" + Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" + UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" } -func (t *BaseMangaById_Media_BaseManga_Title) GetUserPreferred() *string { - if t == nil { - t = &BaseMangaById_Media_BaseManga_Title{} - } - return t.UserPreferred -} -func (t *BaseMangaById_Media_BaseManga_Title) GetRomaji() *string { - if t == nil { - t = &BaseMangaById_Media_BaseManga_Title{} - } - return t.Romaji -} func (t *BaseMangaById_Media_BaseManga_Title) GetEnglish() *string { if t == nil { t = &BaseMangaById_Media_BaseManga_Title{} @@ -5847,14 +5834,32 @@ func (t *BaseMangaById_Media_BaseManga_Title) GetNative() *string { } return t.Native } +func (t *BaseMangaById_Media_BaseManga_Title) GetRomaji() *string { + if t == nil { + t = &BaseMangaById_Media_BaseManga_Title{} + } + return t.Romaji +} +func (t *BaseMangaById_Media_BaseManga_Title) GetUserPreferred() *string { + if t == nil { + t = &BaseMangaById_Media_BaseManga_Title{} + } + return t.UserPreferred +} type BaseMangaById_Media_BaseManga_CoverImage struct { + Color *string "json:\"color,omitempty\" graphql:\"color\"" ExtraLarge *string "json:\"extraLarge,omitempty\" graphql:\"extraLarge\"" Large *string "json:\"large,omitempty\" graphql:\"large\"" Medium *string "json:\"medium,omitempty\" graphql:\"medium\"" - Color *string "json:\"color,omitempty\" graphql:\"color\"" } +func (t *BaseMangaById_Media_BaseManga_CoverImage) GetColor() *string { + if t == nil { + t = &BaseMangaById_Media_BaseManga_CoverImage{} + } + return t.Color +} func (t *BaseMangaById_Media_BaseManga_CoverImage) GetExtraLarge() *string { if t == nil { t = &BaseMangaById_Media_BaseManga_CoverImage{} @@ -5873,24 +5878,18 @@ func (t *BaseMangaById_Media_BaseManga_CoverImage) GetMedium() *string { } return t.Medium } -func (t *BaseMangaById_Media_BaseManga_CoverImage) GetColor() *string { - if t == nil { - t = &BaseMangaById_Media_BaseManga_CoverImage{} - } - return t.Color -} type BaseMangaById_Media_BaseManga_StartDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *BaseMangaById_Media_BaseManga_StartDate) GetYear() *int { +func (t *BaseMangaById_Media_BaseManga_StartDate) GetDay() *int { if t == nil { t = &BaseMangaById_Media_BaseManga_StartDate{} } - return t.Year + return t.Day } func (t *BaseMangaById_Media_BaseManga_StartDate) GetMonth() *int { if t == nil { @@ -5898,24 +5897,24 @@ func (t *BaseMangaById_Media_BaseManga_StartDate) GetMonth() *int { } return t.Month } -func (t *BaseMangaById_Media_BaseManga_StartDate) GetDay() *int { +func (t *BaseMangaById_Media_BaseManga_StartDate) GetYear() *int { if t == nil { t = &BaseMangaById_Media_BaseManga_StartDate{} } - return t.Day + return t.Year } type BaseMangaById_Media_BaseManga_EndDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *BaseMangaById_Media_BaseManga_EndDate) GetYear() *int { +func (t *BaseMangaById_Media_BaseManga_EndDate) GetDay() *int { if t == nil { t = &BaseMangaById_Media_BaseManga_EndDate{} } - return t.Year + return t.Day } func (t *BaseMangaById_Media_BaseManga_EndDate) GetMonth() *int { if t == nil { @@ -5923,58 +5922,46 @@ func (t *BaseMangaById_Media_BaseManga_EndDate) GetMonth() *int { } return t.Month } -func (t *BaseMangaById_Media_BaseManga_EndDate) GetDay() *int { +func (t *BaseMangaById_Media_BaseManga_EndDate) GetYear() *int { if t == nil { t = &BaseMangaById_Media_BaseManga_EndDate{} } - return t.Day + return t.Year } type MangaDetailsById_Media_Rankings struct { - Context string "json:\"context\" graphql:\"context\"" - Type MediaRankType "json:\"type\" graphql:\"type\"" - Rank int "json:\"rank\" graphql:\"rank\"" - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Format MediaFormat "json:\"format\" graphql:\"format\"" AllTime *bool "json:\"allTime,omitempty\" graphql:\"allTime\"" + Context string "json:\"context\" graphql:\"context\"" + Format MediaFormat "json:\"format\" graphql:\"format\"" + Rank int "json:\"rank\" graphql:\"rank\"" Season *MediaSeason "json:\"season,omitempty\" graphql:\"season\"" + Type MediaRankType "json:\"type\" graphql:\"type\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } +func (t *MangaDetailsById_Media_Rankings) GetAllTime() *bool { + if t == nil { + t = &MangaDetailsById_Media_Rankings{} + } + return t.AllTime +} func (t *MangaDetailsById_Media_Rankings) GetContext() string { if t == nil { t = &MangaDetailsById_Media_Rankings{} } return t.Context } -func (t *MangaDetailsById_Media_Rankings) GetType() *MediaRankType { - if t == nil { - t = &MangaDetailsById_Media_Rankings{} - } - return &t.Type -} -func (t *MangaDetailsById_Media_Rankings) GetRank() int { - if t == nil { - t = &MangaDetailsById_Media_Rankings{} - } - return t.Rank -} -func (t *MangaDetailsById_Media_Rankings) GetYear() *int { - if t == nil { - t = &MangaDetailsById_Media_Rankings{} - } - return t.Year -} func (t *MangaDetailsById_Media_Rankings) GetFormat() *MediaFormat { if t == nil { t = &MangaDetailsById_Media_Rankings{} } return &t.Format } -func (t *MangaDetailsById_Media_Rankings) GetAllTime() *bool { +func (t *MangaDetailsById_Media_Rankings) GetRank() int { if t == nil { t = &MangaDetailsById_Media_Rankings{} } - return t.AllTime + return t.Rank } func (t *MangaDetailsById_Media_Rankings) GetSeason() *MediaSeason { if t == nil { @@ -5982,18 +5969,30 @@ func (t *MangaDetailsById_Media_Rankings) GetSeason() *MediaSeason { } return t.Season } - -type MangaDetailsById_Media_Characters_Edges_Node_BaseCharacter_DateOfBirth struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" - Day *int "json:\"day,omitempty\" graphql:\"day\"" +func (t *MangaDetailsById_Media_Rankings) GetType() *MediaRankType { + if t == nil { + t = &MangaDetailsById_Media_Rankings{} + } + return &t.Type +} +func (t *MangaDetailsById_Media_Rankings) GetYear() *int { + if t == nil { + t = &MangaDetailsById_Media_Rankings{} + } + return t.Year } -func (t *MangaDetailsById_Media_Characters_Edges_Node_BaseCharacter_DateOfBirth) GetYear() *int { +type MangaDetailsById_Media_Characters_Edges_Node_BaseCharacter_DateOfBirth struct { + Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" +} + +func (t *MangaDetailsById_Media_Characters_Edges_Node_BaseCharacter_DateOfBirth) GetDay() *int { if t == nil { t = &MangaDetailsById_Media_Characters_Edges_Node_BaseCharacter_DateOfBirth{} } - return t.Year + return t.Day } func (t *MangaDetailsById_Media_Characters_Edges_Node_BaseCharacter_DateOfBirth) GetMonth() *int { if t == nil { @@ -6001,19 +6000,25 @@ func (t *MangaDetailsById_Media_Characters_Edges_Node_BaseCharacter_DateOfBirth) } return t.Month } -func (t *MangaDetailsById_Media_Characters_Edges_Node_BaseCharacter_DateOfBirth) GetDay() *int { +func (t *MangaDetailsById_Media_Characters_Edges_Node_BaseCharacter_DateOfBirth) GetYear() *int { if t == nil { t = &MangaDetailsById_Media_Characters_Edges_Node_BaseCharacter_DateOfBirth{} } - return t.Day + return t.Year } type MangaDetailsById_Media_Characters_Edges_Node_BaseCharacter_Name struct { + Alternative []*string "json:\"alternative,omitempty\" graphql:\"alternative\"" Full *string "json:\"full,omitempty\" graphql:\"full\"" Native *string "json:\"native,omitempty\" graphql:\"native\"" - Alternative []*string "json:\"alternative,omitempty\" graphql:\"alternative\"" } +func (t *MangaDetailsById_Media_Characters_Edges_Node_BaseCharacter_Name) GetAlternative() []*string { + if t == nil { + t = &MangaDetailsById_Media_Characters_Edges_Node_BaseCharacter_Name{} + } + return t.Alternative +} func (t *MangaDetailsById_Media_Characters_Edges_Node_BaseCharacter_Name) GetFull() *string { if t == nil { t = &MangaDetailsById_Media_Characters_Edges_Node_BaseCharacter_Name{} @@ -6026,12 +6031,6 @@ func (t *MangaDetailsById_Media_Characters_Edges_Node_BaseCharacter_Name) GetNat } return t.Native } -func (t *MangaDetailsById_Media_Characters_Edges_Node_BaseCharacter_Name) GetAlternative() []*string { - if t == nil { - t = &MangaDetailsById_Media_Characters_Edges_Node_BaseCharacter_Name{} - } - return t.Alternative -} type MangaDetailsById_Media_Characters_Edges_Node_BaseCharacter_Image struct { Large *string "json:\"large,omitempty\" graphql:\"large\"" @@ -6046,9 +6045,9 @@ func (t *MangaDetailsById_Media_Characters_Edges_Node_BaseCharacter_Image) GetLa type MangaDetailsById_Media_Characters_Edges struct { ID *int "json:\"id,omitempty\" graphql:\"id\"" - Role *CharacterRole "json:\"role,omitempty\" graphql:\"role\"" Name *string "json:\"name,omitempty\" graphql:\"name\"" Node *BaseCharacter "json:\"node,omitempty\" graphql:\"node\"" + Role *CharacterRole "json:\"role,omitempty\" graphql:\"role\"" } func (t *MangaDetailsById_Media_Characters_Edges) GetID() *int { @@ -6057,12 +6056,6 @@ func (t *MangaDetailsById_Media_Characters_Edges) GetID() *int { } return t.ID } -func (t *MangaDetailsById_Media_Characters_Edges) GetRole() *CharacterRole { - if t == nil { - t = &MangaDetailsById_Media_Characters_Edges{} - } - return t.Role -} func (t *MangaDetailsById_Media_Characters_Edges) GetName() *string { if t == nil { t = &MangaDetailsById_Media_Characters_Edges{} @@ -6075,6 +6068,12 @@ func (t *MangaDetailsById_Media_Characters_Edges) GetNode() *BaseCharacter { } return t.Node } +func (t *MangaDetailsById_Media_Characters_Edges) GetRole() *CharacterRole { + if t == nil { + t = &MangaDetailsById_Media_Characters_Edges{} + } + return t.Role +} type MangaDetailsById_Media_Characters struct { Edges []*MangaDetailsById_Media_Characters_Edges "json:\"edges,omitempty\" graphql:\"edges\"" @@ -6088,24 +6087,12 @@ func (t *MangaDetailsById_Media_Characters) GetEdges() []*MangaDetailsById_Media } type MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title struct { - UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" - Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" English *string "json:\"english,omitempty\" graphql:\"english\"" Native *string "json:\"native,omitempty\" graphql:\"native\"" + Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" + UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" } -func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title) GetUserPreferred() *string { - if t == nil { - t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title{} - } - return t.UserPreferred -} -func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title) GetRomaji() *string { - if t == nil { - t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title{} - } - return t.Romaji -} func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title) GetEnglish() *string { if t == nil { t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title{} @@ -6118,14 +6105,32 @@ func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_T } return t.Native } +func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title) GetRomaji() *string { + if t == nil { + t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title{} + } + return t.Romaji +} +func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title) GetUserPreferred() *string { + if t == nil { + t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title{} + } + return t.UserPreferred +} type MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage struct { + Color *string "json:\"color,omitempty\" graphql:\"color\"" ExtraLarge *string "json:\"extraLarge,omitempty\" graphql:\"extraLarge\"" Large *string "json:\"large,omitempty\" graphql:\"large\"" Medium *string "json:\"medium,omitempty\" graphql:\"medium\"" - Color *string "json:\"color,omitempty\" graphql:\"color\"" } +func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage) GetColor() *string { + if t == nil { + t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage{} + } + return t.Color +} func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage) GetExtraLarge() *string { if t == nil { t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage{} @@ -6144,24 +6149,18 @@ func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_C } return t.Medium } -func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage) GetColor() *string { - if t == nil { - t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage{} - } - return t.Color -} type MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate) GetYear() *int { +func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate) GetDay() *int { if t == nil { t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate{} } - return t.Year + return t.Day } func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate) GetMonth() *int { if t == nil { @@ -6169,24 +6168,24 @@ func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_S } return t.Month } -func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate) GetDay() *int { +func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate) GetYear() *int { if t == nil { t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate{} } - return t.Day + return t.Year } type MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_EndDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_EndDate) GetYear() *int { +func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_EndDate) GetDay() *int { if t == nil { t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_EndDate{} } - return t.Year + return t.Day } func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_EndDate) GetMonth() *int { if t == nil { @@ -6194,77 +6193,35 @@ func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_E } return t.Month } -func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_EndDate) GetDay() *int { +func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_EndDate) GetYear() *int { if t == nil { t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_EndDate{} } - return t.Day + return t.Year } type MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation struct { - ID int "json:\"id\" graphql:\"id\"" - IDMal *int "json:\"idMal,omitempty\" graphql:\"idMal\"" - SiteURL *string "json:\"siteUrl,omitempty\" graphql:\"siteUrl\"" - Status *MediaStatus "json:\"status,omitempty\" graphql:\"status\"" - Season *MediaSeason "json:\"season,omitempty\" graphql:\"season\"" - Type *MediaType "json:\"type,omitempty\" graphql:\"type\"" - Format *MediaFormat "json:\"format,omitempty\" graphql:\"format\"" BannerImage *string "json:\"bannerImage,omitempty\" graphql:\"bannerImage\"" Chapters *int "json:\"chapters,omitempty\" graphql:\"chapters\"" - Volumes *int "json:\"volumes,omitempty\" graphql:\"volumes\"" - Synonyms []*string "json:\"synonyms,omitempty\" graphql:\"synonyms\"" - IsAdult *bool "json:\"isAdult,omitempty\" graphql:\"isAdult\"" CountryOfOrigin *string "json:\"countryOfOrigin,omitempty\" graphql:\"countryOfOrigin\"" - MeanScore *int "json:\"meanScore,omitempty\" graphql:\"meanScore\"" - Description *string "json:\"description,omitempty\" graphql:\"description\"" - Title *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title "json:\"title,omitempty\" graphql:\"title\"" CoverImage *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage "json:\"coverImage,omitempty\" graphql:\"coverImage\"" - StartDate *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate "json:\"startDate,omitempty\" graphql:\"startDate\"" + Description *string "json:\"description,omitempty\" graphql:\"description\"" EndDate *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_EndDate "json:\"endDate,omitempty\" graphql:\"endDate\"" + Format *MediaFormat "json:\"format,omitempty\" graphql:\"format\"" + ID int "json:\"id\" graphql:\"id\"" + IDMal *int "json:\"idMal,omitempty\" graphql:\"idMal\"" + IsAdult *bool "json:\"isAdult,omitempty\" graphql:\"isAdult\"" + MeanScore *int "json:\"meanScore,omitempty\" graphql:\"meanScore\"" + Season *MediaSeason "json:\"season,omitempty\" graphql:\"season\"" + SiteURL *string "json:\"siteUrl,omitempty\" graphql:\"siteUrl\"" + StartDate *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate "json:\"startDate,omitempty\" graphql:\"startDate\"" + Status *MediaStatus "json:\"status,omitempty\" graphql:\"status\"" + Synonyms []*string "json:\"synonyms,omitempty\" graphql:\"synonyms\"" + Title *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title "json:\"title,omitempty\" graphql:\"title\"" + Type *MediaType "json:\"type,omitempty\" graphql:\"type\"" + Volumes *int "json:\"volumes,omitempty\" graphql:\"volumes\"" } -func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetID() int { - if t == nil { - t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} - } - return t.ID -} -func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetIDMal() *int { - if t == nil { - t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} - } - return t.IDMal -} -func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetSiteURL() *string { - if t == nil { - t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} - } - return t.SiteURL -} -func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetStatus() *MediaStatus { - if t == nil { - t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} - } - return t.Status -} -func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetSeason() *MediaSeason { - if t == nil { - t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} - } - return t.Season -} -func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetType() *MediaType { - if t == nil { - t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} - } - return t.Type -} -func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetFormat() *MediaFormat { - if t == nil { - t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} - } - return t.Format -} func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetBannerImage() *string { if t == nil { t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} @@ -6277,59 +6234,23 @@ func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) } return t.Chapters } -func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetVolumes() *int { - if t == nil { - t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} - } - return t.Volumes -} -func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetSynonyms() []*string { - if t == nil { - t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} - } - return t.Synonyms -} -func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetIsAdult() *bool { - if t == nil { - t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} - } - return t.IsAdult -} func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetCountryOfOrigin() *string { if t == nil { t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} } return t.CountryOfOrigin } -func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetMeanScore() *int { - if t == nil { - t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} - } - return t.MeanScore -} -func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetDescription() *string { - if t == nil { - t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} - } - return t.Description -} -func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetTitle() *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title { - if t == nil { - t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} - } - return t.Title -} func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetCoverImage() *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage { if t == nil { t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} } return t.CoverImage } -func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetStartDate() *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate { +func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetDescription() *string { if t == nil { t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} } - return t.StartDate + return t.Description } func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetEndDate() *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_EndDate { if t == nil { @@ -6337,6 +6258,84 @@ func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) } return t.EndDate } +func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetFormat() *MediaFormat { + if t == nil { + t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} + } + return t.Format +} +func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetID() int { + if t == nil { + t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} + } + return t.ID +} +func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetIDMal() *int { + if t == nil { + t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} + } + return t.IDMal +} +func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetIsAdult() *bool { + if t == nil { + t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} + } + return t.IsAdult +} +func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetMeanScore() *int { + if t == nil { + t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} + } + return t.MeanScore +} +func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetSeason() *MediaSeason { + if t == nil { + t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} + } + return t.Season +} +func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetSiteURL() *string { + if t == nil { + t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} + } + return t.SiteURL +} +func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetStartDate() *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate { + if t == nil { + t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} + } + return t.StartDate +} +func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetStatus() *MediaStatus { + if t == nil { + t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} + } + return t.Status +} +func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetSynonyms() []*string { + if t == nil { + t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} + } + return t.Synonyms +} +func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetTitle() *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title { + if t == nil { + t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} + } + return t.Title +} +func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetType() *MediaType { + if t == nil { + t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} + } + return t.Type +} +func (t *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation) GetVolumes() *int { + if t == nil { + t = &MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation{} + } + return t.Volumes +} type MangaDetailsById_Media_Recommendations_Edges_Node struct { MediaRecommendation *MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation "json:\"mediaRecommendation,omitempty\" graphql:\"mediaRecommendation\"" @@ -6372,24 +6371,12 @@ func (t *MangaDetailsById_Media_Recommendations) GetEdges() []*MangaDetailsById_ } type MangaDetailsById_Media_Relations_Edges_Node_BaseManga_Title struct { - UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" - Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" English *string "json:\"english,omitempty\" graphql:\"english\"" Native *string "json:\"native,omitempty\" graphql:\"native\"" + Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" + UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" } -func (t *MangaDetailsById_Media_Relations_Edges_Node_BaseManga_Title) GetUserPreferred() *string { - if t == nil { - t = &MangaDetailsById_Media_Relations_Edges_Node_BaseManga_Title{} - } - return t.UserPreferred -} -func (t *MangaDetailsById_Media_Relations_Edges_Node_BaseManga_Title) GetRomaji() *string { - if t == nil { - t = &MangaDetailsById_Media_Relations_Edges_Node_BaseManga_Title{} - } - return t.Romaji -} func (t *MangaDetailsById_Media_Relations_Edges_Node_BaseManga_Title) GetEnglish() *string { if t == nil { t = &MangaDetailsById_Media_Relations_Edges_Node_BaseManga_Title{} @@ -6402,14 +6389,32 @@ func (t *MangaDetailsById_Media_Relations_Edges_Node_BaseManga_Title) GetNative( } return t.Native } +func (t *MangaDetailsById_Media_Relations_Edges_Node_BaseManga_Title) GetRomaji() *string { + if t == nil { + t = &MangaDetailsById_Media_Relations_Edges_Node_BaseManga_Title{} + } + return t.Romaji +} +func (t *MangaDetailsById_Media_Relations_Edges_Node_BaseManga_Title) GetUserPreferred() *string { + if t == nil { + t = &MangaDetailsById_Media_Relations_Edges_Node_BaseManga_Title{} + } + return t.UserPreferred +} type MangaDetailsById_Media_Relations_Edges_Node_BaseManga_CoverImage struct { + Color *string "json:\"color,omitempty\" graphql:\"color\"" ExtraLarge *string "json:\"extraLarge,omitempty\" graphql:\"extraLarge\"" Large *string "json:\"large,omitempty\" graphql:\"large\"" Medium *string "json:\"medium,omitempty\" graphql:\"medium\"" - Color *string "json:\"color,omitempty\" graphql:\"color\"" } +func (t *MangaDetailsById_Media_Relations_Edges_Node_BaseManga_CoverImage) GetColor() *string { + if t == nil { + t = &MangaDetailsById_Media_Relations_Edges_Node_BaseManga_CoverImage{} + } + return t.Color +} func (t *MangaDetailsById_Media_Relations_Edges_Node_BaseManga_CoverImage) GetExtraLarge() *string { if t == nil { t = &MangaDetailsById_Media_Relations_Edges_Node_BaseManga_CoverImage{} @@ -6428,24 +6433,18 @@ func (t *MangaDetailsById_Media_Relations_Edges_Node_BaseManga_CoverImage) GetMe } return t.Medium } -func (t *MangaDetailsById_Media_Relations_Edges_Node_BaseManga_CoverImage) GetColor() *string { - if t == nil { - t = &MangaDetailsById_Media_Relations_Edges_Node_BaseManga_CoverImage{} - } - return t.Color -} type MangaDetailsById_Media_Relations_Edges_Node_BaseManga_StartDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *MangaDetailsById_Media_Relations_Edges_Node_BaseManga_StartDate) GetYear() *int { +func (t *MangaDetailsById_Media_Relations_Edges_Node_BaseManga_StartDate) GetDay() *int { if t == nil { t = &MangaDetailsById_Media_Relations_Edges_Node_BaseManga_StartDate{} } - return t.Year + return t.Day } func (t *MangaDetailsById_Media_Relations_Edges_Node_BaseManga_StartDate) GetMonth() *int { if t == nil { @@ -6453,24 +6452,24 @@ func (t *MangaDetailsById_Media_Relations_Edges_Node_BaseManga_StartDate) GetMon } return t.Month } -func (t *MangaDetailsById_Media_Relations_Edges_Node_BaseManga_StartDate) GetDay() *int { +func (t *MangaDetailsById_Media_Relations_Edges_Node_BaseManga_StartDate) GetYear() *int { if t == nil { t = &MangaDetailsById_Media_Relations_Edges_Node_BaseManga_StartDate{} } - return t.Day + return t.Year } type MangaDetailsById_Media_Relations_Edges_Node_BaseManga_EndDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *MangaDetailsById_Media_Relations_Edges_Node_BaseManga_EndDate) GetYear() *int { +func (t *MangaDetailsById_Media_Relations_Edges_Node_BaseManga_EndDate) GetDay() *int { if t == nil { t = &MangaDetailsById_Media_Relations_Edges_Node_BaseManga_EndDate{} } - return t.Year + return t.Day } func (t *MangaDetailsById_Media_Relations_Edges_Node_BaseManga_EndDate) GetMonth() *int { if t == nil { @@ -6478,30 +6477,30 @@ func (t *MangaDetailsById_Media_Relations_Edges_Node_BaseManga_EndDate) GetMonth } return t.Month } -func (t *MangaDetailsById_Media_Relations_Edges_Node_BaseManga_EndDate) GetDay() *int { +func (t *MangaDetailsById_Media_Relations_Edges_Node_BaseManga_EndDate) GetYear() *int { if t == nil { t = &MangaDetailsById_Media_Relations_Edges_Node_BaseManga_EndDate{} } - return t.Day + return t.Year } type MangaDetailsById_Media_Relations_Edges struct { - RelationType *MediaRelation "json:\"relationType,omitempty\" graphql:\"relationType\"" Node *BaseManga "json:\"node,omitempty\" graphql:\"node\"" + RelationType *MediaRelation "json:\"relationType,omitempty\" graphql:\"relationType\"" } -func (t *MangaDetailsById_Media_Relations_Edges) GetRelationType() *MediaRelation { - if t == nil { - t = &MangaDetailsById_Media_Relations_Edges{} - } - return t.RelationType -} func (t *MangaDetailsById_Media_Relations_Edges) GetNode() *BaseManga { if t == nil { t = &MangaDetailsById_Media_Relations_Edges{} } return t.Node } +func (t *MangaDetailsById_Media_Relations_Edges) GetRelationType() *MediaRelation { + if t == nil { + t = &MangaDetailsById_Media_Relations_Edges{} + } + return t.RelationType +} type MangaDetailsById_Media_Relations struct { Edges []*MangaDetailsById_Media_Relations_Edges "json:\"edges,omitempty\" graphql:\"edges\"" @@ -6515,27 +6514,21 @@ func (t *MangaDetailsById_Media_Relations) GetEdges() []*MangaDetailsById_Media_ } type MangaDetailsById_Media struct { - SiteURL *string "json:\"siteUrl,omitempty\" graphql:\"siteUrl\"" - ID int "json:\"id\" graphql:\"id\"" + Characters *MangaDetailsById_Media_Characters "json:\"characters,omitempty\" graphql:\"characters\"" Duration *int "json:\"duration,omitempty\" graphql:\"duration\"" Genres []*string "json:\"genres,omitempty\" graphql:\"genres\"" + ID int "json:\"id\" graphql:\"id\"" Rankings []*MangaDetailsById_Media_Rankings "json:\"rankings,omitempty\" graphql:\"rankings\"" - Characters *MangaDetailsById_Media_Characters "json:\"characters,omitempty\" graphql:\"characters\"" Recommendations *MangaDetailsById_Media_Recommendations "json:\"recommendations,omitempty\" graphql:\"recommendations\"" Relations *MangaDetailsById_Media_Relations "json:\"relations,omitempty\" graphql:\"relations\"" + SiteURL *string "json:\"siteUrl,omitempty\" graphql:\"siteUrl\"" } -func (t *MangaDetailsById_Media) GetSiteURL() *string { +func (t *MangaDetailsById_Media) GetCharacters() *MangaDetailsById_Media_Characters { if t == nil { t = &MangaDetailsById_Media{} } - return t.SiteURL -} -func (t *MangaDetailsById_Media) GetID() int { - if t == nil { - t = &MangaDetailsById_Media{} - } - return t.ID + return t.Characters } func (t *MangaDetailsById_Media) GetDuration() *int { if t == nil { @@ -6549,18 +6542,18 @@ func (t *MangaDetailsById_Media) GetGenres() []*string { } return t.Genres } +func (t *MangaDetailsById_Media) GetID() int { + if t == nil { + t = &MangaDetailsById_Media{} + } + return t.ID +} func (t *MangaDetailsById_Media) GetRankings() []*MangaDetailsById_Media_Rankings { if t == nil { t = &MangaDetailsById_Media{} } return t.Rankings } -func (t *MangaDetailsById_Media) GetCharacters() *MangaDetailsById_Media_Characters { - if t == nil { - t = &MangaDetailsById_Media{} - } - return t.Characters -} func (t *MangaDetailsById_Media) GetRecommendations() *MangaDetailsById_Media_Recommendations { if t == nil { t = &MangaDetailsById_Media{} @@ -6573,65 +6566,59 @@ func (t *MangaDetailsById_Media) GetRelations() *MangaDetailsById_Media_Relation } return t.Relations } +func (t *MangaDetailsById_Media) GetSiteURL() *string { + if t == nil { + t = &MangaDetailsById_Media{} + } + return t.SiteURL +} type ListManga_Page_PageInfo struct { - HasNextPage *bool "json:\"hasNextPage,omitempty\" graphql:\"hasNextPage\"" - Total *int "json:\"total,omitempty\" graphql:\"total\"" - PerPage *int "json:\"perPage,omitempty\" graphql:\"perPage\"" CurrentPage *int "json:\"currentPage,omitempty\" graphql:\"currentPage\"" + HasNextPage *bool "json:\"hasNextPage,omitempty\" graphql:\"hasNextPage\"" LastPage *int "json:\"lastPage,omitempty\" graphql:\"lastPage\"" + PerPage *int "json:\"perPage,omitempty\" graphql:\"perPage\"" + Total *int "json:\"total,omitempty\" graphql:\"total\"" } -func (t *ListManga_Page_PageInfo) GetHasNextPage() *bool { - if t == nil { - t = &ListManga_Page_PageInfo{} - } - return t.HasNextPage -} -func (t *ListManga_Page_PageInfo) GetTotal() *int { - if t == nil { - t = &ListManga_Page_PageInfo{} - } - return t.Total -} -func (t *ListManga_Page_PageInfo) GetPerPage() *int { - if t == nil { - t = &ListManga_Page_PageInfo{} - } - return t.PerPage -} func (t *ListManga_Page_PageInfo) GetCurrentPage() *int { if t == nil { t = &ListManga_Page_PageInfo{} } return t.CurrentPage } +func (t *ListManga_Page_PageInfo) GetHasNextPage() *bool { + if t == nil { + t = &ListManga_Page_PageInfo{} + } + return t.HasNextPage +} func (t *ListManga_Page_PageInfo) GetLastPage() *int { if t == nil { t = &ListManga_Page_PageInfo{} } return t.LastPage } +func (t *ListManga_Page_PageInfo) GetPerPage() *int { + if t == nil { + t = &ListManga_Page_PageInfo{} + } + return t.PerPage +} +func (t *ListManga_Page_PageInfo) GetTotal() *int { + if t == nil { + t = &ListManga_Page_PageInfo{} + } + return t.Total +} type ListManga_Page_Media_BaseManga_Title struct { - UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" - Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" English *string "json:\"english,omitempty\" graphql:\"english\"" Native *string "json:\"native,omitempty\" graphql:\"native\"" + Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" + UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" } -func (t *ListManga_Page_Media_BaseManga_Title) GetUserPreferred() *string { - if t == nil { - t = &ListManga_Page_Media_BaseManga_Title{} - } - return t.UserPreferred -} -func (t *ListManga_Page_Media_BaseManga_Title) GetRomaji() *string { - if t == nil { - t = &ListManga_Page_Media_BaseManga_Title{} - } - return t.Romaji -} func (t *ListManga_Page_Media_BaseManga_Title) GetEnglish() *string { if t == nil { t = &ListManga_Page_Media_BaseManga_Title{} @@ -6644,14 +6631,32 @@ func (t *ListManga_Page_Media_BaseManga_Title) GetNative() *string { } return t.Native } +func (t *ListManga_Page_Media_BaseManga_Title) GetRomaji() *string { + if t == nil { + t = &ListManga_Page_Media_BaseManga_Title{} + } + return t.Romaji +} +func (t *ListManga_Page_Media_BaseManga_Title) GetUserPreferred() *string { + if t == nil { + t = &ListManga_Page_Media_BaseManga_Title{} + } + return t.UserPreferred +} type ListManga_Page_Media_BaseManga_CoverImage struct { + Color *string "json:\"color,omitempty\" graphql:\"color\"" ExtraLarge *string "json:\"extraLarge,omitempty\" graphql:\"extraLarge\"" Large *string "json:\"large,omitempty\" graphql:\"large\"" Medium *string "json:\"medium,omitempty\" graphql:\"medium\"" - Color *string "json:\"color,omitempty\" graphql:\"color\"" } +func (t *ListManga_Page_Media_BaseManga_CoverImage) GetColor() *string { + if t == nil { + t = &ListManga_Page_Media_BaseManga_CoverImage{} + } + return t.Color +} func (t *ListManga_Page_Media_BaseManga_CoverImage) GetExtraLarge() *string { if t == nil { t = &ListManga_Page_Media_BaseManga_CoverImage{} @@ -6670,24 +6675,18 @@ func (t *ListManga_Page_Media_BaseManga_CoverImage) GetMedium() *string { } return t.Medium } -func (t *ListManga_Page_Media_BaseManga_CoverImage) GetColor() *string { - if t == nil { - t = &ListManga_Page_Media_BaseManga_CoverImage{} - } - return t.Color -} type ListManga_Page_Media_BaseManga_StartDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *ListManga_Page_Media_BaseManga_StartDate) GetYear() *int { +func (t *ListManga_Page_Media_BaseManga_StartDate) GetDay() *int { if t == nil { t = &ListManga_Page_Media_BaseManga_StartDate{} } - return t.Year + return t.Day } func (t *ListManga_Page_Media_BaseManga_StartDate) GetMonth() *int { if t == nil { @@ -6695,24 +6694,24 @@ func (t *ListManga_Page_Media_BaseManga_StartDate) GetMonth() *int { } return t.Month } -func (t *ListManga_Page_Media_BaseManga_StartDate) GetDay() *int { +func (t *ListManga_Page_Media_BaseManga_StartDate) GetYear() *int { if t == nil { t = &ListManga_Page_Media_BaseManga_StartDate{} } - return t.Day + return t.Year } type ListManga_Page_Media_BaseManga_EndDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *ListManga_Page_Media_BaseManga_EndDate) GetYear() *int { +func (t *ListManga_Page_Media_BaseManga_EndDate) GetDay() *int { if t == nil { t = &ListManga_Page_Media_BaseManga_EndDate{} } - return t.Year + return t.Day } func (t *ListManga_Page_Media_BaseManga_EndDate) GetMonth() *int { if t == nil { @@ -6720,35 +6719,35 @@ func (t *ListManga_Page_Media_BaseManga_EndDate) GetMonth() *int { } return t.Month } -func (t *ListManga_Page_Media_BaseManga_EndDate) GetDay() *int { +func (t *ListManga_Page_Media_BaseManga_EndDate) GetYear() *int { if t == nil { t = &ListManga_Page_Media_BaseManga_EndDate{} } - return t.Day + return t.Year } type ListManga_Page struct { - PageInfo *ListManga_Page_PageInfo "json:\"pageInfo,omitempty\" graphql:\"pageInfo\"" Media []*BaseManga "json:\"media,omitempty\" graphql:\"media\"" + PageInfo *ListManga_Page_PageInfo "json:\"pageInfo,omitempty\" graphql:\"pageInfo\"" } -func (t *ListManga_Page) GetPageInfo() *ListManga_Page_PageInfo { - if t == nil { - t = &ListManga_Page{} - } - return t.PageInfo -} func (t *ListManga_Page) GetMedia() []*BaseManga { if t == nil { t = &ListManga_Page{} } return t.Media } +func (t *ListManga_Page) GetPageInfo() *ListManga_Page_PageInfo { + if t == nil { + t = &ListManga_Page{} + } + return t.PageInfo +} type ViewerStats_Viewer_Statistics_Anime_Studios_UserStudioStats_Studio struct { ID int "json:\"id\" graphql:\"id\"" - Name string "json:\"name\" graphql:\"name\"" IsAnimationStudio bool "json:\"isAnimationStudio\" graphql:\"isAnimationStudio\"" + Name string "json:\"name\" graphql:\"name\"" } func (t *ViewerStats_Viewer_Statistics_Anime_Studios_UserStudioStats_Studio) GetID() int { @@ -6757,31 +6756,31 @@ func (t *ViewerStats_Viewer_Statistics_Anime_Studios_UserStudioStats_Studio) Get } return t.ID } -func (t *ViewerStats_Viewer_Statistics_Anime_Studios_UserStudioStats_Studio) GetName() string { - if t == nil { - t = &ViewerStats_Viewer_Statistics_Anime_Studios_UserStudioStats_Studio{} - } - return t.Name -} func (t *ViewerStats_Viewer_Statistics_Anime_Studios_UserStudioStats_Studio) GetIsAnimationStudio() bool { if t == nil { t = &ViewerStats_Viewer_Statistics_Anime_Studios_UserStudioStats_Studio{} } return t.IsAnimationStudio } +func (t *ViewerStats_Viewer_Statistics_Anime_Studios_UserStudioStats_Studio) GetName() string { + if t == nil { + t = &ViewerStats_Viewer_Statistics_Anime_Studios_UserStudioStats_Studio{} + } + return t.Name +} type ViewerStats_Viewer_Statistics_Anime struct { Count int "json:\"count\" graphql:\"count\"" - MinutesWatched int "json:\"minutesWatched\" graphql:\"minutesWatched\"" EpisodesWatched int "json:\"episodesWatched\" graphql:\"episodesWatched\"" - MeanScore float64 "json:\"meanScore\" graphql:\"meanScore\"" Formats []*UserFormatStats "json:\"formats,omitempty\" graphql:\"formats\"" Genres []*UserGenreStats "json:\"genres,omitempty\" graphql:\"genres\"" - Statuses []*UserStatusStats "json:\"statuses,omitempty\" graphql:\"statuses\"" - Studios []*UserStudioStats "json:\"studios,omitempty\" graphql:\"studios\"" + MeanScore float64 "json:\"meanScore\" graphql:\"meanScore\"" + MinutesWatched int "json:\"minutesWatched\" graphql:\"minutesWatched\"" + ReleaseYears []*UserReleaseYearStats "json:\"releaseYears,omitempty\" graphql:\"releaseYears\"" Scores []*UserScoreStats "json:\"scores,omitempty\" graphql:\"scores\"" StartYears []*UserStartYearStats "json:\"startYears,omitempty\" graphql:\"startYears\"" - ReleaseYears []*UserReleaseYearStats "json:\"releaseYears,omitempty\" graphql:\"releaseYears\"" + Statuses []*UserStatusStats "json:\"statuses,omitempty\" graphql:\"statuses\"" + Studios []*UserStudioStats "json:\"studios,omitempty\" graphql:\"studios\"" } func (t *ViewerStats_Viewer_Statistics_Anime) GetCount() int { @@ -6790,24 +6789,12 @@ func (t *ViewerStats_Viewer_Statistics_Anime) GetCount() int { } return t.Count } -func (t *ViewerStats_Viewer_Statistics_Anime) GetMinutesWatched() int { - if t == nil { - t = &ViewerStats_Viewer_Statistics_Anime{} - } - return t.MinutesWatched -} func (t *ViewerStats_Viewer_Statistics_Anime) GetEpisodesWatched() int { if t == nil { t = &ViewerStats_Viewer_Statistics_Anime{} } return t.EpisodesWatched } -func (t *ViewerStats_Viewer_Statistics_Anime) GetMeanScore() float64 { - if t == nil { - t = &ViewerStats_Viewer_Statistics_Anime{} - } - return t.MeanScore -} func (t *ViewerStats_Viewer_Statistics_Anime) GetFormats() []*UserFormatStats { if t == nil { t = &ViewerStats_Viewer_Statistics_Anime{} @@ -6820,17 +6807,23 @@ func (t *ViewerStats_Viewer_Statistics_Anime) GetGenres() []*UserGenreStats { } return t.Genres } -func (t *ViewerStats_Viewer_Statistics_Anime) GetStatuses() []*UserStatusStats { +func (t *ViewerStats_Viewer_Statistics_Anime) GetMeanScore() float64 { if t == nil { t = &ViewerStats_Viewer_Statistics_Anime{} } - return t.Statuses + return t.MeanScore } -func (t *ViewerStats_Viewer_Statistics_Anime) GetStudios() []*UserStudioStats { +func (t *ViewerStats_Viewer_Statistics_Anime) GetMinutesWatched() int { if t == nil { t = &ViewerStats_Viewer_Statistics_Anime{} } - return t.Studios + return t.MinutesWatched +} +func (t *ViewerStats_Viewer_Statistics_Anime) GetReleaseYears() []*UserReleaseYearStats { + if t == nil { + t = &ViewerStats_Viewer_Statistics_Anime{} + } + return t.ReleaseYears } func (t *ViewerStats_Viewer_Statistics_Anime) GetScores() []*UserScoreStats { if t == nil { @@ -6844,17 +6837,23 @@ func (t *ViewerStats_Viewer_Statistics_Anime) GetStartYears() []*UserStartYearSt } return t.StartYears } -func (t *ViewerStats_Viewer_Statistics_Anime) GetReleaseYears() []*UserReleaseYearStats { +func (t *ViewerStats_Viewer_Statistics_Anime) GetStatuses() []*UserStatusStats { if t == nil { t = &ViewerStats_Viewer_Statistics_Anime{} } - return t.ReleaseYears + return t.Statuses +} +func (t *ViewerStats_Viewer_Statistics_Anime) GetStudios() []*UserStudioStats { + if t == nil { + t = &ViewerStats_Viewer_Statistics_Anime{} + } + return t.Studios } type ViewerStats_Viewer_Statistics_Manga_Studios_UserStudioStats_Studio struct { ID int "json:\"id\" graphql:\"id\"" - Name string "json:\"name\" graphql:\"name\"" IsAnimationStudio bool "json:\"isAnimationStudio\" graphql:\"isAnimationStudio\"" + Name string "json:\"name\" graphql:\"name\"" } func (t *ViewerStats_Viewer_Statistics_Manga_Studios_UserStudioStats_Studio) GetID() int { @@ -6863,49 +6862,43 @@ func (t *ViewerStats_Viewer_Statistics_Manga_Studios_UserStudioStats_Studio) Get } return t.ID } -func (t *ViewerStats_Viewer_Statistics_Manga_Studios_UserStudioStats_Studio) GetName() string { - if t == nil { - t = &ViewerStats_Viewer_Statistics_Manga_Studios_UserStudioStats_Studio{} - } - return t.Name -} func (t *ViewerStats_Viewer_Statistics_Manga_Studios_UserStudioStats_Studio) GetIsAnimationStudio() bool { if t == nil { t = &ViewerStats_Viewer_Statistics_Manga_Studios_UserStudioStats_Studio{} } return t.IsAnimationStudio } +func (t *ViewerStats_Viewer_Statistics_Manga_Studios_UserStudioStats_Studio) GetName() string { + if t == nil { + t = &ViewerStats_Viewer_Statistics_Manga_Studios_UserStudioStats_Studio{} + } + return t.Name +} type ViewerStats_Viewer_Statistics_Manga struct { - Count int "json:\"count\" graphql:\"count\"" ChaptersRead int "json:\"chaptersRead\" graphql:\"chaptersRead\"" - MeanScore float64 "json:\"meanScore\" graphql:\"meanScore\"" + Count int "json:\"count\" graphql:\"count\"" Formats []*UserFormatStats "json:\"formats,omitempty\" graphql:\"formats\"" Genres []*UserGenreStats "json:\"genres,omitempty\" graphql:\"genres\"" - Statuses []*UserStatusStats "json:\"statuses,omitempty\" graphql:\"statuses\"" - Studios []*UserStudioStats "json:\"studios,omitempty\" graphql:\"studios\"" + MeanScore float64 "json:\"meanScore\" graphql:\"meanScore\"" + ReleaseYears []*UserReleaseYearStats "json:\"releaseYears,omitempty\" graphql:\"releaseYears\"" Scores []*UserScoreStats "json:\"scores,omitempty\" graphql:\"scores\"" StartYears []*UserStartYearStats "json:\"startYears,omitempty\" graphql:\"startYears\"" - ReleaseYears []*UserReleaseYearStats "json:\"releaseYears,omitempty\" graphql:\"releaseYears\"" + Statuses []*UserStatusStats "json:\"statuses,omitempty\" graphql:\"statuses\"" + Studios []*UserStudioStats "json:\"studios,omitempty\" graphql:\"studios\"" } -func (t *ViewerStats_Viewer_Statistics_Manga) GetCount() int { - if t == nil { - t = &ViewerStats_Viewer_Statistics_Manga{} - } - return t.Count -} func (t *ViewerStats_Viewer_Statistics_Manga) GetChaptersRead() int { if t == nil { t = &ViewerStats_Viewer_Statistics_Manga{} } return t.ChaptersRead } -func (t *ViewerStats_Viewer_Statistics_Manga) GetMeanScore() float64 { +func (t *ViewerStats_Viewer_Statistics_Manga) GetCount() int { if t == nil { t = &ViewerStats_Viewer_Statistics_Manga{} } - return t.MeanScore + return t.Count } func (t *ViewerStats_Viewer_Statistics_Manga) GetFormats() []*UserFormatStats { if t == nil { @@ -6919,17 +6912,17 @@ func (t *ViewerStats_Viewer_Statistics_Manga) GetGenres() []*UserGenreStats { } return t.Genres } -func (t *ViewerStats_Viewer_Statistics_Manga) GetStatuses() []*UserStatusStats { +func (t *ViewerStats_Viewer_Statistics_Manga) GetMeanScore() float64 { if t == nil { t = &ViewerStats_Viewer_Statistics_Manga{} } - return t.Statuses + return t.MeanScore } -func (t *ViewerStats_Viewer_Statistics_Manga) GetStudios() []*UserStudioStats { +func (t *ViewerStats_Viewer_Statistics_Manga) GetReleaseYears() []*UserReleaseYearStats { if t == nil { t = &ViewerStats_Viewer_Statistics_Manga{} } - return t.Studios + return t.ReleaseYears } func (t *ViewerStats_Viewer_Statistics_Manga) GetScores() []*UserScoreStats { if t == nil { @@ -6943,11 +6936,17 @@ func (t *ViewerStats_Viewer_Statistics_Manga) GetStartYears() []*UserStartYearSt } return t.StartYears } -func (t *ViewerStats_Viewer_Statistics_Manga) GetReleaseYears() []*UserReleaseYearStats { +func (t *ViewerStats_Viewer_Statistics_Manga) GetStatuses() []*UserStatusStats { if t == nil { t = &ViewerStats_Viewer_Statistics_Manga{} } - return t.ReleaseYears + return t.Statuses +} +func (t *ViewerStats_Viewer_Statistics_Manga) GetStudios() []*UserStudioStats { + if t == nil { + t = &ViewerStats_Viewer_Statistics_Manga{} + } + return t.Studios } type ViewerStats_Viewer_Statistics struct { @@ -7005,24 +7004,12 @@ func (t *StudioDetails_Studio_Media_Nodes_BaseAnime_Trailer) GetThumbnail() *str } type StudioDetails_Studio_Media_Nodes_BaseAnime_Title struct { - UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" - Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" English *string "json:\"english,omitempty\" graphql:\"english\"" Native *string "json:\"native,omitempty\" graphql:\"native\"" + Romaji *string "json:\"romaji,omitempty\" graphql:\"romaji\"" + UserPreferred *string "json:\"userPreferred,omitempty\" graphql:\"userPreferred\"" } -func (t *StudioDetails_Studio_Media_Nodes_BaseAnime_Title) GetUserPreferred() *string { - if t == nil { - t = &StudioDetails_Studio_Media_Nodes_BaseAnime_Title{} - } - return t.UserPreferred -} -func (t *StudioDetails_Studio_Media_Nodes_BaseAnime_Title) GetRomaji() *string { - if t == nil { - t = &StudioDetails_Studio_Media_Nodes_BaseAnime_Title{} - } - return t.Romaji -} func (t *StudioDetails_Studio_Media_Nodes_BaseAnime_Title) GetEnglish() *string { if t == nil { t = &StudioDetails_Studio_Media_Nodes_BaseAnime_Title{} @@ -7035,14 +7022,32 @@ func (t *StudioDetails_Studio_Media_Nodes_BaseAnime_Title) GetNative() *string { } return t.Native } +func (t *StudioDetails_Studio_Media_Nodes_BaseAnime_Title) GetRomaji() *string { + if t == nil { + t = &StudioDetails_Studio_Media_Nodes_BaseAnime_Title{} + } + return t.Romaji +} +func (t *StudioDetails_Studio_Media_Nodes_BaseAnime_Title) GetUserPreferred() *string { + if t == nil { + t = &StudioDetails_Studio_Media_Nodes_BaseAnime_Title{} + } + return t.UserPreferred +} type StudioDetails_Studio_Media_Nodes_BaseAnime_CoverImage struct { + Color *string "json:\"color,omitempty\" graphql:\"color\"" ExtraLarge *string "json:\"extraLarge,omitempty\" graphql:\"extraLarge\"" Large *string "json:\"large,omitempty\" graphql:\"large\"" Medium *string "json:\"medium,omitempty\" graphql:\"medium\"" - Color *string "json:\"color,omitempty\" graphql:\"color\"" } +func (t *StudioDetails_Studio_Media_Nodes_BaseAnime_CoverImage) GetColor() *string { + if t == nil { + t = &StudioDetails_Studio_Media_Nodes_BaseAnime_CoverImage{} + } + return t.Color +} func (t *StudioDetails_Studio_Media_Nodes_BaseAnime_CoverImage) GetExtraLarge() *string { if t == nil { t = &StudioDetails_Studio_Media_Nodes_BaseAnime_CoverImage{} @@ -7061,24 +7066,18 @@ func (t *StudioDetails_Studio_Media_Nodes_BaseAnime_CoverImage) GetMedium() *str } return t.Medium } -func (t *StudioDetails_Studio_Media_Nodes_BaseAnime_CoverImage) GetColor() *string { - if t == nil { - t = &StudioDetails_Studio_Media_Nodes_BaseAnime_CoverImage{} - } - return t.Color -} type StudioDetails_Studio_Media_Nodes_BaseAnime_StartDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *StudioDetails_Studio_Media_Nodes_BaseAnime_StartDate) GetYear() *int { +func (t *StudioDetails_Studio_Media_Nodes_BaseAnime_StartDate) GetDay() *int { if t == nil { t = &StudioDetails_Studio_Media_Nodes_BaseAnime_StartDate{} } - return t.Year + return t.Day } func (t *StudioDetails_Studio_Media_Nodes_BaseAnime_StartDate) GetMonth() *int { if t == nil { @@ -7086,24 +7085,24 @@ func (t *StudioDetails_Studio_Media_Nodes_BaseAnime_StartDate) GetMonth() *int { } return t.Month } -func (t *StudioDetails_Studio_Media_Nodes_BaseAnime_StartDate) GetDay() *int { +func (t *StudioDetails_Studio_Media_Nodes_BaseAnime_StartDate) GetYear() *int { if t == nil { t = &StudioDetails_Studio_Media_Nodes_BaseAnime_StartDate{} } - return t.Day + return t.Year } type StudioDetails_Studio_Media_Nodes_BaseAnime_EndDate struct { - Year *int "json:\"year,omitempty\" graphql:\"year\"" - Month *int "json:\"month,omitempty\" graphql:\"month\"" Day *int "json:\"day,omitempty\" graphql:\"day\"" + Month *int "json:\"month,omitempty\" graphql:\"month\"" + Year *int "json:\"year,omitempty\" graphql:\"year\"" } -func (t *StudioDetails_Studio_Media_Nodes_BaseAnime_EndDate) GetYear() *int { +func (t *StudioDetails_Studio_Media_Nodes_BaseAnime_EndDate) GetDay() *int { if t == nil { t = &StudioDetails_Studio_Media_Nodes_BaseAnime_EndDate{} } - return t.Year + return t.Day } func (t *StudioDetails_Studio_Media_Nodes_BaseAnime_EndDate) GetMonth() *int { if t == nil { @@ -7111,17 +7110,17 @@ func (t *StudioDetails_Studio_Media_Nodes_BaseAnime_EndDate) GetMonth() *int { } return t.Month } -func (t *StudioDetails_Studio_Media_Nodes_BaseAnime_EndDate) GetDay() *int { +func (t *StudioDetails_Studio_Media_Nodes_BaseAnime_EndDate) GetYear() *int { if t == nil { t = &StudioDetails_Studio_Media_Nodes_BaseAnime_EndDate{} } - return t.Day + return t.Year } type StudioDetails_Studio_Media_Nodes_BaseAnime_NextAiringEpisode struct { AiringAt int "json:\"airingAt\" graphql:\"airingAt\"" - TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" Episode int "json:\"episode\" graphql:\"episode\"" + TimeUntilAiring int "json:\"timeUntilAiring\" graphql:\"timeUntilAiring\"" } func (t *StudioDetails_Studio_Media_Nodes_BaseAnime_NextAiringEpisode) GetAiringAt() int { @@ -7130,18 +7129,18 @@ func (t *StudioDetails_Studio_Media_Nodes_BaseAnime_NextAiringEpisode) GetAiring } return t.AiringAt } -func (t *StudioDetails_Studio_Media_Nodes_BaseAnime_NextAiringEpisode) GetTimeUntilAiring() int { - if t == nil { - t = &StudioDetails_Studio_Media_Nodes_BaseAnime_NextAiringEpisode{} - } - return t.TimeUntilAiring -} func (t *StudioDetails_Studio_Media_Nodes_BaseAnime_NextAiringEpisode) GetEpisode() int { if t == nil { t = &StudioDetails_Studio_Media_Nodes_BaseAnime_NextAiringEpisode{} } return t.Episode } +func (t *StudioDetails_Studio_Media_Nodes_BaseAnime_NextAiringEpisode) GetTimeUntilAiring() int { + if t == nil { + t = &StudioDetails_Studio_Media_Nodes_BaseAnime_NextAiringEpisode{} + } + return t.TimeUntilAiring +} type StudioDetails_Studio_Media struct { Nodes []*BaseAnime "json:\"nodes,omitempty\" graphql:\"nodes\"" @@ -7157,8 +7156,8 @@ func (t *StudioDetails_Studio_Media) GetNodes() []*BaseAnime { type StudioDetails_Studio struct { ID int "json:\"id\" graphql:\"id\"" IsAnimationStudio bool "json:\"isAnimationStudio\" graphql:\"isAnimationStudio\"" - Name string "json:\"name\" graphql:\"name\"" Media *StudioDetails_Studio_Media "json:\"media,omitempty\" graphql:\"media\"" + Name string "json:\"name\" graphql:\"name\"" } func (t *StudioDetails_Studio) GetID() int { @@ -7173,18 +7172,18 @@ func (t *StudioDetails_Studio) GetIsAnimationStudio() bool { } return t.IsAnimationStudio } -func (t *StudioDetails_Studio) GetName() string { - if t == nil { - t = &StudioDetails_Studio{} - } - return t.Name -} func (t *StudioDetails_Studio) GetMedia() *StudioDetails_Studio_Media { if t == nil { t = &StudioDetails_Studio{} } return t.Media } +func (t *StudioDetails_Studio) GetName() string { + if t == nil { + t = &StudioDetails_Studio{} + } + return t.Name +} type GetViewer_Viewer_Avatar struct { Large *string "json:\"large,omitempty\" graphql:\"large\"" @@ -7205,23 +7204,23 @@ func (t *GetViewer_Viewer_Avatar) GetMedium() *string { } type GetViewer_Viewer_Options struct { - DisplayAdultContent *bool "json:\"displayAdultContent,omitempty\" graphql:\"displayAdultContent\"" AiringNotifications *bool "json:\"airingNotifications,omitempty\" graphql:\"airingNotifications\"" + DisplayAdultContent *bool "json:\"displayAdultContent,omitempty\" graphql:\"displayAdultContent\"" ProfileColor *string "json:\"profileColor,omitempty\" graphql:\"profileColor\"" } -func (t *GetViewer_Viewer_Options) GetDisplayAdultContent() *bool { - if t == nil { - t = &GetViewer_Viewer_Options{} - } - return t.DisplayAdultContent -} func (t *GetViewer_Viewer_Options) GetAiringNotifications() *bool { if t == nil { t = &GetViewer_Viewer_Options{} } return t.AiringNotifications } +func (t *GetViewer_Viewer_Options) GetDisplayAdultContent() *bool { + if t == nil { + t = &GetViewer_Viewer_Options{} + } + return t.DisplayAdultContent +} func (t *GetViewer_Viewer_Options) GetProfileColor() *string { if t == nil { t = &GetViewer_Viewer_Options{} @@ -7230,19 +7229,13 @@ func (t *GetViewer_Viewer_Options) GetProfileColor() *string { } type GetViewer_Viewer struct { - Name string "json:\"name\" graphql:\"name\"" Avatar *GetViewer_Viewer_Avatar "json:\"avatar,omitempty\" graphql:\"avatar\"" BannerImage *string "json:\"bannerImage,omitempty\" graphql:\"bannerImage\"" IsBlocked *bool "json:\"isBlocked,omitempty\" graphql:\"isBlocked\"" + Name string "json:\"name\" graphql:\"name\"" Options *GetViewer_Viewer_Options "json:\"options,omitempty\" graphql:\"options\"" } -func (t *GetViewer_Viewer) GetName() string { - if t == nil { - t = &GetViewer_Viewer{} - } - return t.Name -} func (t *GetViewer_Viewer) GetAvatar() *GetViewer_Viewer_Avatar { if t == nil { t = &GetViewer_Viewer{} @@ -7261,6 +7254,12 @@ func (t *GetViewer_Viewer) GetIsBlocked() *bool { } return t.IsBlocked } +func (t *GetViewer_Viewer) GetName() string { + if t == nil { + t = &GetViewer_Viewer{} + } + return t.Name +} func (t *GetViewer_Viewer) GetOptions() *GetViewer_Viewer_Options { if t == nil { t = &GetViewer_Viewer{} diff --git a/internal/api/anilist/client_mock.go b/internal/api/anilist/client_mock.go index 53015d2e..88a92eb7 100644 --- a/internal/api/anilist/client_mock.go +++ b/internal/api/anilist/client_mock.go @@ -7,8 +7,8 @@ import ( "seanime/internal/test_utils" "seanime/internal/util" - "github.com/Yamashou/gqlgenc/clientv2" "github.com/goccy/go-json" + "github.com/gqlgo/gqlgenc/clientv2" "github.com/rs/zerolog" ) diff --git a/internal/api/anilist/models_gen.go b/internal/api/anilist/models_gen.go index 049a5a02..99319680 100644 --- a/internal/api/anilist/models_gen.go +++ b/internal/api/anilist/models_gen.go @@ -3,6 +3,7 @@ package anilist import ( + "bytes" "fmt" "io" "strconv" @@ -2177,7 +2178,7 @@ func (e ActivitySort) String() string { return string(e) } -func (e *ActivitySort) UnmarshalGQL(v interface{}) error { +func (e *ActivitySort) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -2194,6 +2195,20 @@ func (e ActivitySort) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *ActivitySort) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e ActivitySort) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // Activity type enum. type ActivityType string @@ -2230,7 +2245,7 @@ func (e ActivityType) String() string { return string(e) } -func (e *ActivityType) UnmarshalGQL(v interface{}) error { +func (e *ActivityType) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -2247,6 +2262,20 @@ func (e ActivityType) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *ActivityType) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e ActivityType) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // Airing schedule sort enums type AiringSort string @@ -2284,7 +2313,7 @@ func (e AiringSort) String() string { return string(e) } -func (e *AiringSort) UnmarshalGQL(v interface{}) error { +func (e *AiringSort) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -2301,6 +2330,20 @@ func (e AiringSort) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *AiringSort) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e AiringSort) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // The role the character plays in the media type CharacterRole string @@ -2331,7 +2374,7 @@ func (e CharacterRole) String() string { return string(e) } -func (e *CharacterRole) UnmarshalGQL(v interface{}) error { +func (e *CharacterRole) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -2348,6 +2391,20 @@ func (e CharacterRole) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *CharacterRole) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e CharacterRole) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // Character sort enums type CharacterSort string @@ -2386,7 +2443,7 @@ func (e CharacterSort) String() string { return string(e) } -func (e *CharacterSort) UnmarshalGQL(v interface{}) error { +func (e *CharacterSort) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -2403,6 +2460,20 @@ func (e CharacterSort) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *CharacterSort) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e CharacterSort) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + type ExternalLinkMediaType string const ( @@ -2429,7 +2500,7 @@ func (e ExternalLinkMediaType) String() string { return string(e) } -func (e *ExternalLinkMediaType) UnmarshalGQL(v interface{}) error { +func (e *ExternalLinkMediaType) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -2446,6 +2517,20 @@ func (e ExternalLinkMediaType) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *ExternalLinkMediaType) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e ExternalLinkMediaType) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + type ExternalLinkType string const ( @@ -2472,7 +2557,7 @@ func (e ExternalLinkType) String() string { return string(e) } -func (e *ExternalLinkType) UnmarshalGQL(v interface{}) error { +func (e *ExternalLinkType) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -2489,6 +2574,20 @@ func (e ExternalLinkType) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *ExternalLinkType) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e ExternalLinkType) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // Types that can be liked type LikeableType string @@ -2518,7 +2617,7 @@ func (e LikeableType) String() string { return string(e) } -func (e *LikeableType) UnmarshalGQL(v interface{}) error { +func (e *LikeableType) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -2535,6 +2634,20 @@ func (e LikeableType) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *LikeableType) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e LikeableType) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // The format the media was released in type MediaFormat string @@ -2586,7 +2699,7 @@ func (e MediaFormat) String() string { return string(e) } -func (e *MediaFormat) UnmarshalGQL(v interface{}) error { +func (e *MediaFormat) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -2603,6 +2716,20 @@ func (e MediaFormat) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *MediaFormat) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e MediaFormat) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // Media list sort enums type MediaListSort string @@ -2684,7 +2811,7 @@ func (e MediaListSort) String() string { return string(e) } -func (e *MediaListSort) UnmarshalGQL(v interface{}) error { +func (e *MediaListSort) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -2701,6 +2828,20 @@ func (e MediaListSort) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *MediaListSort) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e MediaListSort) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // Media list watching/reading status enum. type MediaListStatus string @@ -2740,7 +2881,7 @@ func (e MediaListStatus) String() string { return string(e) } -func (e *MediaListStatus) UnmarshalGQL(v interface{}) error { +func (e *MediaListStatus) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -2757,6 +2898,20 @@ func (e MediaListStatus) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *MediaListStatus) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e MediaListStatus) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // The type of ranking type MediaRankType string @@ -2784,7 +2939,7 @@ func (e MediaRankType) String() string { return string(e) } -func (e *MediaRankType) UnmarshalGQL(v interface{}) error { +func (e *MediaRankType) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -2801,6 +2956,20 @@ func (e MediaRankType) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *MediaRankType) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e MediaRankType) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // Type of relation media has to its parent. type MediaRelation string @@ -2861,7 +3030,7 @@ func (e MediaRelation) String() string { return string(e) } -func (e *MediaRelation) UnmarshalGQL(v interface{}) error { +func (e *MediaRelation) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -2878,6 +3047,20 @@ func (e MediaRelation) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *MediaRelation) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e MediaRelation) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + type MediaSeason string const ( @@ -2910,7 +3093,7 @@ func (e MediaSeason) String() string { return string(e) } -func (e *MediaSeason) UnmarshalGQL(v interface{}) error { +func (e *MediaSeason) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -2927,6 +3110,20 @@ func (e MediaSeason) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *MediaSeason) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e MediaSeason) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // Media sort enums type MediaSort string @@ -3022,7 +3219,7 @@ func (e MediaSort) String() string { return string(e) } -func (e *MediaSort) UnmarshalGQL(v interface{}) error { +func (e *MediaSort) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -3039,6 +3236,20 @@ func (e MediaSort) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *MediaSort) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e MediaSort) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // Source type the media was adapted from type MediaSource string @@ -3105,7 +3316,7 @@ func (e MediaSource) String() string { return string(e) } -func (e *MediaSource) UnmarshalGQL(v interface{}) error { +func (e *MediaSource) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -3122,6 +3333,20 @@ func (e MediaSource) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *MediaSource) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e MediaSource) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // The current releasing status of the media type MediaStatus string @@ -3158,7 +3383,7 @@ func (e MediaStatus) String() string { return string(e) } -func (e *MediaStatus) UnmarshalGQL(v interface{}) error { +func (e *MediaStatus) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -3175,6 +3400,20 @@ func (e MediaStatus) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *MediaStatus) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e MediaStatus) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // Media trend sort enums type MediaTrendSort string @@ -3224,7 +3463,7 @@ func (e MediaTrendSort) String() string { return string(e) } -func (e *MediaTrendSort) UnmarshalGQL(v interface{}) error { +func (e *MediaTrendSort) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -3241,6 +3480,20 @@ func (e MediaTrendSort) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *MediaTrendSort) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e MediaTrendSort) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // Media type enum, anime or manga. type MediaType string @@ -3268,7 +3521,7 @@ func (e MediaType) String() string { return string(e) } -func (e *MediaType) UnmarshalGQL(v interface{}) error { +func (e *MediaType) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -3285,6 +3538,20 @@ func (e MediaType) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *MediaType) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e MediaType) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + type ModActionType string const ( @@ -3321,7 +3588,7 @@ func (e ModActionType) String() string { return string(e) } -func (e *ModActionType) UnmarshalGQL(v interface{}) error { +func (e *ModActionType) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -3338,6 +3605,20 @@ func (e ModActionType) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *ModActionType) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e ModActionType) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // Mod role enums type ModRole string @@ -3404,7 +3685,7 @@ func (e ModRole) String() string { return string(e) } -func (e *ModRole) UnmarshalGQL(v interface{}) error { +func (e *ModRole) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -3421,6 +3702,20 @@ func (e ModRole) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *ModRole) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e ModRole) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // Notification type enum type NotificationType string @@ -3493,7 +3788,7 @@ func (e NotificationType) String() string { return string(e) } -func (e *NotificationType) UnmarshalGQL(v interface{}) error { +func (e *NotificationType) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -3510,6 +3805,20 @@ func (e NotificationType) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *NotificationType) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e NotificationType) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // Recommendation rating enums type RecommendationRating string @@ -3537,7 +3846,7 @@ func (e RecommendationRating) String() string { return string(e) } -func (e *RecommendationRating) UnmarshalGQL(v interface{}) error { +func (e *RecommendationRating) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -3554,6 +3863,20 @@ func (e RecommendationRating) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *RecommendationRating) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e RecommendationRating) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // Recommendation sort enums type RecommendationSort string @@ -3583,7 +3906,7 @@ func (e RecommendationSort) String() string { return string(e) } -func (e *RecommendationSort) UnmarshalGQL(v interface{}) error { +func (e *RecommendationSort) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -3600,6 +3923,20 @@ func (e RecommendationSort) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *RecommendationSort) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e RecommendationSort) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // Review rating enums type ReviewRating string @@ -3627,7 +3964,7 @@ func (e ReviewRating) String() string { return string(e) } -func (e *ReviewRating) UnmarshalGQL(v interface{}) error { +func (e *ReviewRating) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -3644,6 +3981,20 @@ func (e ReviewRating) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *ReviewRating) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e ReviewRating) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // Review sort enums type ReviewSort string @@ -3685,7 +4036,7 @@ func (e ReviewSort) String() string { return string(e) } -func (e *ReviewSort) UnmarshalGQL(v interface{}) error { +func (e *ReviewSort) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -3702,6 +4053,20 @@ func (e ReviewSort) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *ReviewSort) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e ReviewSort) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // Revision history actions type RevisionHistoryAction string @@ -3727,7 +4092,7 @@ func (e RevisionHistoryAction) String() string { return string(e) } -func (e *RevisionHistoryAction) UnmarshalGQL(v interface{}) error { +func (e *RevisionHistoryAction) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -3744,6 +4109,20 @@ func (e RevisionHistoryAction) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *RevisionHistoryAction) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e RevisionHistoryAction) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // Media list scoring type type ScoreFormat string @@ -3780,7 +4159,7 @@ func (e ScoreFormat) String() string { return string(e) } -func (e *ScoreFormat) UnmarshalGQL(v interface{}) error { +func (e *ScoreFormat) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -3797,6 +4176,20 @@ func (e ScoreFormat) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *ScoreFormat) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e ScoreFormat) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // Site trend sort enums type SiteTrendSort string @@ -3830,7 +4223,7 @@ func (e SiteTrendSort) String() string { return string(e) } -func (e *SiteTrendSort) UnmarshalGQL(v interface{}) error { +func (e *SiteTrendSort) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -3847,6 +4240,20 @@ func (e SiteTrendSort) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *SiteTrendSort) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e SiteTrendSort) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // The primary language of the voice actor type StaffLanguage string @@ -3898,7 +4305,7 @@ func (e StaffLanguage) String() string { return string(e) } -func (e *StaffLanguage) UnmarshalGQL(v interface{}) error { +func (e *StaffLanguage) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -3915,6 +4322,20 @@ func (e StaffLanguage) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *StaffLanguage) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e StaffLanguage) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // Staff sort enums type StaffSort string @@ -3957,7 +4378,7 @@ func (e StaffSort) String() string { return string(e) } -func (e *StaffSort) UnmarshalGQL(v interface{}) error { +func (e *StaffSort) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -3974,6 +4395,20 @@ func (e StaffSort) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *StaffSort) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e StaffSort) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // Studio sort enums type StudioSort string @@ -4009,7 +4444,7 @@ func (e StudioSort) String() string { return string(e) } -func (e *StudioSort) UnmarshalGQL(v interface{}) error { +func (e *StudioSort) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -4026,6 +4461,20 @@ func (e StudioSort) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *StudioSort) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e StudioSort) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // Submission sort enums type SubmissionSort string @@ -4051,7 +4500,7 @@ func (e SubmissionSort) String() string { return string(e) } -func (e *SubmissionSort) UnmarshalGQL(v interface{}) error { +func (e *SubmissionSort) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -4068,6 +4517,20 @@ func (e SubmissionSort) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *SubmissionSort) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e SubmissionSort) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // Submission status type SubmissionStatus string @@ -4097,7 +4560,7 @@ func (e SubmissionStatus) String() string { return string(e) } -func (e *SubmissionStatus) UnmarshalGQL(v interface{}) error { +func (e *SubmissionStatus) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -4114,6 +4577,20 @@ func (e SubmissionStatus) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *SubmissionStatus) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e SubmissionStatus) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // Thread comments sort enums type ThreadCommentSort string @@ -4139,7 +4616,7 @@ func (e ThreadCommentSort) String() string { return string(e) } -func (e *ThreadCommentSort) UnmarshalGQL(v interface{}) error { +func (e *ThreadCommentSort) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -4156,6 +4633,20 @@ func (e ThreadCommentSort) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *ThreadCommentSort) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e ThreadCommentSort) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // Thread sort enums type ThreadSort string @@ -4209,7 +4700,7 @@ func (e ThreadSort) String() string { return string(e) } -func (e *ThreadSort) UnmarshalGQL(v interface{}) error { +func (e *ThreadSort) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -4226,6 +4717,20 @@ func (e ThreadSort) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *ThreadSort) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e ThreadSort) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // User sort enums type UserSort string @@ -4265,7 +4770,7 @@ func (e UserSort) String() string { return string(e) } -func (e *UserSort) UnmarshalGQL(v interface{}) error { +func (e *UserSort) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -4282,6 +4787,20 @@ func (e UserSort) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *UserSort) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e UserSort) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // The language the user wants to see staff and character names in type UserStaffNameLanguage string @@ -4312,7 +4831,7 @@ func (e UserStaffNameLanguage) String() string { return string(e) } -func (e *UserStaffNameLanguage) UnmarshalGQL(v interface{}) error { +func (e *UserStaffNameLanguage) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -4329,6 +4848,20 @@ func (e UserStaffNameLanguage) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *UserStaffNameLanguage) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e UserStaffNameLanguage) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // User statistics sort enum type UserStatisticsSort string @@ -4366,7 +4899,7 @@ func (e UserStatisticsSort) String() string { return string(e) } -func (e *UserStatisticsSort) UnmarshalGQL(v interface{}) error { +func (e *UserStatisticsSort) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -4383,6 +4916,20 @@ func (e UserStatisticsSort) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } +func (e *UserStatisticsSort) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e UserStatisticsSort) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} + // The language the user wants to see media titles in type UserTitleLanguage string @@ -4422,7 +4969,7 @@ func (e UserTitleLanguage) String() string { return string(e) } -func (e *UserTitleLanguage) UnmarshalGQL(v interface{}) error { +func (e *UserTitleLanguage) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") @@ -4438,3 +4985,17 @@ func (e *UserTitleLanguage) UnmarshalGQL(v interface{}) error { func (e UserTitleLanguage) MarshalGQL(w io.Writer) { fmt.Fprint(w, strconv.Quote(e.String())) } + +func (e *UserTitleLanguage) UnmarshalJSON(b []byte) error { + s, err := strconv.Unquote(string(b)) + if err != nil { + return err + } + return e.UnmarshalGQL(s) +} + +func (e UserTitleLanguage) MarshalJSON() ([]byte, error) { + var buf bytes.Buffer + e.MarshalGQL(&buf) + return buf.Bytes(), nil +} diff --git a/internal/extension_repo/goja_plugin_types/app.d.ts b/internal/extension_repo/goja_plugin_types/app.d.ts index a1c54990..9d7792f3 100644 --- a/internal/extension_repo/goja_plugin_types/app.d.ts +++ b/internal/extension_repo/goja_plugin_types/app.d.ts @@ -1826,44 +1826,44 @@ declare namespace $app { * - Filepath: internal/api/anilist/client_gen.go */ interface AL_AnimeCollectionWithRelations_MediaListCollection_Lists { - status?: AL_MediaListStatus; - name?: string; - isCustomList?: boolean; entries?: Array; + isCustomList?: boolean; + name?: string; + status?: AL_MediaListStatus; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_AnimeCollectionWithRelations_MediaListCollection_Lists_Entries { - id: number; - score?: number; - progress?: number; - status?: AL_MediaListStatus; - notes?: string; - repeat?: number; - private?: boolean; - startedAt?: AL_AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_StartedAt; completedAt?: AL_AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_CompletedAt; + id: number; media?: AL_CompleteAnime; + notes?: string; + private?: boolean; + progress?: number; + repeat?: number; + score?: number; + startedAt?: AL_AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_StartedAt; + status?: AL_MediaListStatus; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_CompletedAt { - year?: number; - month?: number; day?: number; + month?: number; + year?: number; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_AnimeCollectionWithRelations_MediaListCollection_Lists_Entries_StartedAt { - year?: number; - month?: number; day?: number; + month?: number; + year?: number; } /** @@ -1877,67 +1877,67 @@ declare namespace $app { * - Filepath: internal/api/anilist/client_gen.go */ interface AL_AnimeCollection_MediaListCollection_Lists { - status?: AL_MediaListStatus; - name?: string; - isCustomList?: boolean; entries?: Array; + isCustomList?: boolean; + name?: string; + status?: AL_MediaListStatus; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_AnimeCollection_MediaListCollection_Lists_Entries { - id: number; - score?: number; - progress?: number; - status?: AL_MediaListStatus; - notes?: string; - repeat?: number; - private?: boolean; - startedAt?: AL_AnimeCollection_MediaListCollection_Lists_Entries_StartedAt; completedAt?: AL_AnimeCollection_MediaListCollection_Lists_Entries_CompletedAt; + id: number; media?: AL_BaseAnime; + notes?: string; + private?: boolean; + progress?: number; + repeat?: number; + score?: number; + startedAt?: AL_AnimeCollection_MediaListCollection_Lists_Entries_StartedAt; + status?: AL_MediaListStatus; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_AnimeCollection_MediaListCollection_Lists_Entries_CompletedAt { - year?: number; - month?: number; day?: number; + month?: number; + year?: number; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_AnimeCollection_MediaListCollection_Lists_Entries_StartedAt { - year?: number; - month?: number; day?: number; + month?: number; + year?: number; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_AnimeDetailsById_Media { - siteUrl?: string; - id: number; - duration?: number; - genres?: Array; averageScore?: number; - popularity?: number; - meanScore?: number; - description?: string; - trailer?: AL_AnimeDetailsById_Media_Trailer; - startDate?: AL_AnimeDetailsById_Media_StartDate; - endDate?: AL_AnimeDetailsById_Media_EndDate; - studios?: AL_AnimeDetailsById_Media_Studios; characters?: AL_AnimeDetailsById_Media_Characters; - staff?: AL_AnimeDetailsById_Media_Staff; + description?: string; + duration?: number; + endDate?: AL_AnimeDetailsById_Media_EndDate; + genres?: Array; + id: number; + meanScore?: number; + popularity?: number; rankings?: Array; recommendations?: AL_AnimeDetailsById_Media_Recommendations; relations?: AL_AnimeDetailsById_Media_Relations; + siteUrl?: string; + staff?: AL_AnimeDetailsById_Media_Staff; + startDate?: AL_AnimeDetailsById_Media_StartDate; + studios?: AL_AnimeDetailsById_Media_Studios; + trailer?: AL_AnimeDetailsById_Media_Trailer; } /** @@ -1952,31 +1952,31 @@ declare namespace $app { */ interface AL_AnimeDetailsById_Media_Characters_Edges { id?: number; - role?: AL_CharacterRole; name?: string; node?: AL_BaseCharacter; + role?: AL_CharacterRole; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_AnimeDetailsById_Media_EndDate { - year?: number; - month?: number; day?: number; + month?: number; + year?: number; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_AnimeDetailsById_Media_Rankings { - context: string; - type: AL_MediaRankType; - rank: number; - year?: number; - format: AL_MediaFormat; allTime?: boolean; + context: string; + format: AL_MediaFormat; + rank: number; season?: AL_MediaSeason; + type: AL_MediaRankType; + year?: number; } /** @@ -2004,50 +2004,50 @@ declare namespace $app { * - Filepath: internal/api/anilist/client_gen.go */ interface AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation { - id: number; - idMal?: number; - siteUrl?: string; - status?: AL_MediaStatus; - isAdult?: boolean; - season?: AL_MediaSeason; - type?: AL_MediaType; - format?: AL_MediaFormat; - meanScore?: number; + bannerImage?: string; + coverImage?: AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage; description?: string; episodes?: number; - trailer?: AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Trailer; + format?: AL_MediaFormat; + id: number; + idMal?: number; + isAdult?: boolean; + meanScore?: number; + season?: AL_MediaSeason; + siteUrl?: string; startDate?: AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate; - coverImage?: AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage; - bannerImage?: string; + status?: AL_MediaStatus; title?: AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title; + trailer?: AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Trailer; + type?: AL_MediaType; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage { + color?: string; extraLarge?: string; large?: string; medium?: string; - color?: string; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate { - year?: number; - month?: number; day?: number; + month?: number; + year?: number; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title { - romaji?: string; english?: string; native?: string; + romaji?: string; userPreferred?: string; } @@ -2071,8 +2071,8 @@ declare namespace $app { * - Filepath: internal/api/anilist/client_gen.go */ interface AL_AnimeDetailsById_Media_Relations_Edges { - relationType?: AL_MediaRelation; node?: AL_BaseAnime; + relationType?: AL_MediaRelation; } /** @@ -2086,16 +2086,16 @@ declare namespace $app { * - Filepath: internal/api/anilist/client_gen.go */ interface AL_AnimeDetailsById_Media_Staff_Edges { - role?: string; node?: AL_AnimeDetailsById_Media_Staff_Edges_Node; + role?: string; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_AnimeDetailsById_Media_Staff_Edges_Node { - name?: AL_AnimeDetailsById_Media_Staff_Edges_Node_Name; id: number; + name?: AL_AnimeDetailsById_Media_Staff_Edges_Node_Name; } /** @@ -2109,9 +2109,9 @@ declare namespace $app { * - Filepath: internal/api/anilist/client_gen.go */ interface AL_AnimeDetailsById_Media_StartDate { - year?: number; - month?: number; day?: number; + month?: number; + year?: number; } /** @@ -2125,8 +2125,8 @@ declare namespace $app { * - Filepath: internal/api/anilist/client_gen.go */ interface AL_AnimeDetailsById_Media_Studios_Nodes { - name: string; id: number; + name: string; } /** @@ -2176,19 +2176,19 @@ declare namespace $app { * - Filepath: internal/api/anilist/client_gen.go */ interface AL_BaseAnime_CoverImage { + color?: string; extraLarge?: string; large?: string; medium?: string; - color?: string; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_BaseAnime_EndDate { - year?: number; - month?: number; day?: number; + month?: number; + year?: number; } /** @@ -2196,27 +2196,27 @@ declare namespace $app { */ interface AL_BaseAnime_NextAiringEpisode { airingAt: number; - timeUntilAiring: number; episode: number; + timeUntilAiring: number; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_BaseAnime_StartDate { - year?: number; - month?: number; day?: number; + month?: number; + year?: number; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_BaseAnime_Title { - userPreferred?: string; - romaji?: string; english?: string; native?: string; + romaji?: string; + userPreferred?: string; } /** @@ -2247,9 +2247,9 @@ declare namespace $app { * - Filepath: internal/api/anilist/client_gen.go */ interface AL_BaseCharacter_DateOfBirth { - year?: number; - month?: number; day?: number; + month?: number; + year?: number; } /** @@ -2263,9 +2263,9 @@ declare namespace $app { * - Filepath: internal/api/anilist/client_gen.go */ interface AL_BaseCharacter_Name { + alternative?: Array; full?: string; native?: string; - alternative?: Array; } /** @@ -2298,38 +2298,38 @@ declare namespace $app { * - Filepath: internal/api/anilist/client_gen.go */ interface AL_BaseManga_CoverImage { + color?: string; extraLarge?: string; large?: string; medium?: string; - color?: string; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_BaseManga_EndDate { - year?: number; - month?: number; day?: number; + month?: number; + year?: number; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_BaseManga_StartDate { - year?: number; - month?: number; day?: number; + month?: number; + year?: number; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_BaseManga_Title { - userPreferred?: string; - romaji?: string; english?: string; native?: string; + romaji?: string; + userPreferred?: string; } /** @@ -2373,19 +2373,19 @@ declare namespace $app { * - Filepath: internal/api/anilist/client_gen.go */ interface AL_CompleteAnime_CoverImage { + color?: string; extraLarge?: string; large?: string; medium?: string; - color?: string; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_CompleteAnime_EndDate { - year?: number; - month?: number; day?: number; + month?: number; + year?: number; } /** @@ -2393,8 +2393,8 @@ declare namespace $app { */ interface AL_CompleteAnime_NextAiringEpisode { airingAt: number; - timeUntilAiring: number; episode: number; + timeUntilAiring: number; } /** @@ -2408,27 +2408,27 @@ declare namespace $app { * - Filepath: internal/api/anilist/client_gen.go */ interface AL_CompleteAnime_Relations_Edges { - relationType?: AL_MediaRelation; node?: AL_BaseAnime; + relationType?: AL_MediaRelation; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_CompleteAnime_StartDate { - year?: number; - month?: number; day?: number; + month?: number; + year?: number; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_CompleteAnime_Title { - userPreferred?: string; - romaji?: string; english?: string; native?: string; + romaji?: string; + userPreferred?: string; } /** @@ -2462,19 +2462,19 @@ declare namespace $app { * - Filepath: internal/api/anilist/client_gen.go */ interface AL_ListAnime_Page { - pageInfo?: AL_ListAnime_Page_PageInfo; media?: Array; + pageInfo?: AL_ListAnime_Page_PageInfo; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_ListAnime_Page_PageInfo { - hasNextPage?: boolean; - total?: number; - perPage?: number; currentPage?: number; + hasNextPage?: boolean; lastPage?: number; + perPage?: number; + total?: number; } /** @@ -2488,19 +2488,19 @@ declare namespace $app { * - Filepath: internal/api/anilist/client_gen.go */ interface AL_ListManga_Page { - pageInfo?: AL_ListManga_Page_PageInfo; media?: Array; + pageInfo?: AL_ListManga_Page_PageInfo; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_ListManga_Page_PageInfo { - hasNextPage?: boolean; - total?: number; - perPage?: number; currentPage?: number; + hasNextPage?: boolean; lastPage?: number; + perPage?: number; + total?: number; } /** @@ -2514,30 +2514,30 @@ declare namespace $app { * - Filepath: internal/api/anilist/client_gen.go */ interface AL_ListRecentAnime_Page { - pageInfo?: AL_ListRecentAnime_Page_PageInfo; airingSchedules?: Array; + pageInfo?: AL_ListRecentAnime_Page_PageInfo; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_ListRecentAnime_Page_AiringSchedules { - id: number; airingAt: number; episode: number; - timeUntilAiring: number; + id: number; media?: AL_BaseAnime; + timeUntilAiring: number; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_ListRecentAnime_Page_PageInfo { - hasNextPage?: boolean; - total?: number; - perPage?: number; currentPage?: number; + hasNextPage?: boolean; lastPage?: number; + perPage?: number; + total?: number; } /** @@ -2558,58 +2558,58 @@ declare namespace $app { * - Filepath: internal/api/anilist/client_gen.go */ interface AL_MangaCollection_MediaListCollection_Lists { - status?: AL_MediaListStatus; - name?: string; - isCustomList?: boolean; entries?: Array; + isCustomList?: boolean; + name?: string; + status?: AL_MediaListStatus; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_MangaCollection_MediaListCollection_Lists_Entries { - id: number; - score?: number; - progress?: number; - status?: AL_MediaListStatus; - notes?: string; - repeat?: number; - private?: boolean; - startedAt?: AL_MangaCollection_MediaListCollection_Lists_Entries_StartedAt; completedAt?: AL_MangaCollection_MediaListCollection_Lists_Entries_CompletedAt; + id: number; media?: AL_BaseManga; + notes?: string; + private?: boolean; + progress?: number; + repeat?: number; + score?: number; + startedAt?: AL_MangaCollection_MediaListCollection_Lists_Entries_StartedAt; + status?: AL_MediaListStatus; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_MangaCollection_MediaListCollection_Lists_Entries_CompletedAt { - year?: number; - month?: number; day?: number; + month?: number; + year?: number; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_MangaCollection_MediaListCollection_Lists_Entries_StartedAt { - year?: number; - month?: number; day?: number; + month?: number; + year?: number; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_MangaDetailsById_Media { - siteUrl?: string; - id: number; + characters?: AL_MangaDetailsById_Media_Characters; duration?: number; genres?: Array; + id: number; rankings?: Array; - characters?: AL_MangaDetailsById_Media_Characters; recommendations?: AL_MangaDetailsById_Media_Recommendations; relations?: AL_MangaDetailsById_Media_Relations; + siteUrl?: string; } /** @@ -2624,22 +2624,22 @@ declare namespace $app { */ interface AL_MangaDetailsById_Media_Characters_Edges { id?: number; - role?: AL_CharacterRole; name?: string; node?: AL_BaseCharacter; + role?: AL_CharacterRole; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_MangaDetailsById_Media_Rankings { - context: string; - type: AL_MediaRankType; - rank: number; - year?: number; - format: AL_MediaFormat; allTime?: boolean; + context: string; + format: AL_MediaFormat; + rank: number; season?: AL_MediaSeason; + type: AL_MediaRankType; + year?: number; } /** @@ -2667,63 +2667,63 @@ declare namespace $app { * - Filepath: internal/api/anilist/client_gen.go */ interface AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation { - id: number; - idMal?: number; - siteUrl?: string; - status?: AL_MediaStatus; - season?: AL_MediaSeason; - type?: AL_MediaType; - format?: AL_MediaFormat; bannerImage?: string; chapters?: number; - volumes?: number; - synonyms?: Array; - isAdult?: boolean; countryOfOrigin?: string; - meanScore?: number; - description?: string; - title?: AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title; coverImage?: AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage; - startDate?: AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate; + description?: string; endDate?: AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_EndDate; + format?: AL_MediaFormat; + id: number; + idMal?: number; + isAdult?: boolean; + meanScore?: number; + season?: AL_MediaSeason; + siteUrl?: string; + startDate?: AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate; + status?: AL_MediaStatus; + synonyms?: Array; + title?: AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title; + type?: AL_MediaType; + volumes?: number; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage { + color?: string; extraLarge?: string; large?: string; medium?: string; - color?: string; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_EndDate { - year?: number; - month?: number; day?: number; + month?: number; + year?: number; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate { - year?: number; - month?: number; day?: number; + month?: number; + year?: number; } /** * - Filepath: internal/api/anilist/client_gen.go */ interface AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title { - userPreferred?: string; - romaji?: string; english?: string; native?: string; + romaji?: string; + userPreferred?: string; } /** @@ -2737,8 +2737,8 @@ declare namespace $app { * - Filepath: internal/api/anilist/client_gen.go */ interface AL_MangaDetailsById_Media_Relations_Edges { - relationType?: AL_MediaRelation; node?: AL_BaseManga; + relationType?: AL_MediaRelation; } /** @@ -2870,8 +2870,8 @@ declare namespace $app { interface AL_StudioDetails_Studio { id: number; isAnimationStudio: boolean; - name: string; media?: AL_StudioDetails_Studio_Media; + name: string; } /** diff --git a/internal/platforms/shared_platform/cachelayer.go b/internal/platforms/shared_platform/cachelayer.go index c9d4b7d0..bbf42c4a 100644 --- a/internal/platforms/shared_platform/cachelayer.go +++ b/internal/platforms/shared_platform/cachelayer.go @@ -14,7 +14,7 @@ import ( "sync/atomic" "time" - "github.com/Yamashou/gqlgenc/clientv2" + "github.com/gqlgo/gqlgenc/clientv2" "github.com/rs/zerolog" "github.com/samber/lo" ) diff --git a/seanime-web/src/api/generated/types.ts b/seanime-web/src/api/generated/types.ts index b93b14c9..c30ef246 100644 --- a/seanime-web/src/api/generated/types.ts +++ b/seanime-web/src/api/generated/types.ts @@ -46,10 +46,10 @@ export type AL_AnimeCollection_MediaListCollection = { * - Package: anilist */ export type AL_AnimeCollection_MediaListCollection_Lists = { - status?: AL_MediaListStatus - name?: string - isCustomList?: boolean entries?: Array + isCustomList?: boolean + name?: string + status?: AL_MediaListStatus } /** @@ -58,16 +58,16 @@ export type AL_AnimeCollection_MediaListCollection_Lists = { * - Package: anilist */ export type AL_AnimeCollection_MediaListCollection_Lists_Entries = { - id: number - score?: number - progress?: number - status?: AL_MediaListStatus - notes?: string - repeat?: number - private?: boolean - startedAt?: AL_AnimeCollection_MediaListCollection_Lists_Entries_StartedAt completedAt?: AL_AnimeCollection_MediaListCollection_Lists_Entries_CompletedAt + id: number media?: AL_BaseAnime + notes?: string + private?: boolean + progress?: number + repeat?: number + score?: number + startedAt?: AL_AnimeCollection_MediaListCollection_Lists_Entries_StartedAt + status?: AL_MediaListStatus } /** @@ -76,9 +76,9 @@ export type AL_AnimeCollection_MediaListCollection_Lists_Entries = { * - Package: anilist */ export type AL_AnimeCollection_MediaListCollection_Lists_Entries_CompletedAt = { - year?: number - month?: number day?: number + month?: number + year?: number } /** @@ -87,9 +87,9 @@ export type AL_AnimeCollection_MediaListCollection_Lists_Entries_CompletedAt = { * - Package: anilist */ export type AL_AnimeCollection_MediaListCollection_Lists_Entries_StartedAt = { - year?: number - month?: number day?: number + month?: number + year?: number } /** @@ -98,23 +98,23 @@ export type AL_AnimeCollection_MediaListCollection_Lists_Entries_StartedAt = { * - Package: anilist */ export type AL_AnimeDetailsById_Media = { - siteUrl?: string - id: number - duration?: number - genres?: Array averageScore?: number - popularity?: number - meanScore?: number - description?: string - trailer?: AL_AnimeDetailsById_Media_Trailer - startDate?: AL_AnimeDetailsById_Media_StartDate - endDate?: AL_AnimeDetailsById_Media_EndDate - studios?: AL_AnimeDetailsById_Media_Studios characters?: AL_AnimeDetailsById_Media_Characters - staff?: AL_AnimeDetailsById_Media_Staff + description?: string + duration?: number + endDate?: AL_AnimeDetailsById_Media_EndDate + genres?: Array + id: number + meanScore?: number + popularity?: number rankings?: Array recommendations?: AL_AnimeDetailsById_Media_Recommendations relations?: AL_AnimeDetailsById_Media_Relations + siteUrl?: string + staff?: AL_AnimeDetailsById_Media_Staff + startDate?: AL_AnimeDetailsById_Media_StartDate + studios?: AL_AnimeDetailsById_Media_Studios + trailer?: AL_AnimeDetailsById_Media_Trailer } /** @@ -133,9 +133,9 @@ export type AL_AnimeDetailsById_Media_Characters = { */ export type AL_AnimeDetailsById_Media_Characters_Edges = { id?: number - role?: AL_CharacterRole name?: string node?: AL_BaseCharacter + role?: AL_CharacterRole } /** @@ -144,9 +144,9 @@ export type AL_AnimeDetailsById_Media_Characters_Edges = { * - Package: anilist */ export type AL_AnimeDetailsById_Media_EndDate = { - year?: number - month?: number day?: number + month?: number + year?: number } /** @@ -155,13 +155,13 @@ export type AL_AnimeDetailsById_Media_EndDate = { * - Package: anilist */ export type AL_AnimeDetailsById_Media_Rankings = { - context: string - type: AL_MediaRankType - rank: number - year?: number - format: AL_MediaFormat allTime?: boolean + context: string + format: AL_MediaFormat + rank: number season?: AL_MediaSeason + type: AL_MediaRankType + year?: number } /** @@ -197,22 +197,22 @@ export type AL_AnimeDetailsById_Media_Recommendations_Edges_Node = { * - Package: anilist */ export type AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation = { - id: number - idMal?: number - siteUrl?: string - status?: AL_MediaStatus - isAdult?: boolean - season?: AL_MediaSeason - type?: AL_MediaType - format?: AL_MediaFormat - meanScore?: number + bannerImage?: string + coverImage?: AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage description?: string episodes?: number - trailer?: AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Trailer + format?: AL_MediaFormat + id: number + idMal?: number + isAdult?: boolean + meanScore?: number + season?: AL_MediaSeason + siteUrl?: string startDate?: AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate - coverImage?: AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage - bannerImage?: string + status?: AL_MediaStatus title?: AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title + trailer?: AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Trailer + type?: AL_MediaType } /** @@ -221,10 +221,10 @@ export type AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommenda * - Package: anilist */ export type AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage = { + color?: string extraLarge?: string large?: string medium?: string - color?: string } /** @@ -233,9 +233,9 @@ export type AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommenda * - Package: anilist */ export type AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate = { - year?: number - month?: number day?: number + month?: number + year?: number } /** @@ -244,9 +244,9 @@ export type AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommenda * - Package: anilist */ export type AL_AnimeDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title = { - romaji?: string english?: string native?: string + romaji?: string userPreferred?: string } @@ -276,8 +276,8 @@ export type AL_AnimeDetailsById_Media_Relations = { * - Package: anilist */ export type AL_AnimeDetailsById_Media_Relations_Edges = { - relationType?: AL_MediaRelation node?: AL_BaseAnime + relationType?: AL_MediaRelation } /** @@ -295,8 +295,8 @@ export type AL_AnimeDetailsById_Media_Staff = { * - Package: anilist */ export type AL_AnimeDetailsById_Media_Staff_Edges = { - role?: string node?: AL_AnimeDetailsById_Media_Staff_Edges_Node + role?: string } /** @@ -305,8 +305,8 @@ export type AL_AnimeDetailsById_Media_Staff_Edges = { * - Package: anilist */ export type AL_AnimeDetailsById_Media_Staff_Edges_Node = { - name?: AL_AnimeDetailsById_Media_Staff_Edges_Node_Name id: number + name?: AL_AnimeDetailsById_Media_Staff_Edges_Node_Name } /** @@ -324,9 +324,9 @@ export type AL_AnimeDetailsById_Media_Staff_Edges_Node_Name = { * - Package: anilist */ export type AL_AnimeDetailsById_Media_StartDate = { - year?: number - month?: number day?: number + month?: number + year?: number } /** @@ -344,8 +344,8 @@ export type AL_AnimeDetailsById_Media_Studios = { * - Package: anilist */ export type AL_AnimeDetailsById_Media_Studios_Nodes = { - name: string id: number + name: string } /** @@ -422,10 +422,10 @@ export type AL_BaseAnime = { * - Package: anilist */ export type AL_BaseAnime_CoverImage = { + color?: string extraLarge?: string large?: string medium?: string - color?: string } /** @@ -434,9 +434,9 @@ export type AL_BaseAnime_CoverImage = { * - Package: anilist */ export type AL_BaseAnime_EndDate = { - year?: number - month?: number day?: number + month?: number + year?: number } /** @@ -446,8 +446,8 @@ export type AL_BaseAnime_EndDate = { */ export type AL_BaseAnime_NextAiringEpisode = { airingAt: number - timeUntilAiring: number episode: number + timeUntilAiring: number } /** @@ -456,9 +456,9 @@ export type AL_BaseAnime_NextAiringEpisode = { * - Package: anilist */ export type AL_BaseAnime_StartDate = { - year?: number - month?: number day?: number + month?: number + year?: number } /** @@ -467,10 +467,10 @@ export type AL_BaseAnime_StartDate = { * - Package: anilist */ export type AL_BaseAnime_Title = { - userPreferred?: string - romaji?: string english?: string native?: string + romaji?: string + userPreferred?: string } /** @@ -507,9 +507,9 @@ export type AL_BaseCharacter = { * - Package: anilist */ export type AL_BaseCharacter_DateOfBirth = { - year?: number - month?: number day?: number + month?: number + year?: number } /** @@ -527,9 +527,9 @@ export type AL_BaseCharacter_Image = { * - Package: anilist */ export type AL_BaseCharacter_Name = { + alternative?: Array full?: string native?: string - alternative?: Array } /** @@ -566,10 +566,10 @@ export type AL_BaseManga = { * - Package: anilist */ export type AL_BaseManga_CoverImage = { + color?: string extraLarge?: string large?: string medium?: string - color?: string } /** @@ -578,9 +578,9 @@ export type AL_BaseManga_CoverImage = { * - Package: anilist */ export type AL_BaseManga_EndDate = { - year?: number - month?: number day?: number + month?: number + year?: number } /** @@ -589,9 +589,9 @@ export type AL_BaseManga_EndDate = { * - Package: anilist */ export type AL_BaseManga_StartDate = { - year?: number - month?: number day?: number + month?: number + year?: number } /** @@ -600,10 +600,10 @@ export type AL_BaseManga_StartDate = { * - Package: anilist */ export type AL_BaseManga_Title = { - userPreferred?: string - romaji?: string english?: string native?: string + romaji?: string + userPreferred?: string } /** @@ -634,10 +634,10 @@ export type AL_FuzzyDateInput = { * - Package: anilist */ export type AL_GetViewer_Viewer = { - name: string avatar?: AL_GetViewer_Viewer_Avatar bannerImage?: string isBlocked?: boolean + name: string options?: AL_GetViewer_Viewer_Options } @@ -657,8 +657,8 @@ export type AL_GetViewer_Viewer_Avatar = { * - Package: anilist */ export type AL_GetViewer_Viewer_Options = { - displayAdultContent?: boolean airingNotifications?: boolean + displayAdultContent?: boolean profileColor?: string } @@ -677,8 +677,8 @@ export type AL_ListAnime = { * - Package: anilist */ export type AL_ListAnime_Page = { - pageInfo?: AL_ListAnime_Page_PageInfo media?: Array + pageInfo?: AL_ListAnime_Page_PageInfo } /** @@ -687,11 +687,11 @@ export type AL_ListAnime_Page = { * - Package: anilist */ export type AL_ListAnime_Page_PageInfo = { - hasNextPage?: boolean - total?: number - perPage?: number currentPage?: number + hasNextPage?: boolean lastPage?: number + perPage?: number + total?: number } /** @@ -709,8 +709,8 @@ export type AL_ListManga = { * - Package: anilist */ export type AL_ListManga_Page = { - pageInfo?: AL_ListManga_Page_PageInfo media?: Array + pageInfo?: AL_ListManga_Page_PageInfo } /** @@ -719,11 +719,11 @@ export type AL_ListManga_Page = { * - Package: anilist */ export type AL_ListManga_Page_PageInfo = { - hasNextPage?: boolean - total?: number - perPage?: number currentPage?: number + hasNextPage?: boolean lastPage?: number + perPage?: number + total?: number } /** @@ -741,8 +741,8 @@ export type AL_ListRecentAnime = { * - Package: anilist */ export type AL_ListRecentAnime_Page = { - pageInfo?: AL_ListRecentAnime_Page_PageInfo airingSchedules?: Array + pageInfo?: AL_ListRecentAnime_Page_PageInfo } /** @@ -751,11 +751,11 @@ export type AL_ListRecentAnime_Page = { * - Package: anilist */ export type AL_ListRecentAnime_Page_AiringSchedules = { - id: number airingAt: number episode: number - timeUntilAiring: number + id: number media?: AL_BaseAnime + timeUntilAiring: number } /** @@ -764,11 +764,11 @@ export type AL_ListRecentAnime_Page_AiringSchedules = { * - Package: anilist */ export type AL_ListRecentAnime_Page_PageInfo = { - hasNextPage?: boolean - total?: number - perPage?: number currentPage?: number + hasNextPage?: boolean lastPage?: number + perPage?: number + total?: number } /** @@ -795,10 +795,10 @@ export type AL_MangaCollection_MediaListCollection = { * - Package: anilist */ export type AL_MangaCollection_MediaListCollection_Lists = { - status?: AL_MediaListStatus - name?: string - isCustomList?: boolean entries?: Array + isCustomList?: boolean + name?: string + status?: AL_MediaListStatus } /** @@ -807,16 +807,16 @@ export type AL_MangaCollection_MediaListCollection_Lists = { * - Package: anilist */ export type AL_MangaCollection_MediaListCollection_Lists_Entries = { - id: number - score?: number - progress?: number - status?: AL_MediaListStatus - notes?: string - repeat?: number - private?: boolean - startedAt?: AL_MangaCollection_MediaListCollection_Lists_Entries_StartedAt completedAt?: AL_MangaCollection_MediaListCollection_Lists_Entries_CompletedAt + id: number media?: AL_BaseManga + notes?: string + private?: boolean + progress?: number + repeat?: number + score?: number + startedAt?: AL_MangaCollection_MediaListCollection_Lists_Entries_StartedAt + status?: AL_MediaListStatus } /** @@ -825,9 +825,9 @@ export type AL_MangaCollection_MediaListCollection_Lists_Entries = { * - Package: anilist */ export type AL_MangaCollection_MediaListCollection_Lists_Entries_CompletedAt = { - year?: number - month?: number day?: number + month?: number + year?: number } /** @@ -836,9 +836,9 @@ export type AL_MangaCollection_MediaListCollection_Lists_Entries_CompletedAt = { * - Package: anilist */ export type AL_MangaCollection_MediaListCollection_Lists_Entries_StartedAt = { - year?: number - month?: number day?: number + month?: number + year?: number } /** @@ -847,14 +847,14 @@ export type AL_MangaCollection_MediaListCollection_Lists_Entries_StartedAt = { * - Package: anilist */ export type AL_MangaDetailsById_Media = { - siteUrl?: string - id: number + characters?: AL_MangaDetailsById_Media_Characters duration?: number genres?: Array + id: number rankings?: Array - characters?: AL_MangaDetailsById_Media_Characters recommendations?: AL_MangaDetailsById_Media_Recommendations relations?: AL_MangaDetailsById_Media_Relations + siteUrl?: string } /** @@ -873,9 +873,9 @@ export type AL_MangaDetailsById_Media_Characters = { */ export type AL_MangaDetailsById_Media_Characters_Edges = { id?: number - role?: AL_CharacterRole name?: string node?: AL_BaseCharacter + role?: AL_CharacterRole } /** @@ -884,13 +884,13 @@ export type AL_MangaDetailsById_Media_Characters_Edges = { * - Package: anilist */ export type AL_MangaDetailsById_Media_Rankings = { - context: string - type: AL_MediaRankType - rank: number - year?: number - format: AL_MediaFormat allTime?: boolean + context: string + format: AL_MediaFormat + rank: number season?: AL_MediaSeason + type: AL_MediaRankType + year?: number } /** @@ -926,25 +926,25 @@ export type AL_MangaDetailsById_Media_Recommendations_Edges_Node = { * - Package: anilist */ export type AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation = { - id: number - idMal?: number - siteUrl?: string - status?: AL_MediaStatus - season?: AL_MediaSeason - type?: AL_MediaType - format?: AL_MediaFormat bannerImage?: string chapters?: number - volumes?: number - synonyms?: Array - isAdult?: boolean countryOfOrigin?: string - meanScore?: number - description?: string - title?: AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title coverImage?: AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage - startDate?: AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate + description?: string endDate?: AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_EndDate + format?: AL_MediaFormat + id: number + idMal?: number + isAdult?: boolean + meanScore?: number + season?: AL_MediaSeason + siteUrl?: string + startDate?: AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate + status?: AL_MediaStatus + synonyms?: Array + title?: AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title + type?: AL_MediaType + volumes?: number } /** @@ -953,10 +953,10 @@ export type AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommenda * - Package: anilist */ export type AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_CoverImage = { + color?: string extraLarge?: string large?: string medium?: string - color?: string } /** @@ -965,9 +965,9 @@ export type AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommenda * - Package: anilist */ export type AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_EndDate = { - year?: number - month?: number day?: number + month?: number + year?: number } /** @@ -976,9 +976,9 @@ export type AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommenda * - Package: anilist */ export type AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_StartDate = { - year?: number - month?: number day?: number + month?: number + year?: number } /** @@ -987,10 +987,10 @@ export type AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommenda * - Package: anilist */ export type AL_MangaDetailsById_Media_Recommendations_Edges_Node_MediaRecommendation_Title = { - userPreferred?: string - romaji?: string english?: string native?: string + romaji?: string + userPreferred?: string } /** @@ -1008,8 +1008,8 @@ export type AL_MangaDetailsById_Media_Relations = { * - Package: anilist */ export type AL_MangaDetailsById_Media_Relations_Edges = { - relationType?: AL_MediaRelation node?: AL_BaseManga + relationType?: AL_MediaRelation } /** @@ -1194,8 +1194,8 @@ export type AL_StudioDetails = { export type AL_StudioDetails_Studio = { id: number isAnimationStudio: boolean - name: string media?: AL_StudioDetails_Studio_Media + name: string } /** @@ -1312,8 +1312,8 @@ export type AL_UserStudioStats = { */ export type AL_UserStudioStats_Studio = { id: number - name: string isAnimationStudio: boolean + name: string } ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// @@ -2348,7 +2348,7 @@ export type Extension_Language = "javascript" | "typescript" | "go" * - Package: extension * @description * PluginAllowlist is a list of system permissions that the plugin is asking for. - * + * * The user must acknowledge these permissions before the plugin can be loaded. */ export type Extension_PluginAllowlist = {