Merge pull request #1734 from automatisch/AUT-845

refactor: rewrite useUsers with RQ
This commit is contained in:
Ali BARIN
2024-03-20 16:08:07 +01:00
committed by GitHub
12 changed files with 49 additions and 244 deletions

View File

@@ -1,23 +0,0 @@
import { gql } from '@apollo/client';
export const GET_USERS = gql`
query GetUsers($limit: Int!, $offset: Int!) {
getUsers(limit: $limit, offset: $offset) {
pageInfo {
currentPage
totalPages
}
totalCount
edges {
node {
id
fullName
email
role {
id
name
}
}
}
}
}
`;