anilink-api-wrapper 1.24.0 → 1.25.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 (34) hide show
  1. package/dist/apis/anilist/interfaces/Activity.js +74 -40
  2. package/dist/apis/anilist/interfaces/Basic.js +33 -0
  3. package/dist/apis/anilist/interfaces/Distribution.js +21 -0
  4. package/dist/apis/anilist/interfaces/Media.js +11 -0
  5. package/dist/apis/anilist/interfaces/Notification.js +23 -0
  6. package/dist/apis/anilist/interfaces/SiteTrend.js +22 -1
  7. package/dist/apis/anilist/interfaces/responses/query/Media.js +8 -9
  8. package/dist/apis/anilist/interfaces/responses/query/Notification.js +20 -22
  9. package/dist/apis/anilist/interfaces/responses/query/Recommendation.js +2 -2
  10. package/dist/apis/anilist/interfaces/responses/query/Review.js +2 -2
  11. package/dist/apis/anilist/interfaces/responses/query/SiteStatistics.js +8 -8
  12. package/dist/apis/anilist/interfaces/responses/query/Thread.js +4 -4
  13. package/dist/apis/anilist/interfaces/responses/query/ThreadComment.js +3 -3
  14. package/dist/apis/anilist/mutation/SaveActivityReply.js +2 -2
  15. package/dist/apis/anilist/mutation/ToggleLike.js +2 -2
  16. package/dist/apis/anilist/query/ActivityReply.js +2 -2
  17. package/dist/apis/anilist/query/AniChartUser.js +2 -2
  18. package/dist/apis/anilist/query/Markdown.js +2 -2
  19. package/dist/apis/anilist/query/page/ActivityReplies.js +2 -2
  20. package/dist/apis/anilist/query/page/Likes.js +2 -2
  21. package/package.json +45 -52
  22. package/dist/apis/anilist/interfaces/ActivityHistory.js +0 -2
  23. package/dist/apis/anilist/interfaces/ActivityNotification.js +0 -21
  24. package/dist/apis/anilist/interfaces/ActivityReply.js +0 -23
  25. package/dist/apis/anilist/interfaces/BasicComment.js +0 -12
  26. package/dist/apis/anilist/interfaces/BasicThread.js +0 -13
  27. package/dist/apis/anilist/interfaces/BasicUser.js +0 -14
  28. package/dist/apis/anilist/interfaces/MediaListEntry.js +0 -13
  29. package/dist/apis/anilist/interfaces/MediaStatistics.js +0 -2
  30. package/dist/apis/anilist/interfaces/MediaStats.js +0 -2
  31. package/dist/apis/anilist/interfaces/ScoreDistribution.js +0 -13
  32. package/dist/apis/anilist/interfaces/SiteTrendConnection.js +0 -25
  33. package/dist/apis/anilist/interfaces/StatusDistribution.js +0 -13
  34. package/dist/apis/anilist/interfaces/ThreadNotification.js +0 -27
@@ -1,9 +1,27 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MessageActivitySchema = exports.ListActivitySchema = exports.TextActivitySchema = exports.ActivityWithRepliesSchema = exports.ActivitySchemaV2 = exports.ActivitySchema = void 0;
4
- const BasicUser_1 = require("./BasicUser");
5
- const ActivityReply_1 = require("./ActivityReply");
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");
6
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
+ `;
7
25
  /**
8
26
  * `ActivitySchema` is a constant representing the GraphQL schema for an activity query.
9
27
  * It includes the TextActivity, ListActivity, and MessageActivity each having their own properties.
@@ -78,13 +96,13 @@ exports.ActivitySchemaV2 = `
78
96
  isPinned
79
97
  createdAt
80
98
  user {
81
- ${BasicUser_1.BasicUserSchema}
99
+ ${Basic_1.BasicUserSchema}
82
100
  }
83
101
  replies {
84
- ${ActivityReply_1.ActivityReplySchema}
102
+ ${exports.ActivityReplySchema}
85
103
  }
86
104
  likes {
87
- ${BasicUser_1.BasicUserSchema}
105
+ ${Basic_1.BasicUserSchema}
88
106
  }
89
107
  }
