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