Implement showing/updating/removing tracker bindings

This commit is contained in:
schroda
2024-03-17 18:42:48 +01:00
parent 66c57a542b
commit 5dbf1ce30c
10 changed files with 556 additions and 17 deletions

View File

@@ -56,6 +56,39 @@ export const TRACKER_BIND = gql`
lastChapterRead
totalChapters
score
displayScore
startDate
finishDate
remoteUrl
remoteId
tracker {
id
}
manga {
id
trackRecords {
totalCount
nodes {
id
}
}
}
}
}
}
`;
export const TRACKER_UPDATE_BIND = gql`
mutation TRACKER_UPDATE_BIND($input: UpdateTrackInput!) {
updateTrack(input: $input) {
trackRecord {
id
title
status
lastChapterRead
totalChapters
score
displayScore
startDate
finishDate
remoteUrl