1
0
mirror of synced 2026-01-17 03:01:38 -05:00

Merge pull request #26053 from github/repo-sync

Repo sync
This commit is contained in:
Octomerger Bot
2023-06-16 09:59:38 -07:00
committed by GitHub
5 changed files with 756 additions and 0 deletions

View File

@@ -23267,6 +23267,16 @@ type Mutation {
input: UpdateProjectV2Input!
): UpdateProjectV2Payload
"""
Update the collaborators on a team or a project
"""
updateProjectV2Collaborators(
"""
Parameters for UpdateProjectV2Collaborators
"""
input: UpdateProjectV2CollaboratorsInput!
): UpdateProjectV2CollaboratorsPayload
"""
Updates a draft issue within a Project.
"""
@@ -31330,6 +31340,71 @@ type ProjectV2 implements Closable & Node & Updatable {
): ProjectV2WorkflowConnection!
}
"""
Possible collaborators for a project.
"""
union ProjectV2Actor = Team | User
"""
The connection type for ProjectV2Actor.
"""
type ProjectV2ActorConnection {
"""
A list of edges.
"""
edges: [ProjectV2ActorEdge]
"""
A list of nodes.
"""
nodes: [ProjectV2Actor]
"""
Information to aid in pagination.
"""
pageInfo: PageInfo!
"""
Identifies the total count of items in the connection.
"""
totalCount: Int!
}
"""
An edge in a connection.
"""
type ProjectV2ActorEdge {
"""
A cursor for use in pagination.
"""
cursor: String!
"""
The item at the end of the edge.
"""
node: ProjectV2Actor
}
"""
A collaborator to update on a project. Only one of the userId or teamId should be provided.
"""
input ProjectV2Collaborator {
"""
The role to grant the collaborator
"""
role: ProjectV2Roles!
"""
The ID of the team as a collaborator.
"""
teamId: ID @possibleTypes(concreteTypes: ["Team"])
"""
The ID of the user as a collaborator.
"""
userId: ID @possibleTypes(concreteTypes: ["User"])
}
"""
The connection type for ProjectV2.
"""
@@ -32628,6 +32703,31 @@ interface ProjectV2Recent {
): ProjectV2Connection!
}
"""
The possible roles of a collaborator on a project.
"""
enum ProjectV2Roles {
"""
The collaborator can view, edit, and maange the settings of the project
"""
ADMIN
"""
The collaborator has no direct access to the project
"""
NONE
"""
The collaborator can view the project
"""
READER
"""
The collaborator can view and edit the project
"""
WRITER
}
"""
A single select field inside a project.
"""
@@ -55443,6 +55543,61 @@ type UpdateProjectPayload {
project: Project
}
"""
Autogenerated input type of UpdateProjectV2Collaborators
"""
input UpdateProjectV2CollaboratorsInput {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
"""
The collaborators to update.
"""
collaborators: [ProjectV2Collaborator!]!
"""
The ID of the project to update the collaborators for.
"""
projectId: ID! @possibleTypes(concreteTypes: ["ProjectV2"])
}
"""
Autogenerated return type of UpdateProjectV2Collaborators
"""
type UpdateProjectV2CollaboratorsPayload {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
"""
The collaborators granted a role
"""
collaborators(
"""
Returns the elements in the list that come after the specified cursor.
"""
after: String
"""
Returns the elements in the list that come before the specified cursor.
"""
before: String
"""
Returns the first _n_ elements from the list.
"""
first: Int
"""
Returns the last _n_ elements from the list.
"""
last: Int
): ProjectV2ActorConnection
}
"""
Autogenerated input type of UpdateProjectV2DraftIssue
"""

View File

