Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency @octokit/graphql-schema to v14.40.0 #771

Merged
merged 3 commits into from
Nov 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@graphql-codegen/import-types-preset": "3.0.0",
"@graphql-codegen/typescript": "4.0.1",
"@graphql-codegen/typescript-operations": "4.0.1",
"@octokit/graphql-schema": "14.39.2",
"@octokit/graphql-schema": "14.40.0",
"@tsconfig/node16": "16.1.1",
"@types/jest": "29.5.7",
"@types/node": "20.8.10",
Expand Down
45 changes: 38 additions & 7 deletions src/generated/graphql-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,23 @@ export type AbortQueuedMigrationsPayload = {
success?: Maybe<Scalars['Boolean']['output']>;
};

/** Autogenerated input type of AbortRepositoryMigration */
export type AbortRepositoryMigrationInput = {
/** A unique identifier for the client performing the mutation. */
clientMutationId?: InputMaybe<Scalars['String']['input']>;
/** The ID of the migration to be aborted. */
migrationId: Scalars['ID']['input'];
};

/** Autogenerated return type of AbortRepositoryMigration */
export type AbortRepositoryMigrationPayload = {
__typename?: 'AbortRepositoryMigrationPayload';
/** A unique identifier for the client performing the mutation. */
clientMutationId?: Maybe<Scalars['String']['output']>;
/** Did the operation succeed? */
success?: Maybe<Scalars['Boolean']['output']>;
};

