@wildcatfi/wildcat-sdk 2.0.50 → 2.0.51
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 +69 -0
- package/dist/gql/graphql.d.ts.map +1 -1
- package/dist/gql/graphql.js +93 -2
- package/dist/gql/graphql.js.map +1 -1
- package/package.json +1 -1
package/dist/gql/graphql.d.ts
CHANGED
|
@@ -7417,6 +7417,32 @@ export type SubgraphGetMarketsForBorrowerQuery = {
|
|
|
7417
7417
|
markets: SubgraphMarketDataWithEventsFragment[];
|
|
7418
7418
|
}>;
|
|
7419
7419
|
};
|
|
7420
|
+
export type SubgraphGetMarketsForAllBorrowersQueryVariables = Exact<{
|
|
7421
|
+
numMarkets?: InputMaybe<Scalars["Int"]["input"]>;
|
|
7422
|
+
skipMarkets?: InputMaybe<Scalars["Int"]["input"]>;
|
|
7423
|
+
orderMarkets?: InputMaybe<SubgraphMarket_OrderBy>;
|
|
7424
|
+
directionMarkets?: InputMaybe<SubgraphOrderDirection>;
|
|
7425
|
+
numDeposits?: InputMaybe<Scalars["Int"]["input"]>;
|
|
7426
|
+
skipDeposits?: InputMaybe<Scalars["Int"]["input"]>;
|
|
7427
|
+
orderDeposits?: InputMaybe<SubgraphDeposit_OrderBy>;
|
|
7428
|
+
directionDeposits?: InputMaybe<SubgraphOrderDirection>;
|
|
7429
|
+
numBorrows?: InputMaybe<Scalars["Int"]["input"]>;
|
|
7430
|
+
skipBorrows?: InputMaybe<Scalars["Int"]["input"]>;
|
|
7431
|
+
orderBorrows?: InputMaybe<SubgraphBorrow_OrderBy>;
|
|
7432
|
+
directionBorrows?: InputMaybe<SubgraphOrderDirection>;
|
|
7433
|
+
numFeeCollections?: InputMaybe<Scalars["Int"]["input"]>;
|
|
7434
|
+
skipFeeCollections?: InputMaybe<Scalars["Int"]["input"]>;
|
|
7435
|
+
orderFeeCollections?: InputMaybe<SubgraphFeesCollected_OrderBy>;
|
|
7436
|
+
directionFeeCollections?: InputMaybe<SubgraphOrderDirection>;
|
|
7437
|
+
numRepayments?: InputMaybe<Scalars["Int"]["input"]>;
|
|
7438
|
+
skipRepayments?: InputMaybe<Scalars["Int"]["input"]>;
|
|
7439
|
+
orderRepayments?: InputMaybe<SubgraphDebtRepaid_OrderBy>;
|
|
7440
|
+
directionRepayments?: InputMaybe<SubgraphOrderDirection>;
|
|
7441
|
+
}>;
|
|
7442
|
+
export type SubgraphGetMarketsForAllBorrowersQuery = {
|
|
7443
|
+
__typename?: "Query";
|
|
7444
|
+
markets: SubgraphMarketDataWithEventsFragment[];
|
|
7445
|
+
};
|
|
7420
7446
|
export type SubgraphGetMarketQueryVariables = Exact<{
|
|
7421
7447
|
market: Scalars["ID"]["input"];
|
|
7422
7448
|
numDeposits?: InputMaybe<Scalars["Int"]["input"]>;
|
|
@@ -8062,6 +8088,49 @@ export type GetMarketsForBorrowerQueryHookResult = Apollo.QueryResult<SubgraphGe
|
|
|
8062
8088
|
export type GetMarketsForBorrowerLazyQueryHookResult = Apollo.LazyQueryResultTuple<SubgraphGetMarketsForBorrowerQuery, SubgraphGetMarketsForBorrowerQueryVariables>;
|
|
8063
8089
|
export type GetMarketsForBorrowerSuspenseQueryHookResult = Apollo.UseSuspenseQueryResult<SubgraphGetMarketsForBorrowerQuery, SubgraphGetMarketsForBorrowerQueryVariables>;
|
|
8064
8090
|
export type GetMarketsForBorrowerQueryResult = Apollo.QueryResult<SubgraphGetMarketsForBorrowerQuery, SubgraphGetMarketsForBorrowerQueryVariables>;
|
|
8091
|
+
export declare const GetMarketsForAllBorrowersDocument: Apollo.DocumentNode;
|
|
8092
|
+
/**
|
|
8093
|
+
* __useGetMarketsForAllBorrowersQuery__
|
|
8094
|
+
*
|
|
8095
|
+
* To run a query within a React component, call `useGetMarketsForAllBorrowersQuery` and pass it any options that fit your needs.
|
|
8096
|
+
* When your component renders, `useGetMarketsForAllBorrowersQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
8097
|
+
* you can use to render your UI.
|
|
8098
|
+
*
|
|
8099
|
+
* @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;
|
|
8100
|
+
*
|
|
8101
|
+
* @example
|
|
8102
|
+
* const { data, loading, error } = useGetMarketsForAllBorrowersQuery({
|
|
8103
|
+
* variables: {
|
|
8104
|
+
* numMarkets: // value for 'numMarkets'
|
|
8105
|
+
* skipMarkets: // value for 'skipMarkets'
|
|
8106
|
+
* orderMarkets: // value for 'orderMarkets'
|
|
8107
|
+
* directionMarkets: // value for 'directionMarkets'
|
|
8108
|
+
* numDeposits: // value for 'numDeposits'
|
|
8109
|
+
* skipDeposits: // value for 'skipDeposits'
|
|
8110
|
+
* orderDeposits: // value for 'orderDeposits'
|
|
8111
|
+
* directionDeposits: // value for 'directionDeposits'
|
|
8112
|
+
* numBorrows: // value for 'numBorrows'
|
|
8113
|
+
* skipBorrows: // value for 'skipBorrows'
|
|
8114
|
+
* orderBorrows: // value for 'orderBorrows'
|
|
8115
|
+
* directionBorrows: // value for 'directionBorrows'
|
|
8116
|
+
* numFeeCollections: // value for 'numFeeCollections'
|
|
8117
|
+
* skipFeeCollections: // value for 'skipFeeCollections'
|
|
8118
|
+
* orderFeeCollections: // value for 'orderFeeCollections'
|
|
8119
|
+
* directionFeeCollections: // value for 'directionFeeCollections'
|
|
8120
|
+
* numRepayments: // value for 'numRepayments'
|
|
8121
|
+
* skipRepayments: // value for 'skipRepayments'
|
|
8122
|
+
* orderRepayments: // value for 'orderRepayments'
|
|
8123
|
+
* directionRepayments: // value for 'directionRepayments'
|
|
8124
|
+
* },
|
|
8125
|
+
* });
|
|
8126
|
+
*/
|
|
8127
|
+
export declare function useGetMarketsForAllBorrowersQuery(baseOptions?: Apollo.QueryHookOptions<SubgraphGetMarketsForAllBorrowersQuery, SubgraphGetMarketsForAllBorrowersQueryVariables>): GetMarketsForAllBorrowersQueryHookResult;
|
|
8128
|
+
export declare function useGetMarketsForAllBorrowersLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SubgraphGetMarketsForAllBorrowersQuery, SubgraphGetMarketsForAllBorrowersQueryVariables>): GetMarketsForAllBorrowersLazyQueryHookResult;
|
|
8129
|
+
export declare function useGetMarketsForAllBorrowersSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<SubgraphGetMarketsForAllBorrowersQuery, SubgraphGetMarketsForAllBorrowersQueryVariables>): GetMarketsForAllBorrowersSuspenseQueryHookResult;
|
|
8130
|
+
export type GetMarketsForAllBorrowersQueryHookResult = Apollo.QueryResult<SubgraphGetMarketsForAllBorrowersQuery, SubgraphGetMarketsForAllBorrowersQueryVariables>;
|
|
8131
|
+
export type GetMarketsForAllBorrowersLazyQueryHookResult = Apollo.LazyQueryResultTuple<SubgraphGetMarketsForAllBorrowersQuery, SubgraphGetMarketsForAllBorrowersQueryVariables>;
|
|
8132
|
+
export type GetMarketsForAllBorrowersSuspenseQueryHookResult = Apollo.UseSuspenseQueryResult<SubgraphGetMarketsForAllBorrowersQuery, SubgraphGetMarketsForAllBorrowersQueryVariables>;
|
|
8133
|
+
export type GetMarketsForAllBorrowersQueryResult = Apollo.QueryResult<SubgraphGetMarketsForAllBorrowersQuery, SubgraphGetMarketsForAllBorrowersQueryVariables>;
|
|
8065
8134
|
export declare const GetMarketDocument: Apollo.DocumentNode;
|
|
8066
8135
|
/**
|
|
8067
8136
|
* __useGetMarketQuery__
|