vega-frontend-monorepo/apps/trading/lib/hooks/Teams.graphql
2024-02-02 20:07:06 +02:00

22 lines
291 B
GraphQL

fragment TeamsFields on Team {
teamId
referrer
name
teamUrl
avatarUrl
createdAt
createdAtEpoch
closed
totalMembers
}
query Teams($teamId: ID, $partyId: ID) {
teams(teamId: $teamId, partyId: $partyId) {
edges {
node {
...TeamsFields
}
}
}
}