From a6abb505b24f0e7753ae6116b2c5eb212625e647 Mon Sep 17 00:00:00 2001 From: Arda TANRIKULU Date: Tue, 31 Dec 2024 12:45:57 +0300 Subject: [PATCH] Go --- packages/gateway/src/commands/proxy.ts | 3 +-- packages/gateway/src/commands/subgraph.ts | 3 +-- packages/gateway/src/commands/supergraph.ts | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/packages/gateway/src/commands/proxy.ts b/packages/gateway/src/commands/proxy.ts index 6eb2f10e5..12c9f4904 100644 --- a/packages/gateway/src/commands/proxy.ts +++ b/packages/gateway/src/commands/proxy.ts @@ -8,7 +8,6 @@ import { defaultOptions, type AddCommand, type CLIContext, - type CLIGlobals, type GatewayCLIConfig, } from '../cli'; import { @@ -40,7 +39,7 @@ export const addCommand: AddCommand = (ctx, cli) => hivePersistedDocumentsEndpoint, hivePersistedDocumentsToken, ...opts - } = this.optsWithGlobals(); + } = this.optsWithGlobals(); const loadedConfig = await loadConfig({ log: ctx.log, configPath: opts.configPath, diff --git a/packages/gateway/src/commands/subgraph.ts b/packages/gateway/src/commands/subgraph.ts index 1b21a3105..5191358a2 100644 --- a/packages/gateway/src/commands/subgraph.ts +++ b/packages/gateway/src/commands/subgraph.ts @@ -12,7 +12,6 @@ import { defaultOptions, type AddCommand, type CLIContext, - type CLIGlobals, type GatewayCLIConfig, } from '../cli'; import { @@ -41,7 +40,7 @@ export const addCommand: AddCommand = (ctx, cli) => hivePersistedDocumentsEndpoint, hivePersistedDocumentsToken, ...opts - } = this.optsWithGlobals(); + } = this.optsWithGlobals(); const loadedConfig = await loadConfig({ log: ctx.log, configPath: opts.configPath, diff --git a/packages/gateway/src/commands/supergraph.ts b/packages/gateway/src/commands/supergraph.ts index 2c3183d5e..fdec961b5 100644 --- a/packages/gateway/src/commands/supergraph.ts +++ b/packages/gateway/src/commands/supergraph.ts @@ -18,7 +18,6 @@ import { defaultOptions, type AddCommand, type CLIContext, - type CLIGlobals, type GatewayCLIConfig, } from '../cli'; import { @@ -57,7 +56,7 @@ export const addCommand: AddCommand = (ctx, cli) => hivePersistedDocumentsEndpoint, hivePersistedDocumentsToken, ...opts - } = this.optsWithGlobals(); + } = this.optsWithGlobals(); // TODO: move to optsWithGlobals once https://github.com/commander-js/extra-typings/pull/76 is merged const { apolloUplink } = this.opts();