@@ -23267,6 +23267,16 @@ type Mutation {
input: UpdateProjectV2Input!
): UpdateProjectV2Payload
"""
Update the collaborators on a team or a project
"""
updateProjectV2Collaborators(
"""
Parameters for UpdateProjectV2Collaborators
"""
input: UpdateProjectV2CollaboratorsInput!
): UpdateProjectV2CollaboratorsPayload
"""
Updates a draft issue within a Project.
"""
@@ -31330,6 +31340,71 @@ type ProjectV2 implements Closable & Node & Updatable {
): ProjectV2WorkflowConnection!
}
"""
Possible collaborators for a project.
"""
union ProjectV2Actor = Team | User
"""
The connection type for ProjectV2Actor.
"""
type ProjectV2ActorConnection {
"""
A list of edges.
"""
edges: [ProjectV2ActorEdge]
"""
A list of nodes.
"""
nodes: [ProjectV2Actor]
"""
Information to aid in pagination.
"""
pageInfo: PageInfo!
"""
Identifies the total count of items in the connection.
"""
totalCount: Int!
}
"""
An edge in a connection.
"""
type ProjectV2ActorEdge {
"""
A cursor for use in pagination.
"""
cursor: String!
"""
The item at the end of the edge.
"""
node: ProjectV2Actor
}
"""
A collaborator to update on a project. Only one of the userId or teamId should be provided.
"""
input ProjectV2Collaborator {
"""
The role to grant the collaborator
"""
role: ProjectV2Roles!
"""
The ID of the team as a collaborator.
"""
teamId: ID @possibleTypes(concreteTypes: ["Team"])
"""
The ID of the user as a collaborator.
"""
userId: ID @possibleTypes(concreteTypes: ["User"])
}
"""
The connection type for ProjectV2.
"""
@@ -32628,6 +32703,31 @@ interface ProjectV2Recent {
): ProjectV2Connection!
}
"""
The possible roles of a collaborator on a project.
"""
enum ProjectV2Roles {
"""
The collaborator can view, edit, and maange the settings of the project
"""
ADMIN
"""
The collaborator has no direct access to the project
"""
NONE
"""
The collaborator can view the project
"""
READER
"""
The collaborator can view and edit the project
"""
WRITER
}
"""
A single select field inside a project.
"""
@@ -55443,6 +55543,61 @@ type UpdateProjectPayload {
project: Project
}
"""
Autogenerated input type of UpdateProjectV2Collaborators
"""
input UpdateProjectV2CollaboratorsInput {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
"""
The collaborators to update.
"""
collaborators: [ProjectV2Collaborator!]!
"""
The ID of the project to update the collaborators for.
"""
projectId: ID! @possibleTypes(concreteTypes: ["ProjectV2"])
}
"""
Autogenerated return type of UpdateProjectV2Collaborators
"""
type UpdateProjectV2CollaboratorsPayload {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
"""
The collaborators granted a role
"""
collaborators(
"""
Returns the elements in the list that come after the specified cursor.
"""
after: String
"""
Returns the elements in the list that come before the specified cursor.
"""
before: String
"""
Returns the first _n_ elements from the list.
"""
first: Int
"""
Returns the last _n_ elements from the list.
"""
last: Int
): ProjectV2ActorConnection
}
"""
Autogenerated input type of UpdateProjectV2DraftIssue
"""

View File

