Reduce requested manga data in queries

This commit is contained in:
schroda
2024-07-08 18:02:50 +02:00
parent 4b30e9bc48
commit 3d21266f92
47 changed files with 759 additions and 471 deletions

View File

@@ -55,15 +55,13 @@ export const TRACKER_BIND = gql`
bindTrack(input: { mangaId: $mangaId, remoteId: $remoteId, trackerId: $trackerId }) {
trackRecord {
...TRACK_RECORD_BIND_FIELDS
tracker {
id
}
manga {
id
trackRecords {
totalCount
nodes {
id
trackerId
}
}
}
@@ -83,6 +81,7 @@ export const TRACKER_UNBIND = gql`
totalCount
nodes {
id
trackerId
}
}
}
@@ -104,6 +103,7 @@ export const TRACKER_UPDATE_BIND = gql`
totalCount
nodes {
id
trackerId
}
}
}