refactor(web): remove typescript
This commit is contained in:
18
packages/web/src/graphql/queries/get-role.ee.js
Normal file
18
packages/web/src/graphql/queries/get-role.ee.js
Normal file
@@ -0,0 +1,18 @@
|
||||
import { gql } from '@apollo/client';
|
||||
export const GET_ROLE = gql`
|
||||
query GetRole($id: String!) {
|
||||
getRole(id: $id) {
|
||||
id
|
||||
key
|
||||
name
|
||||
description
|
||||
isAdmin
|
||||
permissions {
|
||||
id
|
||||
action
|
||||
subject
|
||||
conditions
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
Reference in New Issue
Block a user