Skip to content

Commit

Permalink
Merge pull request #46 from CudoVentures/cudos-dev
Browse files Browse the repository at this point in the history
Update hasura metadata
  • Loading branch information
avalkov authored Jun 6, 2022
2 parents 0776c75 + 47953be commit fdbf872
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 deletions.
2 changes: 1 addition & 1 deletion src/graphql/gravity_messages_by_address.graphql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
query GetGravityMessagesByAddress($address: String, $limit: bigint = 50, $offset: bigint = 0) {
messagesByAddress: gravity_messages_by_address(args: {receiver: $address, limit: $limit, offset: $offset}) {
messagesByAddress: gravity_messages_by_address(args: {receiver_addr: $address, limit: $limit, offset: $offset}) {
transaction {
height
hash
Expand Down
20 changes: 2 additions & 18 deletions src/graphql/types.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3586,7 +3586,7 @@ export type Gov_Params_Variance_Fields = {
export type Gravity_Messages_By_Address_Args = {
limit?: Maybe<Scalars['bigint']>;
offset?: Maybe<Scalars['bigint']>;
receiver?: Maybe<Scalars['String']>;
receiver_addr?: Maybe<Scalars['String']>;
};

/** columns and relationships of "inflation" */
Expand Down Expand Up @@ -6269,8 +6269,6 @@ export type Query_Root = {
delegation: Array<Delegation>;
/** fetch aggregated fields from the table: "delegation" */
delegation_aggregate: Delegation_Aggregate;
/** fetch data from the table: "delegation" using primary key columns */
delegation_by_pk?: Maybe<Delegation>;
/** fetch data from the table: "distribution_params" */
distribution_params: Array<Distribution_Params>;
/** fetch aggregated fields from the table: "distribution_params" */
Expand Down Expand Up @@ -6854,12 +6852,6 @@ export type Query_RootDelegation_AggregateArgs = {
};


export type Query_RootDelegation_By_PkArgs = {
delegator_address: Scalars['String'];
validator_address: Scalars['String'];
};


export type Query_RootDistribution_ParamsArgs = {
distinct_on?: Maybe<Array<Distribution_Params_Select_Column>>;
limit?: Maybe<Scalars['Int']>;
Expand Down Expand Up @@ -8152,8 +8144,6 @@ export type Subscription_Root = {
delegation: Array<Delegation>;
/** fetch aggregated fields from the table: "delegation" */
delegation_aggregate: Delegation_Aggregate;
/** fetch data from the table: "delegation" using primary key columns */
delegation_by_pk?: Maybe<Delegation>;
/** fetch data from the table: "distribution_params" */
distribution_params: Array<Distribution_Params>;
/** fetch aggregated fields from the table: "distribution_params" */
Expand Down Expand Up @@ -8651,12 +8641,6 @@ export type Subscription_RootDelegation_AggregateArgs = {
};


export type Subscription_RootDelegation_By_PkArgs = {
delegator_address: Scalars['String'];
validator_address: Scalars['String'];
};


export type Subscription_RootDistribution_ParamsArgs = {
distinct_on?: Maybe<Array<Distribution_Params_Select_Column>>;
limit?: Maybe<Scalars['Int']>;
Expand Down Expand Up @@ -14194,7 +14178,7 @@ export type ChainIdQueryResult = Apollo.QueryResult<ChainIdQuery, ChainIdQueryVa
export const GetGravityMessagesByAddressDocument = gql`
query GetGravityMessagesByAddress($address: String, $limit: bigint = 50, $offset: bigint = 0) {
messagesByAddress: gravity_messages_by_address(
args: {receiver: $address, limit: $limit, offset: $offset}
args: {receiver_addr: $address, limit: $limit, offset: $offset}
) {
transaction {
height
Expand Down

0 comments on commit fdbf872

Please sign in to comment.