From d6066e90ff3db05090271d87f649522f2b41b610 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Fri, 29 Jul 2022 21:30:56 +0900 Subject: [PATCH] Imported a template. --- grafbase/schema.graphql | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 grafbase/schema.graphql diff --git a/grafbase/schema.graphql b/grafbase/schema.graphql new file mode 100644 index 0000000..627ff1a --- /dev/null +++ b/grafbase/schema.graphql @@ -0,0 +1,12 @@ +type TodoList @model { + id: ID! + title: String! + todos: [Todo] +} + +type Todo @model { + id: ID! + list: TodoList + title: String! + complete: Boolean! +}