Version 5.1 - All the GraphQL #32

Closed
timw4mail wants to merge 1160 commits from develop into master
11 changed files with 50 additions and 33 deletions
Showing only changes of commit 44e1039067 - Show all commits

View File

@ -17,12 +17,12 @@ query ($slug: String!) {
width width
} }
} }
categories { categories(first: 100) {
nodes { nodes {
title title
} }
} }
characters { characters(first: 100) {
nodes { nodes {
character { character {
id id
@ -59,13 +59,13 @@ query ($slug: String!) {
season season
sfw sfw
slug slug
mappings { mappings(first: 10) {
nodes { nodes {
externalId externalId
externalSite externalSite
} }
} }
staff { staff(first: 100) {
nodes { nodes {
person { person {
id id
@ -101,7 +101,7 @@ query ($slug: String!) {
} }
} }
status status
streamingLinks { streamingLinks(first: 10) {
nodes { nodes {
dubs dubs
subs subs

View File

@ -17,12 +17,12 @@ query ($id: ID!) {
width width
} }
} }
categories { categories(first: 100) {
nodes { nodes {
title title
} }
} }
characters { characters(first: 100) {
nodes { nodes {
character { character {
id id
@ -59,13 +59,13 @@ query ($id: ID!) {
season season
sfw sfw
slug slug
mappings { mappings(first: 10) {
nodes { nodes {
externalId externalId
externalSite externalSite
} }
} }
staff { staff(first: 100) {
nodes { nodes {
person { person {
id id
@ -101,6 +101,18 @@ query ($id: ID!) {
} }
} }
status status
streamingLinks(first: 10) {
nodes {
dubs
subs
regions
streamer {
id
siteName
}
url
}
}
subtype subtype
titles { titles {
alternatives alternatives

View File

@ -13,7 +13,7 @@ query ($slug: String!) {
canonicalLocale canonicalLocale
localized localized
}, },
media { media(first: 100) {
nodes { nodes {
media { media {
id id
@ -40,7 +40,7 @@ query ($slug: String!) {
} }
type type
} }
voices { voices(first: 100) {
nodes { nodes {
id id
licensor { licensor {

View File

@ -1,7 +1,12 @@
query ($slug: String!, $type: media_type!, $status: [LibraryEntryStatus!]) { query (
$slug: String!,
$type: media_type!,
$status: [LibraryEntryStatus!],
$after: String
) {
findProfileBySlug(slug: $slug) { findProfileBySlug(slug: $slug) {
library { library {
all(mediaType: $type, status: $status) { all(first: 100, after: $after, mediaType: $type, status: $status) {
pageInfo { pageInfo {
endCursor endCursor
hasNextPage hasNextPage
@ -24,12 +29,12 @@ query ($slug: String!, $type: media_type!, $status: [LibraryEntryStatus!]) {
id id
ageRating ageRating
ageRatingGuide ageRatingGuide
categories { categories(first: 100) {
nodes { nodes {
title title
} }
} }
mappings { mappings(first: 10) {
nodes { nodes {
externalId externalId
externalSite externalSite
@ -60,7 +65,7 @@ query ($slug: String!, $type: media_type!, $status: [LibraryEntryStatus!]) {
} }
...on Anime { ...on Anime {
episodeCount episodeCount
streamingLinks { streamingLinks(first: 10) {
nodes { nodes {
dubs dubs
subs subs

View File

@ -1,7 +1,7 @@
query ($slug: String!, $type: media_type!, $status: [LibraryEntryStatus!]) { query ($slug: String!, $type: media_type!, $status: [LibraryEntryStatus!]) {
findProfileBySlug(slug: $slug) { findProfileBySlug(slug: $slug) {
library { library {
all(mediaType: $type, status: $status) { all(first: 1, mediaType: $type, status: $status) {
totalCount totalCount
} }
} }

View File

@ -14,12 +14,12 @@ query($id: ID!) {
id id
slug slug
ageRating ageRating
categories { categories(first: 100) {
nodes { nodes {
title title
} }
} }
mappings { mappings(first: 10) {
nodes { nodes {
externalId externalId
externalSite externalSite
@ -48,7 +48,7 @@ query($id: ID!) {
...on Anime { ...on Anime {
episodeCount episodeCount
episodeLength episodeLength
streamingLinks { streamingLinks(first: 10) {
nodes { nodes {
dubs dubs
subs subs

View File

@ -1,6 +1,6 @@
query ($slug: String!) { query ($slug: String!) {
findProfileBySlug(slug: $slug) { findProfileBySlug(slug: $slug) {
libraryEvents { libraryEvents(first: 100) {
nodes { nodes {
id id
changedData changedData

View File

@ -17,14 +17,14 @@ query ($slug: String!) {
width width
} }
} }
categories { categories(first: 100) {
nodes { nodes {
title title
} }
} }
chapterCount chapterCount
volumeCount volumeCount
characters { characters(first: 100) {
nodes { nodes {
character { character {
id id
@ -54,7 +54,7 @@ query ($slug: String!) {
description description
startDate startDate
endDate endDate
mappings { mappings(first: 10) {
nodes { nodes {
externalId externalId
externalSite externalSite
@ -76,7 +76,7 @@ query ($slug: String!) {
} }
sfw sfw
slug slug
staff { staff(first: 100) {
nodes { nodes {
person { person {
id id

View File

@ -17,14 +17,14 @@ query ($id: ID!) {
width width
} }
} }
categories { categories(first: 100) {
nodes { nodes {
title title
} }
} }
chapterCount chapterCount
volumeCount volumeCount
characters { characters(first: 100) {
nodes { nodes {
character { character {
id id
@ -54,7 +54,7 @@ query ($id: ID!) {
description description
startDate startDate
endDate endDate
mappings { mappings(first: 10) {
nodes { nodes {
externalId externalId
externalSite externalSite
@ -76,7 +76,7 @@ query ($id: ID!) {
} }
sfw sfw
slug slug
staff { staff(first: 100) {
nodes { nodes {
person { person {
id id

View File

@ -22,7 +22,7 @@ query ($slug: String!) {
canonical canonical
localized localized
} }
mediaStaff { mediaStaff(first: 100) {
nodes { nodes {
id id
role role
@ -52,7 +52,7 @@ query ($slug: String!) {
} }
} }
} }
voices { voices(first: 100) {
nodes { nodes {
locale locale
mediaCharacter { mediaCharacter {

View File

@ -24,13 +24,13 @@ query ($slug: String!) {
proMessage proMessage
proTier proTier
slug slug
siteLinks { siteLinks(first: 20) {
nodes { nodes {
id id
url url
} }
} }
favorites { favorites(first: 100) {
nodes { nodes {
id id
item { item {