Skip to content

Commit

Permalink
Merge pull request github#30149 from github/repo-sync
Browse files Browse the repository at this point in the history
Repo sync
  • Loading branch information
docs-bot authored Nov 22, 2023
2 parents 8757e32 + 6349dc2 commit fb3344d
Show file tree
Hide file tree
Showing 8 changed files with 337 additions and 1 deletion.
46 changes: 46 additions & 0 deletions data/graphql/ghae/schema.docs-ghae.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -20404,6 +20404,16 @@ type Mutation {
input: UnresolveReviewThreadInput!
): UnresolveReviewThreadPayload

"""
Unsubscribes from notifications
"""
unsubscribeFromNotifications(
"""
Parameters for UnsubscribeFromNotifications
"""
input: UnsubscribeFromNotificationsInput!
): UnsubscribeFromNotificationsPayload

"""
Update a branch protection rule
"""
Expand Down Expand Up @@ -44696,6 +44706,42 @@ type UnresolveReviewThreadPayload {
thread: PullRequestReviewThread
}

"""
Autogenerated input type of UnsubscribeFromNotifications
"""
input UnsubscribeFromNotificationsInput
@requiredCapabilities(requiredCapabilities: ["access_internal_graphql_notifications"]) {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String

"""
The NotificationThread IDs of the objects to unsubscribe from.
"""
ids: [ID!]!
@possibleTypes(
concreteTypes: ["Commit", "Discussion", "Issue", "PullRequest", "Repository", "Team", "TeamDiscussion"]
abstractType: "Subscribable"
)
}

"""
Autogenerated return type of UnsubscribeFromNotifications
"""
type UnsubscribeFromNotificationsPayload
@requiredCapabilities(requiredCapabilities: ["access_internal_graphql_notifications"]) {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String

"""
Did the operation succeed?
"""
success: Boolean
}

"""
Represents an 'unsubscribed' event on a given `Subscribable`.
"""
Expand Down
46 changes: 46 additions & 0 deletions data/graphql/ghec/schema.docs.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -23601,6 +23601,16 @@ type Mutation {
input: UnresolveReviewThreadInput!
): UnresolveReviewThreadPayload

"""
Unsubscribes from notifications
"""
unsubscribeFromNotifications(
"""
Parameters for UnsubscribeFromNotifications
"""
input: UnsubscribeFromNotificationsInput!
): UnsubscribeFromNotificationsPayload

"""
Update a branch protection rule
"""
Expand Down Expand Up @@ -55840,6 +55850,42 @@ type UnresolveReviewThreadPayload {
thread: PullRequestReviewThread
}

"""
Autogenerated input type of UnsubscribeFromNotifications
"""
input UnsubscribeFromNotificationsInput
@requiredCapabilities(requiredCapabilities: ["access_internal_graphql_notifications"]) {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String

"""
The NotificationThread IDs of the objects to unsubscribe from.
"""
ids: [ID!]!
@possibleTypes(
concreteTypes: ["Commit", "Discussion", "Issue", "PullRequest", "Repository", "Team", "TeamDiscussion"]
abstractType: "Subscribable"
)
}

"""
Autogenerated return type of UnsubscribeFromNotifications
"""
type UnsubscribeFromNotificationsPayload
@requiredCapabilities(requiredCapabilities: ["access_internal_graphql_notifications"]) {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String

"""
Did the operation succeed?
"""
success: Boolean
}

"""
Represents an 'unsubscribed' event on a given `Subscribable`.
"""
Expand Down
46 changes: 46 additions & 0 deletions data/graphql/schema.docs.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -23601,6 +23601,16 @@ type Mutation {
input: UnresolveReviewThreadInput!
): UnresolveReviewThreadPayload

"""
Unsubscribes from notifications
"""
unsubscribeFromNotifications(
"""
Parameters for UnsubscribeFromNotifications
"""
input: UnsubscribeFromNotificationsInput!
): UnsubscribeFromNotificationsPayload

"""
Update a branch protection rule
"""
Expand Down Expand Up @@ -55840,6 +55850,42 @@ type UnresolveReviewThreadPayload {
thread: PullRequestReviewThread
}

"""
Autogenerated input type of UnsubscribeFromNotifications
"""
input UnsubscribeFromNotificationsInput
@requiredCapabilities(requiredCapabilities: ["access_internal_graphql_notifications"]) {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String

"""
The NotificationThread IDs of the objects to unsubscribe from.
"""
ids: [ID!]!
@possibleTypes(
concreteTypes: ["Commit", "Discussion", "Issue", "PullRequest", "Repository", "Team", "TeamDiscussion"]
abstractType: "Subscribable"
)
}

"""
Autogenerated return type of UnsubscribeFromNotifications
"""
type UnsubscribeFromNotificationsPayload
@requiredCapabilities(requiredCapabilities: ["access_internal_graphql_notifications"]) {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String

"""
Did the operation succeed?
"""
success: Boolean
}

