From 08aa87f3dd20fa99290e3cf4042694450a53232a Mon Sep 17 00:00:00 2001 From: Matthew Russell Date: Tue, 23 Aug 2022 15:45:27 -0700 Subject: [PATCH] chore: dont use env var for type generation, regen types --- .../src/app/routes/assets/__generated__/AssetsQuery.ts | 2 +- apps/token/src/routes/withdraw/__generated__/WithdrawPage.ts | 2 +- .../pages/portfolio/deposit/__generated__/DepositPage.ts | 2 +- .../portfolio/withdraw/__generated__/WithdrawPageQuery.ts | 2 +- libs/types/apollo.config.js | 3 +-- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/apps/explorer/src/app/routes/assets/__generated__/AssetsQuery.ts b/apps/explorer/src/app/routes/assets/__generated__/AssetsQuery.ts index a86c2578b..19916db4b 100644 --- a/apps/explorer/src/app/routes/assets/__generated__/AssetsQuery.ts +++ b/apps/explorer/src/app/routes/assets/__generated__/AssetsQuery.ts @@ -94,7 +94,7 @@ export interface AssetsQuery_assetsConnection { export interface AssetsQuery { /** - * The list of all assets in use in the vega network or the specified asset if id is provided + * The list of all assets in use in the Vega network or the specified asset if ID is provided */ assetsConnection: AssetsQuery_assetsConnection; } diff --git a/apps/token/src/routes/withdraw/__generated__/WithdrawPage.ts b/apps/token/src/routes/withdraw/__generated__/WithdrawPage.ts index 4df256379..0f9478cf8 100644 --- a/apps/token/src/routes/withdraw/__generated__/WithdrawPage.ts +++ b/apps/token/src/routes/withdraw/__generated__/WithdrawPage.ts @@ -197,7 +197,7 @@ export interface WithdrawPage { */ party: WithdrawPage_party | null; /** - * The list of all assets in use in the vega network or the specified asset if id is provided + * The list of all assets in use in the Vega network or the specified asset if ID is provided */ assetsConnection: WithdrawPage_assetsConnection; } diff --git a/apps/trading/pages/portfolio/deposit/__generated__/DepositPage.ts b/apps/trading/pages/portfolio/deposit/__generated__/DepositPage.ts index 5cbfbf6ab..38052162a 100644 --- a/apps/trading/pages/portfolio/deposit/__generated__/DepositPage.ts +++ b/apps/trading/pages/portfolio/deposit/__generated__/DepositPage.ts @@ -60,7 +60,7 @@ export interface DepositPage_assetsConnection { export interface DepositPage { /** - * The list of all assets in use in the vega network or the specified asset if id is provided + * The list of all assets in use in the Vega network or the specified asset if ID is provided */ assetsConnection: DepositPage_assetsConnection; } diff --git a/apps/trading/pages/portfolio/withdraw/__generated__/WithdrawPageQuery.ts b/apps/trading/pages/portfolio/withdraw/__generated__/WithdrawPageQuery.ts index 87d149a91..57c74885f 100644 --- a/apps/trading/pages/portfolio/withdraw/__generated__/WithdrawPageQuery.ts +++ b/apps/trading/pages/portfolio/withdraw/__generated__/WithdrawPageQuery.ts @@ -122,7 +122,7 @@ export interface WithdrawPageQuery { */ party: WithdrawPageQuery_party | null; /** - * The list of all assets in use in the vega network or the specified asset if id is provided + * The list of all assets in use in the Vega network or the specified asset if ID is provided */ assetsConnection: WithdrawPageQuery_assetsConnection; } diff --git a/libs/types/apollo.config.js b/libs/types/apollo.config.js index 8eb16d25a..1d8fd2e80 100644 --- a/libs/types/apollo.config.js +++ b/libs/types/apollo.config.js @@ -2,8 +2,7 @@ module.exports = { client: { service: { name: 'vega', - url: - process.env.NX_VEGA_URL || 'https://api.n11.testnet.vega.xyz/graphql', + url: 'https://api.n09.testnet.vega.xyz/graphql', }, includes: ['../../{apps,libs}/**/*.{ts,tsx,js,jsx,graphql}'], excludes: ['**/generic-data-provider.ts'],