aboutsummaryrefslogtreecommitdiff
path: root/queries/GET_CURRENT_USER.js
diff options
context:
space:
mode:
authorFactiven <[email protected]>2023-04-11 23:23:29 +0700
committerFactiven <[email protected]>2023-04-11 23:23:29 +0700
commit1fcdd9f7d859b925bf92265f441655d5522e351c (patch)
tree86391522f6fcc70d105f7e796a9f91d132ee4a29 /queries/GET_CURRENT_USER.js
parentInitial commit (diff)
downloadmoopa-1fcdd9f7d859b925bf92265f441655d5522e351c.tar.xz
moopa-1fcdd9f7d859b925bf92265f441655d5522e351c.zip
initial commit
Diffstat (limited to 'queries/GET_CURRENT_USER.js')
-rw-r--r--queries/GET_CURRENT_USER.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/queries/GET_CURRENT_USER.js b/queries/GET_CURRENT_USER.js
new file mode 100644
index 0000000..50dc1a4
--- /dev/null
+++ b/queries/GET_CURRENT_USER.js
@@ -0,0 +1,15 @@
+import { gql } from "@apollo/client";
+
+export default gql`
+ query {
+ Viewer {
+ id
+ name
+ avatar {
+ large
+ medium
+ }
+ bannerImage
+ }
+ }
+`;