diff --git a/packages/eas-cli/graphql.schema.json b/packages/eas-cli/graphql.schema.json index 158b5af1c0..6b22e73580 100644 --- a/packages/eas-cli/graphql.schema.json +++ b/packages/eas-cli/graphql.schema.json @@ -1470,6 +1470,30 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "environmentVariableEnvironments", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "EnvironmentVariableEnvironment", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "environmentVariables", "description": "Environment variables for an account", @@ -8983,6 +9007,30 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "environmentVariableEnvironments", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "EnvironmentVariableEnvironment", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "environmentVariables", "description": "Environment variables for an app", diff --git a/packages/eas-cli/src/commands/build/cancel.ts b/packages/eas-cli/src/commands/build/cancel.ts index ef2f680791..6fa3b99f0f 100644 --- a/packages/eas-cli/src/commands/build/cancel.ts +++ b/packages/eas-cli/src/commands/build/cancel.ts @@ -27,8 +27,8 @@ async function cancelBuildAsync( .mutation( gql` mutation CancelBuildMutation($buildId: ID!) { - build(buildId: $buildId) { - cancel { + build { + cancelBuild(buildId: $buildId) { id status } @@ -39,7 +39,7 @@ async function cancelBuildAsync( ) .toPromise() ); - return data.build.cancel; + return data.build.cancelBuild; } export async function selectBuildToCancelAsync( diff --git a/packages/eas-cli/src/graphql/generated.ts b/packages/eas-cli/src/graphql/generated.ts index 17790ee877..b840181fd4 100644 --- a/packages/eas-cli/src/graphql/generated.ts +++ b/packages/eas-cli/src/graphql/generated.ts @@ -124,6 +124,7 @@ export type Account = { displayName?: Maybe; /** Environment secrets for an account */ environmentSecrets: Array; + environmentVariableEnvironments: Array; /** Environment variables for an account */ environmentVariables: Array; /** Environment variables for an account with decrypted secret values */ @@ -1285,6 +1286,7 @@ export type App = Project & { devDomainName?: Maybe; /** Environment secrets for an app */ environmentSecrets: Array; + environmentVariableEnvironments: Array; /** Environment variables for an app */ environmentVariables: Array; /** Environment variables for an app with decrypted secret values */ @@ -9165,7 +9167,7 @@ export type CancelBuildMutationVariables = Exact<{ }>; -export type CancelBuildMutation = { __typename?: 'RootMutation', build: { __typename?: 'BuildMutation', cancel: { __typename?: 'Build', id: string, status: BuildStatus } } }; +export type CancelBuildMutation = { __typename?: 'RootMutation', build: { __typename?: 'BuildMutation', cancelBuild: { __typename?: 'Build', id: string, status: BuildStatus } } }; export type DeleteBuildMutationVariables = Exact<{ buildId: Scalars['ID']['input'];