anilink-api-wrapper 1.29.2 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +71 -241
  3. package/dist/AniLink.d.ts +12329 -0
  4. package/dist/AniLink.mjs +7298 -0
  5. package/dist/anilist.d.ts +1 -0
  6. package/dist/anilist.mjs +5 -0
  7. package/dist/mal.d.ts +1 -0
  8. package/dist/mal.mjs +5 -0
  9. package/package.json +121 -46
  10. package/dist/AniLink.js +0 -248
  11. package/dist/apis/anilist/Custom.js +0 -42
  12. package/dist/apis/anilist/interfaces/Activity.js +0 -436
  13. package/dist/apis/anilist/interfaces/Basic.js +0 -33
  14. package/dist/apis/anilist/interfaces/CoverImage.js +0 -15
  15. package/dist/apis/anilist/interfaces/Distribution.js +0 -23
  16. package/dist/apis/anilist/interfaces/ExternalLink.js +0 -14
  17. package/dist/apis/anilist/interfaces/Favoured.js +0 -2
  18. package/dist/apis/anilist/interfaces/FuzzyDate.js +0 -12
  19. package/dist/apis/anilist/interfaces/Image.js +0 -13
  20. package/dist/apis/anilist/interfaces/ListScores.js +0 -2
  21. package/dist/apis/anilist/interfaces/Media.js +0 -13
  22. package/dist/apis/anilist/interfaces/Name.js +0 -15
  23. package/dist/apis/anilist/interfaces/NextAiringEpisode.js +0 -14
  24. package/dist/apis/anilist/interfaces/Notification.js +0 -25
  25. package/dist/apis/anilist/interfaces/Ranking.js +0 -19
  26. package/dist/apis/anilist/interfaces/SiteTrend.js +0 -33
  27. package/dist/apis/anilist/interfaces/Staff.js +0 -2
  28. package/dist/apis/anilist/interfaces/Stat.js +0 -2
  29. package/dist/apis/anilist/interfaces/Statistics.js +0 -2
  30. package/dist/apis/anilist/interfaces/StreamingEpisode.js +0 -15
  31. package/dist/apis/anilist/interfaces/Studio.js +0 -2
  32. package/dist/apis/anilist/interfaces/Tag.js +0 -18
  33. package/dist/apis/anilist/interfaces/Title.js +0 -15
  34. package/dist/apis/anilist/interfaces/Trailer.js +0 -14
  35. package/dist/apis/anilist/interfaces/UserStats.js +0 -23
  36. package/dist/apis/anilist/interfaces/responses/mutation/Favourites.js +0 -83
  37. package/dist/apis/anilist/interfaces/responses/query/AiringSchedule.js +0 -18
  38. package/dist/apis/anilist/interfaces/responses/query/AniChartUser.js +0 -2
  39. package/dist/apis/anilist/interfaces/responses/query/Character.js +0 -34
  40. package/dist/apis/anilist/interfaces/responses/query/ExternalLinkSourceCollection.js +0 -2
  41. package/dist/apis/anilist/interfaces/responses/query/Media.js +0 -217
  42. package/dist/apis/anilist/interfaces/responses/query/MediaList.js +0 -36
  43. package/dist/apis/anilist/interfaces/responses/query/MediaListCollectionResponse.js +0 -49
  44. package/dist/apis/anilist/interfaces/responses/query/MediaTagCollection.js +0 -2
  45. package/dist/apis/anilist/interfaces/responses/query/MediaTrend.js +0 -21
  46. package/dist/apis/anilist/interfaces/responses/query/Notification.js +0 -166
  47. package/dist/apis/anilist/interfaces/responses/query/Recommendation.js +0 -23
  48. package/dist/apis/anilist/interfaces/responses/query/Review.js +0 -30
  49. package/dist/apis/anilist/interfaces/responses/query/SiteStatistics.js +0 -31
  50. package/dist/apis/anilist/interfaces/responses/query/Staff.js +0 -59
  51. package/dist/apis/anilist/interfaces/responses/query/Studio.js +0 -60
  52. package/dist/apis/anilist/interfaces/responses/query/Thread.js +0 -44
  53. package/dist/apis/anilist/interfaces/responses/query/ThreadComment.js +0 -31
  54. package/dist/apis/anilist/interfaces/responses/query/User.js +0 -366
  55. package/dist/apis/anilist/mutation/DeleteActivity.js +0 -61
  56. package/dist/apis/anilist/mutation/DeleteActivityReply.js +0 -61
  57. package/dist/apis/anilist/mutation/DeleteCustomList.js +0 -63
  58. package/dist/apis/anilist/mutation/DeleteMediaListEntry.js +0 -61
  59. package/dist/apis/anilist/mutation/DeleteReview.js +0 -61
  60. package/dist/apis/anilist/mutation/DeleteThread.js +0 -61
  61. package/dist/apis/anilist/mutation/DeleteThreadComment.js +0 -61
  62. package/dist/apis/anilist/mutation/SaveActivityReply.js +0 -66
  63. package/dist/apis/anilist/mutation/SaveListActivity.js +0 -64
  64. package/dist/apis/anilist/mutation/SaveMediaListEntry.js +0 -97
  65. package/dist/apis/anilist/mutation/SaveMessageActivity.js +0 -68
  66. package/dist/apis/anilist/mutation/SaveRecommendation.js +0 -66
  67. package/dist/apis/anilist/mutation/SaveReview.js +0 -68
  68. package/dist/apis/anilist/mutation/SaveTextActivity.js +0 -65
  69. package/dist/apis/anilist/mutation/SaveThread.js +0 -69
  70. package/dist/apis/anilist/mutation/SaveThreadComment.js +0 -67
  71. package/dist/apis/anilist/mutation/ToggleActivityPin.js +0 -64
  72. package/dist/apis/anilist/mutation/ToggleActivitySubscription.js +0 -64
  73. package/dist/apis/anilist/mutation/ToggleFavourite.js +0 -66
  74. package/dist/apis/anilist/mutation/ToggleFollow.js +0 -62
  75. package/dist/apis/anilist/mutation/ToggleLike.js +0 -64
  76. package/dist/apis/anilist/mutation/ToggleLikeV2.js +0 -64
  77. package/dist/apis/anilist/mutation/ToggleThreadSubscription.js +0 -64
  78. package/dist/apis/anilist/mutation/UpdateAniChartHighlights.js +0 -58
  79. package/dist/apis/anilist/mutation/UpdateAniChartSettings.js +0 -58
  80. package/dist/apis/anilist/mutation/UpdateFavouriteOrder.js +0 -73
  81. package/dist/apis/anilist/mutation/UpdateMediaListEntries.js +0 -93
  82. package/dist/apis/anilist/mutation/UpdateUser.js +0 -127
  83. package/dist/apis/anilist/query/Activity.js +0 -86
  84. package/dist/apis/anilist/query/ActivityReply.js +0 -60
  85. package/dist/apis/anilist/query/AiringSchedule.js +0 -78
  86. package/dist/apis/anilist/query/AniChartUser.js +0 -56
  87. package/dist/apis/anilist/query/Character.js +0 -70
  88. package/dist/apis/anilist/query/ExternalLinkSourceCollection.js +0 -68
  89. package/dist/apis/anilist/query/Follower.js +0 -64
  90. package/dist/apis/anilist/query/Following.js +0 -64
  91. package/dist/apis/anilist/query/GenreCollection.js +0 -46
  92. package/dist/apis/anilist/query/Markdown.js +0 -57
  93. package/dist/apis/anilist/query/Media.js +0 -134
  94. package/dist/apis/anilist/query/MediaList.js +0 -90
  95. package/dist/apis/anilist/query/MediaListCollection.js +0 -76
  96. package/dist/apis/anilist/query/MediaTagCollection.js +0 -57
  97. package/dist/apis/anilist/query/MediaTrend.js +0 -84
  98. package/dist/apis/anilist/query/Notification.js +0 -65
  99. package/dist/apis/anilist/query/Recommendation.js +0 -68
  100. package/dist/apis/anilist/query/Review.js +0 -64
  101. package/dist/apis/anilist/query/SiteStatistics.js +0 -78
  102. package/dist/apis/anilist/query/Staff.js +0 -79
  103. package/dist/apis/anilist/query/Studio.js +0 -82
  104. package/dist/apis/anilist/query/Thread.js +0 -68
  105. package/dist/apis/anilist/query/ThreadComment.js +0 -63
  106. package/dist/apis/anilist/query/User.js +0 -68
  107. package/dist/apis/anilist/query/Viewer.js +0 -65
  108. package/dist/apis/anilist/query/page/Activities.js +0 -97
  109. package/dist/apis/anilist/query/page/ActivityReplies.js +0 -71
  110. package/dist/apis/anilist/query/page/AiringSchedules.js +0 -89
  111. package/dist/apis/anilist/query/page/Characters.js +0 -81
  112. package/dist/apis/anilist/query/page/Followers.js +0 -75
  113. package/dist/apis/anilist/query/page/Followings.js +0 -75
  114. package/dist/apis/anilist/query/page/Likes.js +0 -71
  115. package/dist/apis/anilist/query/page/MediaLists.js +0 -101
  116. package/dist/apis/anilist/query/page/MediaTrends.js +0 -95
  117. package/dist/apis/anilist/query/page/Medias.js +0 -143
  118. package/dist/apis/anilist/query/page/Notifications.js +0 -73
  119. package/dist/apis/anilist/query/page/Recommendations.js +0 -79
  120. package/dist/apis/anilist/query/page/Reviews.js +0 -75
  121. package/dist/apis/anilist/query/page/Staffs.js +0 -90
  122. package/dist/apis/anilist/query/page/Studios.js +0 -93
  123. package/dist/apis/anilist/query/page/ThreadCommments.js +0 -74
  124. package/dist/apis/anilist/query/page/Threads.js +0 -79
  125. package/dist/apis/anilist/query/page/Users.js +0 -79
  126. package/dist/apis/anilist/types/ActivityType.js +0 -14
  127. package/dist/apis/anilist/types/DisabledListActivity.js +0 -11
  128. package/dist/apis/anilist/types/Format.js +0 -30
  129. package/dist/apis/anilist/types/FuzzyDate.js +0 -12
  130. package/dist/apis/anilist/types/MediaListOptions.js +0 -16
  131. package/dist/apis/anilist/types/NotificationOptions.js +0 -29
  132. package/dist/apis/anilist/types/RecommendationRating.js +0 -12
  133. package/dist/apis/anilist/types/Season.js +0 -13
  134. package/dist/apis/anilist/types/Sort.js +0 -265
  135. package/dist/apis/anilist/types/Source.js +0 -25
  136. package/dist/apis/anilist/types/Status.js +0 -26
  137. package/dist/apis/anilist/types/Type.js +0 -44
  138. package/dist/apis/anilist/types/UserStaffNameLanguage.js +0 -15
  139. package/dist/apis/anilist/types/UserTitleLanguage.js +0 -15
  140. package/dist/base/APIWrapper.js +0 -17
  141. package/dist/base/RequestHandler.js +0 -48
  142. package/dist/base/ValidateVariables.js +0 -125
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StreamingEpisodeSchema = void 0;
4
- /**
5
- * `StreamingEpisodeSchema` is a string representing the GraphQL schema for a streaming episode.
6
- * It includes the title, thumbnail, url, and site.
7
- */
8
- exports.StreamingEpisodeSchema = `
9
- streamingEpisodes {
10
- title
11
- thumbnail
12
- url
13
- site
14
- }
15
- `;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TagSchema = void 0;
4
- /**
5
- * `TagSchema` is a string representing the GraphQL schema for a tag.
6
- * It includes the id, name, description, category, rank, isGeneralSpoiler, isMediaSpoiler, isAdult, and userId.
7
- */
8
- exports.TagSchema = `
9
- id
10
- name
11
- description
12
- category
13
- rank
14
- isGeneralSpoiler
15
- isMediaSpoiler
16
- isAdult
17
- userId
18
- `;
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TitleSchema = void 0;
4
- /**
5
- * `TitleSchema` is a string representing the GraphQL schema for a title.
6
- * It includes the romaji, english, native, and userPreferred.
7
- */
8
- exports.TitleSchema = `
9
- title {
10
- romaji
11
- english
12
- native
13
- userPreferred
14
- }
15
- `;
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TrailerSchema = void 0;
4
- /**
5
- * `TrailerSchema` is a string representing the GraphQL schema for a trailer.
6
- * It includes the id, site, and thumbnail.
7
- */
8
- exports.TrailerSchema = `
9
- trailer {
10
- id
11
- site
12
- thumbnail
13
- }
14
- `;
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UserMangaStatsSchema = exports.UserAnimeStatsSchema = void 0;
4
- /**
5
- * `UserAnimeStatsSchema` is a string representing the GraphQL schema for a user's anime statistics.
6
- * It includes the count, meanScore, minutesWatched, and mediaIds.
7
- */
8
- exports.UserAnimeStatsSchema = `
9
- count
10
- meanScore
11
- minutesWatched
12
- mediaIds
13
- `;
14
- /**
15
- * `UserMangaStatsSchema` is a string representing the GraphQL schema for a user's manga statistics.
16
- * It includes the count, meanScore, chaptersRead, and mediaIds.
17
- */
18
- exports.UserMangaStatsSchema = `
19
- count
20
- meanScore
21
- chaptersRead
22
- mediaIds
23
- `;
@@ -1,83 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FavouritesSchema = void 0;
4
- const Title_1 = require("../../Title");
5
- /**
6
- * `FavouritesSchema` is a constant representing the GraphQL schema for a favourites query.
7
- * It includes the anime, manga, characters, staff, and studios schema.
8
- */
9
- exports.FavouritesSchema = `
10
- anime {
11
- edges {
12
- id
13
- node {
14
- id
15
- ${Title_1.TitleSchema}
16
- }
17
- }
18
- nodes {
19
- id
20
- ${Title_1.TitleSchema}
21
- }
22
- }
23
- manga {
24
- edges {
25
- id
26
- node {
27
- id
28
- ${Title_1.TitleSchema}
29
- }
30
- }
31
- nodes {
32
- id
33
- ${Title_1.TitleSchema}
34
- }
35
- }
36
- characters {
37
- edges {
38
- id
39
- node {
40
- id
41
- name {
42
- full
43
- }
44
- }
45
- }
46
- nodes {
47
- id
48
- name {
49
- full
50
- }
51
- }
52
- }
53
- staff {
54
- edges {
55
- id
56
- node {
57
- id
58
- name {
59
- full
60
- }
61
- }
62
- }
63
- nodes {
64
- id
65
- name {
66
- full
67
- }
68
- }
69
- }
70
- studios {
71
- edges {
72
- id
73
- node {
74
- id
75
- name
76
- }
77
- }
78
- nodes {
79
- id
80
- name
81
- }
82
- }
83
- `;
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AiringScheduleSchema = void 0;
4
- const Media_1 = require("./Media");
5
- /**
6
- * `AiringScheduleSchema` is a constant representing the GraphQL schema for an airing schedule query.
7
- * It includes the id, airing time, time until airing, episode number, media id, and the media schema.
8
- */
9
- exports.AiringScheduleSchema = `
10
- id
11
- airingAt
12
- timeUntilAiring
13
- episode
14
- mediaId
15
- media {
16
- ${Media_1.MediaSchema}
17
- }
18
- `;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,34 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CharacterSchema = void 0;
4
- const FuzzyDate_1 = require("../../FuzzyDate");
5
- const Name_1 = require("../../Name");
6
- const Image_1 = require("../../Image");
7
- const Title_1 = require("../../Title");
8
- /**
9
- * `CharacterSchema` is a constant representing the GraphQL schema for a character query.
10
- * It includes the character's id, name, image, description, gender, date of birth, age, blood type, favourite status, site URL, associated media, number of favourites, and moderator notes.
11
- */
12
- exports.CharacterSchema = `
13
- id
14
- ${Name_1.NameSchema}
15
- ${Image_1.ImageSchema}
16
- description(asHtml: $asHtml)
17
- gender
18
- dateOfBirth {
19
- ${FuzzyDate_1.FuzzyDateSchema}
20
- }
21
- age
22
- bloodType
23
- isFavourite
24
- isFavouriteBlocked
25
- siteUrl
26
- media(sort: $mediaSort, onList: $mediaOnList, page: $mediaPage, perPage: $mediaPerPage) {
27
- nodes {
28
- id
29
- ${Title_1.TitleSchema}
30
- }
31
- }
32
- favourites
33
- modNotes
34
- `;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,217 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MediaSchema = exports.MediaWithRelationsSchema = void 0;
4
- const Title_1 = require("../../Title");
5
- const FuzzyDate_1 = require("../../FuzzyDate");
6
- const Trailer_1 = require("../../Trailer");
7
- const CoverImage_1 = require("../../CoverImage");
8
- const Tag_1 = require("../../Tag");
9
- const NextAiringEpisode_1 = require("../../NextAiringEpisode");
10
- const ExternalLink_1 = require("../../ExternalLink");
11
- const StreamingEpisode_1 = require("../../StreamingEpisode");
12
- const Ranking_1 = require("../../Ranking");
13
- const Name_1 = require("../../Name");
14
- const Image_1 = require("../../Image");
15
- const Media_1 = require("../../Media");
16
- const Distribution_1 = require("../../Distribution");
17
- /**
18
- * `MediaWithRelationsSchema` is a constant representing the GraphQL schema for a media query with relations.
19
- * It includes the media's id, idMal, title, type, format, status, description, startDate, endDate, season, seasonYear, seasonInt, episodes, duration, chapters, volumes, countryOfOrigin, isLicensed, source, hashtag, trailer, updatedAt, coverImage, bannerImage, genres, synonyms, averageScore, meanScore, popularity, isLocked, trending, favourites, tags, relations, characters, staff, studios, isFavourite, isAdult, nextAiringEpisode, externalLinks, streamingEpisodes, rankings, mediaListEntry, stats, siteUrl, autoCreateForumThread, isRecommendationBlocked, and modNotes.
20
- */
21
- exports.MediaWithRelationsSchema = `
22
- id
23
- idMal
24
- ${Title_1.TitleSchema}
25
- type
26
- format
27
- status
28
- description (asHtml: $asHtml)
29
- startDate {
30
- ${FuzzyDate_1.FuzzyDateSchema}
31
- }
32
- endDate {
33
- ${FuzzyDate_1.FuzzyDateSchema}
34
- }
35
- season
36
- seasonYear
37
- seasonInt
38
- episodes
39
- duration
40
- chapters
41
- volumes
42
- countryOfOrigin
43
- isLicensed
44
- source
45
- hashtag
46
- ${Trailer_1.TrailerSchema}
47
- updatedAt
48
- ${CoverImage_1.CoverImageSchema}
49
- bannerImage
50
- genres
51
- synonyms
52
- averageScore
53
- meanScore
54
- popularity
55
- isLocked
56
- trending
57
- favourites
58
- tags {
59
- ${Tag_1.TagSchema}
60
- }
61
- relations {
62
- edges {
63
- id
64
- relationType
65
- isMainStudio
66
- characters {
67
- id
68
- ${Name_1.NameSchema}
69
- ${Image_1.ImageSchema}
70
- description (asHtml: $asHtml)
71
- gender
72
- dateOfBirth {
73
- ${FuzzyDate_1.FuzzyDateSchema}
74
- }
75
- age
76
- bloodType
77
- isFavourite
78
- isFavouriteBlocked
79
- siteUrl
80
- favourites
81
- modNotes
82
- }
83
- characterRole
84
- characterName
85
- roleNotes
86
- dubGroup
87
- staffRole
88
- node {
89
- id
90
- ${Title_1.TitleSchema}
91
- }
92
- }
93
- }
94
- characters {
95
- edges {
96
- id
97
- role
98
- name
99
- voiceActors {
100
- id
101
- ${Name_1.NameSchema}
102
- ${Image_1.ImageSchema}
103
- }
104
- media {
105
- id
106
- ${Title_1.TitleSchema}
107
- ${CoverImage_1.CoverImageSchema}
108
- }
109
- favouriteOrder
110
- node {
111
- id
112
- ${Name_1.NameSchema}
113
- ${Image_1.ImageSchema}
114
- }
115
- }
116
- }
117
- staff {
118
- edges {
119
- id
120
- role
121
- favouriteOrder
122
- node {
123
- id
124
- ${Name_1.NameSchema}
125
- ${Image_1.ImageSchema}
126
- }
127
- }
128
- }
129
- studios {
130
- edges {
131
- id
132
- isMain
133
- favouriteOrder
134
- node {
135
- id
136
- name
137
- isAnimationStudio
138
- siteUrl
139
- }
140
- }
141
- }
142
- isFavourite
143
- isAdult
144
- ${NextAiringEpisode_1.NextAiringEpisodeSchema}
145
- ${ExternalLink_1.ExternalLinkSchema}
146
- ${StreamingEpisode_1.StreamingEpisodeSchema}
147
- ${Ranking_1.RankingSchema}
148
- ${Media_1.MediaListEntrySchema}
149
- stats {
150
- ${Distribution_1.StatusDistributionSchema}
151
- ${Distribution_1.ScoreDistributionSchema}
152
- }
153
- siteUrl
154
- autoCreateForumThread
155
- isRecommendationBlocked
156
- modNotes
157
- `;
158
- /**
159
- * `MediaSchema` is a constant representing the GraphQL schema for a media query.
160
- * It includes the media's id, idMal, title, type, format, status, description, startDate, endDate, season, seasonYear, seasonInt, episodes, duration, chapters, volumes, countryOfOrigin, isLicensed, source, hashtag, trailer, updatedAt, coverImage, bannerImage, genres, synonyms, averageScore, meanScore, popularity, isLocked, trending, favourites, tags, isFavourite, isAdult, nextAiringEpisode, externalLinks, streamingEpisodes, rankings, mediaListEntry, stats, siteUrl, autoCreateForumThread, isRecommendationBlocked, and modNotes.
161
- */
162
- exports.MediaSchema = `
163
- id
164
- idMal
165
- ${Title_1.TitleSchema}
166
- type
167
- format
168
- status
169
- description (asHtml: $asHtml)
170
- startDate {
171
- ${FuzzyDate_1.FuzzyDateSchema}
172
- }
173
- endDate {
174
- ${FuzzyDate_1.FuzzyDateSchema}
175
- }
176
- season
177
- seasonYear
178
- seasonInt
179
- episodes
180
- duration
181
- chapters
182
- volumes
183
- countryOfOrigin
184
- isLicensed
185
- source
186
- hashtag
187
- ${Trailer_1.TrailerSchema}
188
- updatedAt
189
- ${CoverImage_1.CoverImageSchema}
190
- bannerImage
191
- genres
192
- synonyms
193
- averageScore
194
- meanScore
195
- popularity
196
- isLocked
197
- trending
198
- favourites
199
- tags {
200
- ${Tag_1.TagSchema}
201
- }
202
- isFavourite
203
- isAdult
204
- ${NextAiringEpisode_1.NextAiringEpisodeSchema}
205
- ${ExternalLink_1.ExternalLinkSchema}
206
- ${StreamingEpisode_1.StreamingEpisodeSchema}
207
- ${Ranking_1.RankingSchema}
208
- ${Media_1.MediaListEntrySchema}
209
- stats {
210
- ${Distribution_1.StatusDistributionSchema}
211
- ${Distribution_1.ScoreDistributionSchema}
212
- }
213
- siteUrl
214
- autoCreateForumThread
215
- isRecommendationBlocked
216
- modNotes
217
- `;
@@ -1,36 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MediaListSchema = void 0;
4
- const FuzzyDate_1 = require("../../FuzzyDate");
5
- const Media_1 = require("./Media");
6
- /**
7
- * `MediaListSchema` is a constant representing the GraphQL schema for a media list query.
8
- * It includes the id, user id, media id, status, score, progress, progress volumes, repeat, priority, private status, notes, hidden from status lists status, custom lists, advanced scores, started at date, completed at date, updated at timestamp, created at timestamp, media, and user.
9
- */
10
- exports.MediaListSchema = `
11
- id
12
- userId
13
- mediaId
14
- status
15
- score (format: $ScoreFormat)
16
- progress
17
- progressVolumes
18
- repeat
19
- priority
20
- private
21
- notes
22
- hiddenFromStatusLists
23
- customLists (asArray: $asArray)
24
- advancedScores
25
- startedAt {
26
- ${FuzzyDate_1.FuzzyDateSchema}
27
- }
28
- completedAt {
29
- ${FuzzyDate_1.FuzzyDateSchema}
30
- }
31
- updatedAt
32
- createdAt
33
- media {
34
- ${Media_1.MediaSchema}
35
- }
36
- `;
@@ -1,49 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MediaListCollectionQuerySchema = void 0;
4
- const FuzzyDate_1 = require("../../FuzzyDate");
5
- const Media_1 = require("./Media");
6
- /**
7
- * `MediaListCollectionQuerySchema` is a constant representing the GraphQL schema for a media list collection query.
8
- * It includes the media list collection, lists, entries, user, and hasNextChunk status.
9
- */
10
- exports.MediaListCollectionQuerySchema = `
11
- query ($userId: Int, $userName: String, $type: MediaType, $status: MediaListStatus, $notes: String, $startedAt: FuzzyDateInt, $completedAt: FuzzyDateInt, $forceSingleCompletedList: Boolean, $chunk: Int, $perChunk: Int, $status_in: [MediaListStatus], $status_not_in: [MediaListStatus], $status_not: MediaListStatus, $notes_like: String, $startedAt_greater: FuzzyDateInt, $startedAt_lesser: FuzzyDateInt, $startedAt_like: String, $completedAt_greater: FuzzyDateInt, $completedAt_lesser: FuzzyDateInt, $completedAt_like: String, $sort: [MediaListSort], $scoreFormat: ScoreFormat, $asArray: Boolean, $asHtml: Boolean) {
12
- MediaListCollection (userId: $userId, userName: $userName, type: $type, status: $status, notes: $notes, startedAt: $startedAt, completedAt: $completedAt, forceSingleCompletedList: $forceSingleCompletedList, chunk: $chunk, perChunk: $perChunk, status_in: $status_in, status_not_in: $status_not_in, status_not: $status_not, notes_like: $notes_like, startedAt_greater: $startedAt_greater, startedAt_lesser: $startedAt_lesser, startedAt_like: $startedAt_like, completedAt_greater: $completedAt_greater, completedAt_lesser: $completedAt_lesser, completedAt_like: $completedAt_like, sort: $sort) {
13
- lists {
14
- entries {
15
- id
16
- userId
17
- mediaId
18
- status
19
- score (format: $scoreFormat)
20
- progress
21
- progressVolumes
22
- repeat
23
- priority
24
- private
25
- notes
26
- hiddenFromStatusLists
27
- customLists (asArray: $asArray)
28
- advancedScores
29
- startedAt {
30
- ${FuzzyDate_1.FuzzyDateSchema}
31
- }
32
- completedAt {
33
- ${FuzzyDate_1.FuzzyDateSchema}
34
- }
35
- updatedAt
36
- createdAt
37
- media {
38
- ${Media_1.MediaSchema}
39
- }
40
- }
41
- name
42
- isCustomList
43
- isSplitCompletedList
44
- status
45
- }
46
- hasNextChunk
47
- }
48
- }
49
- `;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MediaTrendSchema = void 0;
4
- const Media_1 = require("./Media");
5
- /**
6
- * `MediaTrendSchema` is a constant representing the GraphQL schema for a media trend query.
7
- * It includes the media's id, date, trending status, average score, popularity, in progress status, releasing status, episode number, and media of type `Media`.
8
- */
9
- exports.MediaTrendSchema = `
10
- mediaId
11
- date
12
- trending
13
- averageScore
14
- popularity
15
- inProgress
16
- releasing
17
- episode
18
- media {
19
- ${Media_1.MediaSchema}
20
- }
21
- `;