mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-04-24 03:00:09 -04:00
* Hasura and base models * Added role public SELECT permissions * Added role player UPDATE permissions * basic backend api * Added SELECT permissions for player * Update backend to typescript * init app-react * Add apollo * graphql-codegen not working well... * Added web3 to web app * connecting frontend with web3 * Auth webhook verifies eth signature * Update frontend to fetch player_id
8 lines
97 B
TypeScript
8 lines
97 B
TypeScript
import gql from 'graphql-tag';
|
|
|
|
export const Player = gql`
|
|
fragment Player on Player {
|
|
id
|
|
}
|
|
`;
|