aboutsummaryrefslogtreecommitdiff
path: root/lib/graphql/query.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/graphql/query.js')
-rw-r--r--lib/graphql/query.js14
1 files changed, 12 insertions, 2 deletions
diff --git a/lib/graphql/query.js b/lib/graphql/query.js
index a09c6ac..45d3d68 100644
--- a/lib/graphql/query.js
+++ b/lib/graphql/query.js
@@ -176,8 +176,14 @@ query {
}`;
const mediaInfoQuery = `
- query ($id: Int) {
- Media(id: $id) {
+ query ($id: Int, $type:MediaType) {
+ Media(id: $id, type:$type) {
+ mediaListEntry {
+ status
+ progress
+ progressVolumes
+ status
+ }
id
type
format
@@ -191,6 +197,10 @@ const mediaInfoQuery = `
large
color
}
+ startDate {
+ year
+ month
+ }
bannerImage
description
episodes