All in GraphQL #34

Merged
timw4mail merged 87 commits from develop into master 2020-12-01 10:07:49 -05:00
5 changed files with 5 additions and 5 deletions
Showing only changes of commit 4d4b7126e2 - Show all commits

View File

@ -50,6 +50,7 @@ query ($slug: String!) {
startCursor startCursor
} }
} }
description
startDate startDate
endDate endDate
episodeCount episodeCount
@ -107,7 +108,6 @@ query ($slug: String!) {
} }
} }
subtype subtype
description
titles { titles {
alternatives alternatives
canonical canonical

View File

@ -50,6 +50,7 @@ query ($id: ID!) {
startCursor startCursor
} }
} }
description
startDate startDate
endDate endDate
episodeCount episodeCount
@ -95,7 +96,6 @@ query ($id: ID!) {
} }
status status
subtype subtype
synopsis
titles { titles {
alternatives alternatives
canonical canonical

View File

@ -51,6 +51,7 @@ query ($slug: String!) {
startCursor startCursor
} }
} }
description
startDate startDate
endDate endDate
posterImage { posterImage {
@ -106,7 +107,6 @@ query ($slug: String!) {
} }
status status
subtype subtype
synopsis
titles { titles {
canonical canonical
canonicalLocale canonicalLocale

View File

@ -51,6 +51,7 @@ query ($id: ID!) {
startCursor startCursor
} }
} }
description
startDate startDate
endDate endDate
posterImage { posterImage {
@ -106,7 +107,6 @@ query ($id: ID!) {
} }
status status
subtype subtype
synopsis
titles { titles {
canonical canonical
canonicalLocale canonicalLocale

View File

@ -112,7 +112,7 @@ final class MangaTransformer extends AbstractTransformer {
'id' => $base['id'], 'id' => $base['id'],
'staff' => $staff, 'staff' => $staff,
'status' => Kitsu::getPublishingStatus($base['status'], $base['startDate'], $base['endDate']), 'status' => Kitsu::getPublishingStatus($base['status'], $base['startDate'], $base['endDate']),
'synopsis' => $base['synopsis']['en'], 'synopsis' => $base['description']['en'],
'title' => $title, 'title' => $title,
'titles' => $titles, 'titles' => $titles,
'titles_more' => $titles_more, 'titles_more' => $titles_more,