about summary refs log tree commit diff
path: root/assets/punktacja.gql
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-11-28 13:46:07 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-11-28 13:46:07 +0100
commit47df6b13e0e4d40573534c57bbcc03e880782de5 (patch)
tree71bc72d3b299f4823b12f587d23d9067958c5900 /assets/punktacja.gql
parentfe81f3d551f00d8a5ee5ee4c738e02ffc2d06ecb (diff)
parent73e5c7a20e5e8f6a54ab484ea2ce1aac16200b1d (diff)
downloadpuszcza-47df6b13e0e4d40573534c57bbcc03e880782de5.tar.gz
puszcza-47df6b13e0e4d40573534c57bbcc03e880782de5.zip
Merge remote-tracking branch 'origin/develop' into storybook
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!]
+}