-
Notifications
You must be signed in to change notification settings - Fork 0
/
resolvers-types.ts
7563 lines (7083 loc) · 304 KB
/
resolvers-types.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
import { GraphQLResolveInfo, GraphQLScalarType, GraphQLScalarTypeConfig } from 'graphql';
export type Maybe<T> = T | null;
export type InputMaybe<T> = Maybe<T>;
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
export type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
export type RequireFields<T, K extends keyof T> = Omit<T, K> & { [P in K]-?: NonNullable<T[P]> };
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
ID: string;
String: string;
Boolean: boolean;
Int: number;
Float: number;
CountryCode: any;
FuzzyDateInt: any;
Json: any;
};
/** Notification for when a activity is liked */
export type ActivityLikeNotification = {
__typename?: 'ActivityLikeNotification';
/** The liked activity */
activity?: Maybe<ActivityUnion>;
/** The id of the activity which was liked */
activityId: Scalars['Int'];
/** The notification context text */
context?: Maybe<Scalars['String']>;
/** The time the notification was created at */
createdAt?: Maybe<Scalars['Int']>;
/** The id of the Notification */
id: Scalars['Int'];
/** The type of notification */
type?: Maybe<NotificationType>;
/** The user who liked the activity */
user?: Maybe<User>;
/** The id of the user who liked to the activity */
userId: Scalars['Int'];
};
/** Notification for when authenticated user is @ mentioned in activity or reply */
export type ActivityMentionNotification = {
__typename?: 'ActivityMentionNotification';
/** The liked activity */
activity?: Maybe<ActivityUnion>;
/** The id of the activity where mentioned */
activityId: Scalars['Int'];
/** The notification context text */
context?: Maybe<Scalars['String']>;
/** The time the notification was created at */
createdAt?: Maybe<Scalars['Int']>;
/** The id of the Notification */
id: Scalars['Int'];
/** The type of notification */
type?: Maybe<NotificationType>;
/** The user who mentioned the authenticated user */
user?: Maybe<User>;
/** The id of the user who mentioned the authenticated user */
userId: Scalars['Int'];
};
/** Notification for when a user is send an activity message */
export type ActivityMessageNotification = {
__typename?: 'ActivityMessageNotification';
/** The id of the activity message */
activityId: Scalars['Int'];
/** The notification context text */
context?: Maybe<Scalars['String']>;
/** The time the notification was created at */
createdAt?: Maybe<Scalars['Int']>;
/** The id of the Notification */
id: Scalars['Int'];
/** The message activity */
message?: Maybe<MessageActivity>;
/** The type of notification */
type?: Maybe<NotificationType>;
/** The user who sent the message */
user?: Maybe<User>;
/** The if of the user who send the message */
userId: Scalars['Int'];
};
/** Replay to an activity item */
export type ActivityReply = {
__typename?: 'ActivityReply';
/** The id of the parent activity */
activityId?: Maybe<Scalars['Int']>;
/** The time the reply was created at */
createdAt: Scalars['Int'];
/** The id of the reply */
id: Scalars['Int'];
/** If the currently authenticated user liked the reply */
isLiked?: Maybe<Scalars['Boolean']>;
/** The amount of likes the reply has */
likeCount: Scalars['Int'];
/** The users who liked the reply */
likes?: Maybe<Array<Maybe<User>>>;
/** The reply text */
text?: Maybe<Scalars['String']>;
/** The user who created reply */
user?: Maybe<User>;
/** The id of the replies creator */
userId?: Maybe<Scalars['Int']>;
};
/** Replay to an activity item */
export type ActivityReplyTextArgs = {
asHtml?: InputMaybe<Scalars['Boolean']>;
};
/** Notification for when a activity reply is liked */
export type ActivityReplyLikeNotification = {
__typename?: 'ActivityReplyLikeNotification';
/** The liked activity */
activity?: Maybe<ActivityUnion>;
/** The id of the activity where the reply which was liked */
activityId: Scalars['Int'];
/** The notification context text */
context?: Maybe<Scalars['String']>;
/** The time the notification was created at */
createdAt?: Maybe<Scalars['Int']>;
/** The id of the Notification */
id: Scalars['Int'];
/** The type of notification */
type?: Maybe<NotificationType>;
/** The user who liked the activity reply */
user?: Maybe<User>;
/** The id of the user who liked to the activity reply */
userId: Scalars['Int'];
};
/** Notification for when a user replies to the authenticated users activity */
export type ActivityReplyNotification = {
__typename?: 'ActivityReplyNotification';
/** The liked activity */
activity?: Maybe<ActivityUnion>;
/** The id of the activity which was replied too */
activityId: Scalars['Int'];
/** The notification context text */
context?: Maybe<Scalars['String']>;
/** The time the notification was created at */
createdAt?: Maybe<Scalars['Int']>;
/** The id of the Notification */
id: Scalars['Int'];
/** The type of notification */
type?: Maybe<NotificationType>;
/** The user who replied to the activity */
user?: Maybe<User>;
/** The id of the user who replied to the activity */
userId: Scalars['Int'];
};
/** Notification for when a user replies to activity the authenticated user has replied to */
export type ActivityReplySubscribedNotification = {
__typename?: 'ActivityReplySubscribedNotification';
/** The liked activity */
activity?: Maybe<ActivityUnion>;
/** The id of the activity which was replied too */
activityId: Scalars['Int'];
/** The notification context text */
context?: Maybe<Scalars['String']>;
/** The time the notification was created at */
createdAt?: Maybe<Scalars['Int']>;
/** The id of the Notification */
id: Scalars['Int'];
/** The type of notification */
type?: Maybe<NotificationType>;
/** The user who replied to the activity */
user?: Maybe<User>;
/** The id of the user who replied to the activity */
userId: Scalars['Int'];
};
/** Activity sort enums */
export enum ActivitySort {
Id = 'ID',
IdDesc = 'ID_DESC',
Pinned = 'PINNED',
}
/** Activity type enum. */
export enum ActivityType {
/** A anime list update activity */
AnimeList = 'ANIME_LIST',
/** A manga list update activity */
MangaList = 'MANGA_LIST',
/** Anime & Manga list update, only used in query arguments */
MediaList = 'MEDIA_LIST',
/** A text message activity sent to another user */
Message = 'MESSAGE',
/** A text activity */
Text = 'TEXT',
}
/** Activity union type */
export type ActivityUnion = ListActivity | MessageActivity | TextActivity;
/** Notification for when an episode of anime airs */
export type AiringNotification = {
__typename?: 'AiringNotification';
/** The id of the aired anime */
animeId: Scalars['Int'];
/** The notification context text */
contexts?: Maybe<Array<Maybe<Scalars['String']>>>;
/** The time the notification was created at */
createdAt?: Maybe<Scalars['Int']>;
/** The episode number that just aired */
episode: Scalars['Int'];
/** The id of the Notification */
id: Scalars['Int'];
/** The associated media of the airing schedule */
media?: Maybe<Media>;
/** The type of notification */
type?: Maybe<NotificationType>;
};
/** Score & Watcher stats for airing anime by episode and mid-week */
export type AiringProgression = {
__typename?: 'AiringProgression';
/** The episode the stats were recorded at. .5 is the mid point between 2 episodes airing dates. */
episode?: Maybe<Scalars['Float']>;
/** The average score for the media */
score?: Maybe<Scalars['Float']>;
/** The amount of users watching the anime */
watching?: Maybe<Scalars['Int']>;
};
/** Media Airing Schedule. NOTE: We only aim to guarantee that FUTURE airing data is present and accurate. */
export type AiringSchedule = {
__typename?: 'AiringSchedule';
/** The time the episode airs at */
airingAt: Scalars['Int'];
/** The airing episode number */
episode: Scalars['Int'];
/** The id of the airing schedule item */
id: Scalars['Int'];
/** The associate media of the airing episode */
media?: Maybe<Media>;
/** The associate media id of the airing episode */
mediaId: Scalars['Int'];
/** Seconds until episode starts airing */
timeUntilAiring: Scalars['Int'];
};
export type AiringScheduleConnection = {
__typename?: 'AiringScheduleConnection';
edges?: Maybe<Array<Maybe<AiringScheduleEdge>>>;
nodes?: Maybe<Array<Maybe<AiringSchedule>>>;
/** The pagination information */
pageInfo?: Maybe<PageInfo>;
};
/** AiringSchedule connection edge */
export type AiringScheduleEdge = {
__typename?: 'AiringScheduleEdge';
/** The id of the connection */
id?: Maybe<Scalars['Int']>;
node?: Maybe<AiringSchedule>;
};
export type AiringScheduleInput = {
airingAt?: InputMaybe<Scalars['Int']>;
episode?: InputMaybe<Scalars['Int']>;
timeUntilAiring?: InputMaybe<Scalars['Int']>;
};
/** Airing schedule sort enums */
export enum AiringSort {
Episode = 'EPISODE',
EpisodeDesc = 'EPISODE_DESC',
Id = 'ID',
IdDesc = 'ID_DESC',
MediaId = 'MEDIA_ID',
MediaIdDesc = 'MEDIA_ID_DESC',
Time = 'TIME',
TimeDesc = 'TIME_DESC',
}
export type AniChartHighlightInput = {
highlight?: InputMaybe<Scalars['String']>;
mediaId?: InputMaybe<Scalars['Int']>;
};
export type AniChartUser = {
__typename?: 'AniChartUser';
highlights?: Maybe<Scalars['Json']>;
settings?: Maybe<Scalars['Json']>;
user?: Maybe<User>;
};
/** A character that features in an anime or manga */
export type Character = {
__typename?: 'Character';
/** The character's age. Note this is a string, not an int, it may contain further text and additional ages. */
age?: Maybe<Scalars['String']>;
/** The characters blood type */
bloodType?: Maybe<Scalars['String']>;
/** The character's birth date */
dateOfBirth?: Maybe<FuzzyDate>;
/** A general description of the character */
description?: Maybe<Scalars['String']>;
/** The amount of user's who have favourited the character */
favourites?: Maybe<Scalars['Int']>;
/** The character's gender. Usually Male, Female, or Non-binary but can be any string. */
gender?: Maybe<Scalars['String']>;
/** The id of the character */
id: Scalars['Int'];
/** Character images */
image?: Maybe<CharacterImage>;
/** If the character is marked as favourite by the currently authenticated user */
isFavourite: Scalars['Boolean'];
/** If the character is blocked from being added to favourites */
isFavouriteBlocked: Scalars['Boolean'];
/** Media that includes the character */
media?: Maybe<MediaConnection>;
/** Notes for site moderators */
modNotes?: Maybe<Scalars['String']>;
/** The names of the character */
name?: Maybe<CharacterName>;
/** The url for the character page on the AniList website */
siteUrl?: Maybe<Scalars['String']>;
/** @deprecated No data available */
updatedAt?: Maybe<Scalars['Int']>;
};
/** A character that features in an anime or manga */
export type CharacterDescriptionArgs = {
asHtml?: InputMaybe<Scalars['Boolean']>;
};
/** A character that features in an anime or manga */
export type CharacterMediaArgs = {
onList?: InputMaybe<Scalars['Boolean']>;
page?: InputMaybe<Scalars['Int']>;
perPage?: InputMaybe<Scalars['Int']>;
sort?: InputMaybe<Array<InputMaybe<MediaSort>>>;
type?: InputMaybe<MediaType>;
};
export type CharacterConnection = {
__typename?: 'CharacterConnection';
edges?: Maybe<Array<Maybe<CharacterEdge>>>;
nodes?: Maybe<Array<Maybe<Character>>>;
/** The pagination information */
pageInfo?: Maybe<PageInfo>;
};
/** Character connection edge */
export type CharacterEdge = {
__typename?: 'CharacterEdge';
/** The order the character should be displayed from the users favourites */
favouriteOrder?: Maybe<Scalars['Int']>;
/** The id of the connection */
id?: Maybe<Scalars['Int']>;
/** The media the character is in */
media?: Maybe<Array<Maybe<Media>>>;
/** Media specific character name */
name?: Maybe<Scalars['String']>;
node?: Maybe<Character>;
/** The characters role in the media */
role?: Maybe<CharacterRole>;
/** The voice actors of the character with role date */
voiceActorRoles?: Maybe<Array<Maybe<StaffRoleType>>>;
/** The voice actors of the character */
voiceActors?: Maybe<Array<Maybe<Staff>>>;
};
/** Character connection edge */
export type CharacterEdgeVoiceActorRolesArgs = {
language?: InputMaybe<StaffLanguage>;
sort?: InputMaybe<Array<InputMaybe<StaffSort>>>;
};
/** Character connection edge */
export type CharacterEdgeVoiceActorsArgs = {
language?: InputMaybe<StaffLanguage>;
sort?: InputMaybe<Array<InputMaybe<StaffSort>>>;
};
export type CharacterImage = {
__typename?: 'CharacterImage';
/** The character's image of media at its largest size */
large?: Maybe<Scalars['String']>;
/** The character's image of media at medium size */
medium?: Maybe<Scalars['String']>;
};
/** The names of the character */
export type CharacterName = {
__typename?: 'CharacterName';
/** Other names the character might be referred to as */
alternative?: Maybe<Array<Maybe<Scalars['String']>>>;
/** Other names the character might be referred to as but are spoilers */
alternativeSpoiler?: Maybe<Array<Maybe<Scalars['String']>>>;
/** The character's given name */
first?: Maybe<Scalars['String']>;
/** The character's first and last name */
full?: Maybe<Scalars['String']>;
/** The character's surname */
last?: Maybe<Scalars['String']>;
/** The character's middle name */
middle?: Maybe<Scalars['String']>;
/** The character's full name in their native language */
native?: Maybe<Scalars['String']>;
/** The currently authenticated users preferred name language. Default romaji for non-authenticated */
userPreferred?: Maybe<Scalars['String']>;
};
/** The names of the character */
export type CharacterNameInput = {
/** Other names the character might be referred by */
alternative?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
/** Other names the character might be referred to as but are spoilers */
alternativeSpoiler?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
/** The character's given name */
first?: InputMaybe<Scalars['String']>;
/** The character's surname */
last?: InputMaybe<Scalars['String']>;
/** The character's middle name */
middle?: InputMaybe<Scalars['String']>;
/** The character's full name in their native language */
native?: InputMaybe<Scalars['String']>;
};
/** The role the character plays in the media */
export enum CharacterRole {
/** A background character in the media */
Background = 'BACKGROUND',
/** A primary character role in the media */
Main = 'MAIN',
/** A supporting character role in the media */
Supporting = 'SUPPORTING',
}
/** Character sort enums */
export enum CharacterSort {
Favourites = 'FAVOURITES',
FavouritesDesc = 'FAVOURITES_DESC',
Id = 'ID',
IdDesc = 'ID_DESC',
/** Order manually decided by moderators */
Relevance = 'RELEVANCE',
Role = 'ROLE',
RoleDesc = 'ROLE_DESC',
SearchMatch = 'SEARCH_MATCH',
}
/** A submission for a character that features in an anime or manga */
export type CharacterSubmission = {
__typename?: 'CharacterSubmission';
/** Data Mod assigned to handle the submission */
assignee?: Maybe<User>;
/** Character that the submission is referencing */
character?: Maybe<Character>;
createdAt?: Maybe<Scalars['Int']>;
/** The id of the submission */
id: Scalars['Int'];
/** Whether the submission is locked */
locked?: Maybe<Scalars['Boolean']>;
/** Inner details of submission status */
notes?: Maybe<Scalars['String']>;
source?: Maybe<Scalars['String']>;
/** Status of the submission */
status?: Maybe<SubmissionStatus>;
/** The character submission changes */
submission?: Maybe<Character>;
/** Submitter for the submission */
submitter?: Maybe<User>;
};
export type CharacterSubmissionConnection = {
__typename?: 'CharacterSubmissionConnection';
edges?: Maybe<Array<Maybe<CharacterSubmissionEdge>>>;
nodes?: Maybe<Array<Maybe<CharacterSubmission>>>;
/** The pagination information */
pageInfo?: Maybe<PageInfo>;
};
/** CharacterSubmission connection edge */
export type CharacterSubmissionEdge = {
__typename?: 'CharacterSubmissionEdge';
node?: Maybe<CharacterSubmission>;
/** The characters role in the media */
role?: Maybe<CharacterRole>;
/** The submitted voice actors of the character */
submittedVoiceActors?: Maybe<Array<Maybe<StaffSubmission>>>;
/** The voice actors of the character */
voiceActors?: Maybe<Array<Maybe<Staff>>>;
};
/** Deleted data type */
export type Deleted = {
__typename?: 'Deleted';
/** If an item has been successfully deleted */
deleted?: Maybe<Scalars['Boolean']>;
};
export enum ExternalLinkMediaType {
Anime = 'ANIME',
Manga = 'MANGA',
Staff = 'STAFF',
}
export enum ExternalLinkType {
Info = 'INFO',
Social = 'SOCIAL',
Streaming = 'STREAMING',
}
/** User's favourite anime, manga, characters, staff & studios */
export type Favourites = {
__typename?: 'Favourites';
/** Favourite anime */
anime?: Maybe<MediaConnection>;
/** Favourite characters */
characters?: Maybe<CharacterConnection>;
/** Favourite manga */
manga?: Maybe<MediaConnection>;
/** Favourite staff */
staff?: Maybe<StaffConnection>;
/** Favourite studios */
studios?: Maybe<StudioConnection>;
};
/** User's favourite anime, manga, characters, staff & studios */
export type FavouritesAnimeArgs = {
page?: InputMaybe<Scalars['Int']>;
perPage?: InputMaybe<Scalars['Int']>;
};
/** User's favourite anime, manga, characters, staff & studios */
export type FavouritesCharactersArgs = {
page?: InputMaybe<Scalars['Int']>;
perPage?: InputMaybe<Scalars['Int']>;
};
/** User's favourite anime, manga, characters, staff & studios */
export type FavouritesMangaArgs = {
page?: InputMaybe<Scalars['Int']>;
perPage?: InputMaybe<Scalars['Int']>;
};
/** User's favourite anime, manga, characters, staff & studios */
export type FavouritesStaffArgs = {
page?: InputMaybe<Scalars['Int']>;
perPage?: InputMaybe<Scalars['Int']>;
};
/** User's favourite anime, manga, characters, staff & studios */
export type FavouritesStudiosArgs = {
page?: InputMaybe<Scalars['Int']>;
perPage?: InputMaybe<Scalars['Int']>;
};
/** Notification for when the authenticated user is followed by another user */
export type FollowingNotification = {
__typename?: 'FollowingNotification';
/** The notification context text */
context?: Maybe<Scalars['String']>;
/** The time the notification was created at */
createdAt?: Maybe<Scalars['Int']>;
/** The id of the Notification */
id: Scalars['Int'];
/** The type of notification */
type?: Maybe<NotificationType>;
/** The liked activity */
user?: Maybe<User>;
/** The id of the user who followed the authenticated user */
userId: Scalars['Int'];
};
/** User's format statistics */
export type FormatStats = {
__typename?: 'FormatStats';
amount?: Maybe<Scalars['Int']>;
format?: Maybe<MediaFormat>;
};
/** Date object that allows for incomplete date values (fuzzy) */
export type FuzzyDate = {
__typename?: 'FuzzyDate';
/** Numeric Day (24) */
day?: Maybe<Scalars['Int']>;
/** Numeric Month (3) */
month?: Maybe<Scalars['Int']>;
/** Numeric Year (2017) */
year?: Maybe<Scalars['Int']>;
};
/** Date object that allows for incomplete date values (fuzzy) */
export type FuzzyDateInput = {
/** Numeric Day (24) */
day?: InputMaybe<Scalars['Int']>;
/** Numeric Month (3) */
month?: InputMaybe<Scalars['Int']>;
/** Numeric Year (2017) */
year?: InputMaybe<Scalars['Int']>;
};
/** User's genre statistics */
export type GenreStats = {
__typename?: 'GenreStats';
amount?: Maybe<Scalars['Int']>;
genre?: Maybe<Scalars['String']>;
meanScore?: Maybe<Scalars['Int']>;
/** The amount of time in minutes the genre has been watched by the user */
timeWatched?: Maybe<Scalars['Int']>;
};
/** Page of data (Used for internal use only) */
export type InternalPage = {
__typename?: 'InternalPage';
activities?: Maybe<Array<Maybe<ActivityUnion>>>;
activityReplies?: Maybe<Array<Maybe<ActivityReply>>>;
airingSchedules?: Maybe<Array<Maybe<AiringSchedule>>>;
characterSubmissions?: Maybe<Array<Maybe<CharacterSubmission>>>;
characters?: Maybe<Array<Maybe<Character>>>;
followers?: Maybe<Array<Maybe<User>>>;
following?: Maybe<Array<Maybe<User>>>;
likes?: Maybe<Array<Maybe<User>>>;
media?: Maybe<Array<Maybe<Media>>>;
mediaList?: Maybe<Array<Maybe<MediaList>>>;
mediaSubmissions?: Maybe<Array<Maybe<MediaSubmission>>>;
mediaTrends?: Maybe<Array<Maybe<MediaTrend>>>;
modActions?: Maybe<Array<Maybe<ModAction>>>;
notifications?: Maybe<Array<Maybe<NotificationUnion>>>;
/** The pagination information */
pageInfo?: Maybe<PageInfo>;
recommendations?: Maybe<Array<Maybe<Recommendation>>>;
reports?: Maybe<Array<Maybe<Report>>>;
reviews?: Maybe<Array<Maybe<Review>>>;
revisionHistory?: Maybe<Array<Maybe<RevisionHistory>>>;
staff?: Maybe<Array<Maybe<Staff>>>;
staffSubmissions?: Maybe<Array<Maybe<StaffSubmission>>>;
studios?: Maybe<Array<Maybe<Studio>>>;
threadComments?: Maybe<Array<Maybe<ThreadComment>>>;
threads?: Maybe<Array<Maybe<Thread>>>;
userBlockSearch?: Maybe<Array<Maybe<User>>>;
users?: Maybe<Array<Maybe<User>>>;
};
/** Page of data (Used for internal use only) */
export type InternalPageActivitiesArgs = {
createdAt?: InputMaybe<Scalars['Int']>;
createdAt_greater?: InputMaybe<Scalars['Int']>;
createdAt_lesser?: InputMaybe<Scalars['Int']>;
hasReplies?: InputMaybe<Scalars['Boolean']>;
hasRepliesOrTypeText?: InputMaybe<Scalars['Boolean']>;
id?: InputMaybe<Scalars['Int']>;
id_in?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
id_not?: InputMaybe<Scalars['Int']>;
id_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
isFollowing?: InputMaybe<Scalars['Boolean']>;
mediaId?: InputMaybe<Scalars['Int']>;
mediaId_in?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
mediaId_not?: InputMaybe<Scalars['Int']>;
mediaId_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
messengerId?: InputMaybe<Scalars['Int']>;
messengerId_in?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
messengerId_not?: InputMaybe<Scalars['Int']>;
messengerId_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
sort?: InputMaybe<Array<InputMaybe<ActivitySort>>>;
type?: InputMaybe<ActivityType>;
type_in?: InputMaybe<Array<InputMaybe<ActivityType>>>;
type_not?: InputMaybe<ActivityType>;
type_not_in?: InputMaybe<Array<InputMaybe<ActivityType>>>;
userId?: InputMaybe<Scalars['Int']>;
userId_in?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
userId_not?: InputMaybe<Scalars['Int']>;
userId_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
};
/** Page of data (Used for internal use only) */
export type InternalPageActivityRepliesArgs = {
activityId?: InputMaybe<Scalars['Int']>;
id?: InputMaybe<Scalars['Int']>;
};
/** Page of data (Used for internal use only) */
export type InternalPageAiringSchedulesArgs = {
airingAt?: InputMaybe<Scalars['Int']>;
airingAt_greater?: InputMaybe<Scalars['Int']>;
airingAt_lesser?: InputMaybe<Scalars['Int']>;
episode?: InputMaybe<Scalars['Int']>;
episode_greater?: InputMaybe<Scalars['Int']>;
episode_in?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
episode_lesser?: InputMaybe<Scalars['Int']>;
episode_not?: InputMaybe<Scalars['Int']>;
episode_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
id?: InputMaybe<Scalars['Int']>;
id_in?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
id_not?: InputMaybe<Scalars['Int']>;
id_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
mediaId?: InputMaybe<Scalars['Int']>;
mediaId_in?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
mediaId_not?: InputMaybe<Scalars['Int']>;
mediaId_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
notYetAired?: InputMaybe<Scalars['Boolean']>;
sort?: InputMaybe<Array<InputMaybe<AiringSort>>>;
};
/** Page of data (Used for internal use only) */
export type InternalPageCharacterSubmissionsArgs = {
assigneeId?: InputMaybe<Scalars['Int']>;
characterId?: InputMaybe<Scalars['Int']>;
sort?: InputMaybe<Array<InputMaybe<SubmissionSort>>>;
status?: InputMaybe<SubmissionStatus>;
userId?: InputMaybe<Scalars['Int']>;
};
/** Page of data (Used for internal use only) */
export type InternalPageCharactersArgs = {
id?: InputMaybe<Scalars['Int']>;
id_in?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
id_not?: InputMaybe<Scalars['Int']>;
id_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
isBirthday?: InputMaybe<Scalars['Boolean']>;
search?: InputMaybe<Scalars['String']>;
sort?: InputMaybe<Array<InputMaybe<CharacterSort>>>;
};
/** Page of data (Used for internal use only) */
export type InternalPageFollowersArgs = {
sort?: InputMaybe<Array<InputMaybe<UserSort>>>;
userId: Scalars['Int'];
};
/** Page of data (Used for internal use only) */
export type InternalPageFollowingArgs = {
sort?: InputMaybe<Array<InputMaybe<UserSort>>>;
userId: Scalars['Int'];
};
/** Page of data (Used for internal use only) */
export type InternalPageLikesArgs = {
likeableId?: InputMaybe<Scalars['Int']>;
type?: InputMaybe<LikeableType>;
};
/** Page of data (Used for internal use only) */
export type InternalPageMediaArgs = {
averageScore?: InputMaybe<Scalars['Int']>;
averageScore_greater?: InputMaybe<Scalars['Int']>;
averageScore_lesser?: InputMaybe<Scalars['Int']>;
averageScore_not?: InputMaybe<Scalars['Int']>;
chapters?: InputMaybe<Scalars['Int']>;
chapters_greater?: InputMaybe<Scalars['Int']>;
chapters_lesser?: InputMaybe<Scalars['Int']>;
countryOfOrigin?: InputMaybe<Scalars['CountryCode']>;
duration?: InputMaybe<Scalars['Int']>;
duration_greater?: InputMaybe<Scalars['Int']>;
duration_lesser?: InputMaybe<Scalars['Int']>;
endDate?: InputMaybe<Scalars['FuzzyDateInt']>;
endDate_greater?: InputMaybe<Scalars['FuzzyDateInt']>;
endDate_lesser?: InputMaybe<Scalars['FuzzyDateInt']>;
endDate_like?: InputMaybe<Scalars['String']>;
episodes?: InputMaybe<Scalars['Int']>;
episodes_greater?: InputMaybe<Scalars['Int']>;
episodes_lesser?: InputMaybe<Scalars['Int']>;
format?: InputMaybe<MediaFormat>;
format_in?: InputMaybe<Array<InputMaybe<MediaFormat>>>;
format_not?: InputMaybe<MediaFormat>;
format_not_in?: InputMaybe<Array<InputMaybe<MediaFormat>>>;
genre?: InputMaybe<Scalars['String']>;
genre_in?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
genre_not_in?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
id?: InputMaybe<Scalars['Int']>;
idMal?: InputMaybe<Scalars['Int']>;
idMal_in?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
idMal_not?: InputMaybe<Scalars['Int']>;
idMal_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
id_in?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
id_not?: InputMaybe<Scalars['Int']>;
id_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
isAdult?: InputMaybe<Scalars['Boolean']>;
isLicensed?: InputMaybe<Scalars['Boolean']>;
licensedBy?: InputMaybe<Scalars['String']>;
licensedById?: InputMaybe<Scalars['Int']>;
licensedById_in?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
licensedBy_in?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
minimumTagRank?: InputMaybe<Scalars['Int']>;
onList?: InputMaybe<Scalars['Boolean']>;
popularity?: InputMaybe<Scalars['Int']>;
popularity_greater?: InputMaybe<Scalars['Int']>;
popularity_lesser?: InputMaybe<Scalars['Int']>;
popularity_not?: InputMaybe<Scalars['Int']>;
search?: InputMaybe<Scalars['String']>;
season?: InputMaybe<MediaSeason>;
seasonYear?: InputMaybe<Scalars['Int']>;
sort?: InputMaybe<Array<InputMaybe<MediaSort>>>;
source?: InputMaybe<MediaSource>;
source_in?: InputMaybe<Array<InputMaybe<MediaSource>>>;
startDate?: InputMaybe<Scalars['FuzzyDateInt']>;
startDate_greater?: InputMaybe<Scalars['FuzzyDateInt']>;
startDate_lesser?: InputMaybe<Scalars['FuzzyDateInt']>;
startDate_like?: InputMaybe<Scalars['String']>;
status?: InputMaybe<MediaStatus>;
status_in?: InputMaybe<Array<InputMaybe<MediaStatus>>>;
status_not?: InputMaybe<MediaStatus>;
status_not_in?: InputMaybe<Array<InputMaybe<MediaStatus>>>;
tag?: InputMaybe<Scalars['String']>;
tagCategory?: InputMaybe<Scalars['String']>;
tagCategory_in?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
tagCategory_not_in?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
tag_in?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
tag_not_in?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
type?: InputMaybe<MediaType>;
volumes?: InputMaybe<Scalars['Int']>;
volumes_greater?: InputMaybe<Scalars['Int']>;
volumes_lesser?: InputMaybe<Scalars['Int']>;
};
/** Page of data (Used for internal use only) */
export type InternalPageMediaListArgs = {
compareWithAuthList?: InputMaybe<Scalars['Boolean']>;
completedAt?: InputMaybe<Scalars['FuzzyDateInt']>;
completedAt_greater?: InputMaybe<Scalars['FuzzyDateInt']>;
completedAt_lesser?: InputMaybe<Scalars['FuzzyDateInt']>;
completedAt_like?: InputMaybe<Scalars['String']>;
id?: InputMaybe<Scalars['Int']>;
isFollowing?: InputMaybe<Scalars['Boolean']>;
mediaId?: InputMaybe<Scalars['Int']>;
mediaId_in?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
mediaId_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
notes?: InputMaybe<Scalars['String']>;
notes_like?: InputMaybe<Scalars['String']>;
sort?: InputMaybe<Array<InputMaybe<MediaListSort>>>;
startedAt?: InputMaybe<Scalars['FuzzyDateInt']>;
startedAt_greater?: InputMaybe<Scalars['FuzzyDateInt']>;
startedAt_lesser?: InputMaybe<Scalars['FuzzyDateInt']>;
startedAt_like?: InputMaybe<Scalars['String']>;
status?: InputMaybe<MediaListStatus>;
status_in?: InputMaybe<Array<InputMaybe<MediaListStatus>>>;
status_not?: InputMaybe<MediaListStatus>;
status_not_in?: InputMaybe<Array<InputMaybe<MediaListStatus>>>;
type?: InputMaybe<MediaType>;
userId?: InputMaybe<Scalars['Int']>;
userId_in?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
userName?: InputMaybe<Scalars['String']>;
};
/** Page of data (Used for internal use only) */
export type InternalPageMediaSubmissionsArgs = {
assigneeId?: InputMaybe<Scalars['Int']>;
mediaId?: InputMaybe<Scalars['Int']>;
sort?: InputMaybe<Array<InputMaybe<SubmissionSort>>>;
status?: InputMaybe<SubmissionStatus>;
submissionId?: InputMaybe<Scalars['Int']>;
type?: InputMaybe<MediaType>;
userId?: InputMaybe<Scalars['Int']>;
};
/** Page of data (Used for internal use only) */
export type InternalPageMediaTrendsArgs = {
averageScore?: InputMaybe<Scalars['Int']>;
averageScore_greater?: InputMaybe<Scalars['Int']>;
averageScore_lesser?: InputMaybe<Scalars['Int']>;
averageScore_not?: InputMaybe<Scalars['Int']>;
date?: InputMaybe<Scalars['Int']>;
date_greater?: InputMaybe<Scalars['Int']>;
date_lesser?: InputMaybe<Scalars['Int']>;
episode?: InputMaybe<Scalars['Int']>;
episode_greater?: InputMaybe<Scalars['Int']>;
episode_lesser?: InputMaybe<Scalars['Int']>;
episode_not?: InputMaybe<Scalars['Int']>;
mediaId?: InputMaybe<Scalars['Int']>;
mediaId_in?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
mediaId_not?: InputMaybe<Scalars['Int']>;
mediaId_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
popularity?: InputMaybe<Scalars['Int']>;
popularity_greater?: InputMaybe<Scalars['Int']>;
popularity_lesser?: InputMaybe<Scalars['Int']>;
popularity_not?: InputMaybe<Scalars['Int']>;
releasing?: InputMaybe<Scalars['Boolean']>;
sort?: InputMaybe<Array<InputMaybe<MediaTrendSort>>>;
trending?: InputMaybe<Scalars['Int']>;
trending_greater?: InputMaybe<Scalars['Int']>;
trending_lesser?: InputMaybe<Scalars['Int']>;
trending_not?: InputMaybe<Scalars['Int']>;
};
/** Page of data (Used for internal use only) */
export type InternalPageModActionsArgs = {
modId?: InputMaybe<Scalars['Int']>;
userId?: InputMaybe<Scalars['Int']>;
};
/** Page of data (Used for internal use only) */
export type InternalPageNotificationsArgs = {
resetNotificationCount?: InputMaybe<Scalars['Boolean']>;
type?: InputMaybe<NotificationType>;
type_in?: InputMaybe<Array<InputMaybe<NotificationType>>>;
};
/** Page of data (Used for internal use only) */
export type InternalPageRecommendationsArgs = {
id?: InputMaybe<Scalars['Int']>;
mediaId?: InputMaybe<Scalars['Int']>;
mediaRecommendationId?: InputMaybe<Scalars['Int']>;
onList?: InputMaybe<Scalars['Boolean']>;
rating?: InputMaybe<Scalars['Int']>;
rating_greater?: InputMaybe<Scalars['Int']>;
rating_lesser?: InputMaybe<Scalars['Int']>;
sort?: InputMaybe<Array<InputMaybe<RecommendationSort>>>;
userId?: InputMaybe<Scalars['Int']>;
};
/** Page of data (Used for internal use only) */
export type InternalPageReportsArgs = {
reportedId?: InputMaybe<Scalars['Int']>;
reporterId?: InputMaybe<Scalars['Int']>;
};
/** Page of data (Used for internal use only) */
export type InternalPageReviewsArgs = {
id?: InputMaybe<Scalars['Int']>;
mediaId?: InputMaybe<Scalars['Int']>;
mediaType?: InputMaybe<MediaType>;
sort?: InputMaybe<Array<InputMaybe<ReviewSort>>>;
userId?: InputMaybe<Scalars['Int']>;
};
/** Page of data (Used for internal use only) */
export type InternalPageRevisionHistoryArgs = {
characterId?: InputMaybe<Scalars['Int']>;
mediaId?: InputMaybe<Scalars['Int']>;
staffId?: InputMaybe<Scalars['Int']>;
studioId?: InputMaybe<Scalars['Int']>;
userId?: InputMaybe<Scalars['Int']>;
};
/** Page of data (Used for internal use only) */
export type InternalPageStaffArgs = {
id?: InputMaybe<Scalars['Int']>;
id_in?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
id_not?: InputMaybe<Scalars['Int']>;
id_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
isBirthday?: InputMaybe<Scalars['Boolean']>;
search?: InputMaybe<Scalars['String']>;
sort?: InputMaybe<Array<InputMaybe<StaffSort>>>;
};
/** Page of data (Used for internal use only) */
export type InternalPageStaffSubmissionsArgs = {
assigneeId?: InputMaybe<Scalars['Int']>;
sort?: InputMaybe<Array<InputMaybe<SubmissionSort>>>;
staffId?: InputMaybe<Scalars['Int']>;
status?: InputMaybe<SubmissionStatus>;
userId?: InputMaybe<Scalars['Int']>;
};
/** Page of data (Used for internal use only) */
export type InternalPageStudiosArgs = {
id?: InputMaybe<Scalars['Int']>;
id_in?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
id_not?: InputMaybe<Scalars['Int']>;
id_not_in?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
search?: InputMaybe<Scalars['String']>;
sort?: InputMaybe<Array<InputMaybe<StudioSort>>>;
};
/** Page of data (Used for internal use only) */
export type InternalPageThreadCommentsArgs = {
id?: InputMaybe<Scalars['Int']>;
sort?: InputMaybe<Array<InputMaybe<ThreadCommentSort>>>;
threadId?: InputMaybe<Scalars['Int']>;
userId?: InputMaybe<Scalars['Int']>;
};
/** Page of data (Used for internal use only) */
export type InternalPageThreadsArgs = {
categoryId?: InputMaybe<Scalars['Int']>;
id?: InputMaybe<Scalars['Int']>;
id_in?: InputMaybe<Array<InputMaybe<Scalars['Int']>>>;
mediaCategoryId?: InputMaybe<Scalars['Int']>;
replyUserId?: InputMaybe<Scalars['Int']>;
search?: InputMaybe<Scalars['String']>;
sort?: InputMaybe<Array<InputMaybe<ThreadSort>>>;
subscribed?: InputMaybe<Scalars['Boolean']>;
userId?: InputMaybe<Scalars['Int']>;
};
/** Page of data (Used for internal use only) */
export type InternalPageUserBlockSearchArgs = {
search?: InputMaybe<Scalars['String']>;
};
/** Page of data (Used for internal use only) */
export type InternalPageUsersArgs = {
id?: InputMaybe<Scalars['Int']>;
isModerator?: InputMaybe<Scalars['Boolean']>;
name?: InputMaybe<Scalars['String']>;
search?: InputMaybe<Scalars['String']>;
sort?: InputMaybe<Array<InputMaybe<UserSort>>>;
};
/** Types that can be liked */
export enum LikeableType {
Activity = 'ACTIVITY',