anilink-api-wrapper 1.29.2 → 2.0.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.
- package/LICENSE +21 -21
- package/README.md +523 -241
- package/dist/AniLink.d.ts +11397 -0
- package/dist/AniLink.mjs +6664 -0
- package/dist/anilist.d.ts +1 -0
- package/dist/anilist.mjs +5 -0
- package/package.json +111 -46
- package/dist/AniLink.js +0 -248
- package/dist/apis/anilist/Custom.js +0 -42
- package/dist/apis/anilist/interfaces/Activity.js +0 -436
- package/dist/apis/anilist/interfaces/Basic.js +0 -33
- package/dist/apis/anilist/interfaces/CoverImage.js +0 -15
- package/dist/apis/anilist/interfaces/Distribution.js +0 -23
- package/dist/apis/anilist/interfaces/ExternalLink.js +0 -14
- package/dist/apis/anilist/interfaces/Favoured.js +0 -2
- package/dist/apis/anilist/interfaces/FuzzyDate.js +0 -12
- package/dist/apis/anilist/interfaces/Image.js +0 -13
- package/dist/apis/anilist/interfaces/ListScores.js +0 -2
- package/dist/apis/anilist/interfaces/Media.js +0 -13
- package/dist/apis/anilist/interfaces/Name.js +0 -15
- package/dist/apis/anilist/interfaces/NextAiringEpisode.js +0 -14
- package/dist/apis/anilist/interfaces/Notification.js +0 -25
- package/dist/apis/anilist/interfaces/Ranking.js +0 -19
- package/dist/apis/anilist/interfaces/SiteTrend.js +0 -33
- package/dist/apis/anilist/interfaces/Staff.js +0 -2
- package/dist/apis/anilist/interfaces/Stat.js +0 -2
- package/dist/apis/anilist/interfaces/Statistics.js +0 -2
- package/dist/apis/anilist/interfaces/StreamingEpisode.js +0 -15
- package/dist/apis/anilist/interfaces/Studio.js +0 -2
- package/dist/apis/anilist/interfaces/Tag.js +0 -18
- package/dist/apis/anilist/interfaces/Title.js +0 -15
- package/dist/apis/anilist/interfaces/Trailer.js +0 -14
- package/dist/apis/anilist/interfaces/UserStats.js +0 -23
- package/dist/apis/anilist/interfaces/responses/mutation/Favourites.js +0 -83
- package/dist/apis/anilist/interfaces/responses/query/AiringSchedule.js +0 -18
- package/dist/apis/anilist/interfaces/responses/query/AniChartUser.js +0 -2
- package/dist/apis/anilist/interfaces/responses/query/Character.js +0 -34
- package/dist/apis/anilist/interfaces/responses/query/ExternalLinkSourceCollection.js +0 -2
- package/dist/apis/anilist/interfaces/responses/query/Media.js +0 -217
- package/dist/apis/anilist/interfaces/responses/query/MediaList.js +0 -36
- package/dist/apis/anilist/interfaces/responses/query/MediaListCollectionResponse.js +0 -49
- package/dist/apis/anilist/interfaces/responses/query/MediaTagCollection.js +0 -2
- package/dist/apis/anilist/interfaces/responses/query/MediaTrend.js +0 -21
- package/dist/apis/anilist/interfaces/responses/query/Notification.js +0 -166
- package/dist/apis/anilist/interfaces/responses/query/Recommendation.js +0 -23
- package/dist/apis/anilist/interfaces/responses/query/Review.js +0 -30
- package/dist/apis/anilist/interfaces/responses/query/SiteStatistics.js +0 -31
- package/dist/apis/anilist/interfaces/responses/query/Staff.js +0 -59
- package/dist/apis/anilist/interfaces/responses/query/Studio.js +0 -60
- package/dist/apis/anilist/interfaces/responses/query/Thread.js +0 -44
- package/dist/apis/anilist/interfaces/responses/query/ThreadComment.js +0 -31
- package/dist/apis/anilist/interfaces/responses/query/User.js +0 -366
- package/dist/apis/anilist/mutation/DeleteActivity.js +0 -61
- package/dist/apis/anilist/mutation/DeleteActivityReply.js +0 -61
- package/dist/apis/anilist/mutation/DeleteCustomList.js +0 -63
- package/dist/apis/anilist/mutation/DeleteMediaListEntry.js +0 -61
- package/dist/apis/anilist/mutation/DeleteReview.js +0 -61
- package/dist/apis/anilist/mutation/DeleteThread.js +0 -61
- package/dist/apis/anilist/mutation/DeleteThreadComment.js +0 -61
- package/dist/apis/anilist/mutation/SaveActivityReply.js +0 -66
- package/dist/apis/anilist/mutation/SaveListActivity.js +0 -64
- package/dist/apis/anilist/mutation/SaveMediaListEntry.js +0 -97
- package/dist/apis/anilist/mutation/SaveMessageActivity.js +0 -68
- package/dist/apis/anilist/mutation/SaveRecommendation.js +0 -66
- package/dist/apis/anilist/mutation/SaveReview.js +0 -68
- package/dist/apis/anilist/mutation/SaveTextActivity.js +0 -65
- package/dist/apis/anilist/mutation/SaveThread.js +0 -69
- package/dist/apis/anilist/mutation/SaveThreadComment.js +0 -67
- package/dist/apis/anilist/mutation/ToggleActivityPin.js +0 -64
- package/dist/apis/anilist/mutation/ToggleActivitySubscription.js +0 -64
- package/dist/apis/anilist/mutation/ToggleFavourite.js +0 -66
- package/dist/apis/anilist/mutation/ToggleFollow.js +0 -62
- package/dist/apis/anilist/mutation/ToggleLike.js +0 -64
- package/dist/apis/anilist/mutation/ToggleLikeV2.js +0 -64
- package/dist/apis/anilist/mutation/ToggleThreadSubscription.js +0 -64
- package/dist/apis/anilist/mutation/UpdateAniChartHighlights.js +0 -58
- package/dist/apis/anilist/mutation/UpdateAniChartSettings.js +0 -58
- package/dist/apis/anilist/mutation/UpdateFavouriteOrder.js +0 -73
- package/dist/apis/anilist/mutation/UpdateMediaListEntries.js +0 -93
- package/dist/apis/anilist/mutation/UpdateUser.js +0 -127
- package/dist/apis/anilist/query/Activity.js +0 -86
- package/dist/apis/anilist/query/ActivityReply.js +0 -60
- package/dist/apis/anilist/query/AiringSchedule.js +0 -78
- package/dist/apis/anilist/query/AniChartUser.js +0 -56
- package/dist/apis/anilist/query/Character.js +0 -70
- package/dist/apis/anilist/query/ExternalLinkSourceCollection.js +0 -68
- package/dist/apis/anilist/query/Follower.js +0 -64
- package/dist/apis/anilist/query/Following.js +0 -64
- package/dist/apis/anilist/query/GenreCollection.js +0 -46
- package/dist/apis/anilist/query/Markdown.js +0 -57
- package/dist/apis/anilist/query/Media.js +0 -134
- package/dist/apis/anilist/query/MediaList.js +0 -90
- package/dist/apis/anilist/query/MediaListCollection.js +0 -76
- package/dist/apis/anilist/query/MediaTagCollection.js +0 -57
- package/dist/apis/anilist/query/MediaTrend.js +0 -84
- package/dist/apis/anilist/query/Notification.js +0 -65
- package/dist/apis/anilist/query/Recommendation.js +0 -68
- package/dist/apis/anilist/query/Review.js +0 -64
- package/dist/apis/anilist/query/SiteStatistics.js +0 -78
- package/dist/apis/anilist/query/Staff.js +0 -79
- package/dist/apis/anilist/query/Studio.js +0 -82
- package/dist/apis/anilist/query/Thread.js +0 -68
- package/dist/apis/anilist/query/ThreadComment.js +0 -63
- package/dist/apis/anilist/query/User.js +0 -68
- package/dist/apis/anilist/query/Viewer.js +0 -65
- package/dist/apis/anilist/query/page/Activities.js +0 -97
- package/dist/apis/anilist/query/page/ActivityReplies.js +0 -71
- package/dist/apis/anilist/query/page/AiringSchedules.js +0 -89
- package/dist/apis/anilist/query/page/Characters.js +0 -81
- package/dist/apis/anilist/query/page/Followers.js +0 -75
- package/dist/apis/anilist/query/page/Followings.js +0 -75
- package/dist/apis/anilist/query/page/Likes.js +0 -71
- package/dist/apis/anilist/query/page/MediaLists.js +0 -101
- package/dist/apis/anilist/query/page/MediaTrends.js +0 -95
- package/dist/apis/anilist/query/page/Medias.js +0 -143
- package/dist/apis/anilist/query/page/Notifications.js +0 -73
- package/dist/apis/anilist/query/page/Recommendations.js +0 -79
- package/dist/apis/anilist/query/page/Reviews.js +0 -75
- package/dist/apis/anilist/query/page/Staffs.js +0 -90
- package/dist/apis/anilist/query/page/Studios.js +0 -93
- package/dist/apis/anilist/query/page/ThreadCommments.js +0 -74
- package/dist/apis/anilist/query/page/Threads.js +0 -79
- package/dist/apis/anilist/query/page/Users.js +0 -79
- package/dist/apis/anilist/types/ActivityType.js +0 -14
- package/dist/apis/anilist/types/DisabledListActivity.js +0 -11
- package/dist/apis/anilist/types/Format.js +0 -30
- package/dist/apis/anilist/types/FuzzyDate.js +0 -12
- package/dist/apis/anilist/types/MediaListOptions.js +0 -16
- package/dist/apis/anilist/types/NotificationOptions.js +0 -29
- package/dist/apis/anilist/types/RecommendationRating.js +0 -12
- package/dist/apis/anilist/types/Season.js +0 -13
- package/dist/apis/anilist/types/Sort.js +0 -265
- package/dist/apis/anilist/types/Source.js +0 -25
- package/dist/apis/anilist/types/Status.js +0 -26
- package/dist/apis/anilist/types/Type.js +0 -44
- package/dist/apis/anilist/types/UserStaffNameLanguage.js +0 -15
- package/dist/apis/anilist/types/UserTitleLanguage.js +0 -15
- package/dist/base/APIWrapper.js +0 -17
- package/dist/base/RequestHandler.js +0 -48
- 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,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,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,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,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
|
-
`;
|