aboutsummaryrefslogtreecommitdiff
path: root/lib/graphql/query.js
diff options
context:
space:
mode:
authorA i j a Z <[email protected]>2023-09-23 18:52:44 +0530
committerGitHub <[email protected]>2023-09-23 20:22:44 +0700
commit58eacce39550c0af4fdc9e13699b0015013b7ae6 (patch)
tree0edccbd22ca53e6a0e7da52d65c273081ab8826e /lib/graphql/query.js
parentUpdate v4.0.4 (diff)
downloadmoopa-58eacce39550c0af4fdc9e13699b0015013b7ae6.tar.xz
moopa-58eacce39550c0af4fdc9e13699b0015013b7ae6.zip
added characters card (#77)v4.0.5
* added characters card * Update components/anime/charactersCard.js Co-authored-by: Factiven <[email protected]> * Update pages/en/anime/[...id].js Co-authored-by: Factiven <[email protected]> * Update release.md * Update package.json --------- Co-authored-by: Factiven <[email protected]>
Diffstat (limited to 'lib/graphql/query.js')
-rw-r--r--lib/graphql/query.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/graphql/query.js b/lib/graphql/query.js
index 297edb2..a09c6ac 100644
--- a/lib/graphql/query.js
+++ b/lib/graphql/query.js
@@ -240,6 +240,22 @@ const mediaInfoQuery = `
}
}
}
+ characters {
+ edges {
+ role
+ node {
+ id
+ image {
+ large
+ medium
+ }
+ name {
+ full
+ userPreferred
+ }
+ }
+ }
+ }
}
}`;