Update dependencies and graphql schema

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", "amphp/http-client": "^v5.0.0",
"aura/html": "^2.5.0", "aura/html": "^2.5.0",
"aura/router": "^3.3.0", "aura/router": "^3.3.0",
"aura/session": "^2.1.0", "aura/session": "^4.0",
"aviat/banker": "^4.1.2", "aviat/banker": "^4.1.2",
"aviat/query": "^4.1.0", "aviat/query": "^4.1.0",
"ext-dom": "*", "ext-dom": "*",
@ -55,7 +55,7 @@
"symfony/polyfill-mbstring": "*" "symfony/polyfill-mbstring": "*"
}, },
"require-dev": { "require-dev": {
"phpstan/phpstan": "^1.2.0", "phpstan/phpstan": "^2.0.1",
"phpunit/phpunit": "^10.0.0", "phpunit/phpunit": "^10.0.0",
"roave/security-advisories": "dev-master", "roave/security-advisories": "dev-master",
"spatie/phpunit-snapshot-assertions": "^5.0.1" "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 public function createListItem(array $data, string $type = 'anime'): ?Request
{ {
$mediaId = $this->getMediaId($data, $type); $mediaId = $this->getMediaId($data, $type);
if ($mediaId === NULL || $mediaId === "undefined") if (empty($mediaId))
{ {
return NULL; return NULL;
} }

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

View File

@ -4,7 +4,7 @@
mal_id: '28091' mal_id: '28091'
chapters: { read: 94, total: '-' } chapters: { read: 94, total: '-' }
volumes: { read: '-', 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 reading_status: current
notes: '' notes: ''
rereading: false rereading: false
@ -16,7 +16,7 @@
mal_id: '60815' mal_id: '60815'
chapters: { read: 87, total: '-' } chapters: { read: 87, total: '-' }
volumes: { read: '-', 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 reading_status: current
notes: 'Wordless, and it works.' notes: 'Wordless, and it works.'
rereading: false rereading: false

View File

@ -11,7 +11,7 @@ genres:
- 'Slice of Life' - 'Slice of Life'
links: links:
Anilist: 'https://anilist.co/anime/56769/' 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' MyAnimeList: 'https://myanimelist.net/manga/26769'
id: '20286' id: '20286'
manga_type: MANGA manga_type: MANGA
@ -26,5 +26,5 @@ titles:
titles_more: titles_more:
- 'The Kawai Complex Guide to Manors and Hostel' - '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 volume_count: 10