about summary refs log tree commit diff
path: root/assets/punktacja.gql
diff options
context:
space:
mode:
Diffstat (limited to 'assets/punktacja.gql')
-rw-r--r--assets/punktacja.gql13
1 files changed, 13 insertions, 0 deletions
diff --git a/assets/punktacja.gql b/assets/punktacja.gql
new file mode 100644
index 0000000..3a6a9fa
--- /dev/null
+++ b/assets/punktacja.gql
@@ -0,0 +1,13 @@
+type Troop {
+  name: String
+}
+
+type Points {
+  troop: Troop
+  points: Int
+}
+
+type Query {
+  getPoints: [Points!]
+  getTroopByName(name: String!): [Troop!]
+}