@liberfi.io/ui-predict 0.1.52 → 0.1.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +263 -0
- package/dist/client/index.d.mts +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/{index-D3Ek8yK4.d.mts → index-DIcC-37S.d.mts} +1 -1
- package/dist/{index-D3Ek8yK4.d.ts → index-DIcC-37S.d.ts} +1 -1
- package/dist/index.d.mts +88 -10
- package/dist/index.d.ts +88 -10
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +9 -9
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { S as StandardEvent, a as StandardMarket, E as EventQueryParams, V as
|
|
3
|
-
export {
|
|
2
|
+
import { S as StandardEvent, a as StandardMarket, E as EventQueryParams, V as V2EventSortField, b as V2ProviderSource, c as V2Event, d as V2Market, e as V2EventStatus, O as OrderResponse, f as OrderStatusResponse, g as SeriesResponse, C as CandlesticksResponse, h as OrderbookLevel, i as SingleTradeResponse, I as IPredictClient, j as IPredictWsClient, W as WalletPositionItem, P as PredictClientV2, k as V2ListEventsParams, l as V2Page, m as StandardEventsResponse, M as MarketQueryParams, n as StandardMarketsResponse, o as MarketsBatchRequest, p as OrderbookResponse, T as TradesQueryParams, q as MultiTradeResponse, r as TradesByMintQueryParams, s as OnchainTradesByWalletQueryParams, t as MultiOnchainTradeResponse, u as OnchainTradesByEventQueryParams, v as OnchainTradesByMarketQueryParams, w as CandlesticksQueryParams, F as ForecastPercentileHistoryQueryParams, x as ForecastPercentileHistoryResponse, y as ForecastPercentileHistoryByMintQueryParams, L as LiveDataQueryParams, z as LiveDataResponse, A as LiveDataByEventQueryParams, B as LiveDataByMintQueryParams, D as SeriesQueryParams, G as SeriesListResponse, H as TagsByCategoriesResponse, J as FiltersBySportsResponse, K as SearchQueryParams, N as SearchResponse, Q as PositionsByWalletQueryParams, R as WalletPositionsResponse, U as OutcomeMintsQueryParams, X as OutcomeMintsResponse, Y as FilterOutcomeMintsRequest, Z as FilterOutcomeMintsResponse, _ as QuoteQueryParams, $ as QuoteResponse, a0 as SwapRequestBody, a1 as SwapResponse, a2 as SwapInstructionsResponse, a3 as OrderQueryParams, a4 as OrderStatusQueryParams, a5 as IntentQuoteQueryParams, a6 as IntentQuoteResponse, a7 as IntentSwapRequestBody, a8 as IntentSwapResponse, a9 as PredictionMarketInitQueryParams, aa as PredictionMarketInitResponse, ab as TokenListResponse, ac as TokenListWithDecimalsResponse, ad as VenueListResponse, ae as WsConnectionStatus, af as WsPriceUpdate, ag as WsTradeUpdate, ah as WsOrderbookUpdate } from './index-DIcC-37S.js';
|
|
3
|
+
export { aE as AccountMetaResponse, aR as BasePredictClient, aG as BlockhashWithMetadata, ax as CandlestickDataPoint, aw as CandlestickOHLC, aC as ComputeBudgetInfo, aO as CreateFeeAccountParams, aN as DestinationTokenAccountParam, aU as DflowPredictClient, aV as DflowPredictWsClient, aq as ExecutionMode, ay as ForecastPercentileDataPoint, aF as InstructionResponse, aJ as IntentExpiry, as as MarketAccountInfo, aj as MarketStatus, at as OnchainTrade, au as OnchainTradeSortBy, av as OnchainTradesBaseQueryParams, aH as OrderFill, aI as OrderRevert, am as OrderStatus, aL as OrderbookQueryParams, aB as PlatformFee, an as PlatformFeeMode, aP as PositiveSlippageParams, aU as PredictClient, aV as PredictWsClient, aM as PrioritizationFeeLamports, aD as PrioritizationType, ap as PriorityLevel, ai as ProviderType, aA as RoutePlanLeg, az as SeriesSettlementSource, ar as SettlementSource, ao as SlippageTolerance, ak as SortField, al as SortOrder, aK as TokenWithDecimals, aZ as V2MarketResult, a_ as V2MarketStatus, a$ as V2Outcome, b0 as V2ProviderMeta, b1 as V2SettlementSource, b2 as V2Tag, aX as WsClientConfig, aQ as WsSubscribeOptions, aS as buildQuery, aW as createDflowPredictWsClient, aY as createPredictClientV2, aW as createPredictWsClient, aT as toRecord } from './index-DIcC-37S.js';
|
|
4
|
+
import { LinkComponentType } from '@liberfi.io/ui';
|
|
4
5
|
import * as react from 'react';
|
|
5
6
|
import { PropsWithChildren } from 'react';
|
|
6
7
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
@@ -13,7 +14,7 @@ declare global {
|
|
|
13
14
|
};
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
|
-
declare const _default: "0.1.
|
|
17
|
+
declare const _default: "0.1.54";
|
|
17
18
|
|
|
18
19
|
interface EventsPageProps {
|
|
19
20
|
/** Callback when an event is selected */
|
|
@@ -163,13 +164,64 @@ interface TagSlugSelection {
|
|
|
163
164
|
tagSlug: string | null;
|
|
164
165
|
}
|
|
165
166
|
|
|
167
|
+
type SortPreset = "trending" | "volume" | "newest" | "ending_soon" | "liquidity";
|
|
168
|
+
declare const SORT_PRESETS: Record<SortPreset, {
|
|
169
|
+
sort_by: V2EventSortField;
|
|
170
|
+
sort_asc: boolean;
|
|
171
|
+
}>;
|
|
172
|
+
interface EventsToolbarV2UIProps {
|
|
173
|
+
/** Currently active platform source */
|
|
174
|
+
source?: V2ProviderSource;
|
|
175
|
+
/** Callback when the user picks a different platform */
|
|
176
|
+
onSourceChange: (source?: V2ProviderSource) => void;
|
|
177
|
+
/** Currently active sort preset */
|
|
178
|
+
sortPreset: SortPreset;
|
|
179
|
+
/** Callback when the user picks a different sort preset */
|
|
180
|
+
onSortChange: (preset: SortPreset) => void;
|
|
181
|
+
/** Callback when the filter button is pressed */
|
|
182
|
+
onFilterPress: () => void;
|
|
183
|
+
/** Number of currently active filters (shown as badge count) */
|
|
184
|
+
filterCount?: number;
|
|
185
|
+
/** Optional class name for the root element */
|
|
186
|
+
className?: string;
|
|
187
|
+
}
|
|
188
|
+
declare function EventsToolbarV2UI({ source, onSourceChange, sortPreset, onSortChange, onFilterPress, filterCount, className, }: EventsToolbarV2UIProps): react_jsx_runtime.JSX.Element;
|
|
189
|
+
|
|
190
|
+
interface EventsFilterState {
|
|
191
|
+
sortPreset: SortPreset;
|
|
192
|
+
source?: V2ProviderSource;
|
|
193
|
+
timeRemaining?: string;
|
|
194
|
+
minVolume?: string;
|
|
195
|
+
minLiquidity?: string;
|
|
196
|
+
}
|
|
197
|
+
declare const DEFAULT_FILTER_STATE: EventsFilterState;
|
|
198
|
+
/** Count how many non-default filters are active (excluding sortPreset) */
|
|
199
|
+
declare function countActiveFilters(state: EventsFilterState): number;
|
|
200
|
+
interface EventsFilterV2UIProps {
|
|
201
|
+
/** Whether the modal is open */
|
|
202
|
+
isOpen: boolean;
|
|
203
|
+
/** Callback to close the modal */
|
|
204
|
+
onClose: () => void;
|
|
205
|
+
/** Current committed filter state */
|
|
206
|
+
value: EventsFilterState;
|
|
207
|
+
/** Callback when "Show Results" is pressed with the new filter state */
|
|
208
|
+
onChange: (state: EventsFilterState) => void;
|
|
209
|
+
}
|
|
210
|
+
declare function EventsFilterV2UI({ isOpen, onClose, value, onChange, }: EventsFilterV2UIProps): react_jsx_runtime.JSX.Element;
|
|
211
|
+
|
|
166
212
|
interface EventsPageV2Props {
|
|
167
213
|
/** Callback when an event card is selected */
|
|
168
214
|
onSelect?: (event: V2Event) => void;
|
|
169
215
|
/** Callback when an outcome button (yes / no) is pressed */
|
|
170
216
|
onSelectOutcome?: (event: V2Event, market: V2Market, side: "yes" | "no") => void;
|
|
217
|
+
/** Generate href for each event card. When set, cards render as links. */
|
|
218
|
+
getEventHref?: (event: V2Event) => string;
|
|
219
|
+
/** Custom link component (e.g. next/link). */
|
|
220
|
+
LinkComponent?: LinkComponentType;
|
|
221
|
+
/** Called when a card is hovered (for data prefetching). */
|
|
222
|
+
onHover?: (event: V2Event) => void;
|
|
171
223
|
}
|
|
172
|
-
declare function EventsPageV2({ onSelect, onSelectOutcome }: EventsPageV2Props): react_jsx_runtime.JSX.Element;
|
|
224
|
+
declare function EventsPageV2({ onSelect, onSelectOutcome, getEventHref, LinkComponent, onHover, }: EventsPageV2Props): react_jsx_runtime.JSX.Element;
|
|
173
225
|
|
|
174
226
|
interface EventsWidgetV2Props {
|
|
175
227
|
/**
|
|
@@ -185,14 +237,22 @@ interface EventsWidgetV2Props {
|
|
|
185
237
|
sort_by?: V2EventSortField;
|
|
186
238
|
/** Ascending sort order (default: false → descending) */
|
|
187
239
|
sort_asc?: boolean;
|
|
240
|
+
/** Filter by upstream provider (undefined = all providers) */
|
|
241
|
+
source?: V2ProviderSource;
|
|
188
242
|
/** Include nested markets in the response (default: true) */
|
|
189
243
|
with_markets?: boolean;
|
|
190
244
|
/** Callback when an event card is selected */
|
|
191
245
|
onSelect?: (event: V2Event) => void;
|
|
192
246
|
/** Callback when an outcome button (yes/no) is pressed */
|
|
193
247
|
onSelectOutcome?: (event: V2Event, market: V2Market, side: "yes" | "no") => void;
|
|
248
|
+
/** Generate href for each event card. When set, cards render as links. */
|
|
249
|
+
getEventHref?: (event: V2Event) => string;
|
|
250
|
+
/** Custom link component (e.g. next/link). */
|
|
251
|
+
LinkComponent?: LinkComponentType;
|
|
252
|
+
/** Called when a card is hovered (for data prefetching). */
|
|
253
|
+
onHover?: (event: V2Event) => void;
|
|
194
254
|
}
|
|
195
|
-
declare function EventsWidgetV2({ tagSlugSelection, limit, status, sort_by, sort_asc, with_markets, onSelect, onSelectOutcome, }: EventsWidgetV2Props): react_jsx_runtime.JSX.Element;
|
|
255
|
+
declare function EventsWidgetV2({ tagSlugSelection, limit, status, sort_by, sort_asc, source, with_markets, onSelect, onSelectOutcome, getEventHref, LinkComponent, onHover, }: EventsWidgetV2Props): react_jsx_runtime.JSX.Element;
|
|
196
256
|
|
|
197
257
|
/** Parameters for useEventsV2 */
|
|
198
258
|
interface UseEventsV2Params {
|
|
@@ -213,6 +273,8 @@ interface UseEventsV2Params {
|
|
|
213
273
|
sort_by?: V2EventSortField;
|
|
214
274
|
/** Ascending sort (default: false → descending) */
|
|
215
275
|
sort_asc?: boolean;
|
|
276
|
+
/** Filter by upstream provider (undefined = all providers) */
|
|
277
|
+
source?: V2ProviderSource;
|
|
216
278
|
/** Include nested markets (default: true) */
|
|
217
279
|
with_markets?: boolean;
|
|
218
280
|
}
|
|
@@ -264,15 +326,27 @@ type EventsV2UIProps = {
|
|
|
264
326
|
onSelect?: (event: V2Event) => void;
|
|
265
327
|
/** Callback when an outcome button (yes/no) is pressed */
|
|
266
328
|
onSelectOutcome?: (event: V2Event, market: V2Market, side: "yes" | "no") => void;
|
|
329
|
+
/** Generate href for each event card. When set, cards render as links. */
|
|
330
|
+
getEventHref?: (event: V2Event) => string;
|
|
331
|
+
/** Custom link component (e.g. next/link). */
|
|
332
|
+
LinkComponent?: LinkComponentType;
|
|
333
|
+
/** Called when a card is hovered (for data prefetching). */
|
|
334
|
+
onHover?: (event: V2Event) => void;
|
|
267
335
|
};
|
|
268
|
-
declare function EventsV2UI({ events, hasMore, onFetchMore, onSelect, onSelectOutcome, }: EventsV2UIProps): react_jsx_runtime.JSX.Element;
|
|
336
|
+
declare function EventsV2UI({ events, hasMore, onFetchMore, onSelect, onSelectOutcome, getEventHref, LinkComponent, onHover, }: EventsV2UIProps): react_jsx_runtime.JSX.Element;
|
|
269
337
|
|
|
270
338
|
type EventItemV2UIProps = {
|
|
271
339
|
event: V2Event;
|
|
340
|
+
/** URL for the detail page. When set, card renders as a link via Linkable. */
|
|
341
|
+
href?: string;
|
|
342
|
+
/** Custom link component (e.g. next/link). Passed to Linkable. */
|
|
343
|
+
LinkComponent?: LinkComponentType;
|
|
272
344
|
onSelect?: (event: V2Event) => void;
|
|
273
345
|
onSelectOutcome?: (event: V2Event, market: V2Market, side: "yes" | "no") => void;
|
|
346
|
+
/** Called when the card is hovered (for data prefetching). */
|
|
347
|
+
onHover?: (event: V2Event) => void;
|
|
274
348
|
};
|
|
275
|
-
declare function EventItemV2UI({ event, onSelect, onSelectOutcome, }: EventItemV2UIProps): react_jsx_runtime.JSX.Element;
|
|
349
|
+
declare function EventItemV2UI({ event, href, LinkComponent, onSelect, onSelectOutcome, onHover, }: EventItemV2UIProps): react_jsx_runtime.JSX.Element;
|
|
276
350
|
|
|
277
351
|
/** Default page size for list queries */
|
|
278
352
|
declare const DEFAULT_PAGE_SIZE = 48;
|
|
@@ -849,10 +923,12 @@ interface CategoriesUIProps {
|
|
|
849
923
|
onCategorySelect: (category: string | null) => void;
|
|
850
924
|
/** Callback when a tag is selected (null = deselect) */
|
|
851
925
|
onTagSelect: (tag: string | null) => void;
|
|
926
|
+
/** Content rendered at the end of the primary chip row (e.g. sort/filter controls) */
|
|
927
|
+
trailing?: React.ReactNode;
|
|
852
928
|
/** Optional class name for the root element */
|
|
853
929
|
className?: string;
|
|
854
930
|
}
|
|
855
|
-
declare function CategoriesUI({ categories, selectedCategory, selectedTag, activeTags, onCategorySelect, onTagSelect, className, }: CategoriesUIProps): react_jsx_runtime.JSX.Element;
|
|
931
|
+
declare function CategoriesUI({ categories, selectedCategory, selectedTag, activeTags, onCategorySelect, onTagSelect, trailing, className, }: CategoriesUIProps): react_jsx_runtime.JSX.Element;
|
|
856
932
|
declare function CategoriesSkeleton({ count }: {
|
|
857
933
|
count?: number;
|
|
858
934
|
}): react_jsx_runtime.JSX.Element;
|
|
@@ -886,10 +962,12 @@ interface CategoriesWidgetV2Props {
|
|
|
886
962
|
* - `{ categorySlug: "Crypto", tagSlug: "BTC" }` → specific tag selected
|
|
887
963
|
*/
|
|
888
964
|
onSelect?: (selection: TagSlugSelection) => void;
|
|
965
|
+
/** Content rendered at the end of the primary chip row (e.g. sort/filter controls) */
|
|
966
|
+
trailing?: React.ReactNode;
|
|
889
967
|
/** Optional class name applied to the root element */
|
|
890
968
|
className?: string;
|
|
891
969
|
}
|
|
892
|
-
declare function CategoriesWidgetV2({ onSelect, className, }: CategoriesWidgetV2Props): react_jsx_runtime.JSX.Element;
|
|
970
|
+
declare function CategoriesWidgetV2({ onSelect, trailing, className, }: CategoriesWidgetV2Props): react_jsx_runtime.JSX.Element;
|
|
893
971
|
|
|
894
972
|
interface PredictContextValue {
|
|
895
973
|
/** The predict API client instance */
|
|
@@ -1375,4 +1453,4 @@ interface UseOrderbookSubscriptionResult {
|
|
|
1375
1453
|
*/
|
|
1376
1454
|
declare function useOrderbookSubscription({ client, all, tickers, enabled, onUpdate, }: UseOrderbookSubscriptionParams): UseOrderbookSubscriptionResult;
|
|
1377
1455
|
|
|
1378
|
-
export { CATEGORIES_V2, CHART_RANGE_DURATION, CHART_RANGE_PERIOD, CHART_RANGE_SAMPLE_INTERVAL, CandlestickPeriod, type CandlestickPeriodType, CandlesticksQueryParams, CandlesticksResponse, CategoriesSkeleton, CategoriesUI, type CategoriesUIProps, CategoriesWidget, type CategoriesWidgetProps, CategoriesWidgetV2, type CategoriesWidgetV2Props, type CategoryItemV2, type CategorySelection, ChartRange, type ChartRangeType, DEFAULT_CHART_RANGE, DEFAULT_PAGE_SIZE, DEFAULT_PRICE_HISTORY_INTERVAL, type EventCategory, EventDetailPage, type EventDetailPageProps, EventDetailSkeleton, type EventDetailSkeletonProps, EventDetailUI, type EventDetailUIProps, EventDetailWidget, type EventDetailWidgetProps, EventItemSkeleton, type EventItemSkeletonProps, EventItemUI, type EventItemUIProps, EventItemV2UI, type EventItemV2UIProps, EventMarketDetailWidget, type EventMarketDetailWidgetProps, EventQueryParams, EventsPage, type EventsPageProps, EventsPageV2, type EventsPageV2Props, EventsSkeleton, type EventsSkeletonProps, EventsUI, type EventsUIProps, EventsV2UI, type EventsV2UIProps, EventsWidget, type EventsWidgetProps, EventsWidgetV2, type EventsWidgetV2Props, FilterOutcomeMintsRequest, FilterOutcomeMintsResponse, FiltersBySportsResponse, ForecastPercentileHistoryByMintQueryParams, ForecastPercentileHistoryQueryParams, ForecastPercentileHistoryResponse, IPredictClient, IPredictWsClient, IntentQuoteQueryParams, IntentQuoteResponse, IntentSwapRequestBody, IntentSwapResponse, LiveDataByEventQueryParams, LiveDataByMintQueryParams, LiveDataQueryParams, LiveDataResponse, MAX_PRICE_HISTORY_MARKETS, type MarketPositionsResult, MarketQueryParams, MarketsBatchRequest, MultiOnchainTradeResponse, MultiTradeResponse, ORDER_MAX_PRICE, ORDER_MIN_PRICE, ORDER_MIN_QUANTITY, ORDER_PRICE_STEP, OnchainTradesByEventQueryParams, OnchainTradesByMarketQueryParams, OnchainTradesByWalletQueryParams, OpenOrdersUI, type OpenOrdersUIProps, OpenOrdersWidget, type OpenOrdersWidgetProps, type Order, type OrderBookRow, OrderBookUI, type OrderBookUIProps, OrderBookWidget, type OrderBookWidgetProps, OrderQueryParams, OrderResponse, OrderStatusQueryParams, OrderStatusResponse, type OrderbookData, OrderbookLevel, OrderbookResponse, OutcomeMintsQueryParams, OutcomeMintsResponse, PRICE_HISTORY_SAMPLE_INTERVAL, type Position, PositionsByWalletQueryParams, type PositionsSummary, PositionsUI, type PositionsUIProps, PositionsWidget, type PositionsWidgetProps, PredictClientV2, PredictContext, type PredictContextValue, PredictProvider, type PredictProviderProps, PredictV2Context, type PredictV2ContextValue, PredictV2Provider, type PredictV2ProviderProps, PredictionMarketInitQueryParams, PredictionMarketInitResponse, type PriceData, PriceHistoryInterval, type PriceHistoryIntervalType, QuoteQueryParams, QuoteResponse, SearchQueryParams, SearchResponse, SeriesListResponse, SeriesQueryParams, SeriesResponse, SingleTradeResponse, StandardEvent, StandardEventsResponse, StandardMarket, StandardMarketsResponse, SwapInstructionsResponse, SwapRequestBody, SwapResponse, type TagItemV2, type TagSlugSelection, TagsByCategoriesResponse, TokenListResponse, TokenListWithDecimalsResponse, type TradeData, TradeFormSkeleton, TradeFormUI, type TradeFormUIProps, type TradeFormValidation, TradeFormWidget, type TradeFormWidgetProps, TradeHistoryUI, type TradeHistoryUIProps, TradeHistoryWidget, type TradeHistoryWidgetProps, type TradeOutcome, type TradeSide, TradesByMintQueryParams, TradesQueryParams, type UseEventByIdQueryParams, type UseEventCandlesticksParams, type UseEventDetailParams, type UseEventV2QueryParams, type UseEventsCategoriesResult, type UseEventsParams, type UseEventsResult, type UseEventsV2Params, type UseEventsV2Result, type UseMarketByIdQueryParams, type UseMarketCandlesticksByMintParams, type UseMarketCandlesticksParams, type UseOpenOrdersParams, type UseOpenOrdersResult, type UseOrderBookParams, type UseOrderBookResult, type UseOrderbookSubscriptionParams, type UseOrderbookSubscriptionResult, type UsePositionsParams, type UsePositionsResult, type UsePricesSubscriptionParams, type UsePricesSubscriptionResult, type UseTradeFormParams, type UseTradeFormResult, type UseTradeHistoryParams, type UseTradeHistoryResult, type UseTradesSubscriptionParams, type UseTradesSubscriptionResult, type UseWsClientResult, type UseWsConnectionParams, type UseWsConnectionResult, UserPredictContext, type UserPredictContextValue, UserPredictProvider, type UserPredictProviderProps, V2Event, V2EventSortField, V2EventStatus, V2ListEventsParams, V2Market, V2Page, VenueListResponse, WalletPositionItem, WalletPositionsResponse, WsConnectionStatus, WsOrderbookUpdate, WsPriceUpdate, WsTradeUpdate, createSwap, createSwapInstructions, eventByIdQueryKey, eventCandlesticksQueryKey, eventV2QueryKey, eventsInfiniteQueryKey, eventsQueryKey, eventsV2QueryKey, fetchEventById, fetchEventCandlesticks, fetchEventV2, fetchEvents, fetchEventsV2, fetchFiltersBySports, fetchForecastPercentileHistory, fetchForecastPercentileHistoryByMint, fetchIntentQuote, fetchLiveData, fetchLiveDataByEvent, fetchLiveDataByMint, fetchMarketById, fetchMarketByMint, fetchMarketCandlesticks, fetchMarketCandlesticksByMint, fetchMarkets, fetchMarketsBatch, fetchOnchainTradesByEvent, fetchOnchainTradesByMarket, fetchOnchainTradesByWallet, fetchOrder, fetchOrderBook, fetchOrderBookByMint, fetchOrderStatus, fetchOutcomeMints, fetchPositionsByWallet, fetchQuote, fetchSearch, fetchSeries, fetchSeriesByTicker, fetchTagsByCategories, fetchTokens, fetchTokensWithDecimals, fetchTrades, fetchTradesByMint, fetchVenues, filterOutcomeMints, filtersBySportsQueryKey, forecastPercentileHistoryByMintQueryKey, forecastPercentileHistoryQueryKey, initPredictionMarket, intentQuoteQueryKey, liveDataByEventQueryKey, liveDataByMintQueryKey, liveDataQueryKey, marketByIdQueryKey, marketByMintQueryKey, marketCandlesticksByMintQueryKey, marketCandlesticksQueryKey, marketsBatchQueryKey, marketsQueryKey, onchainTradesByEventInfiniteQueryKey, onchainTradesByEventQueryKey, onchainTradesByMarketInfiniteQueryKey, onchainTradesByMarketQueryKey, onchainTradesByWalletInfiniteQueryKey, onchainTradesByWalletQueryKey, orderBookByMintQueryKey, orderBookQueryKey, orderQueryKey, orderStatusQueryKey, outcomeMintsQueryKey, positionsByWalletQueryKey, quoteQueryKey, searchQueryKey, seriesByTickerQueryKey, seriesQueryKey, submitIntentSwap, tagsByCategoriesQueryKey, tokensQueryKey, tokensWithDecimalsQueryKey, tradesByMintQueryKey, tradesQueryKey, useCategoriesQuery, useCreateSwapInstructionsMutation, useCreateSwapMutation, useEventByIdQuery, useEventCandlesticksQuery, useEventDetail, useEventV2Query, useEvents, useEventsCategories, useEventsInfiniteQuery, useEventsQuery, useEventsV2, useEventsV2Query, useFilterOutcomeMintsMutation, useFiltersBySportsQuery, useForecastPercentileHistoryByMintQuery, useForecastPercentileHistoryQuery, useInitPredictionMarketMutation, useIntentQuoteQuery, useLiveDataByEventQuery, useLiveDataByMintQuery, useLiveDataQuery, useMarketByIdQuery, useMarketByMintQuery, useMarketCandlesticksByMintQuery, useMarketCandlesticksQuery, useMarketPositions, useMarketsBatchQuery, useMarketsQuery, useOnchainTradesByEventInfiniteQuery, useOnchainTradesByEventQuery, useOnchainTradesByMarketInfiniteQuery, useOnchainTradesByMarketQuery, useOnchainTradesByWalletInfiniteQuery, useOnchainTradesByWalletQuery, useOpenOrders, useOrderBook, useOrderBookByMintQuery, useOrderBookQuery, useOrderQuery, useOrderStatusQuery, useOrderbookSubscription, useOutcomeMintsQuery, usePositions, usePositionsByWalletQuery, usePredictClient, usePredictContext, usePredictV2Client, usePredictV2Context, usePriceHistoryQuery, usePricesSubscription, useQuoteQuery, useSearchQuery, useSeriesByTickerQuery, useSeriesQuery, useSubmitIntentSwapMutation, useTagsByCategoriesQuery, useTokensQuery, useTokensWithDecimalsQuery, useTradeForm, useTradeHistory, useTradesByMintQuery, useTradesQuery, useTradesSubscription, useUserPredictContext, useVenuesQuery, useWsClient, useWsConnection, venuesQueryKey, _default as version };
|
|
1456
|
+
export { CATEGORIES_V2, CHART_RANGE_DURATION, CHART_RANGE_PERIOD, CHART_RANGE_SAMPLE_INTERVAL, CandlestickPeriod, type CandlestickPeriodType, CandlesticksQueryParams, CandlesticksResponse, CategoriesSkeleton, CategoriesUI, type CategoriesUIProps, CategoriesWidget, type CategoriesWidgetProps, CategoriesWidgetV2, type CategoriesWidgetV2Props, type CategoryItemV2, type CategorySelection, ChartRange, type ChartRangeType, DEFAULT_CHART_RANGE, DEFAULT_FILTER_STATE, DEFAULT_PAGE_SIZE, DEFAULT_PRICE_HISTORY_INTERVAL, type EventCategory, EventDetailPage, type EventDetailPageProps, EventDetailSkeleton, type EventDetailSkeletonProps, EventDetailUI, type EventDetailUIProps, EventDetailWidget, type EventDetailWidgetProps, EventItemSkeleton, type EventItemSkeletonProps, EventItemUI, type EventItemUIProps, EventItemV2UI, type EventItemV2UIProps, EventMarketDetailWidget, type EventMarketDetailWidgetProps, EventQueryParams, type EventsFilterState, EventsFilterV2UI, type EventsFilterV2UIProps, EventsPage, type EventsPageProps, EventsPageV2, type EventsPageV2Props, EventsSkeleton, type EventsSkeletonProps, EventsToolbarV2UI, type EventsToolbarV2UIProps, EventsUI, type EventsUIProps, EventsV2UI, type EventsV2UIProps, EventsWidget, type EventsWidgetProps, EventsWidgetV2, type EventsWidgetV2Props, FilterOutcomeMintsRequest, FilterOutcomeMintsResponse, FiltersBySportsResponse, ForecastPercentileHistoryByMintQueryParams, ForecastPercentileHistoryQueryParams, ForecastPercentileHistoryResponse, IPredictClient, IPredictWsClient, IntentQuoteQueryParams, IntentQuoteResponse, IntentSwapRequestBody, IntentSwapResponse, LiveDataByEventQueryParams, LiveDataByMintQueryParams, LiveDataQueryParams, LiveDataResponse, MAX_PRICE_HISTORY_MARKETS, type MarketPositionsResult, MarketQueryParams, MarketsBatchRequest, MultiOnchainTradeResponse, MultiTradeResponse, ORDER_MAX_PRICE, ORDER_MIN_PRICE, ORDER_MIN_QUANTITY, ORDER_PRICE_STEP, OnchainTradesByEventQueryParams, OnchainTradesByMarketQueryParams, OnchainTradesByWalletQueryParams, OpenOrdersUI, type OpenOrdersUIProps, OpenOrdersWidget, type OpenOrdersWidgetProps, type Order, type OrderBookRow, OrderBookUI, type OrderBookUIProps, OrderBookWidget, type OrderBookWidgetProps, OrderQueryParams, OrderResponse, OrderStatusQueryParams, OrderStatusResponse, type OrderbookData, OrderbookLevel, OrderbookResponse, OutcomeMintsQueryParams, OutcomeMintsResponse, PRICE_HISTORY_SAMPLE_INTERVAL, type Position, PositionsByWalletQueryParams, type PositionsSummary, PositionsUI, type PositionsUIProps, PositionsWidget, type PositionsWidgetProps, PredictClientV2, PredictContext, type PredictContextValue, PredictProvider, type PredictProviderProps, PredictV2Context, type PredictV2ContextValue, PredictV2Provider, type PredictV2ProviderProps, PredictionMarketInitQueryParams, PredictionMarketInitResponse, type PriceData, PriceHistoryInterval, type PriceHistoryIntervalType, QuoteQueryParams, QuoteResponse, SORT_PRESETS, SearchQueryParams, SearchResponse, SeriesListResponse, SeriesQueryParams, SeriesResponse, SingleTradeResponse, type SortPreset, StandardEvent, StandardEventsResponse, StandardMarket, StandardMarketsResponse, SwapInstructionsResponse, SwapRequestBody, SwapResponse, type TagItemV2, type TagSlugSelection, TagsByCategoriesResponse, TokenListResponse, TokenListWithDecimalsResponse, type TradeData, TradeFormSkeleton, TradeFormUI, type TradeFormUIProps, type TradeFormValidation, TradeFormWidget, type TradeFormWidgetProps, TradeHistoryUI, type TradeHistoryUIProps, TradeHistoryWidget, type TradeHistoryWidgetProps, type TradeOutcome, type TradeSide, TradesByMintQueryParams, TradesQueryParams, type UseEventByIdQueryParams, type UseEventCandlesticksParams, type UseEventDetailParams, type UseEventV2QueryParams, type UseEventsCategoriesResult, type UseEventsParams, type UseEventsResult, type UseEventsV2Params, type UseEventsV2Result, type UseMarketByIdQueryParams, type UseMarketCandlesticksByMintParams, type UseMarketCandlesticksParams, type UseOpenOrdersParams, type UseOpenOrdersResult, type UseOrderBookParams, type UseOrderBookResult, type UseOrderbookSubscriptionParams, type UseOrderbookSubscriptionResult, type UsePositionsParams, type UsePositionsResult, type UsePricesSubscriptionParams, type UsePricesSubscriptionResult, type UseTradeFormParams, type UseTradeFormResult, type UseTradeHistoryParams, type UseTradeHistoryResult, type UseTradesSubscriptionParams, type UseTradesSubscriptionResult, type UseWsClientResult, type UseWsConnectionParams, type UseWsConnectionResult, UserPredictContext, type UserPredictContextValue, UserPredictProvider, type UserPredictProviderProps, V2Event, V2EventSortField, V2EventStatus, V2ListEventsParams, V2Market, V2Page, V2ProviderSource, VenueListResponse, WalletPositionItem, WalletPositionsResponse, WsConnectionStatus, WsOrderbookUpdate, WsPriceUpdate, WsTradeUpdate, countActiveFilters, createSwap, createSwapInstructions, eventByIdQueryKey, eventCandlesticksQueryKey, eventV2QueryKey, eventsInfiniteQueryKey, eventsQueryKey, eventsV2QueryKey, fetchEventById, fetchEventCandlesticks, fetchEventV2, fetchEvents, fetchEventsV2, fetchFiltersBySports, fetchForecastPercentileHistory, fetchForecastPercentileHistoryByMint, fetchIntentQuote, fetchLiveData, fetchLiveDataByEvent, fetchLiveDataByMint, fetchMarketById, fetchMarketByMint, fetchMarketCandlesticks, fetchMarketCandlesticksByMint, fetchMarkets, fetchMarketsBatch, fetchOnchainTradesByEvent, fetchOnchainTradesByMarket, fetchOnchainTradesByWallet, fetchOrder, fetchOrderBook, fetchOrderBookByMint, fetchOrderStatus, fetchOutcomeMints, fetchPositionsByWallet, fetchQuote, fetchSearch, fetchSeries, fetchSeriesByTicker, fetchTagsByCategories, fetchTokens, fetchTokensWithDecimals, fetchTrades, fetchTradesByMint, fetchVenues, filterOutcomeMints, filtersBySportsQueryKey, forecastPercentileHistoryByMintQueryKey, forecastPercentileHistoryQueryKey, initPredictionMarket, intentQuoteQueryKey, liveDataByEventQueryKey, liveDataByMintQueryKey, liveDataQueryKey, marketByIdQueryKey, marketByMintQueryKey, marketCandlesticksByMintQueryKey, marketCandlesticksQueryKey, marketsBatchQueryKey, marketsQueryKey, onchainTradesByEventInfiniteQueryKey, onchainTradesByEventQueryKey, onchainTradesByMarketInfiniteQueryKey, onchainTradesByMarketQueryKey, onchainTradesByWalletInfiniteQueryKey, onchainTradesByWalletQueryKey, orderBookByMintQueryKey, orderBookQueryKey, orderQueryKey, orderStatusQueryKey, outcomeMintsQueryKey, positionsByWalletQueryKey, quoteQueryKey, searchQueryKey, seriesByTickerQueryKey, seriesQueryKey, submitIntentSwap, tagsByCategoriesQueryKey, tokensQueryKey, tokensWithDecimalsQueryKey, tradesByMintQueryKey, tradesQueryKey, useCategoriesQuery, useCreateSwapInstructionsMutation, useCreateSwapMutation, useEventByIdQuery, useEventCandlesticksQuery, useEventDetail, useEventV2Query, useEvents, useEventsCategories, useEventsInfiniteQuery, useEventsQuery, useEventsV2, useEventsV2Query, useFilterOutcomeMintsMutation, useFiltersBySportsQuery, useForecastPercentileHistoryByMintQuery, useForecastPercentileHistoryQuery, useInitPredictionMarketMutation, useIntentQuoteQuery, useLiveDataByEventQuery, useLiveDataByMintQuery, useLiveDataQuery, useMarketByIdQuery, useMarketByMintQuery, useMarketCandlesticksByMintQuery, useMarketCandlesticksQuery, useMarketPositions, useMarketsBatchQuery, useMarketsQuery, useOnchainTradesByEventInfiniteQuery, useOnchainTradesByEventQuery, useOnchainTradesByMarketInfiniteQuery, useOnchainTradesByMarketQuery, useOnchainTradesByWalletInfiniteQuery, useOnchainTradesByWalletQuery, useOpenOrders, useOrderBook, useOrderBookByMintQuery, useOrderBookQuery, useOrderQuery, useOrderStatusQuery, useOrderbookSubscription, useOutcomeMintsQuery, usePositions, usePositionsByWalletQuery, usePredictClient, usePredictContext, usePredictV2Client, usePredictV2Context, usePriceHistoryQuery, usePricesSubscription, useQuoteQuery, useSearchQuery, useSeriesByTickerQuery, useSeriesQuery, useSubmitIntentSwapMutation, useTagsByCategoriesQuery, useTokensQuery, useTokensWithDecimalsQuery, useTradeForm, useTradeHistory, useTradesByMintQuery, useTradesQuery, useTradesSubscription, useUserPredictContext, useVenuesQuery, useWsClient, useWsConnection, venuesQueryKey, _default as version };
|