feat(market): add draft status and multiplier
This commit is contained in:
@@ -194,7 +194,7 @@ export const gamesApiListGames = <ThrowOnError extends boolean = false>(options?
|
||||
/**
|
||||
* List Markets
|
||||
*
|
||||
* List all markets.
|
||||
* List all markets (excludes draft markets).
|
||||
*/
|
||||
export const marketApiListMarkets = <ThrowOnError extends boolean = false>(options?: Options<MarketApiListMarketsData, ThrowOnError>) => (options?.client ?? client).get<MarketApiListMarketsResponses, unknown, ThrowOnError>({ url: '/api/market/', ...options });
|
||||
|
||||
|
||||
@@ -30,6 +30,10 @@ export type UserInfoOut = {
|
||||
* Email
|
||||
*/
|
||||
email?: string | null;
|
||||
/**
|
||||
* Points
|
||||
*/
|
||||
points?: number;
|
||||
/**
|
||||
* Is Authenticated
|
||||
*/
|
||||
@@ -986,6 +990,10 @@ export type MarketListSchema = {
|
||||
* End Date
|
||||
*/
|
||||
end_date: string;
|
||||
/**
|
||||
* Multiplier
|
||||
*/
|
||||
multiplier?: number;
|
||||
/**
|
||||
* Created At
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user