mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-26 13:21:42 +03:00
10 lines
150 B
GraphQL
10 lines
150 B
GraphQL
type Todo {
|
|
description: String!
|
|
completed: Boolean!
|
|
}
|
|
|
|
type Query {
|
|
allTodos: [Todo!]!
|
|
todosByCompletedFlag(completed: Boolean!): [Todo!]!
|
|
}
|