diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-11-28 06:45:33 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-28 06:45:33 -0500 |
commit | e7264fa5a4b8da95f6764adc73d647e173c40271 (patch) | |
tree | 589ae2314291c7414942692db582669b1049f058 /assets/punktacja.gql | |
parent | e12c489d3ad6111c78c9cb4d4b8ab77b053c49ad (diff) | |
parent | be3b0d78facd014c5b197438e8c739b0b022d4d6 (diff) | |
download | puszcza-e7264fa5a4b8da95f6764adc73d647e173c40271.tar.gz puszcza-e7264fa5a4b8da95f6764adc73d647e173c40271.zip |
Merge pull request #7 from 19pdh/feature/ranking
Feature/ranking
Diffstat (limited to 'assets/punktacja.gql')
-rw-r--r-- | assets/punktacja.gql | 13 |
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!] +} |