diff --git a/src/bin/vip-app-deploy.generated.d.ts b/src/bin/vip-app-deploy.generated.d.ts index 1b2a6ff3a..2790e17cc 100644 --- a/src/bin/vip-app-deploy.generated.d.ts +++ b/src/bin/vip-app-deploy.generated.d.ts @@ -1,13 +1,13 @@ import * as Types from '../graphqlTypes'; -export type StartDeployMutationVariables = Types.Exact< { - input?: Types.InputMaybe< Types.AppEnvironmentDeployInput >; +export type StartCustomDeployMutationVariables = Types.Exact< { + input?: Types.InputMaybe< Types.AppEnvironmentCustomDeployInput >; } >; -export type StartDeployMutation = { +export type StartCustomDeployMutation = { __typename?: 'Mutation'; startDeploy?: { - __typename?: 'AppEnvironmentDeployPayload'; + __typename?: 'AppEnvironmentCustomDeployPayload'; message?: string | null; success?: boolean | null; app?: { __typename?: 'App'; id?: number | null; name?: string | null } | null; diff --git a/src/bin/vip-app-deploy.ts b/src/bin/vip-app-deploy.ts index a8bf665b4..55ba6cc4f 100755 --- a/src/bin/vip-app-deploy.ts +++ b/src/bin/vip-app-deploy.ts @@ -11,7 +11,7 @@ import gql from 'graphql-tag'; /** * Internal dependencies */ -import { App, AppEnvironment, AppEnvironmentDeployInput } from '../graphqlTypes'; +import { App, AppEnvironment, AppEnvironmentCustomDeployInput } from '../graphqlTypes'; import API from '../lib/api'; import command from '../lib/cli/command'; import * as exit from '../lib/cli/exit'; @@ -51,8 +51,8 @@ const appQuery = ` `; const START_DEPLOY_MUTATION = gql` - mutation StartDeploy($input: AppEnvironmentDeployInput) { - startDeploy(input: $input) { + mutation StartCustomDeploy($input: AppEnvironmentCustomDeployInput) { + startCustomDeploy(input: $input) { app { id name @@ -77,8 +77,8 @@ interface PromptToContinueParams { domain: string; } -interface StartDeployVariables { - input: AppEnvironmentDeployInput; +interface StartCustomDeployVariables { + input: AppEnvironmentCustomDeployInput; } /** @@ -198,7 +198,7 @@ Processing the file for deployment to your environment... progressCallback, hashType: 'sha256', }; - const startDeployVariables: StartDeployVariables = { input: {} }; + const startDeployVariables: StartCustomDeployVariables = { input: {} }; try { const { diff --git a/src/graphqlTypes.d.ts b/src/graphqlTypes.d.ts index 196d17d0f..898831ce2 100644 --- a/src/graphqlTypes.d.ts +++ b/src/graphqlTypes.d.ts @@ -655,7 +655,7 @@ export type AppEnvironmentIcon = { width?: Maybe< Scalars[ 'Int' ][ 'output' ] >; }; -export type AppEnvironmentDeployInput = { +export type AppEnvironmentCustomDeployInput = { basename?: InputMaybe< Scalars[ 'String' ][ 'input' ] >; environmentId?: InputMaybe< Scalars[ 'Int' ][ 'input' ] >; id?: InputMaybe< Scalars[ 'Int' ][ 'input' ] >; @@ -663,8 +663,8 @@ export type AppEnvironmentDeployInput = { deployMessage?: InputMaybe< Scalars[ 'String' ][ 'input' ] >; }; -export type AppEnvironmentDeployPayload = { - __typename?: 'AppEnvironmentDeployPayload'; +export type AppEnvironmentCustomDeployPayload = { + __typename?: 'AppEnvironmentCustomDeployPayload'; app?: Maybe< App >; message?: Maybe< Scalars[ 'String' ][ 'output' ] >; success?: Maybe< Scalars[ 'Boolean' ][ 'output' ] >; @@ -2101,7 +2101,7 @@ export type Mutation = { updateWPSiteLaunchStatus?: Maybe< WpSiteLaunchStatusPayload >; validateLogShippingConfig?: Maybe< AppEnvironmentLogShippingValidationPayload >; /** BYOR */ - startDeploy?: Maybe< AppEnvironmentDeployPayload >; + startCustomDeploy?: Maybe< AppEnvironmentCustomDeployPayload >; }; export type MutationAbortMediaImportArgs = { @@ -2308,8 +2308,8 @@ export type MutationStartImportArgs = { input?: InputMaybe< AppEnvironmentImportInput >; }; -export type MutationStartDeployArgs = { - input?: InputMaybe< AppEnvironmentDeployInput >; +export type MutationStartCustomDeployArgs = { + input?: InputMaybe< AppEnvironmentCustomDeployInput >; }; export type MutationStartMediaExportArgs = {