refactor(web): remove typescript
This commit is contained in:
23
packages/web/src/graphql/queries/get-users.js
Normal file
23
packages/web/src/graphql/queries/get-users.js
Normal file
@@ -0,0 +1,23 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
Reference in New Issue
Block a user