* Add ability to remove profile picture on Profile Settings * Fix lint * Fix according to review
37 lines
540 B
TypeScript
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
|
|
}
|
|
}
|
|
`;
|