anilink-api-wrapper 1.29.2 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +71 -241
  3. package/dist/AniLink.d.ts +12329 -0
  4. package/dist/AniLink.mjs +7298 -0
  5. package/dist/anilist.d.ts +1 -0
  6. package/dist/anilist.mjs +5 -0
  7. package/dist/mal.d.ts +1 -0
  8. package/dist/mal.mjs +5 -0
  9. package/package.json +121 -46
  10. package/dist/AniLink.js +0 -248
  11. package/dist/apis/anilist/Custom.js +0 -42
  12. package/dist/apis/anilist/interfaces/Activity.js +0 -436
  13. package/dist/apis/anilist/interfaces/Basic.js +0 -33
  14. package/dist/apis/anilist/interfaces/CoverImage.js +0 -15
  15. package/dist/apis/anilist/interfaces/Distribution.js +0 -23
  16. package/dist/apis/anilist/interfaces/ExternalLink.js +0 -14
  17. package/dist/apis/anilist/interfaces/Favoured.js +0 -2
  18. package/dist/apis/anilist/interfaces/FuzzyDate.js +0 -12
  19. package/dist/apis/anilist/interfaces/Image.js +0 -13
  20. package/dist/apis/anilist/interfaces/ListScores.js +0 -2
  21. package/dist/apis/anilist/interfaces/Media.js +0 -13
  22. package/dist/apis/anilist/interfaces/Name.js +0 -15
  23. package/dist/apis/anilist/interfaces/NextAiringEpisode.js +0 -14
  24. package/dist/apis/anilist/interfaces/Notification.js +0 -25
  25. package/dist/apis/anilist/interfaces/Ranking.js +0 -19
  26. package/dist/apis/anilist/interfaces/SiteTrend.js +0 -33
  27. package/dist/apis/anilist/interfaces/Staff.js +0 -2
  28. package/dist/apis/anilist/interfaces/Stat.js +0 -2
  29. package/dist/apis/anilist/interfaces/Statistics.js +0 -2
  30. package/dist/apis/anilist/interfaces/StreamingEpisode.js +0 -15
  31. package/dist/apis/anilist/interfaces/Studio.js +0 -2
  32. package/dist/apis/anilist/interfaces/Tag.js +0 -18
  33. package/dist/apis/anilist/interfaces/Title.js +0 -15
  34. package/dist/apis/anilist/interfaces/Trailer.js +0 -14
  35. package/dist/apis/anilist/interfaces/UserStats.js +0 -23
  36. package/dist/apis/anilist/interfaces/responses/mutation/Favourites.js +0 -83
  37. package/dist/apis/anilist/interfaces/responses/query/AiringSchedule.js +0 -18
  38. package/dist/apis/anilist/interfaces/responses/query/AniChartUser.js +0 -2
  39. package/dist/apis/anilist/interfaces/responses/query/Character.js +0 -34
  40. package/dist/apis/anilist/interfaces/responses/query/ExternalLinkSourceCollection.js +0 -2
  41. package/dist/apis/anilist/interfaces/responses/query/Media.js +0 -217
  42. package/dist/apis/anilist/interfaces/responses/query/MediaList.js +0 -36
  43. package/dist/apis/anilist/interfaces/responses/query/MediaListCollectionResponse.js +0 -49
  44. package/dist/apis/anilist/interfaces/responses/query/MediaTagCollection.js +0 -2
  45. package/dist/apis/anilist/interfaces/responses/query/MediaTrend.js +0 -21
  46. package/dist/apis/anilist/interfaces/responses/query/Notification.js +0 -166
  47. package/dist/apis/anilist/interfaces/responses/query/Recommendation.js +0 -23
  48. package/dist/apis/anilist/interfaces/responses/query/Review.js +0 -30
  49. package/dist/apis/anilist/interfaces/responses/query/SiteStatistics.js +0 -31
  50. package/dist/apis/anilist/interfaces/responses/query/Staff.js +0 -59
  51. package/dist/apis/anilist/interfaces/responses/query/Studio.js +0 -60
  52. package/dist/apis/anilist/interfaces/responses/query/Thread.js +0 -44
  53. package/dist/apis/anilist/interfaces/responses/query/ThreadComment.js +0 -31
  54. package/dist/apis/anilist/interfaces/responses/query/User.js +0 -366
  55. package/dist/apis/anilist/mutation/DeleteActivity.js +0 -61
  56. package/dist/apis/anilist/mutation/DeleteActivityReply.js +0 -61
  57. package/dist/apis/anilist/mutation/DeleteCustomList.js +0 -63
  58. package/dist/apis/anilist/mutation/DeleteMediaListEntry.js +0 -61
  59. package/dist/apis/anilist/mutation/DeleteReview.js +0 -61
  60. package/dist/apis/anilist/mutation/DeleteThread.js +0 -61
  61. package/dist/apis/anilist/mutation/DeleteThreadComment.js +0 -61
  62. package/dist/apis/anilist/mutation/SaveActivityReply.js +0 -66
  63. package/dist/apis/anilist/mutation/SaveListActivity.js +0 -64
  64. package/dist/apis/anilist/mutation/SaveMediaListEntry.js +0 -97
  65. package/dist/apis/anilist/mutation/SaveMessageActivity.js +0 -68
  66. package/dist/apis/anilist/mutation/SaveRecommendation.js +0 -66
  67. package/dist/apis/anilist/mutation/SaveReview.js +0 -68
  68. package/dist/apis/anilist/mutation/SaveTextActivity.js +0 -65
  69. package/dist/apis/anilist/mutation/SaveThread.js +0 -69
  70. package/dist/apis/anilist/mutation/SaveThreadComment.js +0 -67
  71. package/dist/apis/anilist/mutation/ToggleActivityPin.js +0 -64
  72. package/dist/apis/anilist/mutation/ToggleActivitySubscription.js +0 -64
  73. package/dist/apis/anilist/mutation/ToggleFavourite.js +0 -66
  74. package/dist/apis/anilist/mutation/ToggleFollow.js +0 -62
  75. package/dist/apis/anilist/mutation/ToggleLike.js +0 -64
  76. package/dist/apis/anilist/mutation/ToggleLikeV2.js +0 -64
  77. package/dist/apis/anilist/mutation/ToggleThreadSubscription.js +0 -64
  78. package/dist/apis/anilist/mutation/UpdateAniChartHighlights.js +0 -58
  79. package/dist/apis/anilist/mutation/UpdateAniChartSettings.js +0 -58
  80. package/dist/apis/anilist/mutation/UpdateFavouriteOrder.js +0 -73
  81. package/dist/apis/anilist/mutation/UpdateMediaListEntries.js +0 -93
  82. package/dist/apis/anilist/mutation/UpdateUser.js +0 -127
  83. package/dist/apis/anilist/query/Activity.js +0 -86
  84. package/dist/apis/anilist/query/ActivityReply.js +0 -60
  85. package/dist/apis/anilist/query/AiringSchedule.js +0 -78
  86. package/dist/apis/anilist/query/AniChartUser.js +0 -56
  87. package/dist/apis/anilist/query/Character.js +0 -70
  88. package/dist/apis/anilist/query/ExternalLinkSourceCollection.js +0 -68
  89. package/dist/apis/anilist/query/Follower.js +0 -64
  90. package/dist/apis/anilist/query/Following.js +0 -64
  91. package/dist/apis/anilist/query/GenreCollection.js +0 -46
  92. package/dist/apis/anilist/query/Markdown.js +0 -57
  93. package/dist/apis/anilist/query/Media.js +0 -134
  94. package/dist/apis/anilist/query/MediaList.js +0 -90
  95. package/dist/apis/anilist/query/MediaListCollection.js +0 -76
  96. package/dist/apis/anilist/query/MediaTagCollection.js +0 -57
  97. package/dist/apis/anilist/query/MediaTrend.js +0 -84
  98. package/dist/apis/anilist/query/Notification.js +0 -65
  99. package/dist/apis/anilist/query/Recommendation.js +0 -68
  100. package/dist/apis/anilist/query/Review.js +0 -64
  101. package/dist/apis/anilist/query/SiteStatistics.js +0 -78
  102. package/dist/apis/anilist/query/Staff.js +0 -79
  103. package/dist/apis/anilist/query/Studio.js +0 -82
  104. package/dist/apis/anilist/query/Thread.js +0 -68
  105. package/dist/apis/anilist/query/ThreadComment.js +0 -63
  106. package/dist/apis/anilist/query/User.js +0 -68
  107. package/dist/apis/anilist/query/Viewer.js +0 -65
  108. package/dist/apis/anilist/query/page/Activities.js +0 -97
  109. package/dist/apis/anilist/query/page/ActivityReplies.js +0 -71
  110. package/dist/apis/anilist/query/page/AiringSchedules.js +0 -89
  111. package/dist/apis/anilist/query/page/Characters.js +0 -81
  112. package/dist/apis/anilist/query/page/Followers.js +0 -75
  113. package/dist/apis/anilist/query/page/Followings.js +0 -75
  114. package/dist/apis/anilist/query/page/Likes.js +0 -71
  115. package/dist/apis/anilist/query/page/MediaLists.js +0 -101
  116. package/dist/apis/anilist/query/page/MediaTrends.js +0 -95
  117. package/dist/apis/anilist/query/page/Medias.js +0 -143
  118. package/dist/apis/anilist/query/page/Notifications.js +0 -73
  119. package/dist/apis/anilist/query/page/Recommendations.js +0 -79
  120. package/dist/apis/anilist/query/page/Reviews.js +0 -75
  121. package/dist/apis/anilist/query/page/Staffs.js +0 -90
  122. package/dist/apis/anilist/query/page/Studios.js +0 -93
  123. package/dist/apis/anilist/query/page/ThreadCommments.js +0 -74
  124. package/dist/apis/anilist/query/page/Threads.js +0 -79
  125. package/dist/apis/anilist/query/page/Users.js +0 -79
  126. package/dist/apis/anilist/types/ActivityType.js +0 -14
  127. package/dist/apis/anilist/types/DisabledListActivity.js +0 -11
  128. package/dist/apis/anilist/types/Format.js +0 -30
  129. package/dist/apis/anilist/types/FuzzyDate.js +0 -12
  130. package/dist/apis/anilist/types/MediaListOptions.js +0 -16
  131. package/dist/apis/anilist/types/NotificationOptions.js +0 -29
  132. package/dist/apis/anilist/types/RecommendationRating.js +0 -12
  133. package/dist/apis/anilist/types/Season.js +0 -13
  134. package/dist/apis/anilist/types/Sort.js +0 -265
  135. package/dist/apis/anilist/types/Source.js +0 -25
  136. package/dist/apis/anilist/types/Status.js +0 -26
  137. package/dist/apis/anilist/types/Type.js +0 -44
  138. package/dist/apis/anilist/types/UserStaffNameLanguage.js +0 -15
  139. package/dist/apis/anilist/types/UserTitleLanguage.js +0 -15
  140. package/dist/base/APIWrapper.js +0 -17
  141. package/dist/base/RequestHandler.js +0 -48
  142. package/dist/base/ValidateVariables.js +0 -125
