aboutsummaryrefslogtreecommitdiff
path: root/lib/graphql
diff options
context:
space:
mode:
authorFactiven <[email protected]>2023-10-22 19:43:17 +0700
committerGitHub <[email protected]>2023-10-22 19:43:17 +0700
commitf801f8f422954b884a6541321dba0669ee9d6173 (patch)
treee0d5e106b99e9b4e0a4c4bf7bb0464617db85b8d /lib/graphql
parentBump @babel/traverse from 7.22.8 to 7.23.2 (#90) (diff)
downloadmoopa-4.2.0.tar.xz
moopa-4.2.0.zip
Update v4.2.0 (#93)v4.2.0
Diffstat (limited to 'lib/graphql')
-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