90
108
  ... on ListActivity {
@@ -109,13 +127,13 @@ exports.ActivitySchemaV2 = `
109
127
  }
110
128
  }
111
129
  user {
112
- ${BasicUser_1.BasicUserSchema}
130
+ ${Basic_1.BasicUserSchema}
113
131
  }
114
132
  replies {
115
- ${ActivityReply_1.ActivityReplySchema}
133
+ ${exports.ActivityReplySchema}
116
134
  }
117
135
  likes {
118
- ${BasicUser_1.BasicUserSchema}
136
+ ${Basic_1.BasicUserSchema}
119
137
  }
120
138
  }
121
139
  ... on MessageActivity {
@@ -133,16 +151,16 @@ exports.ActivitySchemaV2 = `
133
151
  siteUrl
134
152
  createdAt
135
153
  recipient {
136
- ${BasicUser_1.BasicUserSchema}
154
+ ${Basic_1.BasicUserSchema}
137
155
  }
138
156
  messenger {
139
- ${BasicUser_1.BasicUserSchema}
157
+ ${Basic_1.BasicUserSchema}
140
158
  }
141
159
  replies {
142
- ${ActivityReply_1.ActivityReplySchema}
160
+ ${exports.ActivityReplySchema}
143
161
  }
144
162
  likes {
145
- ${BasicUser_1.BasicUserSchema}
163
+ ${Basic_1.BasicUserSchema}
146
164
  }
147
165
  }
148
166
  ... on ActivityReply {
@@ -154,10 +172,10 @@ exports.ActivitySchemaV2 = `
154
172
  isLiked
155
173
  createdAt
156
174
  user {
157
- ${BasicUser_1.BasicUserSchema}
175
+ ${Basic_1.BasicUserSchema}
158
176
  }
159
177
  likes {
160
- ${BasicUser_1.BasicUserSchema}
178
+ ${Basic_1.BasicUserSchema}
161
179
  }
162
180
  }
163
181
  ... on Thread {
@@ -178,13 +196,13 @@ exports.ActivitySchemaV2 = `
178
196
  createdAt
179
197
  updatedAt
180
198
  user {
181
- ${BasicUser_1.BasicUserSchema}
199
+ ${Basic_1.BasicUserSchema}
182
200
  }
183
201
  replyUser {
184
- ${BasicUser_1.BasicUserSchema}
202
+ ${Basic_1.BasicUserSchema}
185
203
  }
186
204
  likes {
187
- ${BasicUser_1.BasicUserSchema}
205
+ ${Basic_1.BasicUserSchema}
188
206
  }
189
207
  siteUrl
190
208
  categories {
@@ -211,10 +229,10 @@ exports.ActivitySchemaV2 = `
211
229
  title
212
230
  }
213
231
  user {
214
- ${BasicUser_1.BasicUserSchema}
232
+ ${Basic_1.BasicUserSchema}
215
233
  }
216
234
  likes {
217
- ${BasicUser_1.BasicUserSchema}
235
+ ${Basic_1.BasicUserSchema}
218
236
  }
219
237
  childComments
220
238
  isLocked
@@ -239,13 +257,13 @@ exports.ActivityWithRepliesSchema = `
239
257
  isPinned
240
258
  createdAt
241
259
  user {
242
- ${BasicUser_1.BasicUserSchema}
260
+ ${Basic_1.BasicUserSchema}
243
261
  }
244
262
  replies {
245
- ${ActivityReply_1.ActivityReplySchema}
263
+ ${exports.ActivityReplySchema}
246
264
  }
247
265
  likes {
248
- ${BasicUser_1.BasicUserSchema}
266
+ ${Basic_1.BasicUserSchema}
249
267
  }
250
268
  }
251
269
  ... on ListActivity {
@@ -270,13 +288,13 @@ exports.ActivityWithRepliesSchema = `
270
288
  }
271
289
  }
272
290
  user {
273
- ${BasicUser_1.BasicUserSchema}
291
+ ${Basic_1.BasicUserSchema}
274
292
  }
275
293
  replies {
276
- ${ActivityReply_1.ActivityReplySchema}
294
+ ${exports.ActivityReplySchema}
277
295
  }
278
296
  likes {
279
- ${BasicUser_1.BasicUserSchema}
297
+ ${Basic_1.BasicUserSchema}
280
298
  }
281
299
  }
282
300
  ... on MessageActivity {
@@ -294,16 +312,16 @@ exports.ActivityWithRepliesSchema = `
294
312
  siteUrl
295
313
  createdAt
296
314
  recipient {
297
- ${BasicUser_1.BasicUserSchema}
315
+ ${Basic_1.BasicUserSchema}
298
316
  }
299
317
  messenger {
300
- ${BasicUser_1.BasicUserSchema}
318
+ ${Basic_1.BasicUserSchema}
301
319
  }
302
320
  replies {
303
- ${ActivityReply_1.ActivityReplySchema}
321
+ ${exports.ActivityReplySchema}
304
322
  }
305
323
  likes {
306
- ${BasicUser_1.BasicUserSchema}
324
+ ${Basic_1.BasicUserSchema}
307
325
  }
308
326
  }
309
327
  `;
@@ -325,13 +343,13 @@ exports.TextActivitySchema = `
325
343
  isPinned
326
344
  createdAt
327
345
  user {
328
- ${BasicUser_1.BasicUserSchema}
346
+ ${Basic_1.BasicUserSchema}
329
347
  }
330
348
  replies {
331
- ${ActivityReply_1.ActivityReplySchema}
349
+ ${exports.ActivityReplySchema}
332
350
  }
333
351
  likes {
334
- ${BasicUser_1.BasicUserSchema}
352
+ ${Basic_1.BasicUserSchema}
335
353
  }
336
354
  `;
337
355
  /**
@@ -360,13 +378,13 @@ exports.ListActivitySchema = `
360
378
  }
