From 465f04f1baa70d35ba67d13b1072431f5533f707 Mon Sep 17 00:00:00 2001 From: Saihajpreet Singh Date: Fri, 23 Feb 2024 12:33:30 -0500 Subject: [PATCH] remove unused --- packages/indexer-common/src/indexer-management/client.ts | 1 - .../indexer-common/src/indexer-management/schema.graphql | 1 - .../resolvers/Query/disputesClosedAfter.ts | 6 ------ 3 files changed, 8 deletions(-) delete mode 100644 packages/indexer-common/src/schema/indexer-management/resolvers/Query/disputesClosedAfter.ts diff --git a/packages/indexer-common/src/indexer-management/client.ts b/packages/indexer-common/src/indexer-management/client.ts index 2b839bfd8..c3ea4c9a7 100644 --- a/packages/indexer-common/src/indexer-management/client.ts +++ b/packages/indexer-common/src/indexer-management/client.ts @@ -379,7 +379,6 @@ const SCHEMA_SDL = gql` minClosedEpoch: Int! protocolNetwork: String ): [POIDispute]! - disputesClosedAfter(closedAfterBlock: BigInt!, protocolNetwork: String): [POIDispute]! allocations(filter: AllocationFilter!): [Allocation!]! diff --git a/packages/indexer-common/src/indexer-management/schema.graphql b/packages/indexer-common/src/indexer-management/schema.graphql index 9fa32dae9..5db2dfeb2 100644 --- a/packages/indexer-common/src/indexer-management/schema.graphql +++ b/packages/indexer-common/src/indexer-management/schema.graphql @@ -354,7 +354,6 @@ type Query { dispute(identifier: POIDisputeIdentifier!): POIDispute disputes(status: String!, minClosedEpoch: Int!, protocolNetwork: String): [POIDispute]! - disputesClosedAfter(closedAfterBlock: BigInt!, protocolNetwork: String): [POIDispute]! allocations(filter: AllocationFilter!): [Allocation!]! diff --git a/packages/indexer-common/src/schema/indexer-management/resolvers/Query/disputesClosedAfter.ts b/packages/indexer-common/src/schema/indexer-management/resolvers/Query/disputesClosedAfter.ts deleted file mode 100644 index 160943cd5..000000000 --- a/packages/indexer-common/src/schema/indexer-management/resolvers/Query/disputesClosedAfter.ts +++ /dev/null @@ -1,6 +0,0 @@ -import type { QueryResolvers } from './../../../types.generated' -export const disputesClosedAfter: NonNullable< - QueryResolvers['disputesClosedAfter'] -> = async (_parent, _arg, _ctx) => { - /* Implement Query.disputesClosedAfter resolver logic here */ -}