anilink-api-wrapper 1.17.3 → 1.17.5
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.
- package/README.md +321 -0
- package/dist/AniLink.js +10 -0
- package/dist/apis/anilist/interfaces/Activity.js +8 -0
- package/dist/apis/anilist/interfaces/ActivityNotification.js +4 -0
- package/dist/apis/anilist/interfaces/ActivityReply.js +4 -0
- package/dist/apis/anilist/interfaces/BasicComment.js +4 -0
- package/dist/apis/anilist/interfaces/BasicThread.js +4 -0
- package/dist/apis/anilist/interfaces/BasicUser.js +4 -0
- package/dist/apis/anilist/interfaces/CoverImage.js +4 -0
- package/dist/apis/anilist/interfaces/ExternalLink.js +4 -0
- package/dist/apis/anilist/interfaces/FuzzyDate.js +4 -0
- package/dist/apis/anilist/interfaces/Image.js +4 -0
- package/dist/apis/anilist/interfaces/MediaListEntry.js +4 -0
- package/dist/apis/anilist/interfaces/Name.js +4 -0
- package/dist/apis/anilist/interfaces/NextAiringEpisode.js +4 -0
- package/dist/apis/anilist/interfaces/Ranking.js +4 -0
- package/dist/apis/anilist/interfaces/ScoreDistribution.js +4 -0
- package/dist/apis/anilist/interfaces/SiteTrend.js +4 -0
- package/dist/apis/anilist/interfaces/SiteTrendConnection.js +4 -0
- package/dist/apis/anilist/interfaces/StatusDistribution.js +4 -0
- package/dist/apis/anilist/interfaces/StreamingEpisode.js +4 -0
- package/dist/apis/anilist/interfaces/Tag.js +4 -0
- package/dist/apis/anilist/interfaces/ThreadNotification.js +4 -0
- package/dist/apis/anilist/interfaces/Title.js +4 -0
- package/dist/apis/anilist/interfaces/Trailer.js +4 -0
- package/dist/apis/anilist/interfaces/UserStats.js +8 -0
- package/dist/apis/anilist/interfaces/responses/query/AiringSchedule.js +4 -0
- package/dist/apis/anilist/interfaces/responses/query/Character.js +4 -0
- package/dist/apis/anilist/interfaces/responses/query/Media.js +8 -0
- package/dist/apis/anilist/interfaces/responses/query/MediaList.js +4 -0
- package/dist/apis/anilist/interfaces/responses/query/MediaListCollectionResponse.js +9 -1
- package/dist/apis/anilist/interfaces/responses/query/MediaTrend.js +4 -0
- package/dist/apis/anilist/interfaces/responses/query/Notification.js +4 -0
- package/dist/apis/anilist/interfaces/responses/query/Recommendation.js +4 -0
- package/dist/apis/anilist/interfaces/responses/query/Review.js +4 -0
- package/dist/apis/anilist/interfaces/responses/query/SiteStatistics.js +4 -0
- package/dist/apis/anilist/interfaces/responses/query/Staff.js +4 -0
- package/dist/apis/anilist/interfaces/responses/query/Studio.js +4 -0
- package/dist/apis/anilist/interfaces/responses/query/Thread.js +4 -0
- package/dist/apis/anilist/interfaces/responses/query/ThreadComment.js +4 -0
- package/dist/apis/anilist/interfaces/responses/query/User.js +4 -0
- package/dist/apis/anilist/mutation/SaveMediaListEntry.js +15 -0
- package/dist/apis/anilist/mutation/UpdateMediaListEntries.js +15 -0
- package/dist/apis/anilist/mutation/UpdateUser.js +15 -0
- package/dist/apis/anilist/query/Activity.js +15 -0
- package/dist/apis/anilist/query/ActivityReply.js +15 -0
- package/dist/apis/anilist/query/AiringSchedule.js +15 -0
- package/dist/apis/anilist/query/AniChartUser.js +14 -0
- package/dist/apis/anilist/query/Character.js +15 -0
- package/dist/apis/anilist/query/ExternalLinkSourceCollection.js +17 -2
- package/dist/apis/anilist/query/Follower.js +15 -0
- package/dist/apis/anilist/query/Following.js +15 -0
- package/dist/apis/anilist/query/GenreCollection.js +14 -0
- package/dist/apis/anilist/query/Markdown.js +15 -0
- package/dist/apis/anilist/query/Media.js +15 -0
- package/dist/apis/anilist/query/MediaList.js +15 -0
- package/dist/apis/anilist/query/MediaListCollection.js +15 -0
- package/dist/apis/anilist/query/MediaTagCollection.js +17 -2
- package/dist/apis/anilist/query/MediaTrend.js +15 -0
- package/dist/apis/anilist/query/Notification.js +15 -0
- package/dist/apis/anilist/query/Recommendation.js +15 -0
- package/dist/apis/anilist/query/Review.js +15 -0
- package/dist/apis/anilist/query/SiteStatistics.js +17 -2
- package/dist/apis/anilist/query/Staff.js +15 -0
- package/dist/apis/anilist/query/Studio.js +15 -0
- package/dist/apis/anilist/query/Thread.js +15 -0
- package/dist/apis/anilist/query/ThreadComment.js +15 -0
- package/dist/apis/anilist/query/User.js +15 -0
- package/dist/apis/anilist/query/Viewer.js +15 -0
- package/dist/apis/anilist/query/page/Activities.js +15 -0
- package/dist/apis/anilist/query/page/ActivityReplies.js +15 -0
- package/dist/apis/anilist/query/page/AiringSchedules.js +15 -0
- package/dist/apis/anilist/query/page/Characters.js +15 -0
- package/dist/apis/anilist/query/page/Followers.js +15 -0
- package/dist/apis/anilist/query/page/Followings.js +15 -0
- package/dist/apis/anilist/query/page/Likes.js +15 -0
- package/dist/apis/anilist/query/page/MediaLists.js +15 -0
- package/dist/apis/anilist/query/page/MediaTrends.js +15 -0
- package/dist/apis/anilist/query/page/Medias.js +13 -0
- package/dist/apis/anilist/query/page/Notifications.js +15 -0
- package/dist/apis/anilist/query/page/Recommendations.js +15 -0
- package/dist/apis/anilist/query/page/Reviews.js +15 -0
- package/dist/apis/anilist/query/page/Staffs.js +15 -0
- package/dist/apis/anilist/query/page/Studios.js +15 -0
- package/dist/apis/anilist/query/page/ThreadCommments.js +15 -0
- package/dist/apis/anilist/query/page/Threads.js +15 -0
- package/dist/apis/anilist/query/page/Users.js +15 -0
- package/dist/base/APIWrapper.js +8 -0
- package/dist/base/RequestHandler.js +9 -0
- package/docs/.nojekyll +1 -0
- package/docs/assets/26e93147f10415a0ed4a.svg +6 -0
- package/docs/assets/75c9471662e97ee24f29.svg +7 -0
- package/docs/assets/db90e4df2373980c497d.svg +9 -0
- package/docs/assets/hierarchy.css +1 -0
- package/docs/assets/hierarchy.js +1 -0
- package/docs/assets/highlight.css +85 -0
- package/docs/assets/icons.js +15 -0
- package/docs/assets/icons.svg +1 -0
- package/docs/assets/main.js +59 -0
- package/docs/assets/navigation.js +1 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1412 -0
- package/docs/classes/AniLink.AniLink.html +105 -0
- package/docs/classes/apis_anilist_mutation_SaveMediaListEntry.SaveMediaListEntryMutation.html +10 -0
- package/docs/classes/apis_anilist_mutation_UpdateMediaListEntries.UpdateMediaListEntriesMutation.html +10 -0
- package/docs/classes/apis_anilist_mutation_UpdateUser.UpdateUserMutation.html +10 -0
- package/docs/classes/apis_anilist_query_Activity.ActivityQuery.html +10 -0
- package/docs/classes/apis_anilist_query_ActivityReply.ActivityReplyQuery.html +10 -0
- package/docs/classes/apis_anilist_query_AiringSchedule.AiringScheduleQuery.html +10 -0
- package/docs/classes/apis_anilist_query_AniChartUser.AniChartUserQuery.html +9 -0
- package/docs/classes/apis_anilist_query_Character.CharacterQuery.html +10 -0
- package/docs/classes/apis_anilist_query_ExternalLinkSourceCollection.ExternalLinkSourceCollectionQuery.html +10 -0
- package/docs/classes/apis_anilist_query_Follower.FollowerQuery.html +10 -0
- package/docs/classes/apis_anilist_query_Following.FollowingQuery.html +10 -0
- package/docs/classes/apis_anilist_query_GenreCollection.GenreCollectionQuery.html +9 -0
- package/docs/classes/apis_anilist_query_Markdown.MarkdownQuery.html +10 -0
- package/docs/classes/apis_anilist_query_Media.MediaQuery.html +10 -0
- package/docs/classes/apis_anilist_query_MediaList.MediaListQuery.html +10 -0
- package/docs/classes/apis_anilist_query_MediaListCollection.MediaListCollectionQuery.html +10 -0
- package/docs/classes/apis_anilist_query_MediaTagCollection.MediaTagCollectionQuery.html +10 -0
- package/docs/classes/apis_anilist_query_MediaTrend.MediaTrendQuery.html +10 -0
- package/docs/classes/apis_anilist_query_Notification.NotificationQuery.html +10 -0
- package/docs/classes/apis_anilist_query_Recommendation.RecommendationQuery.html +10 -0
- package/docs/classes/apis_anilist_query_Review.ReviewQuery.html +10 -0
- package/docs/classes/apis_anilist_query_SiteStatistics.SiteStatisticsQuery.html +10 -0
- package/docs/classes/apis_anilist_query_Staff.StaffQuery.html +10 -0
- package/docs/classes/apis_anilist_query_Studio.StudioQuery.html +10 -0
- package/docs/classes/apis_anilist_query_Thread.ThreadQuery.html +10 -0
- package/docs/classes/apis_anilist_query_ThreadComment.ThreadCommentQuery.html +10 -0
- package/docs/classes/apis_anilist_query_User.UserQuery.html +10 -0
- package/docs/classes/apis_anilist_query_Viewer.ViewerQuery.html +10 -0
- package/docs/classes/apis_anilist_query_page_Activities.ActivitiesQuery.html +10 -0
- package/docs/classes/apis_anilist_query_page_ActivityReplies.ActivityRepliesQuery.html +10 -0
- package/docs/classes/apis_anilist_query_page_AiringSchedules.AiringSchedulesQuery.html +10 -0
- package/docs/classes/apis_anilist_query_page_Characters.CharactersQuery.html +10 -0
- package/docs/classes/apis_anilist_query_page_Followers.FollowersQuery.html +10 -0
- package/docs/classes/apis_anilist_query_page_Followings.FollowingsQuery.html +10 -0
- package/docs/classes/apis_anilist_query_page_Likes.LikesQuery.html +10 -0
- package/docs/classes/apis_anilist_query_page_MediaLists.MediaListsQuery.html +10 -0
- package/docs/classes/apis_anilist_query_page_MediaTrends.MediaTrendsQuery.html +10 -0
- package/docs/classes/apis_anilist_query_page_Medias.MediasQuery.html +10 -0
- package/docs/classes/apis_anilist_query_page_Notifications.NotificationsQuery.html +10 -0
- package/docs/classes/apis_anilist_query_page_Recommendations.RecommendationsQuery.html +10 -0
- package/docs/classes/apis_anilist_query_page_Reviews.ReviewsQuery.html +10 -0
- package/docs/classes/apis_anilist_query_page_Staffs.StaffsQuery.html +10 -0
- package/docs/classes/apis_anilist_query_page_Studios.StudiosQuery.html +10 -0
- package/docs/classes/apis_anilist_query_page_ThreadCommments.ThreadCommentsQuery.html +10 -0
- package/docs/classes/apis_anilist_query_page_Threads.ThreadsQuery.html +10 -0
- package/docs/classes/apis_anilist_query_page_Users.UsersQuery.html +10 -0
- package/docs/classes/base_APIWrapper.APIWrapper.html +6 -0
- package/docs/functions/base_RequestHandler.sendRequest.html +8 -0
- package/docs/hierarchy.html +1 -0
- package/docs/index.html +78 -0
- package/docs/interfaces/apis_anilist_interfaces_Activity.Activity.html +67 -0
- package/docs/interfaces/apis_anilist_interfaces_ActivityHistory.ActivityHistory.html +12 -0
- package/docs/interfaces/apis_anilist_interfaces_ActivityNotification.ActivityNotification.html +19 -0
- package/docs/interfaces/apis_anilist_interfaces_ActivityReply.ActivityReply.html +21 -0
- package/docs/interfaces/apis_anilist_interfaces_BasicComment.BasicComment.html +9 -0
- package/docs/interfaces/apis_anilist_interfaces_BasicThread.BasicThread.html +11 -0
- package/docs/interfaces/apis_anilist_interfaces_BasicUser.BasicUser.html +11 -0
- package/docs/interfaces/apis_anilist_interfaces_CoverImage.CoverImage.html +11 -0
- package/docs/interfaces/apis_anilist_interfaces_Distribution.Distribution.html +7 -0
- package/docs/interfaces/apis_anilist_interfaces_ExternalLink.ExternalLink.html +9 -0
- package/docs/interfaces/apis_anilist_interfaces_Favoured.Favoured.html +21 -0
- package/docs/interfaces/apis_anilist_interfaces_FuzzyDate.FuzzyDate.html +9 -0
- package/docs/interfaces/apis_anilist_interfaces_FuzzyDate.FuzzyDateInput.html +9 -0
- package/docs/interfaces/apis_anilist_interfaces_Image.Image.html +7 -0
- package/docs/interfaces/apis_anilist_interfaces_ListScores.ListScores.html +7 -0
- package/docs/interfaces/apis_anilist_interfaces_Media.Media.html +93 -0
- package/docs/interfaces/apis_anilist_interfaces_MediaListEntry.MediaListEntry.html +7 -0
- package/docs/interfaces/apis_anilist_interfaces_MediaListEntry.MediaListOptionsInput.html +11 -0
- package/docs/interfaces/apis_anilist_interfaces_MediaStatistics.MediaStatistics.html +41 -0
- package/docs/interfaces/apis_anilist_interfaces_MediaStats.MediaStats.html +7 -0
- package/docs/interfaces/apis_anilist_interfaces_Name.Name.html +15 -0
- package/docs/interfaces/apis_anilist_interfaces_NextAiringEpisode.NextAiringEpisode.html +9 -0
- package/docs/interfaces/apis_anilist_interfaces_Notification.NotificationOptionInput.html +7 -0
- package/docs/interfaces/apis_anilist_interfaces_Ranking.Ranking.html +19 -0
- package/docs/interfaces/apis_anilist_interfaces_ScoreDistribution.ScoreDistribution.html +7 -0
- package/docs/interfaces/apis_anilist_interfaces_SiteTrend.SiteTrend.html +9 -0
- package/docs/interfaces/apis_anilist_interfaces_SiteTrendConnection.SiteTrendConnection.html +12 -0
- package/docs/interfaces/apis_anilist_interfaces_Staff.Staff.html +7 -0
- package/docs/interfaces/apis_anilist_interfaces_Stat.Stat.html +39 -0
- package/docs/interfaces/apis_anilist_interfaces_Statistics.Statistics.html +7 -0
- package/docs/interfaces/apis_anilist_interfaces_StatusDistribution.StatusDistribution.html +7 -0
- package/docs/interfaces/apis_anilist_interfaces_StreamingEpisode.StreamingEpisode.html +11 -0
- package/docs/interfaces/apis_anilist_interfaces_Studio.Studio.html +7 -0
- package/docs/interfaces/apis_anilist_interfaces_Tag.Tag.html +21 -0
- package/docs/interfaces/apis_anilist_interfaces_ThreadNotification.ThreadNotification.html +21 -0
- package/docs/interfaces/apis_anilist_interfaces_Title.Title.html +11 -0
- package/docs/interfaces/apis_anilist_interfaces_Trailer.Trailer.html +9 -0
- package/docs/interfaces/apis_anilist_interfaces_UserStats.UserStats.html +37 -0
- package/docs/interfaces/apis_anilist_interfaces_responses_query_AiringSchedule.AiringScheduleResponse.html +15 -0
- package/docs/interfaces/apis_anilist_interfaces_responses_query_AniChartUser.AniChartUserResponse.html +9 -0
- package/docs/interfaces/apis_anilist_interfaces_responses_query_Character.CharacterResponse.html +32 -0
- package/docs/interfaces/apis_anilist_interfaces_responses_query_ExternalLinkSourceCollection.ExternalLinkSourceCollectionResponse.html +23 -0
- package/docs/interfaces/apis_anilist_interfaces_responses_query_Media.MediaResponse.html +101 -0
- package/docs/interfaces/apis_anilist_interfaces_responses_query_MediaList.MediaListResponse.html +43 -0
- package/docs/interfaces/apis_anilist_interfaces_responses_query_MediaListCollectionResponse.MediaListCollectionResponse.html +8 -0
- package/docs/interfaces/apis_anilist_interfaces_responses_query_MediaTagCollection.MediaTagCollectionResponse.html +5 -0
- package/docs/interfaces/apis_anilist_interfaces_responses_query_MediaTrend.MediaTrendResponse.html +21 -0
- package/docs/interfaces/apis_anilist_interfaces_responses_query_Notification.NotificationResponse.html +132 -0
- package/docs/interfaces/apis_anilist_interfaces_responses_query_Recommendation.RecommendationResponse.html +15 -0
- package/docs/interfaces/apis_anilist_interfaces_responses_query_Review.ReviewResponse.html +33 -0
- package/docs/interfaces/apis_anilist_interfaces_responses_query_SiteStatistics.SiteStatisticsResponse.html +17 -0
- package/docs/interfaces/apis_anilist_interfaces_responses_query_Staff.StaffResponse.html +62 -0
- package/docs/interfaces/apis_anilist_interfaces_responses_query_Studio.StudioResponse.html +18 -0
- package/docs/interfaces/apis_anilist_interfaces_responses_query_Thread.ThreadResponse.html +50 -0
- package/docs/interfaces/apis_anilist_interfaces_responses_query_ThreadComment.ThreadCommentResponse.html +31 -0
- package/docs/interfaces/apis_anilist_interfaces_responses_query_User.UserResponse.html +79 -0
- package/docs/interfaces/apis_anilist_mutation_SaveMediaListEntry.SaveMediaListEntryVariables.html +35 -0
- package/docs/interfaces/apis_anilist_mutation_UpdateMediaListEntries.UpdateMediaListEntriesVariables.html +31 -0
- package/docs/interfaces/apis_anilist_mutation_UpdateUser.UpdateUserResponse.html +62 -0
- package/docs/interfaces/apis_anilist_mutation_UpdateUser.UpdateUserVariables.html +35 -0
- package/docs/interfaces/apis_anilist_query_Activity.ActivityVariables.html +57 -0
- package/docs/interfaces/apis_anilist_query_ActivityReply.ActivityReplyVariables.html +9 -0
- package/docs/interfaces/apis_anilist_query_AiringSchedule.AiringScheduleVariables.html +43 -0
- package/docs/interfaces/apis_anilist_query_Character.CharacterVariables.html +27 -0
- package/docs/interfaces/apis_anilist_query_ExternalLinkSourceCollection.ExternalLinkSourceCollectionVariables.html +9 -0
- package/docs/interfaces/apis_anilist_query_Follower.FollowerVariables.html +15 -0
- package/docs/interfaces/apis_anilist_query_Following.FollowingVariables.html +15 -0
- package/docs/interfaces/apis_anilist_query_Markdown.MarkdownVariables.html +5 -0
- package/docs/interfaces/apis_anilist_query_Media.MediaVariables.html +143 -0
- package/docs/interfaces/apis_anilist_query_MediaList.MediaListVariables.html +59 -0
- package/docs/interfaces/apis_anilist_query_MediaListCollection.MediaListCollectionVariables.html +51 -0
- package/docs/interfaces/apis_anilist_query_MediaTagCollection.MediaTagCollectionVariables.html +5 -0
- package/docs/interfaces/apis_anilist_query_MediaTrend.MediaTrendVariables.html +55 -0
- package/docs/interfaces/apis_anilist_query_Notification.NotificationVariables.html +11 -0
- package/docs/interfaces/apis_anilist_query_Recommendation.RecommendationVariables.html +23 -0
- package/docs/interfaces/apis_anilist_query_Review.ReviewVariables.html +15 -0
- package/docs/interfaces/apis_anilist_query_SiteStatistics.SiteStatisticsVariables.html +45 -0
- package/docs/interfaces/apis_anilist_query_Staff.StaffVariables.html +43 -0
- package/docs/interfaces/apis_anilist_query_Studio.StudioVariables.html +51 -0
- package/docs/interfaces/apis_anilist_query_Thread.ThreadVariables.html +23 -0
- package/docs/interfaces/apis_anilist_query_ThreadComment.ThreadCommentVariables.html +13 -0
- package/docs/interfaces/apis_anilist_query_User.UserVariables.html +23 -0
- package/docs/interfaces/apis_anilist_query_Viewer.ViewerVariables.html +13 -0
- package/docs/interfaces/apis_anilist_query_page_Activities.ActivitiesVariables.html +61 -0
- package/docs/interfaces/apis_anilist_query_page_ActivityReplies.ActivityRepliesVariables.html +13 -0
- package/docs/interfaces/apis_anilist_query_page_AiringSchedules.AiringSchedulesVariables.html +47 -0
- package/docs/interfaces/apis_anilist_query_page_Characters.CharactersVariables.html +31 -0
- package/docs/interfaces/apis_anilist_query_page_Followers.FollowersVariables.html +19 -0
- package/docs/interfaces/apis_anilist_query_page_Followings.FollowingsVariables.html +19 -0
- package/docs/interfaces/apis_anilist_query_page_Likes.LikesVariables.html +11 -0
- package/docs/interfaces/apis_anilist_query_page_MediaLists.MediaListsVariables.html +63 -0
- package/docs/interfaces/apis_anilist_query_page_MediaTrends.MediaTrendsVariables.html +59 -0
- package/docs/interfaces/apis_anilist_query_page_Medias.MediasVariables.html +147 -0
- package/docs/interfaces/apis_anilist_query_page_Notifications.NotificationsVariables.html +15 -0
- package/docs/interfaces/apis_anilist_query_page_Recommendations.RecommendationsVariables.html +27 -0
- package/docs/interfaces/apis_anilist_query_page_Reviews.ReviewsVariables.html +15 -0
- package/docs/interfaces/apis_anilist_query_page_Staffs.StaffsVariables.html +47 -0
- package/docs/interfaces/apis_anilist_query_page_Studios.StudiosVariables.html +55 -0
- package/docs/interfaces/apis_anilist_query_page_ThreadCommments.ThreadCommentsVariables.html +17 -0
- package/docs/interfaces/apis_anilist_query_page_Threads.ThreadsVariables.html +27 -0
- package/docs/interfaces/apis_anilist_query_page_Users.UsersVariables.html +27 -0
- package/docs/modules/AniLink.html +2 -0
- package/docs/modules/apis_anilist_interfaces_Activity.html +5 -0
- package/docs/modules/apis_anilist_interfaces_ActivityHistory.html +2 -0
- package/docs/modules/apis_anilist_interfaces_ActivityNotification.html +3 -0
- package/docs/modules/apis_anilist_interfaces_ActivityReply.html +3 -0
- package/docs/modules/apis_anilist_interfaces_BasicComment.html +3 -0
- package/docs/modules/apis_anilist_interfaces_BasicThread.html +3 -0
- package/docs/modules/apis_anilist_interfaces_BasicUser.html +3 -0
- package/docs/modules/apis_anilist_interfaces_CoverImage.html +3 -0
- package/docs/modules/apis_anilist_interfaces_Distribution.html +2 -0
- package/docs/modules/apis_anilist_interfaces_ExternalLink.html +3 -0
- package/docs/modules/apis_anilist_interfaces_Favoured.html +2 -0
- package/docs/modules/apis_anilist_interfaces_FuzzyDate.html +4 -0
- package/docs/modules/apis_anilist_interfaces_Image.html +3 -0
- package/docs/modules/apis_anilist_interfaces_ListScores.html +2 -0
- package/docs/modules/apis_anilist_interfaces_Media.html +2 -0
- package/docs/modules/apis_anilist_interfaces_MediaListEntry.html +5 -0
- package/docs/modules/apis_anilist_interfaces_MediaStatistics.html +2 -0
- package/docs/modules/apis_anilist_interfaces_MediaStats.html +2 -0
- package/docs/modules/apis_anilist_interfaces_Name.html +3 -0
- package/docs/modules/apis_anilist_interfaces_NextAiringEpisode.html +3 -0
- package/docs/modules/apis_anilist_interfaces_Notification.html +2 -0
- package/docs/modules/apis_anilist_interfaces_Ranking.html +3 -0
- package/docs/modules/apis_anilist_interfaces_ScoreDistribution.html +3 -0
- package/docs/modules/apis_anilist_interfaces_SiteTrend.html +3 -0
- package/docs/modules/apis_anilist_interfaces_SiteTrendConnection.html +3 -0
- package/docs/modules/apis_anilist_interfaces_Staff.html +2 -0
- package/docs/modules/apis_anilist_interfaces_Stat.html +2 -0
- package/docs/modules/apis_anilist_interfaces_Statistics.html +2 -0
- package/docs/modules/apis_anilist_interfaces_StatusDistribution.html +3 -0
- package/docs/modules/apis_anilist_interfaces_StreamingEpisode.html +3 -0
- package/docs/modules/apis_anilist_interfaces_Studio.html +2 -0
- package/docs/modules/apis_anilist_interfaces_Tag.html +3 -0
- package/docs/modules/apis_anilist_interfaces_ThreadNotification.html +3 -0
- package/docs/modules/apis_anilist_interfaces_Title.html +3 -0
- package/docs/modules/apis_anilist_interfaces_Trailer.html +3 -0
- package/docs/modules/apis_anilist_interfaces_UserStats.html +4 -0
- package/docs/modules/apis_anilist_interfaces_responses_query_AiringSchedule.html +3 -0
- package/docs/modules/apis_anilist_interfaces_responses_query_AniChartUser.html +2 -0
- package/docs/modules/apis_anilist_interfaces_responses_query_Character.html +3 -0
- package/docs/modules/apis_anilist_interfaces_responses_query_ExternalLinkSourceCollection.html +2 -0
- package/docs/modules/apis_anilist_interfaces_responses_query_Media.html +4 -0
- package/docs/modules/apis_anilist_interfaces_responses_query_MediaList.html +3 -0
- package/docs/modules/apis_anilist_interfaces_responses_query_MediaListCollectionResponse.html +3 -0
- package/docs/modules/apis_anilist_interfaces_responses_query_MediaTagCollection.html +2 -0
- package/docs/modules/apis_anilist_interfaces_responses_query_MediaTrend.html +3 -0
- package/docs/modules/apis_anilist_interfaces_responses_query_Notification.html +3 -0
- package/docs/modules/apis_anilist_interfaces_responses_query_Recommendation.html +3 -0
- package/docs/modules/apis_anilist_interfaces_responses_query_Review.html +3 -0
- package/docs/modules/apis_anilist_interfaces_responses_query_SiteStatistics.html +3 -0
- package/docs/modules/apis_anilist_interfaces_responses_query_Staff.html +3 -0
- package/docs/modules/apis_anilist_interfaces_responses_query_Studio.html +3 -0
- package/docs/modules/apis_anilist_interfaces_responses_query_Thread.html +3 -0
- package/docs/modules/apis_anilist_interfaces_responses_query_ThreadComment.html +3 -0
- package/docs/modules/apis_anilist_interfaces_responses_query_User.html +3 -0
- package/docs/modules/apis_anilist_mutation_SaveMediaListEntry.html +3 -0
- package/docs/modules/apis_anilist_mutation_UpdateMediaListEntries.html +3 -0
- package/docs/modules/apis_anilist_mutation_UpdateUser.html +4 -0
- package/docs/modules/apis_anilist_query_Activity.html +3 -0
- package/docs/modules/apis_anilist_query_ActivityReply.html +3 -0
- package/docs/modules/apis_anilist_query_AiringSchedule.html +3 -0
- package/docs/modules/apis_anilist_query_AniChartUser.html +2 -0
- package/docs/modules/apis_anilist_query_Character.html +3 -0
- package/docs/modules/apis_anilist_query_ExternalLinkSourceCollection.html +3 -0
- package/docs/modules/apis_anilist_query_Follower.html +3 -0
- package/docs/modules/apis_anilist_query_Following.html +3 -0
- package/docs/modules/apis_anilist_query_GenreCollection.html +2 -0
- package/docs/modules/apis_anilist_query_Markdown.html +3 -0
- package/docs/modules/apis_anilist_query_Media.html +3 -0
- package/docs/modules/apis_anilist_query_MediaList.html +3 -0
- package/docs/modules/apis_anilist_query_MediaListCollection.html +3 -0
- package/docs/modules/apis_anilist_query_MediaTagCollection.html +3 -0
- package/docs/modules/apis_anilist_query_MediaTrend.html +3 -0
- package/docs/modules/apis_anilist_query_Notification.html +3 -0
- package/docs/modules/apis_anilist_query_Recommendation.html +3 -0
- package/docs/modules/apis_anilist_query_Review.html +3 -0
- package/docs/modules/apis_anilist_query_SiteStatistics.html +3 -0
- package/docs/modules/apis_anilist_query_Staff.html +3 -0
- package/docs/modules/apis_anilist_query_Studio.html +3 -0
- package/docs/modules/apis_anilist_query_Thread.html +3 -0
- package/docs/modules/apis_anilist_query_ThreadComment.html +3 -0
- package/docs/modules/apis_anilist_query_User.html +3 -0
- package/docs/modules/apis_anilist_query_Viewer.html +3 -0
- package/docs/modules/apis_anilist_query_page_Activities.html +3 -0
- package/docs/modules/apis_anilist_query_page_ActivityReplies.html +3 -0
- package/docs/modules/apis_anilist_query_page_AiringSchedules.html +3 -0
- package/docs/modules/apis_anilist_query_page_Characters.html +3 -0
- package/docs/modules/apis_anilist_query_page_Followers.html +3 -0
- package/docs/modules/apis_anilist_query_page_Followings.html +3 -0
- package/docs/modules/apis_anilist_query_page_Likes.html +3 -0
- package/docs/modules/apis_anilist_query_page_MediaLists.html +3 -0
- package/docs/modules/apis_anilist_query_page_MediaTrends.html +3 -0
- package/docs/modules/apis_anilist_query_page_Medias.html +3 -0
- package/docs/modules/apis_anilist_query_page_Notifications.html +3 -0
- package/docs/modules/apis_anilist_query_page_Recommendations.html +3 -0
- package/docs/modules/apis_anilist_query_page_Reviews.html +3 -0
- package/docs/modules/apis_anilist_query_page_Staffs.html +3 -0
- package/docs/modules/apis_anilist_query_page_Studios.html +3 -0
- package/docs/modules/apis_anilist_query_page_ThreadCommments.html +3 -0
- package/docs/modules/apis_anilist_query_page_Threads.html +3 -0
- package/docs/modules/apis_anilist_query_page_Users.html +3 -0
- package/docs/modules/apis_anilist_types_MediaListStatus.html +2 -0
- package/docs/modules/apis_anilist_types_ScoreFormat.html +2 -0
- package/docs/modules/apis_anilist_types_UserStaffNameLanguage.html +2 -0
- package/docs/modules/apis_anilist_types_UserTitleLanguage.html +2 -0
- package/docs/modules/base_APIWrapper.html +2 -0
- package/docs/modules/base_RequestHandler.html +2 -0
- package/docs/types/apis_anilist_interfaces_Activity.ListActivityOptionInput.html +3 -0
- package/docs/types/apis_anilist_interfaces_MediaListEntry.MediaListStatus.html +3 -0
- package/docs/types/apis_anilist_types_MediaListStatus.MediaListStatus.html +3 -0
- package/docs/types/apis_anilist_types_ScoreFormat.ScoreFormat.html +3 -0
- package/docs/types/apis_anilist_types_UserStaffNameLanguage.UserStaffNameLanguage.html +3 -0
- package/docs/types/apis_anilist_types_UserTitleLanguage.UserTitleLanguage.html +3 -0
- package/docs/variables/apis_anilist_interfaces_Activity.ActivitySchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_Activity.ActivityWithRepliesSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_ActivityNotification.ActivityNotificationSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_ActivityReply.ActivityReplySchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_BasicComment.BasicCommentSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_BasicThread.BasicThreadSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_BasicUser.BasicUserSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_CoverImage.CoverImageSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_ExternalLink.ExternalLinkSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_FuzzyDate.FuzzyDateSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_Image.ImageSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_MediaListEntry.MediaListEntrySchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_Name.NameSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_NextAiringEpisode.NextAiringEpisodeSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_Ranking.RankingSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_ScoreDistribution.ScoreDistributionSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_SiteTrend.SiteTrendSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_SiteTrendConnection.SiteTrendConnectionSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_StatusDistribution.StatusDistributionSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_StreamingEpisode.StreamingEpisodeSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_Tag.TagSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_ThreadNotification.ThreadNotificationSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_Title.TitleSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_Trailer.TrailerSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_UserStats.UserAnimeStatsSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_UserStats.UserMangaStatsSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_responses_query_AiringSchedule.AiringScheduleSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_responses_query_Character.CharacterSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_responses_query_Media.MediaSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_responses_query_Media.MediaWithRelationsSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_responses_query_MediaList.MediaListSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_responses_query_MediaListCollectionResponse.MediaListCollectionQuerySchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_responses_query_MediaTrend.MediaTrendSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_responses_query_Notification.NotificationSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_responses_query_Recommendation.RecommendationSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_responses_query_Review.ReviewSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_responses_query_SiteStatistics.SiteStatisticsSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_responses_query_Staff.StaffSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_responses_query_Studio.StudioSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_responses_query_Thread.ThreadSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_responses_query_ThreadComment.ThreadCommentSchema.html +3 -0
- package/docs/variables/apis_anilist_interfaces_responses_query_User.UserSchema.html +3 -0
- package/package.json +4 -1
- package/typedoc.json +15 -0
|
@@ -15,6 +15,10 @@ const Name_1 = require("../../Name");
|
|
|
15
15
|
const Image_1 = require("../../Image");
|
|
16
16
|
const StatusDistribution_1 = require("../../StatusDistribution");
|
|
17
17
|
const ScoreDistribution_1 = require("../../ScoreDistribution");
|
|
18
|
+
/**
|
|
19
|
+
* `MediaWithRelationsSchema` is a constant representing the GraphQL schema for a media query with relations.
|
|
20
|
+
* 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.
|
|
21
|
+
*/
|
|
18
22
|
exports.MediaWithRelationsSchema = `
|
|
19
23
|
id
|
|
20
24
|
idMal
|
|
@@ -152,6 +156,10 @@ exports.MediaWithRelationsSchema = `
|
|
|
152
156
|
isRecommendationBlocked
|
|
153
157
|
modNotes
|
|
154
158
|
`;
|
|
159
|
+
/**
|
|
160
|
+
* `MediaSchema` is a constant representing the GraphQL schema for a media query.
|
|
161
|
+
* 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.
|
|
162
|
+
*/
|
|
155
163
|
exports.MediaSchema = `
|
|
156
164
|
id
|
|
157
165
|
idMal
|
|
@@ -3,6 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MediaListSchema = void 0;
|
|
4
4
|
const FuzzyDate_1 = require("../../FuzzyDate");
|
|
5
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
|
+
*/
|
|
6
10
|
exports.MediaListSchema = `
|
|
7
11
|
id
|
|
8
12
|
userId
|
|
@@ -2,8 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MediaListCollectionQuerySchema = void 0;
|
|
4
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
|
+
*/
|
|
5
10
|
exports.MediaListCollectionQuerySchema = `
|
|
6
|
-
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) {
|
|
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) {
|
|
7
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) {
|
|
8
13
|
lists {
|
|
9
14
|
entries {
|
|
@@ -29,6 +34,9 @@ exports.MediaListCollectionQuerySchema = `
|
|
|
29
34
|
}
|
|
30
35
|
updatedAt
|
|
31
36
|
createdAt
|
|
37
|
+
media {
|
|
38
|
+
${Media_1.MediaSchema}
|
|
39
|
+
}
|
|
32
40
|
}
|
|
33
41
|
name
|
|
34
42
|
isCustomList
|
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MediaTrendSchema = void 0;
|
|
4
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
|
+
*/
|
|
5
9
|
exports.MediaTrendSchema = `
|
|
6
10
|
mediaId
|
|
7
11
|
date
|
|
@@ -7,6 +7,10 @@ const BasicUser_1 = require("../../BasicUser");
|
|
|
7
7
|
const BasicThread_1 = require("../../BasicThread");
|
|
8
8
|
const BasicComment_1 = require("../../BasicComment");
|
|
9
9
|
const ThreadNotification_1 = require("../../ThreadNotification");
|
|
10
|
+
/**
|
|
11
|
+
* `NotificationSchema` is a constant representing the GraphQL schema for a notification query.
|
|
12
|
+
* It includes various types of notifications such as AiringNotification, FollowingNotification, ActivityMessageNotification, ActivityMentionNotification, ActivityReplyNotification, ActivityReplySubscribedNotification, ActivityLikeNotification, ActivityReplyLikeNotification, ThreadCommentMentionNotification, ThreadCommentReplyNotification, ThreadCommentSubscribedNotification, ThreadCommentLikeNotification, ThreadLikeNotification, RelatedMediaAdditionNotification, MediaDataChangeNotification, MediaMergeNotification, and MediaDeletionNotification.
|
|
13
|
+
*/
|
|
10
14
|
exports.NotificationSchema = `
|
|
11
15
|
... on AiringNotification {
|
|
12
16
|
id
|
|
@@ -3,6 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.RecommendationSchema = void 0;
|
|
4
4
|
const BasicUser_1 = require("../../BasicUser");
|
|
5
5
|
const Media_1 = require("./Media");
|
|
6
|
+
/**
|
|
7
|
+
* `RecommendationSchema` is a constant representing the GraphQL schema for a recommendation query.
|
|
8
|
+
* It includes the id, rating, user rating, media of type `MediaResponse`, media recommendation of type `MediaResponse`, and user of type `BasicUser`.
|
|
9
|
+
*/
|
|
6
10
|
exports.RecommendationSchema = `
|
|
7
11
|
id
|
|
8
12
|
rating
|
|
@@ -3,6 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ReviewSchema = void 0;
|
|
4
4
|
const BasicUser_1 = require("../../BasicUser");
|
|
5
5
|
const Media_1 = require("./Media");
|
|
6
|
+
/**
|
|
7
|
+
* `ReviewSchema` is a constant representing the GraphQL schema for a review query.
|
|
8
|
+
* It includes the id, mediaId, userId, mediaType, summary, body, rating, ratingAmount, score, private status, siteUrl, createdAt, updatedAt, user of type `BasicUser`, and media of type `Media`.
|
|
9
|
+
*/
|
|
6
10
|
exports.ReviewSchema = `
|
|
7
11
|
id
|
|
8
12
|
mediaId
|
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SiteStatisticsSchema = void 0;
|
|
4
4
|
const SiteTrendConnection_1 = require("../../SiteTrendConnection");
|
|
5
|
+
/**
|
|
6
|
+
* `SiteStatisticsSchema` is a constant representing the GraphQL schema for a site statistics query.
|
|
7
|
+
* It includes users, anime, manga, characters, staff, studios, and reviews of type `SiteTrendConnection`.
|
|
8
|
+
*/
|
|
5
9
|
exports.SiteStatisticsSchema = `
|
|
6
10
|
users (sort: $usersSort, page: $usersPage, perPage: $usersPerPage) {
|
|
7
11
|
${SiteTrendConnection_1.SiteTrendConnectionSchema}
|
|
@@ -5,6 +5,10 @@ const Name_1 = require("../../Name");
|
|
|
5
5
|
const Image_1 = require("../../Image");
|
|
6
6
|
const FuzzyDate_1 = require("../../FuzzyDate");
|
|
7
7
|
const Title_1 = require("../../Title");
|
|
8
|
+
/**
|
|
9
|
+
* `StaffSchema` is a constant representing the GraphQL schema for a staff query.
|
|
10
|
+
* It includes the staff's id, name, language, image, description, primary occupations, gender, date of birth, date of death, age, years active, hometown, blood type, favourite status, favourite blocked status, site url, staff media, characters, character media, staff, submitter, submission status, submission notes, favourites, and mod notes.
|
|
11
|
+
*/
|
|
8
12
|
exports.StaffSchema = `
|
|
9
13
|
id
|
|
10
14
|
${Name_1.NameSchema}
|
|
@@ -6,6 +6,10 @@ const Staff_1 = require("./Staff");
|
|
|
6
6
|
const Media_1 = require("./Media");
|
|
7
7
|
const Name_1 = require("../../Name");
|
|
8
8
|
const Image_1 = require("../../Image");
|
|
9
|
+
/**
|
|
10
|
+
* `StudioSchema` is a constant representing the GraphQL schema for a studio query.
|
|
11
|
+
* It includes the studio's id, name, animation studio status, media, site url, favourite status, and favourites count.
|
|
12
|
+
*/
|
|
9
13
|
exports.StudioSchema = `
|
|
10
14
|
id
|
|
11
15
|
name
|
|
@@ -3,6 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ThreadSchema = void 0;
|
|
4
4
|
const Media_1 = require("./Media");
|
|
5
5
|
const BasicUser_1 = require("../../BasicUser");
|
|
6
|
+
/**
|
|
7
|
+
* `ThreadSchema` is a constant representing the GraphQL schema for a thread query.
|
|
8
|
+
* It includes the thread's id, title, body, userId, replyUserId, replyCommentId, replyCount, viewCount, isLocked status, isSticky status, isSubscribed status, likeCount, isLiked status, repliedAt, createdAt, updatedAt, user of type `BasicUser`, replyUser of type `BasicUser`, likes of type `BasicUser[]`, siteUrl, categories, and mediaCategories of type `MediaResponse[]`.
|
|
9
|
+
*/
|
|
6
10
|
exports.ThreadSchema = `
|
|
7
11
|
id
|
|
8
12
|
title
|
|
@@ -3,6 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ThreadCommentSchema = void 0;
|
|
4
4
|
const Thread_1 = require("./Thread");
|
|
5
5
|
const BasicUser_1 = require("../../BasicUser");
|
|
6
|
+
/**
|
|
7
|
+
* `ThreadCommentSchema` is a constant representing the GraphQL schema for a thread comment query.
|
|
8
|
+
* It includes the comment's id, userId, threadId, comment, likeCount, isLiked status, siteUrl, createdAt, updatedAt, thread of type `ThreadResponse`, user of type `BasicUser`, likes of type `BasicUser[]`, childComments, and isLocked status.
|
|
9
|
+
*/
|
|
6
10
|
exports.ThreadCommentSchema = `
|
|
7
11
|
id
|
|
8
12
|
userId
|
|
@@ -7,6 +7,10 @@ const Title_1 = require("../../Title");
|
|
|
7
7
|
const Name_1 = require("../../Name");
|
|
8
8
|
const CoverImage_1 = require("../../CoverImage");
|
|
9
9
|
const Tag_1 = require("../../Tag");
|
|
10
|
+
/**
|
|
11
|
+
* `UserSchema` is a constant representing the GraphQL schema for a user query.
|
|
12
|
+
* It includes the user's id, name, about, avatar, bannerImage, isFollowing status, isFollower status, isBlocked status, bans, options, mediaListOptions, favourites, statistics, stats, unreadNotificationCount, siteUrl, donatorTier, donatorBadge, moderatorRoles, createdAt, updatedAt, and previousNames.
|
|
13
|
+
*/
|
|
10
14
|
exports.UserSchema = `
|
|
11
15
|
id
|
|
12
16
|
name
|
|
@@ -13,11 +13,26 @@ exports.SaveMediaListEntryMutation = void 0;
|
|
|
13
13
|
const APIWrapper_1 = require("../../../base/APIWrapper");
|
|
14
14
|
const RequestHandler_1 = require("../../../base/RequestHandler");
|
|
15
15
|
const FuzzyDate_1 = require("../interfaces/FuzzyDate");
|
|
16
|
+
/**
|
|
17
|
+
* `SaveMediaListEntryMutation` is a class representing a mutation to save a media list entry.
|
|
18
|
+
* It includes a method to save a media list entry.
|
|
19
|
+
*/
|
|
16
20
|
class SaveMediaListEntryMutation extends APIWrapper_1.APIWrapper {
|
|
21
|
+
/**
|
|
22
|
+
* Constructs a new `SaveMediaListEntryMutation` instance.
|
|
23
|
+
*
|
|
24
|
+
* @param authToken - The authentication token.
|
|
25
|
+
*/
|
|
17
26
|
constructor(authToken) {
|
|
18
27
|
super('https://graphql.anilist.co');
|
|
19
28
|
this.authToken = authToken;
|
|
20
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* `saveMediaListEntry` is a method that sends a mutation request to save a media list entry.
|
|
32
|
+
*
|
|
33
|
+
* @param variables - The variables for the mutation.
|
|
34
|
+
* @returns The response from the mutation request.
|
|
35
|
+
*/
|
|
21
36
|
saveMediaListEntry(variables) {
|
|
22
37
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
38
|
const mutation = `
|
|
@@ -13,11 +13,26 @@ exports.UpdateMediaListEntriesMutation = void 0;
|
|
|
13
13
|
const APIWrapper_1 = require("../../../base/APIWrapper");
|
|
14
14
|
const RequestHandler_1 = require("../../../base/RequestHandler");
|
|
15
15
|
const FuzzyDate_1 = require("../interfaces/FuzzyDate");
|
|
16
|
+
/**
|
|
17
|
+
* `UpdateMediaListEntriesMutation` is a class representing a mutation to update media list entries.
|
|
18
|
+
* It includes a method to update media list entries.
|
|
19
|
+
*/
|
|
16
20
|
class UpdateMediaListEntriesMutation extends APIWrapper_1.APIWrapper {
|
|
21
|
+
/**
|
|
22
|
+
* Constructs a new `UpdateMediaListEntriesMutation` instance.
|
|
23
|
+
*
|
|
24
|
+
* @param authToken - The authentication token.
|
|
25
|
+
*/
|
|
17
26
|
constructor(authToken) {
|
|
18
27
|
super('https://graphql.anilist.co');
|
|
19
28
|
this.authToken = authToken;
|
|
20
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* `updateMediaListEntries` is a method that sends a mutation request to update media list entries.
|
|
32
|
+
*
|
|
33
|
+
* @param variables - The variables for the mutation.
|
|
34
|
+
* @returns The response from the mutation request.
|
|
35
|
+
*/
|
|
21
36
|
updateMediaListEntries(variables) {
|
|
22
37
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
38
|
const mutation = `
|
|
@@ -12,11 +12,26 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.UpdateUserMutation = void 0;
|
|
13
13
|
const APIWrapper_1 = require("../../../base/APIWrapper");
|
|
14
14
|
const RequestHandler_1 = require("../../../base/RequestHandler");
|
|
15
|
+
/**
|
|
16
|
+
* `UpdateUserMutation` is a class representing a mutation to update a user.
|
|
17
|
+
* It includes a method to update a user.
|
|
18
|
+
*/
|
|
15
19
|
class UpdateUserMutation extends APIWrapper_1.APIWrapper {
|
|
20
|
+
/**
|
|
21
|
+
* Constructs a new `UpdateUserMutation` instance.
|
|
22
|
+
*
|
|
23
|
+
* @param authToken - The authentication token.
|
|
24
|
+
*/
|
|
16
25
|
constructor(authToken) {
|
|
17
26
|
super('https://graphql.anilist.co');
|
|
18
27
|
this.authToken = authToken;
|
|
19
28
|
}
|
|
29
|
+
/**
|
|
30
|
+
* `updateUser` is a method that sends a mutation request to update a user.
|
|
31
|
+
*
|
|
32
|
+
* @param variables - The variables for the mutation.
|
|
33
|
+
* @returns The response from the mutation request.
|
|
34
|
+
*/
|
|
20
35
|
updateUser(variables) {
|
|
21
36
|
return __awaiter(this, void 0, void 0, function* () {
|
|
22
37
|
const mutation = `
|
|
@@ -13,11 +13,26 @@ exports.ActivityQuery = void 0;
|
|
|
13
13
|
const APIWrapper_1 = require("../../../base/APIWrapper");
|
|
14
14
|
const RequestHandler_1 = require("../../../base/RequestHandler");
|
|
15
15
|
const Activity_1 = require("../interfaces/Activity");
|
|
16
|
+
/**
|
|
17
|
+
* `ActivityQuery` is a class representing a query for activities.
|
|
18
|
+
* It includes a method to get activities.
|
|
19
|
+
*/
|
|
16
20
|
class ActivityQuery extends APIWrapper_1.APIWrapper {
|
|
21
|
+
/**
|
|
22
|
+
* Constructs a new `ActivityQuery` instance.
|
|
23
|
+
*
|
|
24
|
+
* @param authToken - The authentication token.
|
|
25
|
+
*/
|
|
17
26
|
constructor(authToken) {
|
|
18
27
|
super('https://graphql.anilist.co');
|
|
19
28
|
this.authToken = authToken;
|
|
20
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* `activity` is a method that sends a query request to get activities.
|
|
32
|
+
*
|
|
33
|
+
* @param variables - The variables for the query.
|
|
34
|
+
* @returns The response from the query request.
|
|
35
|
+
*/
|
|
21
36
|
activity(variables) {
|
|
22
37
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
38
|
const query = `
|
|
@@ -13,11 +13,26 @@ exports.ActivityReplyQuery = void 0;
|
|
|
13
13
|
const APIWrapper_1 = require("../../../base/APIWrapper");
|
|
14
14
|
const RequestHandler_1 = require("../../../base/RequestHandler");
|
|
15
15
|
const ActivityReply_1 = require("../interfaces/ActivityReply");
|
|
16
|
+
/**
|
|
17
|
+
* `ActivityReplyQuery` is a class representing a query for activity replies.
|
|
18
|
+
* It includes a method to get activity replies.
|
|
19
|
+
*/
|
|
16
20
|
class ActivityReplyQuery extends APIWrapper_1.APIWrapper {
|
|
21
|
+
/**
|
|
22
|
+
* Constructs a new `ActivityReplyQuery` instance.
|
|
23
|
+
*
|
|
24
|
+
* @param authToken - The authentication token.
|
|
25
|
+
*/
|
|
17
26
|
constructor(authToken) {
|
|
18
27
|
super('https://graphql.anilist.co');
|
|
19
28
|
this.authToken = authToken;
|
|
20
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* `activityReply` is a method that sends a query request to get activity replies.
|
|
32
|
+
*
|
|
33
|
+
* @param variables - The variables for the query.
|
|
34
|
+
* @returns The response from the query request.
|
|
35
|
+
*/
|
|
21
36
|
activityReply(variables) {
|
|
22
37
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
38
|
const query = `
|
|
@@ -13,11 +13,26 @@ exports.AiringScheduleQuery = void 0;
|
|
|
13
13
|
const APIWrapper_1 = require("../../../base/APIWrapper");
|
|
14
14
|
const RequestHandler_1 = require("../../../base/RequestHandler");
|
|
15
15
|
const AiringSchedule_1 = require("../interfaces/responses/query/AiringSchedule");
|
|
16
|
+
/**
|
|
17
|
+
* `AiringScheduleQuery` is a class representing a query for airing schedules.
|
|
18
|
+
* It includes a method to get airing schedules.
|
|
19
|
+
*/
|
|
16
20
|
class AiringScheduleQuery extends APIWrapper_1.APIWrapper {
|
|
21
|
+
/**
|
|
22
|
+
* Constructs a new `AiringScheduleQuery` instance.
|
|
23
|
+
*
|
|
24
|
+
* @param authToken - The authentication token.
|
|
25
|
+
*/
|
|
17
26
|
constructor(authToken) {
|
|
18
27
|
super('https://graphql.anilist.co');
|
|
19
28
|
this.authToken = authToken;
|
|
20
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* `airingSchedule` is a method that sends a query request to get airing schedules.
|
|
32
|
+
*
|
|
33
|
+
* @param variables - The variables for the query.
|
|
34
|
+
* @returns The response from the query request.
|
|
35
|
+
*/
|
|
21
36
|
airingSchedule(variables) {
|
|
22
37
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
38
|
const query = `
|
|
@@ -13,11 +13,25 @@ exports.AniChartUserQuery = void 0;
|
|
|
13
13
|
const APIWrapper_1 = require("../../../base/APIWrapper");
|
|
14
14
|
const RequestHandler_1 = require("../../../base/RequestHandler");
|
|
15
15
|
const BasicUser_1 = require("../interfaces/BasicUser");
|
|
16
|
+
/**
|
|
17
|
+
* `AniChartUserQuery` is a class representing a query for AniChart users.
|
|
18
|
+
* It includes a method to get AniChart users.
|
|
19
|
+
*/
|
|
16
20
|
class AniChartUserQuery extends APIWrapper_1.APIWrapper {
|
|
21
|
+
/**
|
|
22
|
+
* Constructs a new `AniChartUserQuery` instance.
|
|
23
|
+
*
|
|
24
|
+
* @param authToken - The authentication token.
|
|
25
|
+
*/
|
|
17
26
|
constructor(authToken) {
|
|
18
27
|
super('https://graphql.anilist.co');
|
|
19
28
|
this.authToken = authToken;
|
|
20
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* `aniChartUser` is a method that sends a query request to get AniChart users.
|
|
32
|
+
*
|
|
33
|
+
* @returns The response from the query request.
|
|
34
|
+
*/
|
|
21
35
|
aniChartUser() {
|
|
22
36
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
37
|
const query = `
|
|
@@ -13,11 +13,26 @@ exports.CharacterQuery = void 0;
|
|
|
13
13
|
const APIWrapper_1 = require("../../../base/APIWrapper");
|
|
14
14
|
const RequestHandler_1 = require("../../../base/RequestHandler");
|
|
15
15
|
const Character_1 = require("../interfaces/responses/query/Character");
|
|
16
|
+
/**
|
|
17
|
+
* `CharacterQuery` is a class representing a query for characters.
|
|
18
|
+
* It includes a method to get characters.
|
|
19
|
+
*/
|
|
16
20
|
class CharacterQuery extends APIWrapper_1.APIWrapper {
|
|
21
|
+
/**
|
|
22
|
+
* Constructs a new `CharacterQuery` instance.
|
|
23
|
+
*
|
|
24
|
+
* @param authToken - The authentication token.
|
|
25
|
+
*/
|
|
17
26
|
constructor(authToken) {
|
|
18
27
|
super('https://graphql.anilist.co');
|
|
19
28
|
this.authToken = authToken;
|
|
20
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* `character` is a method that sends a query request to get characters.
|
|
32
|
+
*
|
|
33
|
+
* @param variables - The variables for the query.
|
|
34
|
+
* @returns The response from the query request.
|
|
35
|
+
*/
|
|
21
36
|
character(variables) {
|
|
22
37
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
38
|
const query = `
|
|
@@ -12,13 +12,28 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.ExternalLinkSourceCollectionQuery = void 0;
|
|
13
13
|
const APIWrapper_1 = require("../../../base/APIWrapper");
|
|
14
14
|
const RequestHandler_1 = require("../../../base/RequestHandler");
|
|
15
|
+
/**
|
|
16
|
+
* `ExternalLinkSourceCollectionQuery` is a class representing a query for external link source collections.
|
|
17
|
+
* It includes a method to get external link source collections.
|
|
18
|
+
*/
|
|
15
19
|
class ExternalLinkSourceCollectionQuery extends APIWrapper_1.APIWrapper {
|
|
20
|
+
/**
|
|
21
|
+
* Constructs a new `ExternalLinkSourceCollectionQuery` instance.
|
|
22
|
+
*
|
|
23
|
+
* @param authToken - The authentication token.
|
|
24
|
+
*/
|
|
16
25
|
constructor(authToken) {
|
|
17
26
|
super('https://graphql.anilist.co');
|
|
18
27
|
this.authToken = authToken;
|
|
19
28
|
}
|
|
20
|
-
|
|
21
|
-
|
|
29
|
+
/**
|
|
30
|
+
* `externalLinkSourceCollection` is a method that sends a query request to get external link source collections.
|
|
31
|
+
*
|
|
32
|
+
* @param variables - The variables for the query. If not provided, an empty object will be used.
|
|
33
|
+
* @returns The response from the query request.
|
|
34
|
+
*/
|
|
35
|
+
externalLinkSourceCollection() {
|
|
36
|
+
return __awaiter(this, arguments, void 0, function* (variables = {}) {
|
|
22
37
|
const query = `
|
|
23
38
|
query ($id: Int, $type: ExternalLinkType, $mediaType: ExternalLinkMediaType) {
|
|
24
39
|
ExternalLinkSourceCollection (id: $id, type: $type, mediaType: $mediaType) {
|
|
@@ -13,11 +13,26 @@ exports.FollowerQuery = void 0;
|
|
|
13
13
|
const APIWrapper_1 = require("../../../base/APIWrapper");
|
|
14
14
|
const RequestHandler_1 = require("../../../base/RequestHandler");
|
|
15
15
|
const User_1 = require("../interfaces/responses/query/User");
|
|
16
|
+
/**
|
|
17
|
+
* `FollowerQuery` is a class representing a query for followers.
|
|
18
|
+
* It includes a method to get followers.
|
|
19
|
+
*/
|
|
16
20
|
class FollowerQuery extends APIWrapper_1.APIWrapper {
|
|
21
|
+
/**
|
|
22
|
+
* Constructs a new `FollowerQuery` instance.
|
|
23
|
+
*
|
|
24
|
+
* @param authToken - The authentication token.
|
|
25
|
+
*/
|
|
17
26
|
constructor(authToken) {
|
|
18
27
|
super('https://graphql.anilist.co');
|
|
19
28
|
this.authToken = authToken;
|
|
20
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* `follower` is a method that sends a query request to get followers.
|
|
32
|
+
*
|
|
33
|
+
* @param variables - The variables for the query.
|
|
34
|
+
* @returns The response from the query request.
|
|
35
|
+
*/
|
|
21
36
|
follower(variables) {
|
|
22
37
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
38
|
const query = `
|
|
@@ -13,11 +13,26 @@ exports.FollowingQuery = void 0;
|
|
|
13
13
|
const APIWrapper_1 = require("../../../base/APIWrapper");
|
|
14
14
|
const RequestHandler_1 = require("../../../base/RequestHandler");
|
|
15
15
|
const User_1 = require("../interfaces/responses/query/User");
|
|
16
|
+
/**
|
|
17
|
+
* `FollowingQuery` is a class representing a query for following users.
|
|
18
|
+
* It includes a method to get following users.
|
|
19
|
+
*/
|
|
16
20
|
class FollowingQuery extends APIWrapper_1.APIWrapper {
|
|
21
|
+
/**
|
|
22
|
+
* Constructs a new `FollowingQuery` instance.
|
|
23
|
+
*
|
|
24
|
+
* @param authToken - The authentication token.
|
|
25
|
+
*/
|
|
17
26
|
constructor(authToken) {
|
|
18
27
|
super('https://graphql.anilist.co');
|
|
19
28
|
this.authToken = authToken;
|
|
20
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* `following` is a method that sends a query request to get following users.
|
|
32
|
+
*
|
|
33
|
+
* @param variables - The variables for the query.
|
|
34
|
+
* @returns The response from the query request.
|
|
35
|
+
*/
|
|
21
36
|
following(variables) {
|
|
22
37
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
38
|
const query = `
|
|
@@ -12,11 +12,25 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.GenreCollectionQuery = void 0;
|
|
13
13
|
const APIWrapper_1 = require("../../../base/APIWrapper");
|
|
14
14
|
const RequestHandler_1 = require("../../../base/RequestHandler");
|
|
15
|
+
/**
|
|
16
|
+
* `GenreCollectionQuery` is a class representing a query for genre collections.
|
|
17
|
+
* It includes a method to get genre collections.
|
|
18
|
+
*/
|
|
15
19
|
class GenreCollectionQuery extends APIWrapper_1.APIWrapper {
|
|
20
|
+
/**
|
|
21
|
+
* Constructs a new `GenreCollectionQuery` instance.
|
|
22
|
+
*
|
|
23
|
+
* @param authToken - The authentication token.
|
|
24
|
+
*/
|
|
16
25
|
constructor(authToken) {
|
|
17
26
|
super('https://graphql.anilist.co');
|
|
18
27
|
this.authToken = authToken;
|
|
19
28
|
}
|
|
29
|
+
/**
|
|
30
|
+
* `genreCollection` is a method that sends a query request to get genre collections.
|
|
31
|
+
*
|
|
32
|
+
* @returns The response from the query request.
|
|
33
|
+
*/
|
|
20
34
|
genreCollection() {
|
|
21
35
|
return __awaiter(this, void 0, void 0, function* () {
|
|
22
36
|
const query = `
|
|
@@ -12,11 +12,26 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.MarkdownQuery = void 0;
|
|
13
13
|
const APIWrapper_1 = require("../../../base/APIWrapper");
|
|
14
14
|
const RequestHandler_1 = require("../../../base/RequestHandler");
|
|
15
|
+
/**
|
|
16
|
+
* `MarkdownQuery` is a class representing a query for converting markdown text to HTML.
|
|
17
|
+
* It includes a method to send the markdown text and receive the converted HTML.
|
|
18
|
+
*/
|
|
15
19
|
class MarkdownQuery extends APIWrapper_1.APIWrapper {
|
|
20
|
+
/**
|
|
21
|
+
* Constructs a new `MarkdownQuery` instance.
|
|
22
|
+
*
|
|
23
|
+
* @param authToken - The authentication token.
|
|
24
|
+
*/
|
|
16
25
|
constructor(authToken) {
|
|
17
26
|
super('https://graphql.anilist.co');
|
|
18
27
|
this.authToken = authToken;
|
|
19
28
|
}
|
|
29
|
+
/**
|
|
30
|
+
* `markdown` is a method that sends a query request to convert markdown text to HTML.
|
|
31
|
+
*
|
|
32
|
+
* @param variables - The variables for the query.
|
|
33
|
+
* @returns The response from the query request.
|
|
34
|
+
*/
|
|
20
35
|
markdown(variables) {
|
|
21
36
|
return __awaiter(this, void 0, void 0, function* () {
|
|
22
37
|
const query = `
|
|
@@ -13,11 +13,26 @@ exports.MediaQuery = void 0;
|
|
|
13
13
|
const APIWrapper_1 = require("../../../base/APIWrapper");
|
|
14
14
|
const RequestHandler_1 = require("../../../base/RequestHandler");
|
|
15
15
|
const Media_1 = require("../interfaces/responses/query/Media");
|
|
16
|
+
/**
|
|
17
|
+
* `MediaQuery` is a class representing a query for media data.
|
|
18
|
+
* It includes a method to send the media query and receive the response.
|
|
19
|
+
*/
|
|
16
20
|
class MediaQuery extends APIWrapper_1.APIWrapper {
|
|
21
|
+
/**
|
|
22
|
+
* Constructs a new `MediaQuery` instance.
|
|
23
|
+
*
|
|
24
|
+
* @param authToken - The authentication token.
|
|
25
|
+
*/
|
|
17
26
|
constructor(authToken) {
|
|
18
27
|
super('https://graphql.anilist.co');
|
|
19
28
|
this.authToken = authToken;
|
|
20
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* `media` is a method that sends a query request to get media data.
|
|
32
|
+
*
|
|
33
|
+
* @param variables - The variables for the query.
|
|
34
|
+
* @returns The response from the query request.
|
|
35
|
+
*/
|
|
21
36
|
media(variables) {
|
|
22
37
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
38
|
const query = `
|
|
@@ -13,11 +13,26 @@ exports.MediaListQuery = void 0;
|
|
|
13
13
|
const APIWrapper_1 = require("../../../base/APIWrapper");
|
|
14
14
|
const RequestHandler_1 = require("../../../base/RequestHandler");
|
|
15
15
|
const MediaList_1 = require("../interfaces/responses/query/MediaList");
|
|
16
|
+
/**
|
|
17
|
+
* `MediaListQuery` is a class representing a query for media list data.
|
|
18
|
+
* It includes a method to send the media list query and receive the response.
|
|
19
|
+
*/
|
|
16
20
|
class MediaListQuery extends APIWrapper_1.APIWrapper {
|
|
21
|
+
/**
|
|
22
|
+
* Constructs a new `MediaListQuery` instance.
|
|
23
|
+
*
|
|
24
|
+
* @param authToken - The authentication token.
|
|
25
|
+
*/
|
|
17
26
|
constructor(authToken) {
|
|
18
27
|
super('https://graphql.anilist.co');
|
|
19
28
|
this.authToken = authToken;
|
|
20
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* `mediaList` is a method that sends a query request to get media list data.
|
|
32
|
+
*
|
|
33
|
+
* @param variables - The variables for the query.
|
|
34
|
+
* @returns The response from the query request.
|
|
35
|
+
*/
|
|
21
36
|
mediaList(variables) {
|
|
22
37
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
38
|
const query = `
|
|
@@ -13,11 +13,26 @@ exports.MediaListCollectionQuery = void 0;
|
|
|
13
13
|
const APIWrapper_1 = require("../../../base/APIWrapper");
|
|
14
14
|
const RequestHandler_1 = require("../../../base/RequestHandler");
|
|
15
15
|
const MediaListCollectionResponse_1 = require("../interfaces/responses/query/MediaListCollectionResponse");
|
|
16
|
+
/**
|
|
17
|
+
* `MediaListCollectionQuery` is a class representing a query for media list collection data.
|
|
18
|
+
* It includes a method to send the media list collection query and receive the response.
|
|
19
|
+
*/
|
|
16
20
|
class MediaListCollectionQuery extends APIWrapper_1.APIWrapper {
|
|
21
|
+
/**
|
|
22
|
+
* Constructs a new `MediaListCollectionQuery` instance.
|
|
23
|
+
*
|
|
24
|
+
* @param authToken - The authentication token.
|
|
25
|
+
*/
|
|
17
26
|
constructor(authToken) {
|
|
18
27
|
super('https://graphql.anilist.co');
|
|
19
28
|
this.authToken = authToken;
|
|
20
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* `mediaListCollection` is a method that sends a query request to get media list collection data.
|
|
32
|
+
*
|
|
33
|
+
* @param variables - The variables for the query.
|
|
34
|
+
* @returns The response from the query request.
|
|
35
|
+
*/
|
|
21
36
|
mediaListCollection(variables) {
|
|
22
37
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
38
|
const query = MediaListCollectionResponse_1.MediaListCollectionQuerySchema;
|