Skip to content

Commit

Permalink
fix: codegen for graphql
Browse files Browse the repository at this point in the history
  • Loading branch information
ogous committed Aug 6, 2024
1 parent f00a276 commit efa564c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
18 changes: 9 additions & 9 deletions web/src/gql/gql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ const documents = {
types.SelectPrimeAssetFragmentFragmentDoc,
"\n fragment ManagePoolFragment on SeawaterPool {\n address\n id\n liquidity {\n liquidity\n }\n token {\n symbol\n name\n decimals\n }\n liquidityIncentives {\n valueScaled\n }\n superIncentives {\n valueScaled\n }\n utilityIncentives {\n amountGivenOut\n maximumAmount\n }\n earnedFeesAPRFUSDC\n }\n":
types.ManagePoolFragmentFragmentDoc,
"\nfragment PositionsFragment on Wallet {\n positions {\n positions {\n positionId\n pool {\n address\n }\n lower\n upper\n liquidity {\n fusdc {\n valueUsd\n }\n token1 {\n valueUsd\n }\n }\n }\n }\n}\n":
"\n fragment PositionsFragment on Wallet {\n positions {\n positions {\n positionId\n pool {\n address\n }\n lower\n upper\n liquidity {\n fusdc {\n valueUsd\n }\n token1 {\n valueUsd\n }\n }\n }\n }\n }\n":
types.PositionsFragmentFragmentDoc,
"\nfragment WithdrawPositionsFragment on Wallet {\n positions {\n positions {\n positionId\n lower\n upper\n owner {\n address\n }\n liquidity {\n fusdc {\n valueUsd\n valueScaled\n }\n token1 {\n valueUsd\n valueScaled\n }\n }\n }\n }\n}\n":
"\n fragment WithdrawPositionsFragment on Wallet {\n positions {\n positions {\n positionId\n lower\n upper\n owner {\n address\n }\n liquidity {\n fusdc {\n valueUsd\n valueScaled\n }\n token1 {\n valueUsd\n valueScaled\n }\n }\n }\n }\n }\n":
types.WithdrawPositionsFragmentFragmentDoc,
"\n fragment SwapExploreFragment on SeawaterPool {\n token {\n name\n symbol\n address\n decimals\n }\n price\n }\n":
types.SwapExploreFragmentFragmentDoc,
Expand All @@ -33,7 +33,7 @@ const documents = {
types.TradeTabTransactionsFragmentFragmentDoc,
"\n fragment StakeFormFragment on SeawaterPool {\n address\n earnedFeesAPRFUSDC\n }\n":
types.StakeFormFragmentFragmentDoc,
"\nfragment DepositPositionsFragment on Wallet {\n positions {\n positions {\n positionId\n lower\n upper\n }\n }\n}\n":
"\n fragment DepositPositionsFragment on Wallet {\n positions {\n positions {\n positionId\n lower\n upper\n }\n }\n }\n":
types.DepositPositionsFragmentFragmentDoc,
"\n fragment SwapFormFragment on SeawaterPool {\n address\n earnedFeesAPRFUSDC\n earnedFeesAPRToken1\n token {\n address\n decimals\n name\n symbol\n }\n }\n":
types.SwapFormFragmentFragmentDoc,
Expand Down Expand Up @@ -87,14 +87,14 @@ export function graphql(
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function graphql(
source: "\nfragment PositionsFragment on Wallet {\n positions {\n positions {\n positionId\n pool {\n address\n }\n lower\n upper\n liquidity {\n fusdc {\n valueUsd\n }\n token1 {\n valueUsd\n }\n }\n }\n }\n}\n",
): (typeof documents)["\nfragment PositionsFragment on Wallet {\n positions {\n positions {\n positionId\n pool {\n address\n }\n lower\n upper\n liquidity {\n fusdc {\n valueUsd\n }\n token1 {\n valueUsd\n }\n }\n }\n }\n}\n"];
source: "\n fragment PositionsFragment on Wallet {\n positions {\n positions {\n positionId\n pool {\n address\n }\n lower\n upper\n liquidity {\n fusdc {\n valueUsd\n }\n token1 {\n valueUsd\n }\n }\n }\n }\n }\n",
): (typeof documents)["\n fragment PositionsFragment on Wallet {\n positions {\n positions {\n positionId\n pool {\n address\n }\n lower\n upper\n liquidity {\n fusdc {\n valueUsd\n }\n token1 {\n valueUsd\n }\n }\n }\n }\n }\n"];
/**
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function graphql(
source: "\nfragment WithdrawPositionsFragment on Wallet {\n positions {\n positions {\n positionId\n lower\n upper\n owner {\n address\n }\n liquidity {\n fusdc {\n valueUsd\n valueScaled\n }\n token1 {\n valueUsd\n valueScaled\n }\n }\n }\n }\n}\n",
): (typeof documents)["\nfragment WithdrawPositionsFragment on Wallet {\n positions {\n positions {\n positionId\n lower\n upper\n owner {\n address\n }\n liquidity {\n fusdc {\n valueUsd\n valueScaled\n }\n token1 {\n valueUsd\n valueScaled\n }\n }\n }\n }\n}\n"];
source: "\n fragment WithdrawPositionsFragment on Wallet {\n positions {\n positions {\n positionId\n lower\n upper\n owner {\n address\n }\n liquidity {\n fusdc {\n valueUsd\n valueScaled\n }\n token1 {\n valueUsd\n valueScaled\n }\n }\n }\n }\n }\n",
): (typeof documents)["\n fragment WithdrawPositionsFragment on Wallet {\n positions {\n positions {\n positionId\n lower\n upper\n owner {\n address\n }\n liquidity {\n fusdc {\n valueUsd\n valueScaled\n }\n token1 {\n valueUsd\n valueScaled\n }\n }\n }\n }\n }\n"];
/**
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
Expand Down Expand Up @@ -123,8 +123,8 @@ export function graphql(
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function graphql(
source: "\nfragment DepositPositionsFragment on Wallet {\n positions {\n positions {\n positionId\n lower\n upper\n }\n }\n}\n",
): (typeof documents)["\nfragment DepositPositionsFragment on Wallet {\n positions {\n positions {\n positionId\n lower\n upper\n }\n }\n}\n"];
source: "\n fragment DepositPositionsFragment on Wallet {\n positions {\n positions {\n positionId\n lower\n upper\n }\n }\n }\n",
): (typeof documents)["\n fragment DepositPositionsFragment on Wallet {\n positions {\n positions {\n positionId\n lower\n upper\n }\n }\n }\n"];
/**
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
Expand Down
5 changes: 4 additions & 1 deletion web/src/gql/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,10 @@ export type SeawaterPool = {
address: Scalars["String"]["output"];
/** Amounts currently contained in this pool. */
amounts: PairAmount;
/** Configuration details available to this pool. Should be mostly static. */
/**
* Configuration details available to this pool. Should be mostly static. This is displayed
* to the frontend. Can be used to hint how the display of the tick selection should work.
*/
config: SeawaterConfig;
/** TODO */
earnedFeesAPRFUSDC: Array<Scalars["String"]["output"]>;
Expand Down

0 comments on commit efa564c

Please sign in to comment.