anilink-api-wrapper 1.24.0 → 1.26.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 (40) hide show
  1. package/README.md +3 -0
  2. package/dist/AniLink.js +10 -1
  3. package/dist/apis/anilist/interfaces/Activity.js +74 -40
  4. package/dist/apis/anilist/interfaces/Basic.js +33 -0
  5. package/dist/apis/anilist/interfaces/Distribution.js +21 -0
  6. package/dist/apis/anilist/interfaces/Media.js +11 -0
  7. package/dist/apis/anilist/interfaces/Notification.js +23 -0
  8. package/dist/apis/anilist/interfaces/SiteTrend.js +22 -1
  9. package/dist/apis/anilist/interfaces/responses/mutation/Favourites.js +83 -0
  10. package/dist/apis/anilist/interfaces/responses/query/Media.js +8 -9
  11. package/dist/apis/anilist/interfaces/responses/query/Notification.js +20 -22
  12. package/dist/apis/anilist/interfaces/responses/query/Recommendation.js +2 -2
  13. package/dist/apis/anilist/interfaces/responses/query/Review.js +2 -2
  14. package/dist/apis/anilist/interfaces/responses/query/SiteStatistics.js +8 -8
  15. package/dist/apis/anilist/interfaces/responses/query/Thread.js +4 -4
  16. package/dist/apis/anilist/interfaces/responses/query/ThreadComment.js +3 -3
  17. package/dist/apis/anilist/mutation/SaveActivityReply.js +2 -2
  18. package/dist/apis/anilist/mutation/ToggleFavourite.js +66 -0
  19. package/dist/apis/anilist/mutation/ToggleFollow.js +62 -0
  20. package/dist/apis/anilist/mutation/ToggleLike.js +2 -2
  21. package/dist/apis/anilist/mutation/UpdateFavouriteOrder.js +73 -0
  22. package/dist/apis/anilist/query/ActivityReply.js +2 -2
  23. package/dist/apis/anilist/query/AniChartUser.js +2 -2
  24. package/dist/apis/anilist/query/Markdown.js +2 -2
  25. package/dist/apis/anilist/query/page/ActivityReplies.js +2 -2
  26. package/dist/apis/anilist/query/page/Likes.js +2 -2
  27. package/package.json +45 -52
  28. package/dist/apis/anilist/interfaces/ActivityHistory.js +0 -2
  29. package/dist/apis/anilist/interfaces/ActivityNotification.js +0 -21
  30. package/dist/apis/anilist/interfaces/ActivityReply.js +0 -23
  31. package/dist/apis/anilist/interfaces/BasicComment.js +0 -12
  32. package/dist/apis/anilist/interfaces/BasicThread.js +0 -13
  33. package/dist/apis/anilist/interfaces/BasicUser.js +0 -14
  34. package/dist/apis/anilist/interfaces/MediaListEntry.js +0 -13
  35. package/dist/apis/anilist/interfaces/MediaStatistics.js +0 -2
  36. package/dist/apis/anilist/interfaces/MediaStats.js +0 -2
  37. package/dist/apis/anilist/interfaces/ScoreDistribution.js +0 -13
  38. package/dist/apis/anilist/interfaces/SiteTrendConnection.js +0 -25
  39. package/dist/apis/anilist/interfaces/StatusDistribution.js +0 -13
  40. package/dist/apis/anilist/interfaces/ThreadNotification.js +0 -27
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- 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
- `;
@@ -1,25 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SiteTrendConnectionSchema = void 0;
4
- const SiteTrend_1 = require("./SiteTrend");
5
- /**
6
- * `SiteTrendConnectionSchema` is a string representing the GraphQL schema for a site trend connection.
7
- * It includes the page information and the edges and nodes of the site trends.
8
- */
9
- exports.SiteTrendConnectionSchema = `
10
- pageInfo {
11
- total
12
- perPage
13
- currentPage
14
- lastPage
15
- hasNextPage
16
- }
17
- edges {
18
- node {
19
- ${SiteTrend_1.SiteTrendSchema}
20
- }
21
- }
22
- nodes {
23
- ${SiteTrend_1.SiteTrendSchema}
24
- }
25
- `;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StatusDistributionSchema = void 0;
4
- /**
5
- * `StatusDistributionSchema` is a string representing the GraphQL schema for a status distribution.
6
- * It includes the status and amount.
7
- */
8
- exports.StatusDistributionSchema = `
9
- statusDistribution {
10
- status
11
- amount
12
- }
13
- `;
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ThreadNotificationSchema = void 0;
4
- const BasicThread_1 = require("./BasicThread");
5
- const BasicComment_1 = require("./BasicComment");
6
- const BasicUser_1 = require("./BasicUser");
7
- /**
8
- * `ThreadNotificationSchema` is a string representing the GraphQL schema for a thread notification.
9
- * It includes the id, userId, type, commentId, context, createdAt, thread, comment, and user.
10
- */
11
- exports.ThreadNotificationSchema = `
12
- id
13
- userId
14
- type
15
- commentId
16
- context
17
- createdAt
18
- thread {
19
- ${BasicThread_1.BasicThreadSchema}
20
- }
21
- comment {
22
- ${BasicComment_1.BasicCommentSchema}
23
- }
24
- user {
25
- ${BasicUser_1.BasicUserSchema}
26
- }
27
- `;