From 2d8ad40e70ac70b7c2f9987dc3826c8e241b12e0 Mon Sep 17 00:00:00 2001 From: Marshall Polaris Date: Tue, 24 May 2022 14:31:49 -0700 Subject: [PATCH] Add outcome type to API market descriptors (#325) --- web/pages/api/v0/_types.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/pages/api/v0/_types.ts b/web/pages/api/v0/_types.ts index 355b1973..9f043c80 100644 --- a/web/pages/api/v0/_types.ts +++ b/web/pages/api/v0/_types.ts @@ -20,6 +20,7 @@ export type LiteMarket = { description: string tags: string[] url: string + outcomeType: string mechanism: string pool: number @@ -57,6 +58,7 @@ export function toLiteMarket(contract: Contract): LiteMarket { tags, slug, pool, + outcomeType, mechanism, volume7Days, volume24Hours, @@ -88,6 +90,7 @@ export function toLiteMarket(contract: Contract): LiteMarket { probability, p, totalLiquidity, + outcomeType, mechanism, volume7Days, volume24Hours,