21 lines
307 B
JavaScript
21 lines
307 B
JavaScript
import { gql } from '@apollo/client';
|
|
export const GET_CURRENT_USER = gql`
|
|
query GetCurrentUser {
|
|
getCurrentUser {
|
|
id
|
|
fullName
|
|
email
|
|
role {
|
|
id
|
|
isAdmin
|
|
}
|
|
permissions {
|
|
id
|
|
action
|
|
subject
|
|
conditions
|
|
}
|
|
}
|
|
}
|
|
`;
|