Files
twenty/front/src/modules/users/queries/index.ts
Charles Bochet 36ace6cc03 Add ability to remove profile picture on Profile Settings (#538)
* Add ability to remove profile picture on Profile Settings

* Fix lint

* Fix according to review
2023-07-08 10:41:16 -07:00

37 lines
540 B
TypeScript

import { gql } from '@apollo/client';
export * from './update';
export const GET_CURRENT_USER = gql`
query GetCurrentUser {
currentUser {
id
email
displayName
firstName
lastName
avatarUrl
workspaceMember {
id
workspace {
id
domainName
displayName
logo
}
}
}
}
`;
export const GET_USERS = gql`
query GetUsers {
findManyUser {
id
email
displayName
firstName
lastName
}
}
`;