const userByIdGQL = `
  query UserById($id: ID!) {
    userById(id: $id) {
      id
      active
      email
      role
      dateCreated
      dateUpdated
    }
  }
`;
const paginateUsersGQL = `
  query PaginateUsers($page: Int!, $size: Int!) {
    paginateUsers(page: $page, size: $size) {
      totalItems
      perPage
      currentPage
      lastPage
      items {
        id
        email
        role
        active
        dateCreated
        dateUpdated
      }
    }
  }
`;

export { paginateUsersGQL as p, userByIdGQL as u };
