Include tags in API
This commit is contained in:
parent
a41e9f219c
commit
4a0349eecc
|
@ -11,6 +11,7 @@ export type LiteContract = {
|
||||||
closeTime?: number
|
closeTime?: number
|
||||||
question: string
|
question: string
|
||||||
description: string
|
description: string
|
||||||
|
tags: string[]
|
||||||
url: string
|
url: string
|
||||||
pool: number
|
pool: number
|
||||||
probability: number
|
probability: number
|
||||||
|
@ -37,6 +38,7 @@ export function toLiteContract({
|
||||||
closeTime,
|
closeTime,
|
||||||
question,
|
question,
|
||||||
description,
|
description,
|
||||||
|
tags,
|
||||||
slug,
|
slug,
|
||||||
pool,
|
pool,
|
||||||
totalShares,
|
totalShares,
|
||||||
|
@ -53,6 +55,7 @@ export function toLiteContract({
|
||||||
closeTime,
|
closeTime,
|
||||||
question,
|
question,
|
||||||
description,
|
description,
|
||||||
|
tags,
|
||||||
url: `https://manifold.markets/${creatorUsername}/${slug}`,
|
url: `https://manifold.markets/${creatorUsername}/${slug}`,
|
||||||
pool: pool.YES + pool.NO,
|
pool: pool.YES + pool.NO,
|
||||||
probability: getProbability(totalShares),
|
probability: getProbability(totalShares),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user