mirror of
https://github.com/kou029w/grafbase-kou029w-todo-example.git
synced 2025-01-18 18:28:00 +00:00
Imported a template.
This commit is contained in:
commit
d6066e90ff
1 changed files with 12 additions and 0 deletions
12
grafbase/schema.graphql
Normal file
12
grafbase/schema.graphql
Normal file
|
@ -0,0 +1,12 @@
|
|||
type TodoList @model {
|
||||
id: ID!
|
||||
title: String!
|
||||
todos: [Todo]
|
||||
}
|
||||
|
||||
type Todo @model {
|
||||
id: ID!
|
||||
list: TodoList
|
||||
title: String!
|
||||
complete: Boolean!
|
||||
}
|
Loading…
Add table
Reference in a new issue