@@ -23267,6 +23267,16 @@ type Mutation {
2326723267 input: UpdateProjectV2Input!
2326823268 ): UpdateProjectV2Payload
2326923269
23270+ """
23271+ Update the collaborators on a team or a project
23272+ """
23273+ updateProjectV2Collaborators(
23274+ """
23275+ Parameters for UpdateProjectV2Collaborators
23276+ """
23277+ input: UpdateProjectV2CollaboratorsInput!
23278+ ): UpdateProjectV2CollaboratorsPayload
23279+
2327023280 """
2327123281 Updates a draft issue within a Project.
2327223282 """
@@ -31330,6 +31340,71 @@ type ProjectV2 implements Closable & Node & Updatable {
3133031340 ): ProjectV2WorkflowConnection!
3133131341}
3133231342
31343+ """
31344+ Possible collaborators for a project.
31345+ """
31346+ union ProjectV2Actor = Team | User
31347+
31348+ """
31349+ The connection type for ProjectV2Actor.
31350+ """
31351+ type ProjectV2ActorConnection {
31352+ """
31353+ A list of edges.
31354+ """
31355+ edges: [ProjectV2ActorEdge]
31356+
31357+ """
31358+ A list of nodes.
31359+ """
31360+ nodes: [ProjectV2Actor]
31361+
31362+ """
31363+ Information to aid in pagination.
31364+ """
31365+ pageInfo: PageInfo!
31366+
31367+ """
31368+ Identifies the total count of items in the connection.
31369+ """
31370+ totalCount: Int!
31371+ }
31372+
31373+ """
31374+ An edge in a connection.
31375+ """
31376+ type ProjectV2ActorEdge {
31377+ """
31378+ A cursor for use in pagination.
31379+ """
31380+ cursor: String!
31381+
31382+ """
31383+ The item at the end of the edge.
31384+ """
31385+ node: ProjectV2Actor
31386+ }
31387+
31388+ """
31389+ A collaborator to update on a project. Only one of the userId or teamId should be provided.
31390+ """
31391+ input ProjectV2Collaborator {
31392+ """
31393+ The role to grant the collaborator
31394+ """
31395+ role: ProjectV2Roles!
31396+
31397+ """
31398+ The ID of the team as a collaborator.
31399+ """
31400+ teamId: ID @possibleTypes(concreteTypes: ["Team"])
31401+
31402+ """
31403+ The ID of the user as a collaborator.
31404+ """
31405+ userId: ID @possibleTypes(concreteTypes: ["User"])
31406+ }
31407+
3133331408"""
3133431409The connection type for ProjectV2.
3133531410"""
@@ -32628,6 +32703,31 @@ interface ProjectV2Recent {
3262832703 ): ProjectV2Connection!
3262932704}
3263032705
32706+ """
32707+ The possible roles of a collaborator on a project.
32708+ """
32709+ enum ProjectV2Roles {
32710+ """
32711+ The collaborator can view, edit, and maange the settings of the project
32712+ """
32713+ ADMIN
32714+
32715+ """
32716+ The collaborator has no direct access to the project
32717+ """
32718+ NONE
32719+
32720+ """
32721+ The collaborator can view the project
32722+ """
32723+ READER
32724+
32725+ """
32726+ The collaborator can view and edit the project
32727+ """
32728+ WRITER
32729+ }
32730+
3263132731"""
3263232732A single select field inside a project.
3263332733"""
@@ -55443,6 +55543,61 @@ type UpdateProjectPayload {
5544355543 project: Project
5544455544}
5544555545
55546+ """
55547+ Autogenerated input type of UpdateProjectV2Collaborators
55548+ """
55549+ input UpdateProjectV2CollaboratorsInput {
55550+ """
55551+ A unique identifier for the client performing the mutation.
55552+ """
55553+ clientMutationId: String
55554+
55555+ """
55556+ The collaborators to update.
55557+ """
55558+ collaborators: [ProjectV2Collaborator!]!
55559+
55560+ """
55561+ The ID of the project to update the collaborators for.
55562+ """
55563+ projectId: ID! @possibleTypes(concreteTypes: ["ProjectV2"])
55564+ }
55565+
55566+ """
55567+ Autogenerated return type of UpdateProjectV2Collaborators
55568+ """
55569+ type UpdateProjectV2CollaboratorsPayload {
55570+ """
55571+ A unique identifier for the client performing the mutation.
55572+ """
55573+ clientMutationId: String
55574+
55575+ """
55576+ The collaborators granted a role
55577+ """
55578+ collaborators(
55579+ """
55580+ Returns the elements in the list that come after the specified cursor.
55581+ """
55582+ after: String
55583+
55584+ """
55585+ Returns the elements in the list that come before the specified cursor.
55586+ """
55587+ before: String
55588+
55589+ """
55590+ Returns the first _n_ elements from the list.
55591+ """
55592+ first: Int
55593+
55594+ """
55595+ Returns the last _n_ elements from the list.
55596+ """
55597+ last: Int
55598+ ): ProjectV2ActorConnection
55599+ }
55600+
5544655601"""
5544755602Autogenerated input type of UpdateProjectV2DraftIssue
5544855603"""
0 commit comments