mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-18 09:01:39 +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!]!
|
|
}
|