anilink-api-wrapper 1.21.0 → 1.23.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/README.md +2 -0
- package/dist/AniLink.js +10 -1
- package/dist/apis/anilist/mutation/DeleteActivity.js +1 -1
- package/dist/apis/anilist/mutation/DeleteCustomList.js +1 -1
- package/dist/apis/anilist/mutation/SaveActivityReply.js +66 -0
- package/dist/apis/anilist/mutation/ToggleActivityPin.js +64 -0
- package/dist/apis/anilist/mutation/ToggleActivitySubscription.js +64 -0
- package/package.json +4 -3
- package/Examples/ANILIST_API_EXAMPLES.md +0 -253
- package/dist/apis/anilist/interfaces/Stats.js +0 -2
- package/dist/apis/anilist/interfaces/responses/AiringSchedule.js +0 -14
- package/dist/apis/anilist/interfaces/responses/AniChartUser.js +0 -2
- package/dist/apis/anilist/interfaces/responses/Character.js +0 -30
- package/dist/apis/anilist/interfaces/responses/ExternalLinkSourceCollection.js +0 -2
- package/dist/apis/anilist/interfaces/responses/Media.js +0 -210
- package/dist/apis/anilist/interfaces/responses/MediaList.js +0 -32
- package/dist/apis/anilist/interfaces/responses/MediaListCollectionResponse.js +0 -41
- package/dist/apis/anilist/interfaces/responses/MediaTag.js +0 -2
- package/dist/apis/anilist/interfaces/responses/MediaTagCollection.js +0 -2
- package/dist/apis/anilist/interfaces/responses/MediaTrend.js +0 -17
- package/dist/apis/anilist/interfaces/responses/Notification.js +0 -164
- package/dist/apis/anilist/interfaces/responses/Recommendation.js +0 -19
- package/dist/apis/anilist/interfaces/responses/Review.js +0 -26
- package/dist/apis/anilist/interfaces/responses/SiteStatistics.js +0 -27
- package/dist/apis/anilist/interfaces/responses/Staff.js +0 -55
- package/dist/apis/anilist/interfaces/responses/Studio.js +0 -56
- package/dist/apis/anilist/interfaces/responses/Thread.js +0 -40
- package/dist/apis/anilist/interfaces/responses/ThreadComment.js +0 -27
- package/dist/apis/anilist/interfaces/responses/User.js +0 -362
- package/dist/apis/anilist/query/Like.js +0 -69
- package/dist/apis/anilist/types/MediaListStatus.js +0 -15
- package/dist/apis/anilist/types/ScoreFormat.js +0 -14
|
@@ -1,210 +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 MediaListEntry_1 = require("../MediaListEntry");
|
|
14
|
-
const Name_1 = require("../Name");
|
|
15
|
-
const Image_1 = require("../Image");
|
|
16
|
-
const StatusDistribution_1 = require("../StatusDistribution");
|
|
17
|
-
const ScoreDistribution_1 = require("../ScoreDistribution");
|
|
18
|
-
exports.MediaWithRelationsSchema = `
|
|
19
|
-
id
|
|
20
|
-
idMal
|
|
21
|
-
${Title_1.TitleSchema}
|
|
22
|
-
type
|
|
23
|
-
format
|
|
24
|
-
status
|
|
25
|
-
description (asHtml: $asHtml)
|
|
26
|
-
startDate {
|
|
27
|
-
${FuzzyDate_1.FuzzyDateSchema}
|
|
28
|
-
}
|
|
29
|
-
endDate {
|
|
30
|
-
${FuzzyDate_1.FuzzyDateSchema}
|
|
31
|
-
}
|
|
32
|
-
season
|
|
33
|
-
seasonYear
|
|
34
|
-
seasonInt
|
|
35
|
-
episodes
|
|
36
|
-
duration
|
|
37
|
-
chapters
|
|
38
|
-
volumes
|
|
39
|
-
countryOfOrigin
|
|
40
|
-
isLicensed
|
|
41
|
-
source
|
|
42
|
-
hashtag
|
|
43
|
-
${Trailer_1.TrailerSchema}
|
|
44
|
-
updatedAt
|
|
45
|
-
${CoverImage_1.CoverImageSchema}
|
|
46
|
-
bannerImage
|
|
47
|
-
genres
|
|
48
|
-
synonyms
|
|
49
|
-
averageScore
|
|
50
|
-
meanScore
|
|
51
|
-
popularity
|
|
52
|
-
isLocked
|
|
53
|
-
trending
|
|
54
|
-
favourites
|
|
55
|
-
tags {
|
|
56
|
-
${Tag_1.TagSchema}
|
|
57
|
-
}
|
|
58
|
-
relations {
|
|
59
|
-
edges {
|
|
60
|
-
id
|
|
61
|
-
relationType
|
|
62
|
-
isMainStudio
|
|
63
|
-
characters {
|
|
64
|
-
id
|
|
65
|
-
${Name_1.NameSchema}
|
|
66
|
-
${Image_1.ImageSchema}
|
|
67
|
-
description (asHtml: $asHtml)
|
|
68
|
-
gender
|
|
69
|
-
dateOfBirth {
|
|
70
|
-
${FuzzyDate_1.FuzzyDateSchema}
|
|
71
|
-
}
|
|
72
|
-
age
|
|
73
|
-
bloodType
|
|
74
|
-
isFavourite
|
|
75
|
-
isFavouriteBlocked
|
|
76
|
-
siteUrl
|
|
77
|
-
favourites
|
|
78
|
-
modNotes
|
|
79
|
-
}
|
|
80
|
-
characterRole
|
|
81
|
-
characterName
|
|
82
|
-
roleNotes
|
|
83
|
-
dubGroup
|
|
84
|
-
staffRole
|
|
85
|
-
node {
|
|
86
|
-
id
|
|
87
|
-
${Title_1.TitleSchema}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
characters {
|
|
92
|
-
edges {
|
|
93
|
-
id
|
|
94
|
-
role
|
|
95
|
-
name
|
|
96
|
-
voiceActors {
|
|
97
|
-
id
|
|
98
|
-
${Name_1.NameSchema}
|
|
99
|
-
${Image_1.ImageSchema}
|
|
100
|
-
}
|
|
101
|
-
media {
|
|
102
|
-
id
|
|
103
|
-
${Title_1.TitleSchema}
|
|
104
|
-
${CoverImage_1.CoverImageSchema}
|
|
105
|
-
}
|
|
106
|
-
favouriteOrder
|
|
107
|
-
node {
|
|
108
|
-
id
|
|
109
|
-
${Name_1.NameSchema}
|
|
110
|
-
${Image_1.ImageSchema}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
staff {
|
|
115
|
-
edges {
|
|
116
|
-
id
|
|
117
|
-
role
|
|
118
|
-
favouriteOrder
|
|
119
|
-
node {
|
|
120
|
-
id
|
|
121
|
-
${Name_1.NameSchema}
|
|
122
|
-
${Image_1.ImageSchema}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
studios {
|
|
127
|
-
edges {
|
|
128
|
-
id
|
|
129
|
-
isMain
|
|
130
|
-
favouriteOrder
|
|
131
|
-
node {
|
|
132
|
-
id
|
|
133
|
-
name
|
|
134
|
-
isAnimationStudio
|
|
135
|
-
siteUrl
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
isFavourite
|
|
140
|
-
isAdult
|
|
141
|
-
${NextAiringEpisode_1.NextAiringEpisodeSchema}
|
|
142
|
-
${ExternalLink_1.ExternalLinkSchema}
|
|
143
|
-
${StreamingEpisode_1.StreamingEpisodeSchema}
|
|
144
|
-
${Ranking_1.RankingSchema}
|
|
145
|
-
${MediaListEntry_1.MediaListEntrySchema}
|
|
146
|
-
stats {
|
|
147
|
-
${StatusDistribution_1.StatusDistributionSchema}
|
|
148
|
-
${ScoreDistribution_1.ScoreDistributionSchema}
|
|
149
|
-
}
|
|
150
|
-
siteUrl
|
|
151
|
-
autoCreateForumThread
|
|
152
|
-
isRecommendationBlocked
|
|
153
|
-
modNotes
|
|
154
|
-
`;
|
|
155
|
-
exports.MediaSchema = `
|
|
156
|
-
id
|
|
157
|
-
idMal
|
|
158
|
-
${Title_1.TitleSchema}
|
|
159
|
-
type
|
|
160
|
-
format
|
|
161
|
-
status
|
|
162
|
-
description (asHtml: $asHtml)
|
|
163
|
-
startDate {
|
|
164
|
-
${FuzzyDate_1.FuzzyDateSchema}
|
|
165
|
-
}
|
|
166
|
-
endDate {
|
|
167
|
-
${FuzzyDate_1.FuzzyDateSchema}
|
|
168
|
-
}
|
|
169
|
-
season
|
|
170
|
-
seasonYear
|
|
171
|
-
seasonInt
|
|
172
|
-
episodes
|
|
173
|
-
duration
|
|
174
|
-
chapters
|
|
175
|
-
volumes
|
|
176
|
-
countryOfOrigin
|
|
177
|
-
isLicensed
|
|
178
|
-
source
|
|
179
|
-
hashtag
|
|
180
|
-
${Trailer_1.TrailerSchema}
|
|
181
|
-
updatedAt
|
|
182
|
-
${CoverImage_1.CoverImageSchema}
|
|
183
|
-
bannerImage
|
|
184
|
-
genres
|
|
185
|
-
synonyms
|
|
186
|
-
averageScore
|
|
187
|
-
meanScore
|
|
188
|
-
popularity
|
|
189
|
-
isLocked
|
|
190
|
-
trending
|
|
191
|
-
favourites
|
|
192
|
-
tags {
|
|
193
|
-
${Tag_1.TagSchema}
|
|
194
|
-
}
|
|
195
|
-
isFavourite
|
|
196
|
-
isAdult
|
|
197
|
-
${NextAiringEpisode_1.NextAiringEpisodeSchema}
|
|
198
|
-
${ExternalLink_1.ExternalLinkSchema}
|
|
199
|
-
${StreamingEpisode_1.StreamingEpisodeSchema}
|
|
200
|
-
${Ranking_1.RankingSchema}
|
|
201
|
-
${MediaListEntry_1.MediaListEntrySchema}
|
|
202
|
-
stats {
|
|
203
|
-
${StatusDistribution_1.StatusDistributionSchema}
|
|
204
|
-
${ScoreDistribution_1.ScoreDistributionSchema}
|
|
205
|
-
}
|
|
206
|
-
siteUrl
|
|
207
|
-
autoCreateForumThread
|
|
208
|
-
isRecommendationBlocked
|
|
209
|
-
modNotes
|
|
210
|
-
`;
|
|
@@ -1,32 +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
|
-
exports.MediaListSchema = `
|
|
7
|
-
id
|
|
8
|
-
userId
|
|
9
|
-
mediaId
|
|
10
|
-
status
|
|
11
|
-
score (format: $ScoreFormat)
|
|
12
|
-
progress
|
|
13
|
-
progressVolumes
|
|
14
|
-
repeat
|
|
15
|
-
priority
|
|
16
|
-
private
|
|
17
|
-
notes
|
|
18
|
-
hiddenFromStatusLists
|
|
19
|
-
customLists (asArray: $asArray)
|
|
20
|
-
advancedScores
|
|
21
|
-
startedAt {
|
|
22
|
-
${FuzzyDate_1.FuzzyDateSchema}
|
|
23
|
-
}
|
|
24
|
-
completedAt {
|
|
25
|
-
${FuzzyDate_1.FuzzyDateSchema}
|
|
26
|
-
}
|
|
27
|
-
updatedAt
|
|
28
|
-
createdAt
|
|
29
|
-
media {
|
|
30
|
-
${Media_1.MediaSchema}
|
|
31
|
-
}
|
|
32
|
-
`;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MediaListCollectionQuerySchema = void 0;
|
|
4
|
-
const FuzzyDate_1 = require("../FuzzyDate");
|
|
5
|
-
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) {
|
|
7
|
-
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
|
-
lists {
|
|
9
|
-
entries {
|
|
10
|
-
id
|
|
11
|
-
userId
|
|
12
|
-
mediaId
|
|
13
|
-
status
|
|
14
|
-
score (format: $scoreFormat)
|
|
15
|
-
progress
|
|
16
|
-
progressVolumes
|
|
17
|
-
repeat
|
|
18
|
-
priority
|
|
19
|
-
private
|
|
20
|
-
notes
|
|
21
|
-
hiddenFromStatusLists
|
|
22
|
-
customLists (asArray: $asArray)
|
|
23
|
-
advancedScores
|
|
24
|
-
startedAt {
|
|
25
|
-
${FuzzyDate_1.FuzzyDateSchema}
|
|
26
|
-
}
|
|
27
|
-
completedAt {
|
|
28
|
-
${FuzzyDate_1.FuzzyDateSchema}
|
|
29
|
-
}
|
|
30
|
-
updatedAt
|
|
31
|
-
createdAt
|
|
32
|
-
}
|
|
33
|
-
name
|
|
34
|
-
isCustomList
|
|
35
|
-
isSplitCompletedList
|
|
36
|
-
status
|
|
37
|
-
}
|
|
38
|
-
hasNextChunk
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
`;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MediaTrendSchema = void 0;
|
|
4
|
-
const Media_1 = require("./Media");
|
|
5
|
-
exports.MediaTrendSchema = `
|
|
6
|
-
mediaId
|
|
7
|
-
date
|
|
8
|
-
trending
|
|
9
|
-
averageScore
|
|
10
|
-
popularity
|
|
11
|
-
inProgress
|
|
12
|
-
releasing
|
|
13
|
-
episode
|
|
14
|
-
media {
|
|
15
|
-
${Media_1.MediaSchema}
|
|
16
|
-
}
|
|
17
|
-
`;
|
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.NotificationSchema = void 0;
|
|
4
|
-
const Title_1 = require("../Title");
|
|
5
|
-
const ActivityNotification_1 = require("../ActivityNotification");
|
|
6
|
-
const BasicUser_1 = require("../BasicUser");
|
|
7
|
-
const BasicThread_1 = require("../BasicThread");
|
|
8
|
-
const BasicComment_1 = require("../BasicComment");
|
|
9
|
-
const ThreadNotification_1 = require("../ThreadNotification");
|
|
10
|
-
exports.NotificationSchema = `
|
|
11
|
-
... on AiringNotification {
|
|
12
|
-
id
|
|
13
|
-
type
|
|
14
|
-
animeId
|
|
15
|
-
episode
|
|
16
|
-
contexts
|
|
17
|
-
createdAt
|
|
18
|
-
media {
|
|
19
|
-
id
|
|
20
|
-
${Title_1.TitleSchema}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
... on FollowingNotification {
|
|
24
|
-
id
|
|
25
|
-
type
|
|
26
|
-
userId
|
|
27
|
-
context
|
|
28
|
-
createdAt
|
|
29
|
-
user {
|
|
30
|
-
${BasicUser_1.BasicUserSchema}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
... on ActivityMessageNotification {
|
|
34
|
-
id
|
|
35
|
-
userId
|
|
36
|
-
type
|
|
37
|
-
activityId
|
|
38
|
-
context
|
|
39
|
-
createdAt
|
|
40
|
-
message {
|
|
41
|
-
id
|
|
42
|
-
recipientId
|
|
43
|
-
messengerId
|
|
44
|
-
type
|
|
45
|
-
replyCount
|
|
46
|
-
message (asHtml: $asHtml)
|
|
47
|
-
isLocked
|
|
48
|
-
isSubscribed
|
|
49
|
-
likeCount
|
|
50
|
-
isLiked
|
|
51
|
-
isPrivate
|
|
52
|
-
siteUrl
|
|
53
|
-
createdAt
|
|
54
|
-
replies {
|
|
55
|
-
id
|
|
56
|
-
userId
|
|
57
|
-
activityId
|
|
58
|
-
text (asHtml: $asHtml)
|
|
59
|
-
createdAt
|
|
60
|
-
likeCount
|
|
61
|
-
isLiked
|
|
62
|
-
user {
|
|
63
|
-
${BasicUser_1.BasicUserSchema}
|
|
64
|
-
}
|
|
65
|
-
likes {
|
|
66
|
-
${BasicUser_1.BasicUserSchema}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
likes {
|
|
70
|
-
${BasicUser_1.BasicUserSchema}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
user {
|
|
74
|
-
${BasicUser_1.BasicUserSchema}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
... on ActivityMentionNotification {
|
|
78
|
-
${ActivityNotification_1.ActivityNotificationSchema}
|
|
79
|
-
}
|
|
80
|
-
... on ActivityReplyNotification {
|
|
81
|
-
${ActivityNotification_1.ActivityNotificationSchema}
|
|
82
|
-
}
|
|
83
|
-
... on ActivityReplySubscribedNotification {
|
|
84
|
-
${ActivityNotification_1.ActivityNotificationSchema}
|
|
85
|
-
}
|
|
86
|
-
... on ActivityLikeNotification {
|
|
87
|
-
${ActivityNotification_1.ActivityNotificationSchema}
|
|
88
|
-
}
|
|
89
|
-
... on ActivityReplyLikeNotification {
|
|
90
|
-
${ActivityNotification_1.ActivityNotificationSchema}
|
|
91
|
-
}
|
|
92
|
-
... on ThreadCommentMentionNotification {
|
|
93
|
-
${ThreadNotification_1.ThreadNotificationSchema}
|
|
94
|
-
}
|
|
95
|
-
... on ThreadCommentReplyNotification {
|
|
96
|
-
${ThreadNotification_1.ThreadNotificationSchema}
|
|
97
|
-
}
|
|
98
|
-
... on ThreadCommentSubscribedNotification {
|
|
99
|
-
${ThreadNotification_1.ThreadNotificationSchema}
|
|
100
|
-
}
|
|
101
|
-
... on ThreadCommentLikeNotification {
|
|
102
|
-
${ThreadNotification_1.ThreadNotificationSchema}
|
|
103
|
-
}
|
|
104
|
-
... on ThreadLikeNotification {
|
|
105
|
-
id
|
|
106
|
-
userId
|
|
107
|
-
type
|
|
108
|
-
context
|
|
109
|
-
createdAt
|
|
110
|
-
thread {
|
|
111
|
-
${BasicThread_1.BasicThreadSchema}
|
|
112
|
-
}
|
|
113
|
-
comment {
|
|
114
|
-
${BasicComment_1.BasicCommentSchema}
|
|
115
|
-
}
|
|
116
|
-
user {
|
|
117
|
-
${BasicUser_1.BasicUserSchema}
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
... on RelatedMediaAdditionNotification {
|
|
121
|
-
id
|
|
122
|
-
type
|
|
123
|
-
mediaId
|
|
124
|
-
context
|
|
125
|
-
createdAt
|
|
126
|
-
media {
|
|
127
|
-
id
|
|
128
|
-
${Title_1.TitleSchema}
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
... on MediaDataChangeNotification {
|
|
132
|
-
id
|
|
133
|
-
type
|
|
134
|
-
mediaId
|
|
135
|
-
context
|
|
136
|
-
reason
|
|
137
|
-
createdAt
|
|
138
|
-
media {
|
|
139
|
-
id
|
|
140
|
-
${Title_1.TitleSchema}
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
... on MediaMergeNotification {
|
|
144
|
-
id
|
|
145
|
-
type
|
|
146
|
-
mediaId
|
|
147
|
-
deletedMediaTitles
|
|
148
|
-
context
|
|
149
|
-
reason
|
|
150
|
-
createdAt
|
|
151
|
-
media {
|
|
152
|
-
id
|
|
153
|
-
${Title_1.TitleSchema}
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
... on MediaDeletionNotification {
|
|
157
|
-
id
|
|
158
|
-
type
|
|
159
|
-
deletedMediaTitle
|
|
160
|
-
context
|
|
161
|
-
reason
|
|
162
|
-
createdAt
|
|
163
|
-
}
|
|
164
|
-
`;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RecommendationSchema = void 0;
|
|
4
|
-
const BasicUser_1 = require("../BasicUser");
|
|
5
|
-
const Media_1 = require("./Media");
|
|
6
|
-
exports.RecommendationSchema = `
|
|
7
|
-
id
|
|
8
|
-
rating
|
|
9
|
-
userRating
|
|
10
|
-
media {
|
|
11
|
-
${Media_1.MediaSchema}
|
|
12
|
-
}
|
|
13
|
-
mediaRecommendation {
|
|
14
|
-
${Media_1.MediaSchema}
|
|
15
|
-
}
|
|
16
|
-
user {
|
|
17
|
-
${BasicUser_1.BasicUserSchema}
|
|
18
|
-
}
|
|
19
|
-
`;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ReviewSchema = void 0;
|
|
4
|
-
const Media_1 = require("./Media");
|
|
5
|
-
const BasicUser_1 = require("../BasicUser");
|
|
6
|
-
exports.ReviewSchema = `
|
|
7
|
-
id
|
|
8
|
-
mediaId
|
|
9
|
-
userId
|
|
10
|
-
mediaType
|
|
11
|
-
summary
|
|
12
|
-
body (asHtml: $asHtml)
|
|
13
|
-
rating
|
|
14
|
-
ratingAmount
|
|
15
|
-
score
|
|
16
|
-
private
|
|
17
|
-
siteUrl
|
|
18
|
-
createdAt
|
|
19
|
-
updatedAt
|
|
20
|
-
user {
|
|
21
|
-
${BasicUser_1.BasicUserSchema}
|
|
22
|
-
}
|
|
23
|
-
media {
|
|
24
|
-
${Media_1.MediaSchema}
|
|
25
|
-
}
|
|
26
|
-
`;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SiteStatisticsSchema = void 0;
|
|
4
|
-
const SiteTrendConnection_1 = require("../SiteTrendConnection");
|
|
5
|
-
exports.SiteStatisticsSchema = `
|
|
6
|
-
users (sort: $usersSort, page: $usersPage, perPage: $usersPerPage) {
|
|
7
|
-
${SiteTrendConnection_1.SiteTrendConnectionSchema}
|
|
8
|
-
}
|
|
9
|
-
anime (sort: $animeSort, page: $animePage, perPage: $animePerPage) {
|
|
10
|
-
${SiteTrendConnection_1.SiteTrendConnectionSchema}
|
|
11
|
-
}
|
|
12
|
-
manga (sort: $mangaSort, page: $mangaPage, perPage: $mangaPerPage) {
|
|
13
|
-
${SiteTrendConnection_1.SiteTrendConnectionSchema}
|
|
14
|
-
}
|
|
15
|
-
characters (sort: $charactersSort, page: $charactersPage, perPage: $charactersPerPage) {
|
|
16
|
-
${SiteTrendConnection_1.SiteTrendConnectionSchema}
|
|
17
|
-
}
|
|
18
|
-
staff (sort: $staffSort, page: $staffPage, perPage: $staffPerPage) {
|
|
19
|
-
${SiteTrendConnection_1.SiteTrendConnectionSchema}
|
|
20
|
-
}
|
|
21
|
-
studios (sort: $studiosSort, page: $studiosPage, perPage: $studiosPerPage) {
|
|
22
|
-
${SiteTrendConnection_1.SiteTrendConnectionSchema}
|
|
23
|
-
}
|
|
24
|
-
reviews (sort: $reviewsSort, page: $reviewsPage, perPage: $reviewsPerPage) {
|
|
25
|
-
${SiteTrendConnection_1.SiteTrendConnectionSchema}
|
|
26
|
-
}
|
|
27
|
-
`;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StaffSchema = void 0;
|
|
4
|
-
const Name_1 = require("../Name");
|
|
5
|
-
const Image_1 = require("../Image");
|
|
6
|
-
const FuzzyDate_1 = require("../FuzzyDate");
|
|
7
|
-
const Title_1 = require("../Title");
|
|
8
|
-
exports.StaffSchema = `
|
|
9
|
-
id
|
|
10
|
-
${Name_1.NameSchema}
|
|
11
|
-
languageV2
|
|
12
|
-
${Image_1.ImageSchema}
|
|
13
|
-
description(asHtml: $asHtml)
|
|
14
|
-
primaryOccupations
|
|
15
|
-
gender
|
|
16
|
-
dateOfBirth {
|
|
17
|
-
${FuzzyDate_1.FuzzyDateSchema}
|
|
18
|
-
}
|
|
19
|
-
dateOfDeath {
|
|
20
|
-
${FuzzyDate_1.FuzzyDateSchema}
|
|
21
|
-
}
|
|
22
|
-
age
|
|
23
|
-
yearsActive
|
|
24
|
-
homeTown
|
|
25
|
-
bloodType
|
|
26
|
-
isFavourite
|
|
27
|
-
isFavouriteBlocked
|
|
28
|
-
siteUrl
|
|
29
|
-
staffMedia (sort: $staffMediaSort, type: $staffMediaType, onList: $staffMediaOnList, page: $staffMediaPage, perPage: $staffMediaPerPage) {
|
|
30
|
-
nodes {
|
|
31
|
-
id
|
|
32
|
-
${Title_1.TitleSchema}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
characters (sort: $charactersSort, page: $charactersPage, perPage: $charactersPerPage) {
|
|
36
|
-
nodes {
|
|
37
|
-
id
|
|
38
|
-
${Name_1.NameSchema}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
characterMedia (sort: $characterMediaSort, onList: $characterMediaOnList, page: $characterMediaPage, perPage: $characterMediaPerPage) {
|
|
42
|
-
nodes {
|
|
43
|
-
id
|
|
44
|
-
${Title_1.TitleSchema}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
submitter {
|
|
48
|
-
id
|
|
49
|
-
name
|
|
50
|
-
}
|
|
51
|
-
submissionStatus
|
|
52
|
-
submissionNotes
|
|
53
|
-
favourites
|
|
54
|
-
modNotes
|
|
55
|
-
`;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StudioSchema = void 0;
|
|
4
|
-
const Character_1 = require("./Character");
|
|
5
|
-
const Staff_1 = require("./Staff");
|
|
6
|
-
const Media_1 = require("./Media");
|
|
7
|
-
const Name_1 = require("../Name");
|
|
8
|
-
const Image_1 = require("../Image");
|
|
9
|
-
exports.StudioSchema = `
|
|
10
|
-
id
|
|
11
|
-
name
|
|
12
|
-
isAnimationStudio
|
|
13
|
-
media (sort: $mediaSort, isMain: $mediaIsMain onList: $mediaOnList, page: $mediaPage, perPage: $mediaPerPage) {
|
|
14
|
-
edges {
|
|
15
|
-
id
|
|
16
|
-
relationType
|
|
17
|
-
isMainStudio
|
|
18
|
-
characters {
|
|
19
|
-
${Character_1.CharacterSchema}
|
|
20
|
-
}
|
|
21
|
-
characterRole
|
|
22
|
-
characterName
|
|
23
|
-
roleNotes
|
|
24
|
-
dubGroup
|
|
25
|
-
voiceActors {
|
|
26
|
-
${Staff_1.StaffSchema}
|
|
27
|
-
}
|
|
28
|
-
voiceActorRoles {
|
|
29
|
-
voiceActor {
|
|
30
|
-
id
|
|
31
|
-
${Name_1.NameSchema}
|
|
32
|
-
${Image_1.ImageSchema}
|
|
33
|
-
}
|
|
34
|
-
roleNotes
|
|
35
|
-
dubGroup
|
|
36
|
-
}
|
|
37
|
-
favouriteOrder
|
|
38
|
-
node {
|
|
39
|
-
${Media_1.MediaSchema}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
nodes {
|
|
43
|
-
${Media_1.MediaSchema}
|
|
44
|
-
}
|
|
45
|
-
pageInfo {
|
|
46
|
-
total
|
|
47
|
-
perPage
|
|
48
|
-
currentPage
|
|
49
|
-
lastPage
|
|
50
|
-
hasNextPage
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
siteUrl
|
|
54
|
-
isFavourite
|
|
55
|
-
favourites
|
|
56
|
-
`;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ThreadSchema = void 0;
|
|
4
|
-
const Media_1 = require("./Media");
|
|
5
|
-
const BasicUser_1 = require("../BasicUser");
|
|
6
|
-
exports.ThreadSchema = `
|
|
7
|
-
id
|
|
8
|
-
title
|
|
9
|
-
body (asHtml: $asHtml)
|
|
10
|
-
userId
|
|
11
|
-
replyUserId
|
|
12
|
-
replyCommentId
|
|
13
|
-
replyCount
|
|
14
|
-
viewCount
|
|
15
|
-
isLocked
|
|
16
|
-
isSticky
|
|
17
|
-
isSubscribed
|
|
18
|
-
likeCount
|
|
19
|
-
isLiked
|
|
20
|
-
repliedAt
|
|
21
|
-
createdAt
|
|
22
|
-
updatedAt
|
|
23
|
-
user {
|
|
24
|
-
${BasicUser_1.BasicUserSchema}
|
|
25
|
-
}
|
|
26
|
-
replyUser {
|
|
27
|
-
${BasicUser_1.BasicUserSchema}
|
|
28
|
-
}
|
|
29
|
-
likes {
|
|
30
|
-
${BasicUser_1.BasicUserSchema}
|
|
31
|
-
}
|
|
32
|
-
siteUrl
|
|
33
|
-
categories {
|
|
34
|
-
id
|
|
35
|
-
name
|
|
36
|
-
}
|
|
37
|
-
mediaCategories {
|
|
38
|
-
${Media_1.MediaSchema}
|
|
39
|
-
}
|
|
40
|
-
`;
|