361
379
  }
362
380
  user {
363
- ${BasicUser_1.BasicUserSchema}
381
+ ${Basic_1.BasicUserSchema}
364
382
  }
365
383
  replies {
366
- ${ActivityReply_1.ActivityReplySchema}
384
+ ${exports.ActivityReplySchema}
367
385
  }
368
386
  likes {
369
- ${BasicUser_1.BasicUserSchema}
387
+ ${Basic_1.BasicUserSchema}
370
388
  }
371
389
  `;
372
390
  /**
@@ -388,15 +406,31 @@ exports.MessageActivitySchema = `
388
406
  siteUrl
389
407
  createdAt
390
408
  recipient {
391
- ${BasicUser_1.BasicUserSchema}
409
+ ${Basic_1.BasicUserSchema}
392
410
  }
393
411
  messenger {
394
- ${BasicUser_1.BasicUserSchema}
412
+ ${Basic_1.BasicUserSchema}
395
413
  }
396
414
  replies {
397
- ${ActivityReply_1.ActivityReplySchema}
415
+ ${exports.ActivityReplySchema}
398
416
  }
399
417
  likes {
400
- ${BasicUser_1.BasicUserSchema}
418
+ ${Basic_1.BasicUserSchema}
401
419
  }
402
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
+ `;
@@ -0,0 +1,33 @@
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,2 +1,23 @@
1
1
  "use strict";
2
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,2 +1,13 @@
1
1
  "use strict";
2
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,2 +1,25 @@
1
1
  "use strict";
2
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,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SiteTrendSchema = void 0;
3
+ exports.SiteTrendConnectionSchema = exports.SiteTrendSchema = void 0;
4
4
  /**
5
5
  * `SiteTrendSchema` is a string representing the GraphQL schema for a site trend.
6
6
  * It includes the date, count, and change.
@@ -10,3 +10,24 @@ exports.SiteTrendSchema = `
10
10
  count
11
11
  change
12
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
+ `;
@@ -10,11 +10,10 @@ const NextAiringEpisode_1 = require("../../NextAiringEpisode");
10
10
  const ExternalLink_1 = require("../../ExternalLink");
11
11
  const StreamingEpisode_1 = require("../../StreamingEpisode");
12
12
  const Ranking_1 = require("../../Ranking");
13
- const MediaListEntry_1 = require("../../MediaListEntry");
14
13
  const Name_1 = require("../../Name");
15
14
  const Image_1 = require("../../Image");
16
- const StatusDistribution_1 = require("../../StatusDistribution");
17
- const ScoreDistribution_1 = require("../../ScoreDistribution");
15
+ const Media_1 = require("../../Media");
16
+ const Distribution_1 = require("../../Distribution");
18
17
  /**
19
18
  * `MediaWithRelationsSchema` is a constant representing the GraphQL schema for a media query with relations.
20
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.
@@ -146,10 +145,10 @@ exports.MediaWithRelationsSchema = `
146
145
  ${ExternalLink_1.ExternalLinkSchema}
147
146
  ${StreamingEpisode_1.StreamingEpisodeSchema}
148
147
  ${Ranking_1.RankingSchema}
149
- ${MediaListEntry_1.MediaListEntrySchema}
148
+ ${Media_1.MediaListEntrySchema}
150
149
  stats {
151
- ${StatusDistribution_1.StatusDistributionSchema}
152
- ${ScoreDistribution_1.ScoreDistributionSchema}
150
+ ${Distribution_1.StatusDistributionSchema}
151
+ ${Distribution_1.ScoreDistributionSchema}
153
152
  }
154
153
  siteUrl
155
154
  autoCreateForumThread
