[FA-24] Reading lists
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
mutation AddToReadingList($input: AddToReadingListInput!) {
|
||||
addToReadingList(input: $input) {
|
||||
readingListPayload {
|
||||
success
|
||||
readingList {
|
||||
id
|
||||
name
|
||||
itemCount
|
||||
}
|
||||
}
|
||||
errors {
|
||||
... on Error {
|
||||
message
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
mutation CreateReadingList($input: CreateReadingListInput!) {
|
||||
createReadingList(input: $input) {
|
||||
readingListPayload {
|
||||
success
|
||||
readingList {
|
||||
id
|
||||
name
|
||||
description
|
||||
itemCount
|
||||
createdTime
|
||||
}
|
||||
}
|
||||
errors {
|
||||
... on Error {
|
||||
message
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
mutation DeleteReadingList($input: DeleteReadingListInput!) {
|
||||
deleteReadingList(input: $input) {
|
||||
success
|
||||
errors {
|
||||
... on Error {
|
||||
message
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
mutation RemoveFromReadingList($input: RemoveFromReadingListInput!) {
|
||||
removeFromReadingList(input: $input) {
|
||||
readingListPayload {
|
||||
success
|
||||
readingList {
|
||||
id
|
||||
name
|
||||
itemCount
|
||||
}
|
||||
}
|
||||
errors {
|
||||
... on Error {
|
||||
message
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
mutation ReorderReadingListItem($input: ReorderReadingListItemInput!) {
|
||||
reorderReadingListItem(input: $input) {
|
||||
readingListPayload {
|
||||
success
|
||||
}
|
||||
errors {
|
||||
... on Error {
|
||||
message
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
mutation UpdateReadingList($input: UpdateReadingListInput!) {
|
||||
updateReadingList(input: $input) {
|
||||
readingListPayload {
|
||||
success
|
||||
readingList {
|
||||
id
|
||||
name
|
||||
description
|
||||
itemCount
|
||||
createdTime
|
||||
}
|
||||
}
|
||||
errors {
|
||||
... on Error {
|
||||
message
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user