dc88b2c301
* Set up GQL client package * Add client method to get user --------- Co-authored-by: neeraj <neeraj.rtly@gmail.com>
14 lines
147 B
TypeScript
14 lines
147 B
TypeScript
import { gql } from '@apollo/client';
|
|
|
|
export const getUser = gql`
|
|
query {
|
|
user {
|
|
id
|
|
name
|
|
email
|
|
createdAt
|
|
updatedAt
|
|
}
|
|
}
|
|
`;
|