vega-frontend-monorepo/apps/token/client.graphql
botond a57d484496
Fix/1083: Update type generator (#1219)
* feat: add new generator with config

* feat: split off gql queries to separate files for the new generator

* fix: delete dummy schema

* feat: add generated queries with new codegen

* fix: regenerate from scratch and remove duplicates

* fix: libs and app gen folders

* fix: remove more duplicate queries

* fix: add generated files to be ignored by the formatter

* fix: format

* fix: generated imports

* fix: lint

* fix: accounts export

* fix: more imports

* fix: add type alias for new type system and regenerate

* fix: format

* fix: delete leftover file from merge
2022-09-06 10:03:10 +01:00

44 lines
1.0 KiB
GraphQL

extend type Delegation {
"The amount field formatted by the client"
amountFormatted: String!
}
extend type PartyStake {
"The currently available stake formatted by the client"
currentStakeAvailableFormatted: String!
}
extend type NodeData {
"The total staked field formatted by the client"
stakedTotalFormatted: String!
}
extend type Node {
"The total staked field formatted by the client"
stakedTotalFormatted: String!
"The pending staked field formatted by the client"
pendingStakeFormatted: String!
"The stakes by operator field formatted by the client"
stakedByOperatorFormatted: String!
"The stakes by delegates field formatted by the client"
stakedByDelegatesFormatted: String!
}
extend type Reward {
"The amount field formatted by the client"
amountFormatted: String!
}
extend type RewardPerAssetDetail {
"The total amount field formatted by the client"
totalAmountFormatted: String!
}
extend type Account {
"The balance field formatted by the client"
balanceFormatted: String!
}