@@ -1,4 +1,24 @@
[
{
"schemaChanges": [
{
"title": "The GraphQL schema includes these changes:",
"changes": [
"<p>Type 'ProjectV2Actor' was added</p>",
"<p>Type 'ProjectV2ActorConnection' was added</p>",
"<p>Type 'ProjectV2ActorEdge' was added</p>",
"<p>Type 'ProjectV2Collaborator' was added</p>",
"<p>Type 'ProjectV2Roles' was added</p>",
"<p>Type 'UpdateProjectV2CollaboratorsInput' was added</p>",
"<p>Type 'UpdateProjectV2CollaboratorsPayload' was added</p>",
"<p>Field 'updateProjectV2Collaborators<code>was added to object type</code>Mutation'</p>"
]
}
],
"previewChanges": [],
"upcomingChanges": [],
"date": "2023-06-16"
},
{
"schemaChanges": [
{

View File

@@ -8244,6 +8244,40 @@
}
]
},
{
"name": "updateProjectV2Collaborators",
"kind": "mutations",
"id": "updateprojectv2collaborators",
"href": "/graphql/reference/mutations#updateprojectv2collaborators",
"description": "<p>Update the collaborators on a team or a project.</p>",
"inputFields": [
{
"name": "input",
"type": "UpdateProjectV2CollaboratorsInput!",
"id": "updateprojectv2collaboratorsinput",
"kind": "input-objects",
"href": "/graphql/reference/input-objects#updateprojectv2collaboratorsinput"
}
],
"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": "collaborators",
"type": "ProjectV2ActorConnection",
"id": "projectv2actorconnection",
"kind": "objects",
"href": "/graphql/reference/objects#projectv2actorconnection",
"description": "<p>The collaborators granted a role.</p>"
}
]
},
{
"name": "updateProjectV2DraftIssue",
"kind": "mutations",
@@ -43683,6 +43717,72 @@
}
]
},
{
"name": "ProjectV2ActorConnection",
"kind": "objects",
"id": "projectv2actorconnection",
"href": "/graphql/reference/objects#projectv2actorconnection",
"description": "<p>The connection type for ProjectV2Actor.</p>",
"fields": [
{
"name": "edges",
"description": "<p>A list of edges.</p>",
"type": "[ProjectV2ActorEdge]",
"id": "projectv2actoredge",
"kind": "objects",
"href": "/graphql/reference/objects#projectv2actoredge"
},
{
"name": "nodes",
"description": "<p>A list of nodes.</p>",
"type": "[ProjectV2Actor]",
"id": "projectv2actor",
"kind": "unions",
"href": "/graphql/reference/unions#projectv2actor"
},
{
"name": "pageInfo",
"description": "<p>Information to aid in pagination.</p>",
"type": "PageInfo!",
"id": "pageinfo",
"kind": "objects",
"href": "/graphql/reference/objects#pageinfo"
},
{
"name": "totalCount",
"description": "<p>Identifies the total count of items in the connection.</p>",
"type": "Int!",
"id": "int",
"kind": "scalars",
"href": "/graphql/reference/scalars#int"
}
]
},
{
"name": "ProjectV2ActorEdge",
"kind": "objects",
"id": "projectv2actoredge",
"href": "/graphql/reference/objects#projectv2actoredge",
"description": "<p>An edge in a connection.</p>",
"fields": [
{
"name": "cursor",
"description": "<p>A cursor for use in pagination.</p>",
"type": "String!",
"id": "string",
"kind": "scalars",
"href": "/graphql/reference/scalars#string"
},
{
"name": "node",
"description": "<p>The item at the end of the edge.</p>",
"type": "ProjectV2Actor",
"id": "projectv2actor",
"kind": "unions",
"href": "/graphql/reference/unions#projectv2actor"
}
]
},
{
"name": "ProjectV2Connection",
"kind": "objects",
@@ -80409,6 +80509,31 @@
}
]
},
{
"name": "ProjectV2Roles",
"kind": "enums",
"id": "projectv2roles",
"href": "/graphql/reference/enums#projectv2roles",
"description": "<p>The possible roles of a collaborator on a project.</p>",
"values": [
{
"name": "ADMIN",
"description": "<p>The collaborator can view, edit, and maange the settings of the project.</p>"
},
{
"name": "NONE",
"description": "<p>The collaborator has no direct access to the project.</p>"
},
{
"name": "READER",
"description": "<p>The collaborator can view the project.</p>"
},
{
"name": "WRITER",
"description": "<p>The collaborator can view and edit the project.</p>"
}
]
},
{
"name": "ProjectV2SingleSelectFieldOptionColor",
"kind": "enums",
@@ -84639,6 +84764,25 @@
}
]
},
{
"name": "ProjectV2Actor",
"kind": "unions",
"id": "projectv2actor",
"href": "/graphql/reference/unions#projectv2actor",
"description": "<p>Possible collaborators for a project.</p>",
"possibleTypes": [
{
"name": "Team",
"id": "team",
"href": "/graphql/reference/objects#team"
},
{
"name": "User",
"id": "user",
"href": "/graphql/reference/objects#user"
}
]
},
{
"name": "ProjectV2FieldConfiguration",
"kind": "unions",
@@ -92347,6 +92491,41 @@
}
]
},
{
"name": "ProjectV2Collaborator",
"kind": "inputObjects",
"id": "projectv2collaborator",
"href": "/graphql/reference/input-objects#projectv2collaborator",
"description": "<p>A collaborator to update on a project. Only one of the userId or teamId should be provided.</p>",
"inputFields": [
{
"name": "role",
"description": "<p>The role to grant the collaborator.</p>",
"type": "ProjectV2Roles!",
"id": "projectv2roles",
"kind": "enums",
"href": "/graphql/reference/enums#projectv2roles"
},
{
"name": "teamId",
"description": "<p>The ID of the team as a collaborator.</p>",
"type": "ID",
"id": "id",
"kind": "scalars",
"href": "/graphql/reference/scalars#id",
"isDeprecated": false
},
{
"name": "userId",
"description": "<p>The ID of the user as a collaborator.</p>",
"type": "ID",
"id": "id",
"kind": "scalars",
"href": "/graphql/reference/scalars#id",
"isDeprecated": false
}
]
},
{
"name": "ProjectV2FieldOrder",
"kind": "inputObjects",
@@ -97080,6 +97259,40 @@
}
]
},
{
"name": "UpdateProjectV2CollaboratorsInput",
"kind": "inputObjects",
"id": "updateprojectv2collaboratorsinput",
"href": "/graphql/reference/input-objects#updateprojectv2collaboratorsinput",
"description": "<p>Autogenerated input type of UpdateProjectV2Collaborators.</p>",
"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": "collaborators",
"description": "<p>The collaborators to update.</p>",
"type": "[ProjectV2Collaborator!]!",
"id": "projectv2collaborator",
"kind": "input-objects",
"href": "/graphql/reference/input-objects#projectv2collaborator"
},
{
"name": "projectId",
"description": "<p>The ID of the project to update the collaborators for.</p>",
"type": "ID!",
"id": "id",
"kind": "scalars",
"href": "/graphql/reference/scalars#id",
"isDeprecated": false
}
]
},
{
"name": "UpdateProjectV2DraftIssueInput",
"kind": "inputObjects",

View File

@@ -8244,6 +8244,40 @@
}
]
},
{
"name": "updateProjectV2Collaborators",
"kind": "mutations",
"id": "updateprojectv2collaborators",
"href": "/graphql/reference/mutations#updateprojectv2collaborators",
"description": "<p>Update the collaborators on a team or a project.</p>",
"inputFields": [
{
"name": "input",
"type": "UpdateProjectV2CollaboratorsInput!",
"id": "updateprojectv2collaboratorsinput",
"kind": "input-objects",
"href": "/graphql/reference/input-objects#updateprojectv2collaboratorsinput"
}
],
"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": "collaborators",
"type": "ProjectV2ActorConnection",
"id": "projectv2actorconnection",
"kind": "objects",
"href": "/graphql/reference/objects#projectv2actorconnection",
"description": "<p>The collaborators granted a role.</p>"
}
]
},
{
"name": "updateProjectV2DraftIssue",
"kind": "mutations",
@@ -43683,6 +43717,72 @@
}
]
},
{
"name": "ProjectV2ActorConnection",
"kind": "objects",
"id": "projectv2actorconnection",
"href": "/graphql/reference/objects#projectv2actorconnection",
"description": "<p>The connection type for ProjectV2Actor.</p>",
"fields": [
{
"name": "edges",
"description": "<p>A list of edges.</p>",
"type": "[ProjectV2ActorEdge]",
"id": "projectv2actoredge",
"kind": "objects",
"href": "/graphql/reference/objects#projectv2actoredge"
},
{
"name": "nodes",
"description": "<p>A list of nodes.</p>",
"type": "[ProjectV2Actor]",
"id": "projectv2actor",
"kind": "unions",
"href": "/graphql/reference/unions#projectv2actor"
},
{
"name": "pageInfo",
"description": "<p>Information to aid in pagination.</p>",
"type": "PageInfo!",
"id": "pageinfo",
"kind": "objects",
"href": "/graphql/reference/objects#pageinfo"
},
{
"name": "totalCount",
"description": "<p>Identifies the total count of items in the connection.</p>",
"type": "Int!",
"id": "int",
"kind": "scalars",
"href": "/graphql/reference/scalars#int"
}
]
},
{
"name": "ProjectV2ActorEdge",
"kind": "objects",
"id": "projectv2actoredge",
"href": "/graphql/reference/objects#projectv2actoredge",
"description": "<p>An edge in a connection.</p>",
"fields": [
{
"name": "cursor",
"description": "<p>A cursor for use in pagination.</p>",
"type": "String!",
"id": "string",
"kind": "scalars",
"href": "/graphql/reference/scalars#string"
},
{
"name": "node",
"description": "<p>The item at the end of the edge.</p>",
"type": "ProjectV2Actor",
"id": "projectv2actor",
"kind": "unions",
"href": "/graphql/reference/unions#projectv2actor"
}
]
},
{
"name": "ProjectV2Connection",
"kind": "objects",
@@ -80409,6 +80509,31 @@
}
]
},
{
"name": "ProjectV2Roles",
"kind": "enums",
"id": "projectv2roles",
"href": "/graphql/reference/enums#projectv2roles",
"description": "<p>The possible roles of a collaborator on a project.</p>",
"values": [
{
"name": "ADMIN",
"description": "<p>The collaborator can view, edit, and maange the settings of the project.</p>"
},
{
"name": "NONE",
"description": "<p>The collaborator has no direct access to the project.</p>"
},
{
"name": "READER",
"description": "<p>The collaborator can view the project.</p>"
},
{
"name": "WRITER",
"description": "<p>The collaborator can view and edit the project.</p>"
}
]
},
{
"name": "ProjectV2SingleSelectFieldOptionColor",
"kind": "enums",
@@ -84639,6 +84764,25 @@
}
]
},
{
"name": "ProjectV2Actor",
"kind": "unions",
"id": "projectv2actor",
"href": "/graphql/reference/unions#projectv2actor",
"description": "<p>Possible collaborators for a project.</p>",
"possibleTypes": [
{
"name": "Team",
"id": "team",
"href": "/graphql/reference/objects#team"
},
{
"name": "User",
"id": "user",
"href": "/graphql/reference/objects#user"
}
]
},
{
"name": "ProjectV2FieldConfiguration",
"kind": "unions",
@@ -92347,6 +92491,41 @@
}
]
},
{
"name": "ProjectV2Collaborator",
"kind": "inputObjects",
"id": "projectv2collaborator",
"href": "/graphql/reference/input-objects#projectv2collaborator",
"description": "<p>A collaborator to update on a project. Only one of the userId or teamId should be provided.</p>",
"inputFields": [
{
"name": "role",
"description": "<p>The role to grant the collaborator.</p>",
"type": "ProjectV2Roles!",
"id": "projectv2roles",
"kind": "enums",
"href": "/graphql/reference/enums#projectv2roles"
},
{
"name": "teamId",
"description": "<p>The ID of the team as a collaborator.</p>",
"type": "ID",
"id": "id",
"kind": "scalars",
"href": "/graphql/reference/scalars#id",
"isDeprecated": false
},
{
"name": "userId",
"description": "<p>The ID of the user as a collaborator.</p>",
"type": "ID",
"id": "id",
"kind": "scalars",
"href": "/graphql/reference/scalars#id",
"isDeprecated": false
}
]
},
{
"name": "ProjectV2FieldOrder",
"kind": "inputObjects",
@@ -97080,6 +97259,40 @@
}
]
},
{
"name": "UpdateProjectV2CollaboratorsInput",
"kind": "inputObjects",
"id": "updateprojectv2collaboratorsinput",
"href": "/graphql/reference/input-objects#updateprojectv2collaboratorsinput",
"description": "<p>Autogenerated input type of UpdateProjectV2Collaborators.</p>",
"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": "collaborators",
"description": "<p>The collaborators to update.</p>",
"type": "[ProjectV2Collaborator!]!",
"id": "projectv2collaborator",
"kind": "input-objects",
"href": "/graphql/reference/input-objects#projectv2collaborator"
},
{
"name": "projectId",
"description": "<p>The ID of the project to update the collaborators for.</p>",
"type": "ID!",
"id": "id",
"kind": "scalars",
"href": "/graphql/reference/scalars#id",
"isDeprecated": false
}
]
},
{
"name": "UpdateProjectV2DraftIssueInput",
"kind": "inputObjects",