summaryrefslogtreecommitdiffstats
path: root/stepped-solutions/15/src/schema.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'stepped-solutions/15/src/schema.graphql')
-rw-r--r--stepped-solutions/15/src/schema.graphql9
1 files changed, 9 insertions, 0 deletions
diff --git a/stepped-solutions/15/src/schema.graphql b/stepped-solutions/15/src/schema.graphql
new file mode 100644
index 0000000..ddab542
--- /dev/null
+++ b/stepped-solutions/15/src/schema.graphql
@@ -0,0 +1,9 @@
+# import * from './generated/prisma.graphql'
+
+type Mutation {
+ createItem(title: String, description: String, price: Int, image: String, largeImage: String): Item!
+}
+
+type Query {
+ items: [Item]!
+}