Update dependencies and graphql schema
Some checks failed
timw4mail/HummingBirdAnimeClient/pipeline/head There was a failure building this commit

This commit is contained in:
Timothy Warren 2024-11-13 11:02:10 -05:00
parent ce1c19522f
commit 31fd412e6a
7 changed files with 4749 additions and 4169 deletions

View File

@ -33,7 +33,7 @@
"amphp/http-client": "^v5.0.0",
"aura/html": "^2.5.0",
"aura/router": "^3.3.0",
"aura/session": "^2.1.0",
"aura/session": "^4.0",
"aviat/banker": "^4.1.2",
"aviat/query": "^4.1.0",
"ext-dom": "*",
@ -55,7 +55,7 @@
"symfony/polyfill-mbstring": "*"
},
"require-dev": {
"phpstan/phpstan": "^1.2.0",
"phpstan/phpstan": "^2.0.1",
"phpunit/phpunit": "^10.0.0",
"roave/security-advisories": "dev-master",
"spatie/phpunit-snapshot-assertions": "^5.0.1"

View File

@ -105,7 +105,7 @@ final class Model
public function createListItem(array $data, string $type = 'anime'): ?Request
{
$mediaId = $this->getMediaId($data, $type);
if ($mediaId === NULL || $mediaId === "undefined")
if (empty($mediaId))
{
return NULL;
}

View File

@ -1,4 +1,4 @@
# This file was generated based on ".graphqlconfig". Do not edit manually.
# This file was generated. Do not edit manually.
schema {
query: Query
@ -4411,6 +4411,8 @@ enum ModRole {
ADMIN
"An anime data moderator"
ANIME_DATA
"A character data moderator"
CHARACTER_DATA
"A community moderator"
COMMUNITY
"An AniList developer"
@ -4433,6 +4435,8 @@ enum ModRole {
RETIRED
"A social media moderator"
SOCIAL_MEDIA
"A staff data moderator"
STAFF_DATA
}
"Notification type enum"

File diff suppressed because it is too large Load Diff

View File

View File

@ -4,7 +4,7 @@
mal_id: '28091'
chapters: { read: 94, total: '-' }
volumes: { read: '-', total: '-' }
manga: { empty: false, genres: { }, id: '21733', image: 'https://media.kitsu.io/manga/poster_images/21733/small.jpg', slug: tonari-no-seki-kun, title: 'Tonari no Seki-kun', titles: ['My Neighbour Seki', となりの関くん], type: Manga, url: 'https://kitsu.io/manga/tonari-no-seki-kun' }
manga: { empty: false, genres: { }, id: '21733', image: 'https://media.kitsu.io/manga/poster_images/21733/small.jpg', slug: tonari-no-seki-kun, title: 'Tonari no Seki-kun', titles: ['My Neighbour Seki', となりの関くん], type: Manga, url: 'https://kitsu.app/manga/tonari-no-seki-kun' }
reading_status: current
notes: ''
rereading: false
@ -16,7 +16,7 @@
mal_id: '60815'
chapters: { read: 87, total: '-' }
volumes: { read: '-', total: '-' }
manga: { empty: false, genres: { }, id: '25491', image: 'https://media.kitsu.io/manga/poster_images/25491/small.jpg', slug: joshikausei, title: Joshikausei, titles: [女子かう生], type: Manga, url: 'https://kitsu.io/manga/joshikausei' }
manga: { empty: false, genres: { }, id: '25491', image: 'https://media.kitsu.io/manga/poster_images/25491/small.jpg', slug: joshikausei, title: Joshikausei, titles: [女子かう生], type: Manga, url: 'https://kitsu.app/manga/joshikausei' }
reading_status: current
notes: 'Wordless, and it works.'
rereading: false

View File

@ -11,7 +11,7 @@ genres:
- 'Slice of Life'
links:
Anilist: 'https://anilist.co/anime/56769/'
Kitsu: 'https://kitsu.io/manga/bokura-wa-minna-kawaisou'
Kitsu: 'https://kitsu.app/manga/bokura-wa-minna-kawaisou'
MyAnimeList: 'https://myanimelist.net/manga/26769'
id: '20286'
manga_type: MANGA
@ -26,5 +26,5 @@ titles:
titles_more:
- 'The Kawai Complex Guide to Manors and Hostel'
- 僕らはみんな河合荘
url: 'https://kitsu.io/manga/bokura-wa-minna-kawaisou'
url: 'https://kitsu.app/manga/bokura-wa-minna-kawaisou'
volume_count: 10