Update frontend dependencies, and update Kitsu graphql schema

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