/** Autogenerated input type of AcceptEnterpriseAdministratorInvitation */
export type AcceptEnterpriseAdministratorInvitationInput = {
/** A unique identifier for the client performing the mutation. */
Expand Down Expand Up @@ -10277,6 +10294,8 @@ export type Mutation = {
__typename?: 'Mutation';
/** Clear all of a customer's queued migrations */
abortQueuedMigrations?: Maybe<AbortQueuedMigrationsPayload>;
/** Abort a repository migration queued or in progress. */
abortRepositoryMigration?: Maybe<AbortRepositoryMigrationPayload>;
/** Accepts a pending invitation for a user to become an administrator of an enterprise. */
acceptEnterpriseAdministratorInvitation?: Maybe<AcceptEnterpriseAdministratorInvitationPayload>;
/** Applies a suggested topic to the repository. */
Expand Down Expand Up @@ -10760,6 +10779,12 @@ export type MutationAbortQueuedMigrationsArgs = {
};


/** The root query for implementing GraphQL mutations. */
export type MutationAbortRepositoryMigrationArgs = {
input: AbortRepositoryMigrationInput;
};


/** The root query for implementing GraphQL mutations. */
export type MutationAcceptEnterpriseAdministratorInvitationArgs = {
input: AcceptEnterpriseAdministratorInvitationInput;
Expand Down Expand Up @@ -17420,7 +17445,7 @@ export type PullRequestParametersInput = {
};

/** A review object for a given pull request. */
export type PullRequestReview = Comment & Deletable & Node & Reactable & RepositoryNode & Updatable & UpdatableComment & {
export type PullRequestReview = Comment & Deletable & Minimizable & Node & Reactable & RepositoryNode & Updatable & UpdatableComment & {
__typename?: 'PullRequestReview';
/** The actor who authored the comment. */
author?: Maybe<Actor>;
Expand Down Expand Up @@ -17449,8 +17474,12 @@ export type PullRequestReview = Comment & Deletable & Node & Reactable & Reposit
id: Scalars['ID']['output'];
/** Check if this comment was edited and includes an edit with the creation data */
includesCreatedEdit: Scalars['Boolean']['output'];
/** Returns whether or not a comment has been minimized. */
isMinimized: Scalars['Boolean']['output'];
/** The moment the editor made the last edit */
lastEditedAt?: Maybe<Scalars['DateTime']['output']>;
/** Returns why the comment was minimized. One of `abuse`, `off-topic`, `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and formatting of these values differs from the inputs to the `MinimizeComment` mutation. */
minimizedReason?: Maybe<Scalars['String']['output']>;
/** A list of teams that this review was made on behalf of. */
onBehalfOf: TeamConnection;
/** Identifies when the comment was published at. */
Expand All @@ -17477,6 +17506,8 @@ export type PullRequestReview = Comment & Deletable & Node & Reactable & Reposit
userContentEdits?: Maybe<UserContentEditConnection>;
/** Check if the current viewer can delete this object. */
viewerCanDelete: Scalars['Boolean']['output'];
/** Check if the current viewer can minimize this object. */
viewerCanMinimize: Scalars['Boolean']['output'];
/** Can user react to this subject */
viewerCanReact: Scalars['Boolean']['output'];
/** Check if the current viewer can update this object. */
Expand Down Expand Up @@ -21696,15 +21727,15 @@ export enum RepositoryRuleType {
NonFastForward = 'NON_FAST_FORWARD',
/** Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. */
PullRequest = 'PULL_REQUEST',
/** Choose which environments must be successfully deployed to before refs can be merged into a branch that matches this rule. */
/** Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule. */
RequiredDeployments = 'REQUIRED_DEPLOYMENTS',
/** Prevent merge commits from being pushed to matching refs. */
RequiredLinearHistory = 'REQUIRED_LINEAR_HISTORY',
/** When enabled, all conversations on code must be resolved before a pull request can be merged into a branch that matches this rule. */
RequiredReviewThreadResolution = 'REQUIRED_REVIEW_THREAD_RESOLUTION',
/** Commits pushed to matching refs must have verified signatures. */
RequiredSignatures = 'REQUIRED_SIGNATURES',
/** Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a ref that matches this rule after status checks have passed. */
/** Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed to another ref where the checks pass. */
RequiredStatusChecks = 'REQUIRED_STATUS_CHECKS',
/** Require all commits be made to a non-target branch and submitted via a pull request and required workflow checks to pass before they can be merged. */
RequiredWorkflowStatusChecks = 'REQUIRED_WORKFLOW_STATUS_CHECKS',
Expand Down Expand Up @@ -22156,14 +22187,14 @@ export type RequirableByPullRequestIsRequiredArgs = {
pullRequestNumber?: InputMaybe<Scalars['Int']['input']>;
};

/** Choose which environments must be successfully deployed to before refs can be merged into a branch that matches this rule. */
/** Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule. */
export type RequiredDeploymentsParameters = {
__typename?: 'RequiredDeploymentsParameters';
/** The environments that must be successfully deployed to before branches can be merged. */
requiredDeploymentEnvironments: Array<Scalars['String']['output']>;
};

/** Choose which environments must be successfully deployed to before refs can be merged into a branch that matches this rule. */
/** Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule. */
export type RequiredDeploymentsParametersInput = {
/** The environments that must be successfully deployed to before branches can be merged. */
requiredDeploymentEnvironments: Array<Scalars['String']['input']>;
Expand All @@ -22186,7 +22217,7 @@ export type RequiredStatusCheckInput = {
context: Scalars['String']['input'];
};

/** Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a ref that matches this rule after status checks have passed. */
/** Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed to another ref where the checks pass. */
export type RequiredStatusChecksParameters = {
__typename?: 'RequiredStatusChecksParameters';
/** Status checks that are required. */
Expand All @@ -22195,7 +22226,7 @@ export type RequiredStatusChecksParameters = {
strictRequiredStatusChecksPolicy: Scalars['Boolean']['output'];
};

/** Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a ref that matches this rule after status checks have passed. */
/** Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed to another ref where the checks pass. */
export type RequiredStatusChecksParametersInput = {
/** Status checks that are required. */
requiredStatusChecks: Array<StatusCheckConfigurationInput>;
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2079,10 +2079,10 @@
is-plain-object "^5.0.0"
universal-user-agent "^6.0.0"

"@octokit/graphql-schema@14.39.2":
version "14.39.2"
resolved "https://registry.yarnpkg.com/@octokit/graphql-schema/-/graphql-schema-14.39.2.tgz#fd93eeaf54a5974744d7bb472f797773032cd3cd"
integrity sha512-BwUKefIANJKKE6WqTLNvymb70i6z5ERoixBympTUubG+SXD2aSJTzPP5DB1jb4GQhA1LZ0XiKmRGxRVGZg7oWA==
"@octokit/graphql-schema@14.40.0":
version "14.40.0"
resolved "https://registry.yarnpkg.com/@octokit/graphql-schema/-/graphql-schema-14.40.0.tgz#4e6d7f6eca311b21316a65c304bf2e838bcb64a7"
integrity sha512-xqBcB1D2nZAqAejm6yYSaOxD9c5o+45cwiJ2kgzZ8MXyJAONRZyGJ+GQhXEUxLuqRGDE4wg7nqxeS/r4dqqeOA==
dependencies:
graphql "^16.0.0"
graphql-tag "^2.10.3"
Expand Down
Loading