Rearranged the files, adjusted the code slightly

This commit is contained in:
2020-09-19 09:03:55 +10:00
parent 1addf15a39
commit 6b7e55c05f
9 changed files with 48 additions and 73 deletions

18
test-server/schema.js Normal file
View File

@@ -0,0 +1,18 @@
module.exports = `
type Pokemon {
String name
Integer height
Integer weight
Stats stats
Pokemon forms
}
type Stats {
Integer hp
Integer attack
Integer defense
Integer specialAttack
Integer specialDefense
Integer speed
}
`;