@@ -206,10 +205,10 @@ exports.MediaSchema = `
206
205
  ${ExternalLink_1.ExternalLinkSchema}
207
206
  ${StreamingEpisode_1.StreamingEpisodeSchema}
208
207
  ${Ranking_1.RankingSchema}
209
- ${MediaListEntry_1.MediaListEntrySchema}
208
+ ${Media_1.MediaListEntrySchema}
210
209
  stats {
211
- ${StatusDistribution_1.StatusDistributionSchema}
212
- ${ScoreDistribution_1.ScoreDistributionSchema}
210
+ ${Distribution_1.StatusDistributionSchema}
211
+ ${Distribution_1.ScoreDistributionSchema}
213
212
  }
214
213
  siteUrl
215
214
  autoCreateForumThread
@@ -2,11 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.NotificationSchema = void 0;
4
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");
5
+ const Basic_1 = require("../../Basic");
6
+ const Activity_1 = require("../../Activity");
7
+ const Notification_1 = require("../../Notification");
10
8
  /**
11
9
  * `NotificationSchema` is a constant representing the GraphQL schema for a notification query.
12
10
  * 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.
@@ -31,7 +29,7 @@ exports.NotificationSchema = `
31
29
  context
32
30
  createdAt
33
31
  user {
34
- ${BasicUser_1.BasicUserSchema}
32
+ ${Basic_1.BasicUserSchema}
35
33
  }
36
34
  }
37
35
  ... on ActivityMessageNotification {
@@ -64,46 +62,46 @@ exports.NotificationSchema = `
64
62
  likeCount
65
63
  isLiked
66
64
  user {
67
- ${BasicUser_1.BasicUserSchema}
65
+ ${Basic_1.BasicUserSchema}
68
66
  }
69
67
  likes {
70
- ${BasicUser_1.BasicUserSchema}
68
+ ${Basic_1.BasicUserSchema}
71
69
  }
72
70
  }
73
71
  likes {
74
- ${BasicUser_1.BasicUserSchema}
72
+ ${Basic_1.BasicUserSchema}
75
73
  }
76
74
  }
77
75
  user {
78
- ${BasicUser_1.BasicUserSchema}
76
+ ${Basic_1.BasicUserSchema}
79
77
  }
80
78
  }
81
79
  ... on ActivityMentionNotification {
82
- ${ActivityNotification_1.ActivityNotificationSchema}
80
+ ${Activity_1.ActivityNotificationSchema}
83
81
  }
84
82
  ... on ActivityReplyNotification {
85
- ${ActivityNotification_1.ActivityNotificationSchema}
83
+ ${Activity_1.ActivityNotificationSchema}
86
84
  }
87
85
  ... on ActivityReplySubscribedNotification {
88
- ${ActivityNotification_1.ActivityNotificationSchema}
86
+ ${Activity_1.ActivityNotificationSchema}
89
87
  }
90
88
  ... on ActivityLikeNotification {
91
- ${ActivityNotification_1.ActivityNotificationSchema}
89
+ ${Activity_1.ActivityNotificationSchema}
92
90
  }
93
91
  ... on ActivityReplyLikeNotification {
94
- ${ActivityNotification_1.ActivityNotificationSchema}
92
+ ${Activity_1.ActivityNotificationSchema}
95
93
  }
96
94
  ... on ThreadCommentMentionNotification {
97
- ${ThreadNotification_1.ThreadNotificationSchema}
95
+ ${Notification_1.ThreadNotificationSchema}
98
96
  }
99
97
  ... on ThreadCommentReplyNotification {
100
- ${ThreadNotification_1.ThreadNotificationSchema}
98
+ ${Notification_1.ThreadNotificationSchema}
101
99
  }
102
100
  ... on ThreadCommentSubscribedNotification {
103
- ${ThreadNotification_1.ThreadNotificationSchema}
101
+ ${Notification_1.ThreadNotificationSchema}
104
102
  }
105
103
  ... on ThreadCommentLikeNotification {
106
- ${ThreadNotification_1.ThreadNotificationSchema}
104
+ ${Notification_1.ThreadNotificationSchema}
107
105
  }
108
106
  ... on ThreadLikeNotification {
109
107
  id
@@ -112,13 +110,13 @@ exports.NotificationSchema = `
112
110
  context
113
111
  createdAt
114
112
  thread {
115
- ${BasicThread_1.BasicThreadSchema}
113
+ ${Basic_1.BasicThreadSchema}
116
114
  }
117
115
  comment {
118
- ${BasicComment_1.BasicCommentSchema}
116
+ ${Basic_1.BasicCommentSchema}
119
117
  }
120
118
  user {
121
- ${BasicUser_1.BasicUserSchema}
119
+ ${Basic_1.BasicUserSchema}
122
120
  }
123
121
  }
