Compare commits

..

No commits in common. "66fca53dfcfa88654838f9114bd3398b70f10dea" and "78755f401980ecae846ed295935018c52dee2d26" have entirely different histories.

13 changed files with 2059 additions and 2076 deletions

View File

@ -36,7 +36,7 @@ use function Aviat\AnimeClient\getLocalImg;
</tr>
<?php endif ?>
<?php if (isset($data['total_length'], $data['episode_count']) && $data['total_length'] > 0): ?>
<?php if (isset($data['total_length'], $data['episode_count']) && ! empty($data['total_length'])): ?>
<tr>
<td>Total Length</td>
<td><?= Kitsu::friendlyTime($data['total_length']) ?></td>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

File diff suppressed because it is too large Load Diff