@wildcatfi/wildcat-sdk 2.0.60 → 2.0.62
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/dist/gql/graphql.d.ts +39 -0
- package/dist/gql/graphql.d.ts.map +1 -1
- package/dist/gql/graphql.js +56 -1
- package/dist/gql/graphql.js.map +1 -1
- package/dist/market.d.ts +1 -14
- package/dist/market.d.ts.map +1 -1
- package/dist/market.js +4 -21
- package/dist/market.js.map +1 -1
- package/dist/utils/type-parsers.d.ts +17 -1
- package/dist/utils/type-parsers.d.ts.map +1 -1
- package/dist/utils/type-parsers.js +17 -1
- package/dist/utils/type-parsers.js.map +1 -1
- package/package.json +1 -1
package/dist/gql/graphql.d.ts
CHANGED
|
@@ -7581,6 +7581,17 @@ export type SubgraphGetMarketQuery = {
|
|
|
7581
7581
|
__typename?: "Query";
|
|
7582
7582
|
market?: SubgraphMarketDataWithEventsFragment | null;
|
|
7583
7583
|
};
|
|
7584
|
+
export type SubgraphGetWithdrawalRequestsByMarketQueryVariables = Exact<{
|
|
7585
|
+
market: Scalars["String"]["input"];
|
|
7586
|
+
numWithdrawals?: InputMaybe<Scalars["Int"]["input"]>;
|
|
7587
|
+
skipWithdrawals?: InputMaybe<Scalars["Int"]["input"]>;
|
|
7588
|
+
orderWithdrawals?: InputMaybe<SubgraphWithdrawalRequest_OrderBy>;
|
|
7589
|
+
directionWithdrawals?: InputMaybe<SubgraphOrderDirection>;
|
|
7590
|
+
}>;
|
|
7591
|
+
export type SubgraphGetWithdrawalRequestsByMarketQuery = {
|
|
7592
|
+
__typename?: "Query";
|
|
7593
|
+
withdrawalRequests: SubgraphWithdrawalRequestPropertiesFragment[];
|
|
7594
|
+
};
|
|
7584
7595
|
export type SubgraphGetAllPendingWithdrawalBatchesForMarketQueryVariables = Exact<{
|
|
7585
7596
|
market: Scalars["ID"]["input"];
|
|
7586
7597
|
}>;
|
|
@@ -8328,6 +8339,34 @@ export type GetMarketQueryHookResult = Apollo.QueryResult<SubgraphGetMarketQuery
|
|
|
8328
8339
|
export type GetMarketLazyQueryHookResult = Apollo.LazyQueryResultTuple<SubgraphGetMarketQuery, SubgraphGetMarketQueryVariables>;
|
|
8329
8340
|
export type GetMarketSuspenseQueryHookResult = Apollo.UseSuspenseQueryResult<SubgraphGetMarketQuery, SubgraphGetMarketQueryVariables>;
|
|
8330
8341
|
export type GetMarketQueryResult = Apollo.QueryResult<SubgraphGetMarketQuery, SubgraphGetMarketQueryVariables>;
|
|
8342
|
+
export declare const GetWithdrawalRequestsByMarketDocument: Apollo.DocumentNode;
|
|
8343
|
+
/**
|
|
8344
|
+
* __useGetWithdrawalRequestsByMarketQuery__
|
|
8345
|
+
*
|
|
8346
|
+
* To run a query within a React component, call `useGetWithdrawalRequestsByMarketQuery` and pass it any options that fit your needs.
|
|
8347
|
+
* When your component renders, `useGetWithdrawalRequestsByMarketQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
8348
|
+
* you can use to render your UI.
|
|
8349
|
+
*
|
|
8350
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
8351
|
+
*
|
|
8352
|
+
* @example
|
|
8353
|
+
* const { data, loading, error } = useGetWithdrawalRequestsByMarketQuery({
|
|
8354
|
+
* variables: {
|
|
8355
|
+
* market: // value for 'market'
|
|
8356
|
+
* numWithdrawals: // value for 'numWithdrawals'
|
|
8357
|
+
* skipWithdrawals: // value for 'skipWithdrawals'
|
|
8358
|
+
* orderWithdrawals: // value for 'orderWithdrawals'
|
|
8359
|
+
* directionWithdrawals: // value for 'directionWithdrawals'
|
|
8360
|
+
* },
|
|
8361
|
+
* });
|
|
8362
|
+
*/
|
|
8363
|
+
export declare function useGetWithdrawalRequestsByMarketQuery(baseOptions: Apollo.QueryHookOptions<SubgraphGetWithdrawalRequestsByMarketQuery, SubgraphGetWithdrawalRequestsByMarketQueryVariables>): GetWithdrawalRequestsByMarketQueryHookResult;
|
|
8364
|
+
export declare function useGetWithdrawalRequestsByMarketLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SubgraphGetWithdrawalRequestsByMarketQuery, SubgraphGetWithdrawalRequestsByMarketQueryVariables>): GetWithdrawalRequestsByMarketLazyQueryHookResult;
|
|
8365
|
+
export declare function useGetWithdrawalRequestsByMarketSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<SubgraphGetWithdrawalRequestsByMarketQuery, SubgraphGetWithdrawalRequestsByMarketQueryVariables>): GetWithdrawalRequestsByMarketSuspenseQueryHookResult;
|
|
8366
|
+
export type GetWithdrawalRequestsByMarketQueryHookResult = Apollo.QueryResult<SubgraphGetWithdrawalRequestsByMarketQuery, SubgraphGetWithdrawalRequestsByMarketQueryVariables>;
|
|
8367
|
+
export type GetWithdrawalRequestsByMarketLazyQueryHookResult = Apollo.LazyQueryResultTuple<SubgraphGetWithdrawalRequestsByMarketQuery, SubgraphGetWithdrawalRequestsByMarketQueryVariables>;
|
|
8368
|
+
export type GetWithdrawalRequestsByMarketSuspenseQueryHookResult = Apollo.UseSuspenseQueryResult<SubgraphGetWithdrawalRequestsByMarketQuery, SubgraphGetWithdrawalRequestsByMarketQueryVariables>;
|
|
8369
|
+
export type GetWithdrawalRequestsByMarketQueryResult = Apollo.QueryResult<SubgraphGetWithdrawalRequestsByMarketQuery, SubgraphGetWithdrawalRequestsByMarketQueryVariables>;
|
|
8331
8370
|
export declare const GetAllPendingWithdrawalBatchesForMarketDocument: Apollo.DocumentNode;
|
|
8332
8371
|
/**
|
|
8333
8372
|
* __useGetAllPendingWithdrawalBatchesForMarketQuery__
|