Files
TheGame/packages/web/graphql/fragments.ts
2020-10-16 11:04:22 -06:00

52 lines
760 B
TypeScript

import gql from 'fake-tag';
export const PlayerFragment = gql`
fragment PlayerFragment on Player {
id
username
totalXp
rank
ethereum_address
availability_hours
EnneagramType {
description
name
}
playerType {
description
id
imageUrl
title
}
Player_Skills {
Skill {
category
id
name
}
}
Accounts(where: { type: { _in: [TWITTER, GITHUB] } }) {
identifier
type
}
box_profile {
description
emoji
ethereumAddress
coverImageUrl
imageUrl
job
location
name
}
daohausMemberships {
id
moloch {
id
title
version
}
}
}
`;