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