Merge remote-tracking branch 'origin/develop'
All checks were successful
timw4mail/HummingBirdAnimeClient/pipeline/head This commit looks good
All checks were successful
timw4mail/HummingBirdAnimeClient/pipeline/head This commit looks good
This commit is contained in:
commit
7b2b711133
@ -2,7 +2,6 @@
|
|||||||
# Flesh out a library item with data - most commonly used for syncing lists
|
# Flesh out a library item with data - most commonly used for syncing lists
|
||||||
# between APIs
|
# between APIs
|
||||||
mutation (
|
mutation (
|
||||||
$userId: ID!
|
|
||||||
$id: ID!,
|
$id: ID!,
|
||||||
$mediaType: MediaTypeEnum!,
|
$mediaType: MediaTypeEnum!,
|
||||||
$status: LibraryEntryStatusEnum!,
|
$status: LibraryEntryStatusEnum!,
|
||||||
@ -15,7 +14,6 @@ mutation (
|
|||||||
) {
|
) {
|
||||||
libraryEntry {
|
libraryEntry {
|
||||||
create(input: {
|
create(input: {
|
||||||
userId: $userId
|
|
||||||
mediaId: $id
|
mediaId: $id
|
||||||
mediaType: $mediaType
|
mediaType: $mediaType
|
||||||
status: $status
|
status: $status
|
||||||
|
@ -2,14 +2,12 @@
|
|||||||
# This is the more common use case, when adding an anime or manga to
|
# This is the more common use case, when adding an anime or manga to
|
||||||
# the user's library.
|
# the user's library.
|
||||||
mutation (
|
mutation (
|
||||||
$userId: ID!
|
|
||||||
$id: ID!,
|
$id: ID!,
|
||||||
$type: MediaTypeEnum!,
|
$type: MediaTypeEnum!,
|
||||||
$status: LibraryEntryStatusEnum!,
|
$status: LibraryEntryStatusEnum!,
|
||||||
) {
|
) {
|
||||||
libraryEntry {
|
libraryEntry {
|
||||||
create(input: {
|
create(input: {
|
||||||
userId: $userId
|
|
||||||
mediaId: $id
|
mediaId: $id
|
||||||
mediaType: $type
|
mediaType: $type
|
||||||
status: $status
|
status: $status
|
||||||
|
@ -17,6 +17,13 @@ query ($type: MediaTypeEnum!) {
|
|||||||
width
|
width
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
myLibraryEntry {
|
||||||
|
progress
|
||||||
|
status
|
||||||
|
private
|
||||||
|
notes
|
||||||
|
rating
|
||||||
|
}
|
||||||
categories(first: 100) {
|
categories(first: 100) {
|
||||||
nodes {
|
nodes {
|
||||||
title
|
title
|
||||||
|
@ -75,7 +75,7 @@ final class SyncLists extends BaseCommand {
|
|||||||
{
|
{
|
||||||
$this->init();
|
$this->init();
|
||||||
|
|
||||||
foreach ([MediaType::ANIME, MediaType::MANGA] as $type)
|
foreach ([MediaType::MANGA, MediaType::ANIME] as $type)
|
||||||
{
|
{
|
||||||
// Main Sync flow
|
// Main Sync flow
|
||||||
$this->fetchCount($type);
|
$this->fetchCount($type);
|
||||||
|
Loading…
Reference in New Issue
Block a user