@@ -1,436 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ActivityNotificationSchema = exports.MessageActivitySchema = exports.ListActivitySchema = exports.TextActivitySchema = exports.ActivityWithRepliesSchema = exports.ActivitySchemaV2 = exports.ActivitySchema = exports.ActivityReplySchema = void 0;
4
- const Basic_1 = require("./Basic");
5
- const Title_1 = require("./Title");
6
- /**
7
- * `ActivityReplySchema` is a constant representing the GraphQL schema for an activity reply query.
8
- * It includes the id of the reply, the user id, the activity id, the text of the reply, the like count, the like status, the creation date, the user details, and the likes details.
9
- */
10
- exports.ActivityReplySchema = `
11
- id
12
- userId
13
- activityId
14
- text (asHtml: $asHtml)
15
- likeCount
16
- isLiked
17
- createdAt
18
- user {
19
- ${Basic_1.BasicUserSchema}
20
- }
21
- likes {
22
- ${Basic_1.BasicUserSchema}
23
- }
24
- `;
25
- /**
26
- * `ActivitySchema` is a constant representing the GraphQL schema for an activity query.
27
- * It includes the TextActivity, ListActivity, and MessageActivity each having their own properties.
28
- */
29
- exports.ActivitySchema = `
30
- activity {
31
- ... on TextActivity {
32
- id
33
- userId
34
- type
35
- replyCount
36
- text (asHtml: $asHtml)
37
- siteUrl
38
- isLocked
39
- isSubscribed
40
- likeCount
41
- isLiked
42
- isPinned
43
- createdAt
44
- }
45
- ... on ListActivity {
46
- id
47
- userId
48
- type
49
- replyCount
50
- status
51
- progress
52
- isLocked
53
- isSubscribed
54
- likeCount
55
- isLiked
56
- isPinned
57
- siteUrl
58
- createdAt
59
- media {
60
- id
61
- title {
62
- romaji
63
- english
64
- }
65
- }
66
- }
67
- ... on MessageActivity {
68
- id
69
- recipientId
70
- messengerId
71
- type
72
- replyCount
73
- message (asHtml: $asHtml)
74
- isLocked
75
- isSubscribed
76
- likeCount
77
- isLiked
78
- isPrivate
79
- siteUrl
80
- createdAt
81
- }
82
- }
83
- `;
84
- exports.ActivitySchemaV2 = `
85
- ... on TextActivity {
86
- id
87
- userId
88
- type
89
- replyCount
90
- text (asHtml: $asHtml)
91
- siteUrl
92
- isLocked
93
- isSubscribed
94
- likeCount
95
- isLiked
96
- isPinned
97
- createdAt
98
- user {
99
- ${Basic_1.BasicUserSchema}
100
- }
101
- replies {
102
- ${exports.ActivityReplySchema}
103
- }
104
- likes {
105
- ${Basic_1.BasicUserSchema}
106
- }
107
- }
108
- ... on ListActivity {
109
- id
110
- userId
111
- type
112
- replyCount
113
- status
114
- progress
115
- isLocked
116
- isSubscribed
117
- likeCount
118
- isLiked
119
- isPinned
120
- siteUrl
121
- createdAt
122
- media {
123
- id
124
- title {
125
- romaji
126
- english
127
- }
128
- }
129
- user {
130
- ${Basic_1.BasicUserSchema}
131
- }
132
- replies {
133
- ${exports.ActivityReplySchema}
134
- }
135
- likes {
136
- ${Basic_1.BasicUserSchema}
137
- }
138
- }
139
- ... on MessageActivity {
140
- id
141
- recipientId
142
- messengerId
143
- type
144
- replyCount
145
- message (asHtml: $asHtml)
146
- isLocked
147
- isSubscribed
148
- likeCount
149
- isLiked
150
- isPrivate
151
- siteUrl
152
- createdAt
153
- recipient {
154
- ${Basic_1.BasicUserSchema}
155
- }
156
- messenger {
157
- ${Basic_1.BasicUserSchema}
158
- }
159
- replies {
160
- ${exports.ActivityReplySchema}
161
- }
162
- likes {
163
- ${Basic_1.BasicUserSchema}
164
- }
165
- }
166
- ... on ActivityReply {
167
- id
168
- userId
169
- activityId
170
- text (asHtml: $asHtml)
171
- likeCount
172
- isLiked
173
- createdAt
174
- user {
175
- ${Basic_1.BasicUserSchema}
176
- }
177
- likes {
178
- ${Basic_1.BasicUserSchema}
179
- }
180
- }
181
- ... on Thread {
182
- id
183
- title
184
- body (asHtml: $asHtml)
185
- ThreadUserId: userId
186
- replyUserId
187
- replyCommentId
188
- ThreadReplyCount: replyCount
189
- viewCount
190
- isLocked
191
- isSticky
192
- isSubscribed
193
- likeCount
194
- isLiked
195
- repliedAt
196
- createdAt
197
- updatedAt
198
- user {
199
- ${Basic_1.BasicUserSchema}
200
- }
201
- replyUser {
202
- ${Basic_1.BasicUserSchema}
203
- }
204
- likes {
205
- ${Basic_1.BasicUserSchema}
206
- }
207
- siteUrl
208
- categories {
209
- id
210
- name
211
- }
212
- mediaCategories {
213
- id
214
- ${Title_1.TitleSchema}
215
- }
216
- }
217
- ... on ThreadComment {
218
- id
219
- userId
220
- threadId
221
- comment (asHtml: $asHtml)
222
- likeCount
223
- isLiked
224
- siteUrl
225
- createdAt
226
- updatedAt
227
- thread {
228
- id
229
- title
230
- }
231
- user {
232
- ${Basic_1.BasicUserSchema}
233
- }
234
- likes {
235
- ${Basic_1.BasicUserSchema}
236
- }
237
- childComments
238
- isLocked
239
- }
240
- `;
241
- /**
242
- * `ActivityWithRepliesSchema` is a constant representing the GraphQL schema for an activity query with replies.
243
- * It includes the TextActivity, ListActivity, and MessageActivity each having their own properties and replies.
244
- */
245
- exports.ActivityWithRepliesSchema = `
246
- ... on TextActivity {
247
- id
248
- userId
249
- type
250
- replyCount
251
- text (asHtml: $asHtml)
252
- siteUrl
253
- isLocked
254
- isSubscribed
255
- likeCount
256
- isLiked
257
- isPinned
258
- createdAt
259
- user {
260
- ${Basic_1.BasicUserSchema}
261
- }
262
- replies {
263
- ${exports.ActivityReplySchema}
264
- }
265
- likes {
266
- ${Basic_1.BasicUserSchema}
267
- }
268
- }
269
- ... on ListActivity {
270
- id
271
- userId
272
- type
273
- replyCount
274
- status
275
- progress
276
- isLocked
277
- isSubscribed
278
- likeCount
279
- isLiked
280
- isPinned
281
- siteUrl
282
- createdAt
283
- media {
284
- id
285
- title {
286
- romaji
287
- english
288
- }
289
- }
290
- user {
291
- ${Basic_1.BasicUserSchema}
292
- }
293
- replies {
294
- ${exports.ActivityReplySchema}
295
- }
296
- likes {
297
- ${Basic_1.BasicUserSchema}
298
- }
299
- }
300
- ... on MessageActivity {
301
- id
302
- recipientId
303
- messengerId
304
- type
305
- replyCount
306
- message (asHtml: $asHtml)
307
- isLocked
308
- isSubscribed
309
- likeCount
310
- isLiked
311
- isPrivate
312
- siteUrl
313
- createdAt
314
- recipient {
315
- ${Basic_1.BasicUserSchema}
316
- }
317
- messenger {
318
- ${Basic_1.BasicUserSchema}
319
- }
320
- replies {
321
- ${exports.ActivityReplySchema}
322
- }
323
- likes {
324
- ${Basic_1.BasicUserSchema}
325
- }
326
- }
327
- `;
328
- /**
329
- * `TextActivity` is an object representing a text activity.
330
- * It includes the id, user id, type, reply count, text, site url, lock status, subscription status, like count, like status, pin status, creation date, user details, replies, and likes.
331
- */
332
- exports.TextActivitySchema = `
333
- id
334
- userId
335
- type
336
- replyCount
337
- text (asHtml: $asHtml)
338
- siteUrl
339
- isLocked
340
- isSubscribed
341
- likeCount
342
- isLiked
343
- isPinned
344
- createdAt
345
- user {
346
- ${Basic_1.BasicUserSchema}
347
- }
348
- replies {
349
- ${exports.ActivityReplySchema}
350
- }
351
- likes {
352
- ${Basic_1.BasicUserSchema}
353
- }
354
- `;
355
- /**
356
- * `ListActivitySchema` is an object representing a list activity.
357
- * It includes the id, user id, type, reply count, status, progress, lock status, subscription status, like count, like status, pin status, site url, creation date, media details, user details, replies, and likes.
358
- */
359
- exports.ListActivitySchema = `
360
- id
361
- userId
362
- type
363
- replyCount
364
- status
365
- progress
366
- isLocked
367
- isSubscribed
368
- likeCount
369
- isLiked
370
- isPinned
371
- siteUrl
372
- createdAt
373
- media {
374
- id
375
- title {
376
- romaji
377
- english
378
- }
379
- }
380
- user {
381
- ${Basic_1.BasicUserSchema}
382
- }
383
- replies {
384
- ${exports.ActivityReplySchema}
385
- }
386
- likes {
387
- ${Basic_1.BasicUserSchema}
388
- }
389
- `;
390
- /**
391
- * `MessageActivitySchema` is an object representing a message activity.
392
- * It includes the id, recipient id, messenger id, type, reply count, message, lock status, subscription status, like count, like status, privacy status, site url, creation date, recipient details, messenger details, replies, and likes.
393
- */
394
- exports.MessageActivitySchema = `
395
- id
396
- recipientId
397
- messengerId
398
- type
399
- replyCount
400
- message (asHtml: $asHtml)
401
- isLocked
402
- isSubscribed
403
- likeCount
404
- isLiked
405
- isPrivate
406
- siteUrl
407
- createdAt
408
- recipient {
409
- ${Basic_1.BasicUserSchema}
410
- }
411
- messenger {
412
- ${Basic_1.BasicUserSchema}
413
- }
414
- replies {
415
- ${exports.ActivityReplySchema}
416
- }
417
- likes {
418
- ${Basic_1.BasicUserSchema}
419
- }
420
- `;
421
- /**
422
- * `ActivityNotificationSchema` is a constant representing the GraphQL schema for an activity notification query.
423
- * It includes the id of the notification, the user id, the type of the notification, the activity id, the context, the creation date, the activity details, and the user details.
424
- */
425
- exports.ActivityNotificationSchema = `
426
- id
427
- userId
428
- type
429
- activityId
430
- context
431
- createdAt
432
- ${exports.ActivitySchema}
433
- user {
434
- ${Basic_1.BasicUserSchema}
435
- }
436
- `;
@@ -1,33 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BasicCommentSchema = exports.BasicThreadSchema = exports.BasicUserSchema = void 0;
4
- /**
5
- * `BasicUserSchema` is a string representing the GraphQL schema for a basic user.
6
- * It includes the id, name, and avatar with a large size.
7
- */
8
- exports.BasicUserSchema = `
9
- id
10
- name
11
- avatar {
12
- large
13
- }
14
- `;
15
- /**
16
- * `BasicThreadSchema` is a string representing the GraphQL schema for a basic thread.
17
- * It includes the id, title, body, and site url.
18
- */
19
- exports.BasicThreadSchema = `
20
- id
21
- title
22
- body (asHtml: $asHtml)
23
- siteUrl
24
- `;
25
- /**
26
- * `BasicCommentSchema` is a string representing the GraphQL schema for a basic comment.
27
- * It includes the id, user id, and thread id.
28
- */
29
- exports.BasicCommentSchema = `
30
- id
31
- userId
32
- threadId
33
- `;
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CoverImageSchema = void 0;
4
- /**
5
- * `CoverImageSchema` is a string representing the GraphQL schema for a cover image.
6
- * It includes the extra large, large, medium size images and color.
7
- */
8
- exports.CoverImageSchema = `
9
- coverImage {
10
- extraLarge
11
- large
12
- medium
13
- color
14
- }
15
- `;
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StatusDistributionSchema = exports.ScoreDistributionSchema = void 0;
4
- /**
5
- * `ScoreDistributionSchema` is a string representing the GraphQL schema for a score distribution.
6
- * It includes the score and the amount.
7
- */
8
- exports.ScoreDistributionSchema = `
9
- scoreDistribution {
10
- score
11
- amount
12
- }
13
- `;
14
- /**
15
- * `StatusDistributionSchema` is a string representing the GraphQL schema for a status distribution.
16
- * It includes the status and amount.
17
- */
18
- exports.StatusDistributionSchema = `
19
- statusDistribution {
20
- status
21
- amount
22
- }
23
- `;
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ExternalLinkSchema = void 0;
4
- /**
5
- * `ExternalLinkSchema` is a string representing the GraphQL schema for an external link.
6
- * It includes the id, url, and site.
7
- */
8
- exports.ExternalLinkSchema = `
9
- externalLinks {
10
- id
11
- url
12
- site
13
- }
14
- `;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FuzzyDateSchema = void 0;
4
- /**
5
- * `FuzzyDateSchema` is a string representing the GraphQL schema for a fuzzy date.
6
- * It includes the year, month, and day.
7
- */
8
- exports.FuzzyDateSchema = `
9
- year
10
- month
11
- day
12
- `;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ImageSchema = void 0;
4
- /**
5
- * `ImageSchema` is a string representing the GraphQL schema for an image.
6
- * It includes the large and medium size images.
7
- */
8
- exports.ImageSchema = `
9
- image {
10
- large
11
- medium
12
- }
13
- `;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MediaListEntrySchema = void 0;
4
- /**
5
- * `MediaListEntrySchema` is a string representing the GraphQL schema for a media list entry.
6
- * It includes the id and status.
7
- */
8
- exports.MediaListEntrySchema = `
9
- mediaListEntry {
10
- id
11
- status
12
- }
13
- `;
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NameSchema = void 0;
4
- /**
5
- * `NameSchema` is a string representing the GraphQL schema for a name.
6
- * It includes the first name, last name, full name, and native name.
7
- */
8
- exports.NameSchema = `
9
- name {
10
- first
11
- last
12
- full
13
- native
14
- }
15
- `;
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NextAiringEpisodeSchema = void 0;
4
- /**
5
- * `NextAiringEpisodeSchema` is a string representing the GraphQL schema for a next airing episode.
6
- * It includes the airing time, time until airing, and the episode number.
7
- */
8
- exports.NextAiringEpisodeSchema = `
9
- nextAiringEpisode {
10
- airingAt
11
- timeUntilAiring
12
- episode
13
- }
14
- `;
@@ -1,25 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ThreadNotificationSchema = void 0;
4
- const Basic_1 = require("./Basic");
5
- /**
6
- * `ThreadNotificationSchema` is a string representing the GraphQL schema for a thread notification.
7
- * It includes the id, userId, type, commentId, context, createdAt, thread, comment, and user.
8
- */
9
- exports.ThreadNotificationSchema = `
10
- id
11
- userId
12
- type
13
- commentId
14
- context
15
- createdAt
16
- thread {
17
- ${Basic_1.BasicThreadSchema}
18
- }
19
- comment {
20
- ${Basic_1.BasicCommentSchema}
21
- }
22
- user {
23
- ${Basic_1.BasicUserSchema}
24
- }
25
- `;
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RankingSchema = void 0;
4
- /**
5
- * `RankingSchema` is a string representing the GraphQL schema for a ranking.
6
- * It includes the id, rank, type, format, year, season, all-time status, and context.
7
- */
8
- exports.RankingSchema = `
9
- rankings {
10
- id
11
- rank
12
- type
13
- format
14
- year
15
- season
16
- allTime
17
- context
18
- }
19
- `;
@@ -1,33 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SiteTrendConnectionSchema = exports.SiteTrendSchema = void 0;
4
- /**
5
- * `SiteTrendSchema` is a string representing the GraphQL schema for a site trend.
6
- * It includes the date, count, and change.
7
- */
8
- exports.SiteTrendSchema = `
9
- date
10
- count
11
- change
12
- `;
13
- /**
14
- * `SiteTrendConnectionSchema` is a string representing the GraphQL schema for a site trend connection.
15
- * It includes the page information and the edges and nodes of the site trends.
16
- */
17
- exports.SiteTrendConnectionSchema = `
18
- pageInfo {
19
- total
20
- perPage
21
- currentPage
22
- lastPage
23
- hasNextPage
24
- }
25
- edges {
26
- node {
27
- ${exports.SiteTrendSchema}
28
- }
29
- }
30
- nodes {
31
- ${exports.SiteTrendSchema}
32
- }
33
- `;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });