export const getTodo = `query GetTodo($id: ID!) {
  getTodo(id: $id) {
    id
    name
    createdAt
    completed
    todoList {
      id
      createdAt
      todos {
        nextToken
      }
    }
    userId
  }
}
` ; export const listTodos = `query ListTodos(
  $filter: ModelTodoFilterInput
  $limit: Int
  $nextToken: String
) {
  listTodos(filter: $filter, limit: $limit, nextToken: $nextToken) {
    items {
      id
      name
      createdAt
      completed
      todoList {
        id
        createdAt
      }
      userId
    }
    nextToken
  }
}
` ; export const getTodoList = `query GetTodoList($id: ID!) {
  getTodoList(id: $id) {
    id
    createdAt
    todos {
      items {
        id
        name
        createdAt
        completed
        userId
      }
      nextToken
    }
  }
}
` ; export const listTodoLists = `query ListTodoLists(
  $filter: ModelTodoListFilterInput
  $limit: Int
  $nextToken: String
) {
  listTodoLists(filter: $filter, limit: $limit, nextToken: $nextToken) {
    items {
      id
      createdAt
      todos {
        nextToken
      }
    }
    nextToken
  }
}
` ;