From 8b1eff29585d149fc4f2f723234ed77df309f41b Mon Sep 17 00:00:00 2001 From: Dave Creaser Date: Wed, 26 Jun 2024 23:37:02 +0100 Subject: [PATCH] Fix drains --- amplify/backend/api/colonycdapp/schema.graphql | 2 +- src/graphql/generated.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/amplify/backend/api/colonycdapp/schema.graphql b/amplify/backend/api/colonycdapp/schema.graphql index 2c8f3cdc90..7bc7890d75 100644 --- a/amplify/backend/api/colonycdapp/schema.graphql +++ b/amplify/backend/api/colonycdapp/schema.graphql @@ -345,7 +345,7 @@ type BridgeXYZDrain { } type BridgeXYZQueryReturn { - drains: BridgeXYZDrain + drains: [BridgeXYZDrain] success: Boolean transactionFee: String } diff --git a/src/graphql/generated.ts b/src/graphql/generated.ts index 4069ed04d3..bf08fa4b51 100644 --- a/src/graphql/generated.ts +++ b/src/graphql/generated.ts @@ -125,7 +125,7 @@ export type BridgeXyzQueryInput = { export type BridgeXyzQueryReturn = { __typename?: 'BridgeXYZQueryReturn'; - drains?: Maybe; + drains?: Maybe>>; success?: Maybe; transactionFee?: Maybe; }; @@ -9151,7 +9151,7 @@ export type BridgeXyzQueryQueryVariables = Exact<{ }>; -export type BridgeXyzQueryQuery = { __typename?: 'Query', bridgeXYZQuery?: { __typename?: 'BridgeXYZQueryReturn', success?: boolean | null, transactionFee?: string | null, drains?: { __typename?: 'BridgeXYZDrain', id?: string | null } | null } | null }; +export type BridgeXyzQueryQuery = { __typename?: 'Query', bridgeXYZQuery?: { __typename?: 'BridgeXYZQueryReturn', success?: boolean | null, transactionFee?: string | null, drains?: Array<{ __typename?: 'BridgeXYZDrain', id?: string | null } | null> | null } | null }; export type GetFullColonyByAddressQueryVariables = Exact<{ address: Scalars['ID'];