Merge remote-tracking branch 'origin/develop'

This commit is contained in:
Timothy Warren 2021-10-14 22:10:26 -04:00
commit b7e4f6cd67
2 changed files with 610 additions and 777 deletions

File diff suppressed because it is too large Load Diff

View File

@ -49,7 +49,7 @@ interface Episodic {
first: Int, first: Int,
"Returns the last _n_ elements from the list." "Returns the last _n_ elements from the list."
last: Int, last: Int,
number: [Int!] sort: [EpisodeSortOption]
): EpisodeConnection! ): EpisodeConnection!
"The total length (in seconds) of the entire series" "The total length (in seconds) of the entire series"
totalLength: Int totalLength: Int
@ -84,7 +84,8 @@ interface Media {
"Returns the first _n_ elements from the list." "Returns the first _n_ elements from the list."
first: Int, first: Int,
"Returns the last _n_ elements from the list." "Returns the last _n_ elements from the list."
last: Int last: Int,
sort: [MediaCategorySortOption]
): CategoryConnection! ): CategoryConnection!
"The characters who starred in this media" "The characters who starred in this media"
characters( characters(
@ -95,7 +96,8 @@ interface Media {
"Returns the first _n_ elements from the list." "Returns the first _n_ elements from the list."
first: Int, first: Int,
"Returns the last _n_ elements from the list." "Returns the last _n_ elements from the list."
last: Int last: Int,
sort: [MediaCharacterSortOption]
): MediaCharacterConnection! ): MediaCharacterConnection!
"A brief (mostly spoiler free) summary or description of the media." "A brief (mostly spoiler free) summary or description of the media."
description(locales: [String!]): Map! description(locales: [String!]): Map!
@ -115,6 +117,8 @@ interface Media {
"Returns the last _n_ elements from the list." "Returns the last _n_ elements from the list."
last: Int last: Int
): MappingConnection! ): MappingConnection!
"Your library entry related to this media."
myLibraryEntry: LibraryEntry
"A list of your wiki submissions for this media" "A list of your wiki submissions for this media"
myWikiSubmissions( myWikiSubmissions(
"Returns the elements in the list that come after the specified cursor." "Returns the elements in the list that come after the specified cursor."
@ -164,7 +168,8 @@ interface Media {
"Returns the first _n_ elements from the list." "Returns the first _n_ elements from the list."
first: Int, first: Int,
"Returns the last _n_ elements from the list." "Returns the last _n_ elements from the list."
last: Int last: Int,
sort: [MediaReactionSortOption]
): MediaReactionConnection! ): MediaReactionConnection!
"Whether the media is Safe-for-Work" "Whether the media is Safe-for-Work"
sfw: Boolean! sfw: Boolean!
@ -241,6 +246,8 @@ type Account implements WithTimestamps {
createdAt: ISO8601DateTime! createdAt: ISO8601DateTime!
"The email addresses associated with this account" "The email addresses associated with this account"
email: [String!]! email: [String!]!
"The features this user has access to"
enabledFeatures: [String!]!
"Facebook account linked to the account" "Facebook account linked to the account"
facebookId: String facebookId: String
id: ID! id: ID!
@ -269,14 +276,14 @@ type Account implements WithTimestamps {
type AccountMutations { type AccountMutations {
"Send a password reset email" "Send a password reset email"
resetPassword( sendPasswordReset(
"The email address to reset the password for" "The email address to reset the password for"
email: String! email: String!
): AccountResetPasswordPayload ): AccountSendPasswordResetPayload
} }
"Autogenerated return type of AccountResetPassword" "Autogenerated return type of AccountSendPasswordReset"
type AccountResetPasswordPayload { type AccountSendPasswordResetPayload {
email: String! email: String!
} }
@ -298,7 +305,8 @@ type Anime implements Episodic & Media & WithTimestamps {
"Returns the first _n_ elements from the list." "Returns the first _n_ elements from the list."
first: Int, first: Int,
"Returns the last _n_ elements from the list." "Returns the last _n_ elements from the list."
last: Int last: Int,
sort: [MediaCategorySortOption]
): CategoryConnection! ): CategoryConnection!
"The characters who starred in this media" "The characters who starred in this media"
characters( characters(
@ -309,7 +317,8 @@ type Anime implements Episodic & Media & WithTimestamps {
"Returns the first _n_ elements from the list." "Returns the first _n_ elements from the list."
first: Int, first: Int,
"Returns the last _n_ elements from the list." "Returns the last _n_ elements from the list."
last: Int last: Int,
sort: [MediaCharacterSortOption]
): MediaCharacterConnection! ): MediaCharacterConnection!
createdAt: ISO8601DateTime! createdAt: ISO8601DateTime!
"A brief (mostly spoiler free) summary or description of the media." "A brief (mostly spoiler free) summary or description of the media."
@ -330,7 +339,7 @@ type Anime implements Episodic & Media & WithTimestamps {
first: Int, first: Int,
"Returns the last _n_ elements from the list." "Returns the last _n_ elements from the list."
last: Int, last: Int,
number: [Int!] sort: [EpisodeSortOption]
): EpisodeConnection! ): EpisodeConnection!
"The number of users with this in their favorites" "The number of users with this in their favorites"
favoritesCount: Int favoritesCount: Int
@ -346,6 +355,8 @@ type Anime implements Episodic & Media & WithTimestamps {
"Returns the last _n_ elements from the list." "Returns the last _n_ elements from the list."
last: Int last: Int
): MappingConnection! ): MappingConnection!
"Your library entry related to this media."
myLibraryEntry: LibraryEntry
"A list of your wiki submissions for this media" "A list of your wiki submissions for this media"
myWikiSubmissions( myWikiSubmissions(
"Returns the elements in the list that come after the specified cursor." "Returns the elements in the list that come after the specified cursor."
@ -395,7 +406,8 @@ type Anime implements Episodic & Media & WithTimestamps {
"Returns the first _n_ elements from the list." "Returns the first _n_ elements from the list."
first: Int, first: Int,
"Returns the last _n_ elements from the list." "Returns the last _n_ elements from the list."
last: Int last: Int,
sort: [MediaReactionSortOption]
): MediaReactionConnection! ): MediaReactionConnection!
"The season this was released in" "The season this was released in"
season: ReleaseSeasonEnum season: ReleaseSeasonEnum
@ -551,6 +563,8 @@ type Category implements WithTimestamps {
isNsfw: Boolean! isNsfw: Boolean!
"The parent category. Each category can have one parent." "The parent category. Each category can have one parent."
parent: Category parent: Category
"The top-level ancestor category"
root: Category
"The URL-friendly identifier of this Category." "The URL-friendly identifier of this Category."
slug: String! slug: String!
"The name of the category." "The name of the category."
@ -1270,7 +1284,8 @@ type Manga implements Media & WithTimestamps {
"Returns the first _n_ elements from the list." "Returns the first _n_ elements from the list."
first: Int, first: Int,
"Returns the last _n_ elements from the list." "Returns the last _n_ elements from the list."
last: Int last: Int,
sort: [MediaCategorySortOption]
): CategoryConnection! ): CategoryConnection!
"The number of chapters in this manga." "The number of chapters in this manga."
chapterCount: Int chapterCount: Int
@ -1285,7 +1300,8 @@ type Manga implements Media & WithTimestamps {
"Returns the first _n_ elements from the list." "Returns the first _n_ elements from the list."
first: Int, first: Int,
"Returns the last _n_ elements from the list." "Returns the last _n_ elements from the list."
last: Int last: Int,
sort: [CharacterVoiceSortOption]
): ChapterConnection ): ChapterConnection
"The characters who starred in this media" "The characters who starred in this media"
characters( characters(
@ -1296,7 +1312,8 @@ type Manga implements Media & WithTimestamps {
"Returns the first _n_ elements from the list." "Returns the first _n_ elements from the list."
first: Int, first: Int,
"Returns the last _n_ elements from the list." "Returns the last _n_ elements from the list."
last: Int last: Int,
sort: [MediaCharacterSortOption]
): MediaCharacterConnection! ): MediaCharacterConnection!
createdAt: ISO8601DateTime! createdAt: ISO8601DateTime!
"A brief (mostly spoiler free) summary or description of the media." "A brief (mostly spoiler free) summary or description of the media."
@ -1317,6 +1334,8 @@ type Manga implements Media & WithTimestamps {
"Returns the last _n_ elements from the list." "Returns the last _n_ elements from the list."
last: Int last: Int
): MappingConnection! ): MappingConnection!
"Your library entry related to this media."
myLibraryEntry: LibraryEntry
"A list of your wiki submissions for this media" "A list of your wiki submissions for this media"
myWikiSubmissions( myWikiSubmissions(
"Returns the elements in the list that come after the specified cursor." "Returns the elements in the list that come after the specified cursor."
@ -1366,7 +1385,8 @@ type Manga implements Media & WithTimestamps {
"Returns the first _n_ elements from the list." "Returns the first _n_ elements from the list."
first: Int, first: Int,
"Returns the last _n_ elements from the list." "Returns the last _n_ elements from the list."
last: Int last: Int,
sort: [MediaReactionSortOption]
): MediaReactionConnection! ): MediaReactionConnection!
"Whether the media is Safe-for-Work" "Whether the media is Safe-for-Work"
sfw: Boolean! sfw: Boolean!
@ -1538,7 +1558,8 @@ type MediaCharacter implements WithTimestamps {
first: Int, first: Int,
"Returns the last _n_ elements from the list." "Returns the last _n_ elements from the list."
last: Int, last: Int,
locale: [String!] locale: [String!],
sort: [CharacterVoiceSortOption]
): CharacterVoiceConnection ): CharacterVoiceConnection
} }
@ -1621,7 +1642,7 @@ type MediaReaction implements WithTimestamps {
id: ID! id: ID!
"The library entry related to this reaction." "The library entry related to this reaction."
libraryEntry: LibraryEntry! libraryEntry: LibraryEntry!
"Users who liked this reaction." "Users that have liked this reaction"
likes( likes(
"Returns the elements in the list that come after the specified cursor." "Returns the elements in the list that come after the specified cursor."
after: String, after: String,
@ -1630,7 +1651,8 @@ type MediaReaction implements WithTimestamps {
"Returns the first _n_ elements from the list." "Returns the first _n_ elements from the list."
first: Int, first: Int,
"Returns the last _n_ elements from the list." "Returns the last _n_ elements from the list."
last: Int last: Int,
sort: [MediaReactionVoteSortOption]
): ProfileConnection! ): ProfileConnection!
"The media related to this reaction." "The media related to this reaction."
media: Media! media: Media!
@ -2001,7 +2023,8 @@ type Profile implements WithTimestamps {
"Returns the first _n_ elements from the list." "Returns the first _n_ elements from the list."
first: Int, first: Int,
"Returns the last _n_ elements from the list." "Returns the last _n_ elements from the list."
last: Int last: Int,
sort: [MediaReactionSortOption]
): MediaReactionConnection! ): MediaReactionConnection!
"A non-unique publicly visible name for the profile. Minimum of 3 characters and any valid Unicode character" "A non-unique publicly visible name for the profile. Minimum of 3 characters and any valid Unicode character"
name: String! name: String!
@ -2830,6 +2853,11 @@ enum CharacterRoleEnum {
RECURRING RECURRING
} }
enum CharacterVoiceSortEnum {
CREATED_AT
UPDATED_AT
}
enum CommentLikeSortEnum { enum CommentLikeSortEnum {
CREATED_AT CREATED_AT
FOLLOWING FOLLOWING
@ -2841,6 +2869,12 @@ enum CommentSortEnum {
LIKES_COUNT LIKES_COUNT
} }
enum EpisodeSortEnum {
CREATED_AT
NUMBER
UPDATED_AT
}
enum FollowSortEnum { enum FollowSortEnum {
CREATED_AT CREATED_AT
FOLLOWING_FOLLOWED FOLLOWING_FOLLOWED
@ -2949,6 +2983,17 @@ enum MappingItemEnum {
PRODUCER PRODUCER
} }
enum MediaCategorySortEnum {
ANCESTRY
CREATED_AT
}
enum MediaCharacterSortEnum {
CREATED_AT
ROLE
UPDATED_AT
}
enum MediaProductionRoleEnum { enum MediaProductionRoleEnum {
LICENSOR LICENSOR
PRODUCER PRODUCER
@ -2956,6 +3001,17 @@ enum MediaProductionRoleEnum {
STUDIO STUDIO
} }
enum MediaReactionSortEnum {
CREATED_AT
UPDATED_AT
UP_VOTES_COUNT
}
enum MediaReactionVoteSortEnum {
CREATED_AT
FOLLOWING
}
"これはアニメやマンガです" "これはアニメやマンガです"
enum MediaTypeEnum { enum MediaTypeEnum {
ANIME ANIME
@ -3109,6 +3165,11 @@ input AnimeUpdateInput {
youtubeTrailerVideoId: String youtubeTrailerVideoId: String
} }
input CharacterVoiceSortOption {
direction: SortDirection!
on: CharacterVoiceSortEnum!
}
input CommentLikeSortOption { input CommentLikeSortOption {
direction: SortDirection! direction: SortDirection!
on: CommentLikeSortEnum! on: CommentLikeSortEnum!
@ -3130,6 +3191,11 @@ input EpisodeCreateInput {
titles: TitlesListInput! titles: TitlesListInput!
} }
input EpisodeSortOption {
direction: SortDirection!
on: EpisodeSortEnum!
}
input EpisodeUpdateInput { input EpisodeUpdateInput {
description: Map description: Map
id: ID! id: ID!
@ -3166,7 +3232,6 @@ input LibraryEntryCreateInput {
reconsuming: Boolean = false reconsuming: Boolean = false
startedAt: ISO8601DateTime startedAt: ISO8601DateTime
status: LibraryEntryStatusEnum! status: LibraryEntryStatusEnum!
userId: ID!
volumesOwned: Int = 0 volumesOwned: Int = 0
} }
@ -3239,6 +3304,26 @@ input MappingUpdateInput {
itemType: MappingItemEnum itemType: MappingItemEnum
} }
input MediaCategorySortOption {
direction: SortDirection!
on: MediaCategorySortEnum!
}
input MediaCharacterSortOption {
direction: SortDirection!
on: MediaCharacterSortEnum!
}
input MediaReactionSortOption {
direction: SortDirection!
on: MediaReactionSortEnum!
}
input MediaReactionVoteSortOption {
direction: SortDirection!
on: MediaReactionVoteSortEnum!
}
input PostLikeSortOption { input PostLikeSortOption {
direction: SortDirection! direction: SortDirection!
on: PostLikeSortEnum! on: PostLikeSortEnum!