"""
Represents an 'unsubscribed' event on a given `Subscribable`.
"""
Expand Down
2 changes: 1 addition & 1 deletion src/audit-logs/lib/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"apiOnlyEventsAdditionalDescription": "This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.",
"sha": "c274353aceac79c19a17e3002cc1bc625512a2eb"
"sha": "f736f81020863fed4593e45417e0f57e5859da39"
}
15 changes: 15 additions & 0 deletions src/graphql/data/fpt/changelog.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
[
{
"schemaChanges": [
{
"title": "The GraphQL schema includes these changes:",
"changes": [
"<p>Type <code>UnsubscribeFromNotificationsInput</code> was added</p>",
"<p>Type <code>UnsubscribeFromNotificationsPayload</code> was added</p>",
"<p>Field <code>unsubscribeFromNotifications</code> was added to object type <code>Mutation</code></p>"
]
}
],
"previewChanges": [],
"upcomingChanges": [],
"date": "2023-11-22"
},
{
"schemaChanges": [
{
Expand Down
61 changes: 61 additions & 0 deletions src/graphql/data/fpt/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -6948,6 +6948,40 @@
}
]
},
{
"name": "unsubscribeFromNotifications",
"kind": "mutations",
"id": "unsubscribefromnotifications",
"href": "/graphql/reference/mutations#unsubscribefromnotifications",
"description": "<p>Unsubscribes from notifications.</p>",
"inputFields": [
{
"name": "input",
"type": "UnsubscribeFromNotificationsInput!",
"id": "unsubscribefromnotificationsinput",
"kind": "input-objects",
"href": "/graphql/reference/input-objects#unsubscribefromnotificationsinput"
}
],
"returnFields": [
{
"name": "clientMutationId",
"type": "String",
"id": "string",
"kind": "scalars",
"href": "/graphql/reference/scalars#string",
"description": "<p>A unique identifier for the client performing the mutation.</p>"
},
{
"name": "success",
"type": "Boolean",
"id": "boolean",
"kind": "scalars",
"href": "/graphql/reference/scalars#boolean",
"description": "<p>Did the operation succeed?.</p>"
}
]
},
{
"name": "updateBranchProtectionRule",
"kind": "mutations",
Expand Down Expand Up @@ -99275,6 +99309,33 @@
}
]
},
{
"name": "UnsubscribeFromNotificationsInput",
"kind": "inputObjects",
"id": "unsubscribefromnotificationsinput",
"href": "/graphql/reference/input-objects#unsubscribefromnotificationsinput",
"description": "<p>Autogenerated input type of UnsubscribeFromNotifications.</p>",
"isDeprecated": false,
"inputFields": [
{
"name": "clientMutationId",
"description": "<p>A unique identifier for the client performing the mutation.</p>",
"type": "String",
"id": "string",
"kind": "scalars",
"href": "/graphql/reference/scalars#string"
},
{
"name": "ids",
"description": "<p>The NotificationThread IDs of the objects to unsubscribe from.</p>",
"type": "[ID!]!",
"id": "id",
"kind": "scalars",
"href": "/graphql/reference/scalars#id",
"isDeprecated": false
}
]
},
{
"name": "UpdateBranchProtectionRuleInput",
"kind": "inputObjects",
Expand Down
61 changes: 61 additions & 0 deletions src/graphql/data/ghae/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -4967,6 +4967,40 @@
}
]
},
{
"name": "unsubscribeFromNotifications",
"kind": "mutations",
"id": "unsubscribefromnotifications",
"href": "/graphql/reference/mutations#unsubscribefromnotifications",
"description": "<p>Unsubscribes from notifications.</p>",
"inputFields": [
{
"name": "input",
"type": "UnsubscribeFromNotificationsInput!",
"id": "unsubscribefromnotificationsinput",
"kind": "input-objects",
"href": "/graphql/reference/input-objects#unsubscribefromnotificationsinput"
}
],
"returnFields": [
{
"name": "clientMutationId",
"type": "String",
"id": "string",
"kind": "scalars",
"href": "/graphql/reference/scalars#string",
"description": "<p>A unique identifier for the client performing the mutation.</p>"
},
{
"name": "success",
"type": "Boolean",
"id": "boolean",
"kind": "scalars",
"href": "/graphql/reference/scalars#boolean",
"description": "<p>Did the operation succeed?.</p>"
}
]
},
{
"name": "updateBranchProtectionRule",
"kind": "mutations",
Expand Down Expand Up @@ -80608,6 +80642,33 @@
}
]
},
{
"name": "UnsubscribeFromNotificationsInput",
"kind": "inputObjects",
"id": "unsubscribefromnotificationsinput",
"href": "/graphql/reference/input-objects#unsubscribefromnotificationsinput",
"description": "<p>Autogenerated input type of UnsubscribeFromNotifications.</p>",
"isDeprecated": false,
"inputFields": [
{
"name": "clientMutationId",
"description": "<p>A unique identifier for the client performing the mutation.</p>",
"type": "String",
"id": "string",
"kind": "scalars",
"href": "/graphql/reference/scalars#string"
},
{
"name": "ids",
"description": "<p>The NotificationThread IDs of the objects to unsubscribe from.</p>",
"type": "[ID!]!",
"id": "id",
"kind": "scalars",
"href": "/graphql/reference/scalars#id",
"isDeprecated": false
}
]
},
{
"name": "UpdateBranchProtectionRuleInput",
"kind": "inputObjects",
Expand Down
Loading

0 comments on commit fb3344d

Please sign in to comment.