add fiat balance
This commit is contained in:
71
app/javascript/__generated__/schema.graphql
generated
71
app/javascript/__generated__/schema.graphql
generated
@@ -1,5 +1,5 @@
|
||||
type Balance implements Node {
|
||||
amount: Float!
|
||||
amount: String!
|
||||
currency: Currency!
|
||||
id: ID!
|
||||
}
|
||||
@@ -44,6 +44,54 @@ type Currency implements Node {
|
||||
name: String!
|
||||
}
|
||||
|
||||
type FiatBalance implements Node {
|
||||
amountCents: Int!
|
||||
amountCurrency: String!
|
||||
createdAt: ISO8601DateTime!
|
||||
id: ID!
|
||||
updatedAt: ISO8601DateTime!
|
||||
}
|
||||
|
||||
"""
|
||||
The connection type for FiatBalance.
|
||||
"""
|
||||
type FiatBalanceConnection {
|
||||
"""
|
||||
A list of edges.
|
||||
"""
|
||||
edges: [FiatBalanceEdge]
|
||||
|
||||
"""
|
||||
A list of nodes.
|
||||
"""
|
||||
nodes: [FiatBalance]
|
||||
|
||||
"""
|
||||
Information to aid in pagination.
|
||||
"""
|
||||
pageInfo: PageInfo!
|
||||
}
|
||||
|
||||
"""
|
||||
An edge in a connection.
|
||||
"""
|
||||
type FiatBalanceEdge {
|
||||
"""
|
||||
A cursor for use in pagination.
|
||||
"""
|
||||
cursor: String!
|
||||
|
||||
"""
|
||||
The item at the end of the edge.
|
||||
"""
|
||||
node: FiatBalance
|
||||
}
|
||||
|
||||
"""
|
||||
An ISO 8601-encoded datetime
|
||||
"""
|
||||
scalar ISO8601DateTime
|
||||
|
||||
"""
|
||||
An object with an ID.
|
||||
"""
|
||||
@@ -102,6 +150,27 @@ type Query {
|
||||
last: Int
|
||||
): BalanceConnection!
|
||||
currentUser: User
|
||||
fiatBalances(
|
||||
"""
|
||||
Returns the elements in the list that come after the specified cursor.
|
||||
"""
|
||||
after: String
|
||||
|
||||
"""
|
||||
Returns the elements in the list that come before the specified cursor.
|
||||
"""
|
||||
before: String
|
||||
|
||||
"""
|
||||
Returns the first _n_ elements from the list.
|
||||
"""
|
||||
first: Int
|
||||
|
||||
"""
|
||||
Returns the last _n_ elements from the list.
|
||||
"""
|
||||
last: Int
|
||||
): FiatBalanceConnection!
|
||||
|
||||
"""
|
||||
Fetches an object given its ID.
|
||||
|
||||
Reference in New Issue
Block a user