aboutsummaryrefslogtreecommitdiff
path: root/src/schema.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/schema.js')
-rw-r--r--src/schema.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/schema.js b/src/schema.js
index f5714ba..6509671 100644
--- a/src/schema.js
+++ b/src/schema.js
@@ -5,10 +5,15 @@ module.exports = gql`
language: String!
image: String!
}
+
+ type Me {
+ ip: String!
+ }
type Query {
random: Random
languages: [String]
language(language: String!): [String]
+ me: Me
}
`;