diff --git a/package.json b/package.json index e7ca1bf6..2af4a894 100644 --- a/package.json +++ b/package.json @@ -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.43.2", + "@octokit/graphql-schema": "14.44.0", "@tsconfig/node16": "16.1.1", "@types/jest": "29.5.10", "@types/node": "20.9.4", diff --git a/src/generated/graphql-types.ts b/src/generated/graphql-types.ts index 409b3e32..d79ca989 100644 --- a/src/generated/graphql-types.ts +++ b/src/generated/graphql-types.ts @@ -10674,6 +10674,8 @@ export type Mutation = { unpinIssue?: Maybe; /** Marks a review thread as unresolved. */ unresolveReviewThread?: Maybe; + /** Unsubscribes from notifications */ + unsubscribeFromNotifications?: Maybe; /** Update a branch protection rule */ updateBranchProtectionRule?: Maybe; /** Update a check run */ @@ -11765,6 +11767,12 @@ export type MutationUnresolveReviewThreadArgs = { }; +/** The root query for implementing GraphQL mutations. */ +export type MutationUnsubscribeFromNotificationsArgs = { + input: UnsubscribeFromNotificationsInput; +}; + + /** The root query for implementing GraphQL mutations. */ export type MutationUpdateBranchProtectionRuleArgs = { input: UpdateBranchProtectionRuleInput; @@ -26416,6 +26424,23 @@ export type UnresolveReviewThreadPayload = { thread?: Maybe; }; +/** Autogenerated input type of UnsubscribeFromNotifications */ +export type UnsubscribeFromNotificationsInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The NotificationThread IDs of the objects to unsubscribe from. */ + ids: Array; +}; + +/** Autogenerated return type of UnsubscribeFromNotifications */ +export type UnsubscribeFromNotificationsPayload = { + __typename?: 'UnsubscribeFromNotificationsPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** Did the operation succeed? */ + success?: Maybe; +}; + /** Represents an 'unsubscribed' event on a given `Subscribable`. */ export type UnsubscribedEvent = Node & { __typename?: 'UnsubscribedEvent'; diff --git a/yarn.lock b/yarn.lock index 5b2964a0..005a5263 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2079,10 +2079,10 @@ is-plain-object "^5.0.0" universal-user-agent "^6.0.0" -"@octokit/graphql-schema@14.43.2": - version "14.43.2" - resolved "https://registry.yarnpkg.com/@octokit/graphql-schema/-/graphql-schema-14.43.2.tgz#5ecb3c19762ac55c735ed927b99f0bb6022b98b3" - integrity sha512-ZfoH/5LAbY2pQEtzAeblaLBnecJZu4uE+Cq0DAPkSfJX2vbcekYX8/gmNOW3FK08UVMOoMVlZqBI7heoBCqB7w== +"@octokit/graphql-schema@14.44.0": + version "14.44.0" + resolved "https://registry.yarnpkg.com/@octokit/graphql-schema/-/graphql-schema-14.44.0.tgz#909868760fe43a01b805c8a11823fffbda0cc69a" + integrity sha512-JabOyLLRib4uQ3rfvzQyCEqDS/YoJRkPBp57JJwylx8n/bLKsXa8AxTPd9antkFxLPkTZKkXSSRmHyCSG4RTBA== dependencies: graphql "^16.0.0" graphql-tag "^2.10.3"