diff --git a/lib/gql/markets.ts b/lib/gql/markets.ts index e634d437f..18b9687ce 100644 --- a/lib/gql/markets.ts +++ b/lib/gql/markets.ts @@ -1,8 +1,9 @@ import { MarketStatus, ScalarRangeType } from "@zeitgeistpm/sdk"; +import { MarketReport } from "@zeitgeistpm/indexer"; import { gql, GraphQLClient } from "graphql-request"; import { DAY_SECONDS } from "lib/constants"; import { marketMetaFilter } from "./constants"; -import { MarketDispute, Report } from "lib/types/markets"; +import { MarketDispute } from "lib/types/markets"; const marketIdsQuery = gql` query MarketIds($end: BigInt) { @@ -108,7 +109,7 @@ export interface MarketPageIndexedData { categorical: string; }; disputes: MarketDispute[]; - report: Report; + report: MarketReport; creator: string; oracle: string; tags: []; diff --git a/lib/types/markets.ts b/lib/types/markets.ts index fab48d4b0..2e9309080 100644 --- a/lib/types/markets.ts +++ b/lib/types/markets.ts @@ -20,12 +20,6 @@ export enum EMarketStatus { export type MarketStatus = keyof typeof EMarketStatus; -export type Report = { - at: number; - by: string; - outcome: OutcomeReport; -}; - export type MarketDispute = { at: number; by: string;