remove todo model
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
<meta name="theme-color" content="#000000" />
|
<meta name="theme-color" content="#000000" />
|
||||||
<meta
|
<meta
|
||||||
name="description"
|
name="description"
|
||||||
content="Web site created using create-react-app"
|
content="Create a lunch run to have fun with your friends, eating lunch!"
|
||||||
/>
|
/>
|
||||||
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
|
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
|
||||||
<!--
|
<!--
|
||||||
|
|||||||
@@ -1,48 +1,6 @@
|
|||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// this is an auto generated file. This will be overwritten
|
// this is an auto generated file. This will be overwritten
|
||||||
|
|
||||||
export const createTodo = /* GraphQL */ `
|
|
||||||
mutation CreateTodo(
|
|
||||||
$input: CreateTodoInput!
|
|
||||||
$condition: ModelTodoConditionInput
|
|
||||||
) {
|
|
||||||
createTodo(input: $input, condition: $condition) {
|
|
||||||
id
|
|
||||||
name
|
|
||||||
description
|
|
||||||
createdAt
|
|
||||||
updatedAt
|
|
||||||
}
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
export const updateTodo = /* GraphQL */ `
|
|
||||||
mutation UpdateTodo(
|
|
||||||
$input: UpdateTodoInput!
|
|
||||||
$condition: ModelTodoConditionInput
|
|
||||||
) {
|
|
||||||
updateTodo(input: $input, condition: $condition) {
|
|
||||||
id
|
|
||||||
name
|
|
||||||
description
|
|
||||||
createdAt
|
|
||||||
updatedAt
|
|
||||||
}
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
export const deleteTodo = /* GraphQL */ `
|
|
||||||
mutation DeleteTodo(
|
|
||||||
$input: DeleteTodoInput!
|
|
||||||
$condition: ModelTodoConditionInput
|
|
||||||
) {
|
|
||||||
deleteTodo(input: $input, condition: $condition) {
|
|
||||||
id
|
|
||||||
name
|
|
||||||
description
|
|
||||||
createdAt
|
|
||||||
updatedAt
|
|
||||||
}
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
export const createRun = /* GraphQL */ `
|
export const createRun = /* GraphQL */ `
|
||||||
mutation CreateRun(
|
mutation CreateRun(
|
||||||
$input: CreateRunInput!
|
$input: CreateRunInput!
|
||||||
|
|||||||
@@ -1,35 +1,6 @@
|
|||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// this is an auto generated file. This will be overwritten
|
// this is an auto generated file. This will be overwritten
|
||||||
|
|
||||||
export const getTodo = /* GraphQL */ `
|
|
||||||
query GetTodo($id: ID!) {
|
|
||||||
getTodo(id: $id) {
|
|
||||||
id
|
|
||||||
name
|
|
||||||
description
|
|
||||||
createdAt
|
|
||||||
updatedAt
|
|
||||||
}
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
export const listTodos = /* GraphQL */ `
|
|
||||||
query ListTodos(
|
|
||||||
$filter: ModelTodoFilterInput
|
|
||||||
$limit: Int
|
|
||||||
$nextToken: String
|
|
||||||
) {
|
|
||||||
listTodos(filter: $filter, limit: $limit, nextToken: $nextToken) {
|
|
||||||
items {
|
|
||||||
id
|
|
||||||
name
|
|
||||||
description
|
|
||||||
createdAt
|
|
||||||
updatedAt
|
|
||||||
}
|
|
||||||
nextToken
|
|
||||||
}
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
export const getRun = /* GraphQL */ `
|
export const getRun = /* GraphQL */ `
|
||||||
query GetRun($id: ID!) {
|
query GetRun($id: ID!) {
|
||||||
getRun(id: $id) {
|
getRun(id: $id) {
|
||||||
|
|||||||
@@ -1,39 +1,6 @@
|
|||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// this is an auto generated file. This will be overwritten
|
// this is an auto generated file. This will be overwritten
|
||||||
|
|
||||||
export const onCreateTodo = /* GraphQL */ `
|
|
||||||
subscription OnCreateTodo {
|
|
||||||
onCreateTodo {
|
|
||||||
id
|
|
||||||
name
|
|
||||||
description
|
|
||||||
createdAt
|
|
||||||
updatedAt
|
|
||||||
}
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
export const onUpdateTodo = /* GraphQL */ `
|
|
||||||
subscription OnUpdateTodo {
|
|
||||||
onUpdateTodo {
|
|
||||||
id
|
|
||||||
name
|
|
||||||
description
|
|
||||||
createdAt
|
|
||||||
updatedAt
|
|
||||||
}
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
export const onDeleteTodo = /* GraphQL */ `
|
|
||||||
subscription OnDeleteTodo {
|
|
||||||
onDeleteTodo {
|
|
||||||
id
|
|
||||||
name
|
|
||||||
description
|
|
||||||
createdAt
|
|
||||||
updatedAt
|
|
||||||
}
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
export const onCreateRun = /* GraphQL */ `
|
export const onCreateRun = /* GraphQL */ `
|
||||||
subscription OnCreateRun {
|
subscription OnCreateRun {
|
||||||
onCreateRun {
|
onCreateRun {
|
||||||
|
|||||||
Reference in New Issue
Block a user