124
122
  ... on RelatedMediaAdditionNotification {
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RecommendationSchema = void 0;
4
- const BasicUser_1 = require("../../BasicUser");
5
4
  const Media_1 = require("./Media");
5
+ const Basic_1 = require("../../Basic");
6
6
  /**
7
7
  * `RecommendationSchema` is a constant representing the GraphQL schema for a recommendation query.
8
8
  * It includes the id, rating, user rating, media of type `MediaResponse`, media recommendation of type `MediaResponse`, and user of type `BasicUser`.
@@ -18,6 +18,6 @@ exports.RecommendationSchema = `
18
18
  ${Media_1.MediaSchema}
19
19
  }
20
20
  user {
21
- ${BasicUser_1.BasicUserSchema}
21
+ ${Basic_1.BasicUserSchema}
22
22
  }
23
23
  `;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ReviewSchema = void 0;
4
- const BasicUser_1 = require("../../BasicUser");
5
4
  const Media_1 = require("./Media");
5
+ const Basic_1 = require("../../Basic");
6
6
  /**
7
7
  * `ReviewSchema` is a constant representing the GraphQL schema for a review query.
8
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`.
@@ -22,7 +22,7 @@ exports.ReviewSchema = `
22
22
  createdAt
23
23
  updatedAt
24
24
  user {
25
- ${BasicUser_1.BasicUserSchema}
25
+ ${Basic_1.BasicUserSchema}
26
26
  }
27
27
  media {
28
28
  ${Media_1.MediaSchema}
@@ -1,31 +1,31 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SiteStatisticsSchema = void 0;
4
- const SiteTrendConnection_1 = require("../../SiteTrendConnection");
4
+ const SiteTrend_1 = require("../../SiteTrend");
5
5
  /**
6
6
  * `SiteStatisticsSchema` is a constant representing the GraphQL schema for a site statistics query.
7
7
  * It includes users, anime, manga, characters, staff, studios, and reviews of type `SiteTrendConnection`.
8
8
  */
9
9
  exports.SiteStatisticsSchema = `
10
10
  users (sort: $usersSort, page: $usersPage, perPage: $usersPerPage) {
11
- ${SiteTrendConnection_1.SiteTrendConnectionSchema}
11
+ ${SiteTrend_1.SiteTrendConnectionSchema}
12
12
  }
13
13
  anime (sort: $animeSort, page: $animePage, perPage: $animePerPage) {
14
- ${SiteTrendConnection_1.SiteTrendConnectionSchema}
14
+ ${SiteTrend_1.SiteTrendConnectionSchema}
15
15
  }
16
16
  manga (sort: $mangaSort, page: $mangaPage, perPage: $mangaPerPage) {
17
- ${SiteTrendConnection_1.SiteTrendConnectionSchema}
17
+ ${SiteTrend_1.SiteTrendConnectionSchema}
18
18
  }
19
19
  characters (sort: $charactersSort, page: $charactersPage, perPage: $charactersPerPage) {
20
- ${SiteTrendConnection_1.SiteTrendConnectionSchema}
20
+ ${SiteTrend_1.SiteTrendConnectionSchema}
21
21
  }
22
22
  staff (sort: $staffSort, page: $staffPage, perPage: $staffPerPage) {
23
- ${SiteTrendConnection_1.SiteTrendConnectionSchema}
23
+ ${SiteTrend_1.SiteTrendConnectionSchema}
24
24
  }
25
25
  studios (sort: $studiosSort, page: $studiosPage, perPage: $studiosPerPage) {
26
- ${SiteTrendConnection_1.SiteTrendConnectionSchema}
26
+ ${SiteTrend_1.SiteTrendConnectionSchema}
27
27
  }
28
28
  reviews (sort: $reviewsSort, page: $reviewsPage, perPage: $reviewsPerPage) {
29
- ${SiteTrendConnection_1.SiteTrendConnectionSchema}
29
+ ${SiteTrend_1.SiteTrendConnectionSchema}
30
30
  }
31
31
  `;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ThreadSchema = void 0;
4
4
  const Media_1 = require("./Media");
5
- const BasicUser_1 = require("../../BasicUser");
5
+ const Basic_1 = require("../../Basic");
6
6
  /**
7
7
  * `ThreadSchema` is a constant representing the GraphQL schema for a thread query.
8
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[]`.
@@ -25,13 +25,13 @@ exports.ThreadSchema = `
25
25
  createdAt
26
26
  updatedAt
27
27
  user {
28
- ${BasicUser_1.BasicUserSchema}
28
+ ${Basic_1.BasicUserSchema}
29
29
  }
30
30
  replyUser {
31
- ${BasicUser_1.BasicUserSchema}
31
+ ${Basic_1.BasicUserSchema}
32
32
  }
33
33
  likes {
34
- ${BasicUser_1.BasicUserSchema}
34
+ ${Basic_1.BasicUserSchema}
35
35
  }
36
36
  siteUrl
37
37
  categories {
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ThreadCommentSchema = void 0;
4
4
  const Thread_1 = require("./Thread");
5
- const BasicUser_1 = require("../../BasicUser");
5
+ const Basic_1 = require("../../Basic");
6
6
  /**
7
7
  * `ThreadCommentSchema` is a constant representing the GraphQL schema for a thread comment query.
8
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.
@@ -21,10 +21,10 @@ exports.ThreadCommentSchema = `
21
21
  ${Thread_1.ThreadSchema}
22
22
  }
23
23
  user {
24
- ${BasicUser_1.BasicUserSchema}
24
+ ${Basic_1.BasicUserSchema}
25
25
  }
26
26
  likes {
27
- ${BasicUser_1.BasicUserSchema}
27
+ ${Basic_1.BasicUserSchema}
28
28
  }
29
29
  childComments
30
30
  isLocked
@@ -13,7 +13,7 @@ exports.SaveActivityReplyMutation = void 0;
13
13
  const APIWrapper_1 = require("../../../base/APIWrapper");
14
14
  const RequestHandler_1 = require("../../../base/RequestHandler");
15
15
  const ValidateVariables_1 = require("../../../base/ValidateVariables");
16
- const ActivityReply_1 = require("../interfaces/ActivityReply");
16
+ const Activity_1 = require("../interfaces/Activity");
17
17
  /**
18
18
  * `SaveActivityReplyMutation` is a class representing a mutation to save an activity reply.
19
19
  * It includes a method to save an activity reply
@@ -54,7 +54,7 @@ class SaveActivityReplyMutation extends APIWrapper_1.APIWrapper {
54
54
  const mutation = `
55
55
  mutation ($id: Int, $activityId: Int, $text: String, $asMod: Boolean, $asHtml: Boolean) {
56
56
  SaveActivityReply (id: $id, activityId: $activityId, text: $text, asMod: $asMod) {
57
- ${ActivityReply_1.ActivityReplySchema}
57
+ ${Activity_1.ActivityReplySchema}
58
58
  }
59
59
  }
60
60
  `;
@@ -14,7 +14,7 @@ const APIWrapper_1 = require("../../../base/APIWrapper");
14
14
  const RequestHandler_1 = require("../../../base/RequestHandler");
15
15
  const ValidateVariables_1 = require("../../../base/ValidateVariables");
16
16
  const Type_1 = require("../types/Type");
17
- const BasicUser_1 = require("../interfaces/BasicUser");
17
+ const Basic_1 = require("../interfaces/Basic");
18
18
  /**
19
19
  * `ToggleLikeMutation` is a class representing a mutation to toggle a like.
20
20
  * It includes a method to delete an activity
@@ -52,7 +52,7 @@ class ToggleLikeMutation extends APIWrapper_1.APIWrapper {
52
52
  const mutation = `
53
53
  mutation ($id: Int, $type: LikeableType) {
54
54
  ToggleLike (id: $id, type: $type) {
55
- ${BasicUser_1.BasicUserSchema}
55
+ ${Basic_1.BasicUserSchema}
56
56
  }
57
57
  }
58
58
  `;
@@ -12,8 +12,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ActivityReplyQuery = void 0;
13
13
  const APIWrapper_1 = require("../../../base/APIWrapper");
14
14
  const RequestHandler_1 = require("../../../base/RequestHandler");
15
- const ActivityReply_1 = require("../interfaces/ActivityReply");
16
15
  const ValidateVariables_1 = require("../../../base/ValidateVariables");
16
+ const Activity_1 = require("../interfaces/Activity");
17
17
  /**
18
18
  * `ActivityReplyQuery` is a class representing a query for activity replies.
19
19
  * It includes a method to get activity replies.
@@ -48,7 +48,7 @@ class ActivityReplyQuery extends APIWrapper_1.APIWrapper {
48
48
  const query = `
49
49
  query ($id: Int, $activityId: Int, $asHtml: Boolean) {
50
50
  ActivityReply (id: $id, activityId: $activityId) {
51
- ${ActivityReply_1.ActivityReplySchema}
51
+ ${Activity_1.ActivityReplySchema}
52
52
  }
53
53
  }
54
54
  `;
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.AniChartUserQuery = void 0;
13
13
  const APIWrapper_1 = require("../../../base/APIWrapper");
14
14
  const RequestHandler_1 = require("../../../base/RequestHandler");
15
- const BasicUser_1 = require("../interfaces/BasicUser");
15
+ const Basic_1 = require("../interfaces/Basic");
16
16
  /**
17
17
  * `AniChartUserQuery` is a class representing a query for AniChart users.
18
18
  * It includes a method to get AniChart users.
@@ -41,7 +41,7 @@ class AniChartUserQuery extends APIWrapper_1.APIWrapper {
41
41
  query {
42
42
  AniChartUser {
43
43
  user {
44
- ${BasicUser_1.BasicUserSchema}
44
+ ${Basic_1.BasicUserSchema}
45
45
  }
46
46
  settings
47
47
  highlights
@@ -14,8 +14,8 @@ const APIWrapper_1 = require("../../../base/APIWrapper");
14
14
  const RequestHandler_1 = require("../../../base/RequestHandler");
15
15
  const ValidateVariables_1 = require("../../../base/ValidateVariables");
16
16
  /**
17
- * `MarkdownQuery` is a class representing a query for converting markdown text to HTML.
18
- * It includes a method to send the markdown text and receive the converted HTML.
17
+ * `MarkdownQuery` is a class representing a query for converting Markdown text to HTML.
18
+ * It includes a method to send the Markdown text and receive the converted HTML.
19
19
  */
20
20
  class MarkdownQuery extends APIWrapper_1.APIWrapper {
21
21
  /**
@@ -12,8 +12,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ActivityRepliesQuery = void 0;
13
13
  const APIWrapper_1 = require("../../../../base/APIWrapper");
14
14
  const RequestHandler_1 = require("../../../../base/RequestHandler");
15
- const ActivityReply_1 = require("../../interfaces/ActivityReply");
16
15
  const ValidateVariables_1 = require("../../../../base/ValidateVariables");
16
+ const Activity_1 = require("../../interfaces/Activity");
17
17
  /**
18
18
  * `ActivityRepliesQuery` is a class representing a query for activity replies.
19
19
  * It includes a method to get activity replies.
@@ -58,7 +58,7 @@ class ActivityRepliesQuery extends APIWrapper_1.APIWrapper {
58
58
  hasNextPage
59
59
  }
60
60
  activityReplies (id: $id, activityId: $activityId) {
61
- ${ActivityReply_1.ActivityReplySchema}
61
+ ${Activity_1.ActivityReplySchema}
62
62
  }
63
63
  }
64
64
  }
@@ -12,9 +12,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.LikesQuery = void 0;
13
13
  const APIWrapper_1 = require("../../../../base/APIWrapper");
14
14
  const RequestHandler_1 = require("../../../../base/RequestHandler");
15
- const BasicUser_1 = require("../../interfaces/BasicUser");
16
15
  const Type_1 = require("../../types/Type");
17
16
  const ValidateVariables_1 = require("../../../../base/ValidateVariables");
17
+ const Basic_1 = require("../../interfaces/Basic");
18
18
  /**
19
19
  * `LikesQuery` is a class representing a query for likes.
20
20
  * It includes a method to get likes.
@@ -58,7 +58,7 @@ class LikesQuery extends APIWrapper_1.APIWrapper {
58
58
  hasNextPage
59
59
  }
60
60
  likes (likeableId: $likeableId, type: $type) {
61
- ${BasicUser_1.BasicUserSchema}
61
+ ${Basic_1.BasicUserSchema}
62
62
  }
63
63
  }
64
64
  }
package/package.json CHANGED
@@ -1,53 +1,46 @@
1
- {
2
- "name": "anilink-api-wrapper",
3
- "version": "1.24.0",
4
- "description": "API wrapper for AniManga sites such as Anilist, MyAnimeList, Kitsu.",
5
- "main": "dist/AniLink.js",
6
- "scripts": {
7
- "test": "jest",
8
- "build": "rimraf dist && tsc",
9
- "generate-docs": "typedoc --entryPoints ./src --entryPointStrategy expand --out docs --plugin typedoc-theme-hierarchy --theme hierarchy && node add-ga.js",
10
- "prepublishOnly": "npm run build",
11
- "publish:both": "npm run build && npm run publish:npm && npm run publish:github",
12
- "publish:npm": "npm publish --registry https://registry.npmjs.org/",
13
- "publish:github": "npm publish"
14
- },
15
- "keywords": [
16
- "anilist",
17
- "myanimelist",
18
- "kitsu",
19
- "api",
20
- "wrapper",
21
- "anilist-api",
22
- "anilist-query",
23
- "anilist-mutation",
24
- "anilist-graphql"
25
- ],
26
- "author": "RLAlpha49",
27
- "license": "MIT",
28
- "repository": {
29
- "type": "git",
30
- "url": "git+https://github.com/RLAlpha49/AniLink.git"
31
- },
32
- "devDependencies": {
33
- "@babel/preset-typescript": "^7.24.1",
34
- "@types/jest": "^29.5.12",
35
- "babel-jest": "^29.7.0",
36
- "dotenv": "^16.4.5",
37
- "eslint": "^8.57.0",
38
- "eslint-config-standard-with-typescript": "^43.0.1",
39
- "eslint-plugin-import": "^2.29.1",
40
- "eslint-plugin-n": "^15.7.0",
41
- "eslint-plugin-promise": "^6.1.1",
42
- "jest": "^29.7.0",
43
- "rimraf": "^5.0.5",
44
- "standard": "^17.1.0",
45
- "ts-jest": "^29.1.2",
46
- "typedoc": "^0.25.13",
47
- "typedoc-theme-hierarchy": "^4.1.2",
48
- "typescript": "^5.4.5"
49
- },
50
- "dependencies": {
51
- "axios": "^1.6.8"
52
- }
1
+ {
2
+ "name": "anilink-api-wrapper",
3
+ "version": "1.25.0",
4
+ "description": "API wrapper for AniManga sites such as Anilist, MyAnimeList, Kitsu.",
5
+ "main": "dist/AniLink.js",
6
+ "scripts": {
7
+ "test": "jest",
8
+ "build": "rimraf dist && tsc",
9
+ "generate-docs": "typedoc --entryPoints ./src --entryPointStrategy expand --out docs --plugin typedoc-theme-hierarchy --theme hierarchy && node add-ga.js",
10
+ "prepublishOnly": "npm run build"
11
+ },
12
+ "keywords": [
13
+ "anilist",
14
+ "myanimelist",
15
+ "kitsu",
16
+ "api",
17
+ "wrapper",
18
+ "anilist-api",
19
+ "anilist-query",
20
+ "anilist-mutation",
21
+ "anilist-graphql"
22
+ ],
23
+ "author": "RLAlpha49",
24
+ "license": "MIT",
25
+ "devDependencies": {
26
+ "@babel/preset-typescript": "^7.24.1",
27
+ "@types/jest": "^29.5.12",
28
+ "babel-jest": "^29.7.0",
29
+ "dotenv": "^16.4.5",
30
+ "eslint": "^8.57.0",
31
+ "eslint-config-standard-with-typescript": "^43.0.1",
32
+ "eslint-plugin-import": "^2.29.1",
33
+ "eslint-plugin-n": "^15.7.0",
34
+ "eslint-plugin-promise": "^6.1.1",
35
+ "jest": "^29.7.0",
36
+ "rimraf": "^5.0.5",
37
+ "standard": "^17.1.0",
38
+ "ts-jest": "^29.1.2",
39
+ "typedoc": "^0.25.13",
40
+ "typedoc-theme-hierarchy": "^4.1.2",
41
+ "typescript": "^5.4.5"
42
+ },
43
+ "dependencies": {
44
+ "axios": "^1.6.8"
45
+ }
53
46
  }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ActivityNotificationSchema = void 0;
4
- const Activity_1 = require("./Activity");
5
- const BasicUser_1 = require("./BasicUser");
6
- /**
7
- * `ActivityNotificationSchema` is a constant representing the GraphQL schema for an activity notification query.
8
- * 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.
9
- */
10
- exports.ActivityNotificationSchema = `
11
- id
12
- userId
13
- type
14
- activityId
15
- context
16
- createdAt
17
- ${Activity_1.ActivitySchema}
18
- user {
19
- ${BasicUser_1.BasicUserSchema}
20
- }
21
- `;
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ActivityReplySchema = void 0;
4
- const BasicUser_1 = require("./BasicUser");
5
- /**
6
- * `ActivityReplySchema` is a constant representing the GraphQL schema for an activity reply query.
7
- * 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.
8
- */
9
- exports.ActivityReplySchema = `
10
- id
11
- userId
12
- activityId
13
- text (asHtml: $asHtml)
14
- likeCount
15
- isLiked
16
- createdAt
17
- user {
18
- ${BasicUser_1.BasicUserSchema}
19
- }
20
- likes {
21
- ${BasicUser_1.BasicUserSchema}
22
- }
23
- `;
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BasicCommentSchema = void 0;
4
- /**
5
- * `BasicCommentSchema` is a string representing the GraphQL schema for a basic comment.
6
- * It includes the id, user id, and thread id.
7
- */
8
- exports.BasicCommentSchema = `
9
- id
10
- userId
11
- threadId
12
- `;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BasicThreadSchema = void 0;
4
- /**
5
- * `BasicThreadSchema` is a string representing the GraphQL schema for a basic thread.
6
- * It includes the id, title, body, and site url.
7
- */
8
- exports.BasicThreadSchema = `
9
- id
10
- title
11
- body (asHtml: $asHtml)
12
- siteUrl
13
- `;
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- 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
- `;
@@ -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,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,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
- `;