Files
TheGame/packages/web/graphql/fragments.ts
dan13ram 965be2782a setup brightId verified labels (#361)
* setup basic brightId hook

* updated brightId logo

* polling brightId status & refreshing

* incorporated review comments
2021-03-02 17:50:13 +05:30

78 lines
1.1 KiB
TypeScript

import gql from 'fake-tag';
export const PlayerFragment = gql`
fragment PlayerFragment on player {
id
username
total_xp
rank
ethereum_address
availability_hours
timezone
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
collectiblesFavorites {
tokenId
address
}
}
daohausMemberships {
id
shares
moloch {
id
title
version
totalShares
}
}
brightid_status {
unique
contextIds
}
}
`;
export const GuildFragment = gql`
fragment GuildFragment on guild {
id
guildname
description
discord_invite_url
join_button_url
logo
moloch_address
name
type
website_url
}
`;