Skip to content

Commit

Permalink
chore: add graphql files
Browse files Browse the repository at this point in the history
  • Loading branch information
lawmicha committed Sep 5, 2024
1 parent 08c32f7 commit 18b491c
Show file tree
Hide file tree
Showing 4 changed files with 3,244 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Tests/IntegrationTestApp/graphql/CreateTodo.graphql
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
mutation CreateTodo($createTodoInput: CreateTodoInput!) {
createTodo(input: $createTodoInput) {
id
updatedAt
createdAt
content
owner
}
}
9 changes: 9 additions & 0 deletions Tests/IntegrationTestApp/graphql/SubscribeTodo.graphql
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
subscription onCreateSubscription {
onCreateTodo {
id
updatedAt
createdAt
content
owner
}
}
12 changes: 12 additions & 0 deletions Tests/IntegrationTestApp/graphql/TodoList.graphql
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
query MyQuery {
listTodos {
items {
id
updatedAt
createdAt
content
owner
}
nextToken
}
}
Loading

0 comments on commit 18b491c

Please sign in to comment.