mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-27 05:44:17 +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!]!
|
|
}
|