mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-04-24 03:00:09 -04:00
* Added tz column * Updated hasura permissions on new table * Added new dependencies for working with timezones * Added SetupTimeZone component * Bumped spacetime-informal to use their types * Extracted timezone computation into helper, added useMemo hook * Re-added spacetime types
12 lines
270 B
TypeScript
12 lines
270 B
TypeScript
import gql from 'fake-tag';
|
|
|
|
export const UpdateProfileMutation = gql`
|
|
mutation UpdateProfile($playerId: uuid!, $input: Player_set_input!) {
|
|
update_Player_by_pk(pk_columns: { id: $playerId }, _set: $input) {
|
|
id
|
|
availability_hours
|
|
tz
|
|
}
|
|
}
|
|
`;
|