Skip to content

Commit

Permalink
docs(github): Update GraphQL generated types
Browse files Browse the repository at this point in the history
  • Loading branch information
sushichan044 committed Dec 10, 2024
1 parent 49824f7 commit 3a1cc85
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 50 deletions.
4 changes: 4 additions & 0 deletions extensions/github/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# GitHub Changelog

## [Update GraphQL generated types] - 2024-12-09

- Updated auto-generated GraphQL codes with the latest schema.

## [Handle notification icon retrieval error] - 2024-11-08

- Unread Notifications Menu Bar: Display a fallback icon when the notification icon retrieval fails.
Expand Down
73 changes: 23 additions & 50 deletions extensions/github/src/generated/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6497,6 +6497,10 @@ export type Enterprise = AnnouncementBannerI &
readmeHTML: Scalars["HTML"]["output"];
/** The HTTP path for this enterprise. */
resourcePath: Scalars["URI"]["output"];
/** Returns a single ruleset from the current enterprise by ID. */
ruleset?: Maybe<RepositoryRuleset>;
/** A list of rulesets for this enterprise. */
rulesets?: Maybe<RepositoryRulesetConnection>;
/** The URL-friendly identifier for the enterprise. */
slug: Scalars["String"]["output"];
/** The HTTP URL for this enterprise. */
Expand Down Expand Up @@ -6538,6 +6542,19 @@ export type EnterpriseOrganizationsArgs = {
viewerOrganizationRole?: InputMaybe<RoleInOrganization>;
};

/** An account to manage multiple organizations with consolidated policy and billing. */
export type EnterpriseRulesetArgs = {
databaseId: Scalars["Int"]["input"];
};

/** An account to manage multiple organizations with consolidated policy and billing. */
export type EnterpriseRulesetsArgs = {
after?: InputMaybe<Scalars["String"]["input"]>;
before?: InputMaybe<Scalars["String"]["input"]>;
first?: InputMaybe<Scalars["Int"]["input"]>;
last?: InputMaybe<Scalars["Int"]["input"]>;
};

/** The connection type for User. */
export type EnterpriseAdministratorConnection = {
__typename?: "EnterpriseAdministratorConnection";
Expand Down Expand Up @@ -10177,25 +10194,6 @@ export type MarkFileAsViewedPayload = {
pullRequest?: Maybe<PullRequest>;
};

/** Autogenerated input type of MarkNotificationAsDone */
export type MarkNotificationAsDoneInput = {
/** A unique identifier for the client performing the mutation. */
clientMutationId?: InputMaybe<Scalars["String"]["input"]>;
/** The NotificationThread id. */
id: Scalars["ID"]["input"];
};

/** Autogenerated return type of MarkNotificationAsDone. */
export type MarkNotificationAsDonePayload = {
__typename?: "MarkNotificationAsDonePayload";
/** A unique identifier for the client performing the mutation. */
clientMutationId?: Maybe<Scalars["String"]["output"]>;
/** Did the operation succeed? */
success?: Maybe<Scalars["Boolean"]["output"]>;
/** The user that the notification belongs to. */
viewer?: Maybe<User>;
};

/** Autogenerated input type of MarkProjectV2AsTemplate */
export type MarkProjectV2AsTemplateInput = {
/** A unique identifier for the client performing the mutation. */
Expand Down Expand Up @@ -11544,8 +11542,6 @@ export type Mutation = {
markDiscussionCommentAsAnswer?: Maybe<MarkDiscussionCommentAsAnswerPayload>;
/** Mark a pull request file as viewed */
markFileAsViewed?: Maybe<MarkFileAsViewedPayload>;
/** Marks a notification as done */
markNotificationAsDone?: Maybe<MarkNotificationAsDonePayload>;
/** Mark a project as a template. Note that only projects which are owned by an Organization can be marked as a template. */
markProjectV2AsTemplate?: Maybe<MarkProjectV2AsTemplatePayload>;
/** Marks a pull request ready for review. */
Expand Down Expand Up @@ -11668,8 +11664,6 @@ export type Mutation = {
unpinIssue?: Maybe<UnpinIssuePayload>;
/** Marks a review thread as unresolved. */
unresolveReviewThread?: Maybe<UnresolveReviewThreadPayload>;
/** Unsubscribes from notifications */
unsubscribeFromNotifications?: Maybe<UnsubscribeFromNotificationsPayload>;
/** Update a branch protection rule */
updateBranchProtectionRule?: Maybe<UpdateBranchProtectionRulePayload>;
/** Update a check run */
Expand Down Expand Up @@ -12425,11 +12419,6 @@ export type MutationMarkFileAsViewedArgs = {
input: MarkFileAsViewedInput;
};

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

/** The root query for implementing GraphQL mutations. */
export type MutationMarkProjectV2AsTemplateArgs = {
input: MarkProjectV2AsTemplateInput;
Expand Down Expand Up @@ -12735,11 +12724,6 @@ export type MutationUnresolveReviewThreadArgs = {
input: UnresolveReviewThreadInput;
};

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

/** The root query for implementing GraphQL mutations. */
export type MutationUpdateBranchProtectionRuleArgs = {
input: UpdateBranchProtectionRuleInput;
Expand Down Expand Up @@ -18832,6 +18816,8 @@ export enum PullRequestOrderField {
/** Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. */
export type PullRequestParameters = {
__typename?: "PullRequestParameters";
/** When merging pull requests, you can allow any combination of merge commits, squashing, or rebasing. At least one option must be enabled. */
allowedMergeMethods?: Maybe<Array<Scalars["String"]["output"]>>;
/** New, reviewable commits pushed will dismiss previous pull request review approvals. */
dismissStaleReviewsOnPush: Scalars["Boolean"]["output"];
/** Require an approving review in pull requests that modify files that have a designated code owner. */
Expand All @@ -18846,6 +18832,8 @@ export type PullRequestParameters = {

/** Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. */
export type PullRequestParametersInput = {
/** When merging pull requests, you can allow any combination of merge commits, squashing, or rebasing. At least one option must be enabled. */
allowedMergeMethods?: InputMaybe<Array<Scalars["String"]["input"]>>;
/** New, reviewable commits pushed will dismiss previous pull request review approvals. */
dismissStaleReviewsOnPush: Scalars["Boolean"]["input"];
/** Require an approving review in pull requests that modify files that have a designated code owner. */
Expand Down Expand Up @@ -23625,6 +23613,8 @@ export enum RepositoryRulesetTarget {
Branch = "BRANCH",
/** Push */
Push = "PUSH",
/** repository */
Repository = "REPOSITORY",
/** Tag */
Tag = "TAG",
}
Expand Down Expand Up @@ -28376,23 +28366,6 @@ export type UnresolveReviewThreadPayload = {
thread?: Maybe<PullRequestReviewThread>;
};

/** Autogenerated input type of UnsubscribeFromNotifications */
export type UnsubscribeFromNotificationsInput = {
/** A unique identifier for the client performing the mutation. */
clientMutationId?: InputMaybe<Scalars["String"]["input"]>;
/** The NotificationThread IDs of the objects to unsubscribe from. */
ids: Array<Scalars["ID"]["input"]>;
};

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

/** Represents an 'unsubscribed' event on a given `Subscribable`. */
export type UnsubscribedEvent = Node & {
__typename?: "UnsubscribedEvent";
Expand Down

0 comments on commit 3a1cc85

Please sign in to comment.