mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-02-09 05:25:15 -05:00
* Create "me" view for logged in user * Implement user auth on web * Fix type errors * Setup static regeneration * Disable next export * Address PR feedback
18 lines
261 B
TypeScript
18 lines
261 B
TypeScript
import gql from 'fake-tag';
|
|
|
|
import { PlayerFragment } from './fragments';
|
|
|
|
export const GetMeQuery = gql`
|
|
query GetMe {
|
|
me {
|
|
id
|
|
ethereum_address
|
|
username
|
|
player {
|
|
...PlayerFragment
|
|
}
|
|
}
|
|
}
|
|
${PlayerFragment}
|
|
`;
|