mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-27 21:29:55 +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!]!
|
|
}
|