diff --git a/lib/graphql/schema.ast.gql.dart b/lib/graphql/schema.ast.gql.dart index 715c6ef..312899d 100644 --- a/lib/graphql/schema.ast.gql.dart +++ b/lib/graphql/schema.ast.gql.dart @@ -2,6 +2,49 @@ import 'package:gql/ast.dart' as _i1; +const preview = _i1.DirectiveDefinitionNode( + name: _i1.NameNode(value: 'preview'), + args: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'toggledBy'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: true), + defaultValue: null) + ], + locations: [ + _i1.DirectiveLocation.scalar, + _i1.DirectiveLocation.object, + _i1.DirectiveLocation.fieldDefinition, + _i1.DirectiveLocation.argumentDefinition, + _i1.DirectiveLocation.interface, + _i1.DirectiveLocation.union, + _i1.DirectiveLocation.enumDefinition, + _i1.DirectiveLocation.enumValue, + _i1.DirectiveLocation.inputObject, + _i1.DirectiveLocation.inputFieldDefinition + ], + repeatable: false); +const possibleTypes = _i1.DirectiveDefinitionNode( + name: _i1.NameNode(value: 'possibleTypes'), + args: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'abstractType'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'concreteTypes'), + directives: [], + type: _i1.ListTypeNode( + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: true), + isNonNull: true), + defaultValue: null) + ], + locations: [_i1.DirectiveLocation.inputFieldDefinition], + repeatable: false); const AcceptEnterpriseAdministratorInvitationInput = _i1.InputObjectTypeDefinitionNode( name: @@ -16,7 +59,19 @@ const AcceptEnterpriseAdministratorInvitationInput = defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'invitationId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'EnterpriseAdministratorInvitation', + isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -66,7 +121,17 @@ const AcceptTopicSuggestionInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'repositoryId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Repository', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -167,13 +232,39 @@ const AddAssigneesToAssignableInput = _i1.InputObjectTypeDefinitionNode( fields: [ _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'assignableId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Issue', isBlock: false), + _i1.StringValueNode( + value: 'PullRequest', isBlock: false) + ])), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'abstractType'), + value: _i1.StringValueNode( + value: 'Assignable', isBlock: false)) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'assigneeIds'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'User', isBlock: false) + ])) + ]) + ], type: _i1.ListTypeNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), @@ -222,7 +313,23 @@ const AddCommentInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'subjectId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Issue', isBlock: false), + _i1.StringValueNode( + value: 'PullRequest', isBlock: false) + ])), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'abstractType'), + value: _i1.StringValueNode( + value: 'IssueOrPullRequest', isBlock: false)) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -276,13 +383,34 @@ const AddDiscussionCommentInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'discussionId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Discussion', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'replyToId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'DiscussionComment', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: false), defaultValue: null) @@ -317,7 +445,17 @@ const AddEnterpriseSupportEntitlementInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'enterpriseId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Enterprise', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -358,7 +496,17 @@ const AddLabelsToLabelableInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'labelIds'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Label', isBlock: false) + ])) + ]) + ], type: _i1.ListTypeNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), @@ -366,7 +514,25 @@ const AddLabelsToLabelableInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'labelableId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'Discussion', isBlock: false), + _i1.StringValueNode(value: 'Issue', isBlock: false), + _i1.StringValueNode( + value: 'PullRequest', isBlock: false) + ])), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'abstractType'), + value: _i1.StringValueNode( + value: 'Labelable', isBlock: false)) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -401,7 +567,23 @@ const AddProjectCardInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'contentId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Issue', isBlock: false), + _i1.StringValueNode( + value: 'PullRequest', isBlock: false) + ])), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'abstractType'), + value: _i1.StringValueNode( + value: 'ProjectCardItem', isBlock: false)) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: false), defaultValue: null), @@ -413,7 +595,18 @@ const AddProjectCardInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'projectColumnId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'ProjectColumn', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -460,7 +653,17 @@ const AddProjectColumnInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'projectId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Project', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -514,7 +717,18 @@ const AddPullRequestReviewCommentInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'inReplyTo'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'PullRequestReviewComment', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: false), defaultValue: null), @@ -532,13 +746,35 @@ const AddPullRequestReviewCommentInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'pullRequestId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'PullRequest', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: false), defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'pullRequestReviewId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'PullRequestReview', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: false), defaultValue: null) @@ -609,7 +845,18 @@ const AddPullRequestReviewInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'pullRequestId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'PullRequest', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -679,13 +926,35 @@ const AddPullRequestReviewThreadInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'pullRequestId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'PullRequest', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: false), defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'pullRequestReviewId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'PullRequestReview', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: false), defaultValue: null), @@ -745,7 +1014,40 @@ const AddReactionInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'subjectId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'CommitComment', isBlock: false), + _i1.StringValueNode( + value: 'Discussion', isBlock: false), + _i1.StringValueNode( + value: 'DiscussionComment', isBlock: false), + _i1.StringValueNode(value: 'Issue', isBlock: false), + _i1.StringValueNode( + value: 'IssueComment', isBlock: false), + _i1.StringValueNode( + value: 'PullRequest', isBlock: false), + _i1.StringValueNode( + value: 'PullRequestReview', isBlock: false), + _i1.StringValueNode( + value: 'PullRequestReviewComment', isBlock: false), + _i1.StringValueNode(value: 'Release', isBlock: false), + _i1.StringValueNode( + value: 'TeamDiscussion', isBlock: false), + _i1.StringValueNode( + value: 'TeamDiscussionComment', isBlock: false) + ])), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'abstractType'), + value: _i1.StringValueNode( + value: 'Reactable', isBlock: false)) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -786,7 +1088,24 @@ const AddStarInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'starrableId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Gist', isBlock: false), + _i1.StringValueNode( + value: 'Repository', isBlock: false), + _i1.StringValueNode(value: 'Topic', isBlock: false) + ])), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'abstractType'), + value: _i1.StringValueNode( + value: 'Starrable', isBlock: false)) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -821,7 +1140,24 @@ const AddUpvoteInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'subjectId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'Discussion', isBlock: false), + _i1.StringValueNode( + value: 'DiscussionComment', isBlock: false) + ])), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'abstractType'), + value: + _i1.StringValueNode(value: 'Votable', isBlock: false)) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -862,7 +1198,24 @@ const AddVerifiableDomainInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'ownerId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'Enterprise', isBlock: false), + _i1.StringValueNode( + value: 'Organization', isBlock: false) + ])), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'abstractType'), + value: _i1.StringValueNode( + value: 'VerifiableDomainOwner', isBlock: false)) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -915,7 +1268,46 @@ const AddedToProjectEvent = _i1.ObjectTypeDefinitionNode( directives: [], args: [], type: _i1.NamedTypeNode( - name: _i1.NameNode(value: 'ID'), isNonNull: true)) + name: _i1.NameNode(value: 'ID'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'project'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'starfox-preview', isBlock: false)) + ]) + ], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Project'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'projectCard'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'starfox-preview', isBlock: false)) + ]) + ], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'ProjectCard'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'projectColumnName'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'starfox-preview', isBlock: false)) + ]) + ], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: true)) ]); const App = _i1.ObjectTypeDefinitionNode( name: _i1.NameNode(value: 'App'), @@ -948,6 +1340,54 @@ const App = _i1.ObjectTypeDefinitionNode( args: [], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'ipAllowListEntries'), + directives: [], + args: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'after'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'before'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'first'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Int'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'last'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Int'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'orderBy'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'IpAllowListEntryOrder'), + isNonNull: false), + defaultValue: _i1.ObjectValueNode(fields: [ + _i1.ObjectFieldNode( + name: _i1.NameNode(value: 'field'), + value: _i1.EnumValueNode( + name: _i1.NameNode(value: 'ALLOW_LIST_VALUE'))), + _i1.ObjectFieldNode( + name: _i1.NameNode(value: 'direction'), + value: + _i1.EnumValueNode(name: _i1.NameNode(value: 'ASC'))) + ])) + ], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'IpAllowListEntryConnection'), + isNonNull: true)), _i1.FieldDefinitionNode( name: _i1.NameNode(value: 'logoBackgroundColor'), directives: [], @@ -1018,7 +1458,18 @@ const ApproveDeploymentsInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'workflowRunId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'WorkflowRun', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -1055,7 +1506,18 @@ const ApproveVerifiableDomainInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'id'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'VerifiableDomain', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -1090,7 +1552,17 @@ const ArchiveRepositoryInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'repositoryId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Repository', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -2147,6 +2619,12 @@ const BranchProtectionRule = _i1.ObjectTypeDefinitionNode( args: [], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'Boolean'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'requiresConversationResolution'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Boolean'), isNonNull: true)), _i1.FieldDefinitionNode( name: _i1.NameNode(value: 'requiresLinearHistory'), directives: [], @@ -2460,7 +2938,19 @@ const CancelEnterpriseAdminInvitationInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'invitationId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'EnterpriseAdministratorInvitation', + isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -2526,7 +3016,18 @@ const ChangeUserStatusInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'organizationId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'Organization', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: false), defaultValue: null) @@ -3627,7 +4128,25 @@ const ClearLabelsFromLabelableInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'labelableId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'Discussion', isBlock: false), + _i1.StringValueNode(value: 'Issue', isBlock: false), + _i1.StringValueNode( + value: 'PullRequest', isBlock: false) + ])), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'abstractType'), + value: _i1.StringValueNode( + value: 'Labelable', isBlock: false)) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -3686,13 +4205,41 @@ const CloneProjectInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'sourceId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Project', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'targetOwnerId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'Organization', isBlock: false), + _i1.StringValueNode( + value: 'Repository', isBlock: false), + _i1.StringValueNode(value: 'User', isBlock: false) + ])), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'abstractType'), + value: _i1.StringValueNode( + value: 'ProjectOwner', isBlock: false)) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -3751,13 +4298,39 @@ const CloneTemplateRepositoryInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'ownerId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'Organization', isBlock: false), + _i1.StringValueNode(value: 'User', isBlock: false) + ])), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'abstractType'), + value: _i1.StringValueNode( + value: 'RepositoryOwner', isBlock: false)) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'repositoryId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Repository', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -3816,7 +4389,17 @@ const CloseIssueInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'issueId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Issue', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -3851,7 +4434,18 @@ const ClosePullRequestInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'pullRequestId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'PullRequest', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -5418,6 +6012,66 @@ const ConnectedEvent = _i1.ObjectTypeDefinitionNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ReferencedSubject'), isNonNull: true)) ]); +const ContentAttachment = _i1.ObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'ContentAttachment'), + directives: [], + interfaces: [], + fields: [ + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'body'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'contentReference'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'ContentReference'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'databaseId'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Int'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'id'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'ID'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'title'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: true)) + ]); +const ContentReference = _i1.ObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'ContentReference'), + directives: [], + interfaces: [], + fields: [ + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'databaseId'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Int'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'id'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'ID'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'reference'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: true)) + ]); const Contribution = _i1.InterfaceTypeDefinitionNode( name: _i1.NameNode(value: 'Contribution'), directives: [], @@ -6188,13 +6842,34 @@ const ConvertProjectCardNoteToIssueInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'projectCardId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'ProjectCard', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'repositoryId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Repository', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -6235,7 +6910,18 @@ const ConvertPullRequestToDraftInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'pullRequestId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'PullRequest', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -6335,7 +7021,46 @@ const ConvertedNoteToIssueEvent = _i1.ObjectTypeDefinitionNode( directives: [], args: [], type: _i1.NamedTypeNode( - name: _i1.NameNode(value: 'ID'), isNonNull: true)) + name: _i1.NameNode(value: 'ID'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'project'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'starfox-preview', isBlock: false)) + ]) + ], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Project'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'projectCard'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'starfox-preview', isBlock: false)) + ]) + ], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'ProjectCard'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'projectColumnName'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'starfox-preview', isBlock: false)) + ]) + ], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: true)) ]); const CreateBranchProtectionRuleInput = _i1.InputObjectTypeDefinitionNode( name: _i1.NameNode(value: 'CreateBranchProtectionRuleInput'), @@ -6387,7 +7112,17 @@ const CreateBranchProtectionRuleInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'repositoryId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Repository', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -6423,6 +7158,12 @@ const CreateBranchProtectionRuleInput = _i1.InputObjectTypeDefinitionNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'Boolean'), isNonNull: false), defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'requiresConversationResolution'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Boolean'), isNonNull: false), + defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'requiresLinearHistory'), directives: [], @@ -6544,7 +7285,17 @@ const CreateCheckRunInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'repositoryId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Repository', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -6598,7 +7349,17 @@ const CreateCheckSuiteInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'repositoryId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Repository', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -6621,6 +7382,276 @@ const CreateCheckSuitePayload = _i1.ObjectTypeDefinitionNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'String'), isNonNull: false)) ]); +const CreateContentAttachmentInput = _i1.InputObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'CreateContentAttachmentInput'), + directives: [], + fields: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'body'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: true), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'clientMutationId'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'contentReferenceId'), + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'ContentReference', isBlock: false) + ])) + ]) + ], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'ID'), isNonNull: true), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'title'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: true), + defaultValue: null) + ]); +const CreateContentAttachmentPayload = _i1.ObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'CreateContentAttachmentPayload'), + directives: [], + interfaces: [], + fields: [ + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'clientMutationId'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'contentAttachment'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'ContentAttachment'), isNonNull: false)) + ]); +const CreateDeploymentInput = _i1.InputObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'CreateDeploymentInput'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode(value: 'flash-preview', isBlock: false)) + ]) + ], + fields: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'autoMerge'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Boolean'), isNonNull: false), + defaultValue: _i1.BooleanValueNode(value: true)), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'clientMutationId'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'description'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: _i1.StringValueNode(value: '', isBlock: false)), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'environment'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: + _i1.StringValueNode(value: 'production', isBlock: false)), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'payload'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: _i1.StringValueNode(value: '{}', isBlock: false)), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'refId'), + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Ref', isBlock: false) + ])) + ]) + ], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'ID'), isNonNull: true), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'repositoryId'), + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Repository', isBlock: false) + ])) + ]) + ], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'ID'), isNonNull: true), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'requiredContexts'), + directives: [], + type: _i1.ListTypeNode( + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: true), + isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'task'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: _i1.StringValueNode(value: 'deploy', isBlock: false)) + ]); +const CreateDeploymentPayload = _i1.ObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'CreateDeploymentPayload'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode(value: 'flash-preview', isBlock: false)) + ]) + ], + interfaces: [], + fields: [ + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'autoMerged'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Boolean'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'clientMutationId'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'deployment'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Deployment'), isNonNull: false)) + ]); +const CreateDeploymentStatusInput = _i1.InputObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'CreateDeploymentStatusInput'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode(value: 'flash-preview', isBlock: false)) + ]) + ], + fields: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'autoInactive'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Boolean'), isNonNull: false), + defaultValue: _i1.BooleanValueNode(value: true)), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'clientMutationId'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'deploymentId'), + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Deployment', isBlock: false) + ])) + ]) + ], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'ID'), isNonNull: true), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'description'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: _i1.StringValueNode(value: '', isBlock: false)), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'environment'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'environmentUrl'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: _i1.StringValueNode(value: '', isBlock: false)), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'logUrl'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: _i1.StringValueNode(value: '', isBlock: false)), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'state'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'DeploymentStatusState'), + isNonNull: true), + defaultValue: null) + ]); +const CreateDeploymentStatusPayload = _i1.ObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'CreateDeploymentStatusPayload'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode(value: 'flash-preview', isBlock: false)) + ]) + ], + interfaces: [], + fields: [ + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'clientMutationId'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'deploymentStatus'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'DeploymentStatus'), isNonNull: false)) + ]); const CreateDiscussionInput = _i1.InputObjectTypeDefinitionNode( name: _i1.NameNode(value: 'CreateDiscussionInput'), directives: [], @@ -6633,7 +7664,18 @@ const CreateDiscussionInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'categoryId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'DiscussionCategory', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -6645,7 +7687,17 @@ const CreateDiscussionInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'repositoryId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Repository', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -6700,7 +7752,17 @@ const CreateEnterpriseOrganizationInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'enterpriseId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Enterprise', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -6759,7 +7821,17 @@ const CreateEnvironmentInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'repositoryId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Repository', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -6812,7 +7884,25 @@ const CreateIpAllowListEntryInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'ownerId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'App', isBlock: false), + _i1.StringValueNode( + value: 'Enterprise', isBlock: false), + _i1.StringValueNode( + value: 'Organization', isBlock: false) + ])), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'abstractType'), + value: _i1.StringValueNode( + value: 'IpAllowListOwner', isBlock: false)) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -6841,7 +7931,17 @@ const CreateIssueInput = _i1.InputObjectTypeDefinitionNode( fields: [ _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'assigneeIds'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'User', isBlock: false) + ])) + ]) + ], type: _i1.ListTypeNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), @@ -6867,7 +7967,17 @@ const CreateIssueInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'labelIds'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Label', isBlock: false) + ])) + ]) + ], type: _i1.ListTypeNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), @@ -6875,13 +7985,33 @@ const CreateIssueInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'milestoneId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Milestone', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: false), defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'projectIds'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Project', isBlock: false) + ])) + ]) + ], type: _i1.ListTypeNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), @@ -6889,7 +8019,17 @@ const CreateIssueInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'repositoryId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Repository', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -6918,6 +8058,81 @@ const CreateIssuePayload = _i1.ObjectTypeDefinitionNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'Issue'), isNonNull: false)) ]); +const CreateLabelInput = _i1.InputObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'CreateLabelInput'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode(value: 'bane-preview', isBlock: false)) + ]) + ], + fields: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'clientMutationId'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'color'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: true), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'description'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'name'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: true), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'repositoryId'), + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Repository', isBlock: false) + ])) + ]) + ], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'ID'), isNonNull: true), + defaultValue: null) + ]); +const CreateLabelPayload = _i1.ObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'CreateLabelPayload'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode(value: 'bane-preview', isBlock: false)) + ]) + ], + interfaces: [], + fields: [ + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'clientMutationId'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'label'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Label'), isNonNull: false)) + ]); const CreateProjectInput = _i1.InputObjectTypeDefinitionNode( name: _i1.NameNode(value: 'CreateProjectInput'), directives: [], @@ -6942,13 +8157,41 @@ const CreateProjectInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'ownerId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'Organization', isBlock: false), + _i1.StringValueNode( + value: 'Repository', isBlock: false), + _i1.StringValueNode(value: 'User', isBlock: false) + ])), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'abstractType'), + value: _i1.StringValueNode( + value: 'ProjectOwner', isBlock: false)) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'repositoryIds'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Repository', isBlock: false) + ])) + ]) + ], type: _i1.ListTypeNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), @@ -7021,7 +8264,17 @@ const CreatePullRequestInput = _i1.InputObjectTypeDefinitionNode( defaultValue: _i1.BooleanValueNode(value: true)), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'repositoryId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Repository', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -7074,7 +8327,17 @@ const CreateRefInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'repositoryId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Repository', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -7139,13 +8402,39 @@ const CreateRepositoryInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'ownerId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'Organization', isBlock: false), + _i1.StringValueNode(value: 'User', isBlock: false) + ])), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'abstractType'), + value: _i1.StringValueNode( + value: 'RepositoryOwner', isBlock: false)) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: false), defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'teamId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Team', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: false), defaultValue: null), @@ -7199,7 +8488,18 @@ const CreateTeamDiscussionCommentInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'discussionId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'TeamDiscussion', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -7247,7 +8547,17 @@ const CreateTeamDiscussionInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'teamId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Team', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -7930,7 +9240,17 @@ const DeclineTopicSuggestionInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'repositoryId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Repository', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -7983,7 +9303,18 @@ const DeleteBranchProtectionRuleInput = _i1.InputObjectTypeDefinitionNode( fields: [ _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'branchProtectionRuleId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'BranchProtectionRule', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -8018,7 +9349,17 @@ const DeleteDeploymentInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'id'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Deployment', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -8047,7 +9388,18 @@ const DeleteDiscussionCommentInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'id'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'DiscussionComment', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -8082,7 +9434,17 @@ const DeleteDiscussionInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'id'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Discussion', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -8117,7 +9479,18 @@ const DeleteEnvironmentInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'id'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'Environment', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -8146,7 +9519,18 @@ const DeleteIpAllowListEntryInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'ipAllowListEntryId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'IpAllowListEntry', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -8181,7 +9565,18 @@ const DeleteIssueCommentInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'id'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'IssueComment', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -8210,7 +9605,17 @@ const DeleteIssueInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'issueId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Issue', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -8233,13 +9638,121 @@ const DeleteIssuePayload = _i1.ObjectTypeDefinitionNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'Repository'), isNonNull: false)) ]); +const DeleteLabelInput = _i1.InputObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'DeleteLabelInput'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode(value: 'bane-preview', isBlock: false)) + ]) + ], + fields: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'clientMutationId'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'id'), + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Label', isBlock: false) + ])) + ]) + ], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'ID'), isNonNull: true), + defaultValue: null) + ]); +const DeleteLabelPayload = _i1.ObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'DeleteLabelPayload'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode(value: 'bane-preview', isBlock: false)) + ]) + ], + interfaces: [], + fields: [ + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'clientMutationId'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false)) + ]); +const DeletePackageVersionInput = _i1.InputObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'DeletePackageVersionInput'), + directives: [], + fields: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'clientMutationId'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'packageVersionId'), + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'PackageVersion', isBlock: false) + ])) + ]) + ], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'ID'), isNonNull: true), + defaultValue: null) + ]); +const DeletePackageVersionPayload = _i1.ObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'DeletePackageVersionPayload'), + directives: [], + interfaces: [], + fields: [ + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'clientMutationId'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'success'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Boolean'), isNonNull: false)) + ]); const DeleteProjectCardInput = _i1.InputObjectTypeDefinitionNode( name: _i1.NameNode(value: 'DeleteProjectCardInput'), directives: [], fields: [ _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'cardId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'ProjectCard', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -8286,7 +9799,18 @@ const DeleteProjectColumnInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'columnId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'ProjectColumn', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -8327,7 +9851,17 @@ const DeleteProjectInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'projectId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Project', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -8362,7 +9896,18 @@ const DeletePullRequestReviewCommentInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'id'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'PullRequestReviewComment', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -8397,7 +9942,18 @@ const DeletePullRequestReviewInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'pullRequestReviewId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'PullRequestReview', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -8432,7 +9988,17 @@ const DeleteRefInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'refId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Ref', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -8461,7 +10027,18 @@ const DeleteTeamDiscussionCommentInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'id'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'TeamDiscussionComment', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -8490,7 +10067,18 @@ const DeleteTeamDiscussionInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'id'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'TeamDiscussion', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -8519,7 +10107,18 @@ const DeleteVerifiableDomainInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'id'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'VerifiableDomain', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -8581,6 +10180,282 @@ const DemilestonedEvent = _i1.ObjectTypeDefinitionNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'MilestoneItem'), isNonNull: true)) ]); +const DependencyGraphDependency = _i1.ObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'DependencyGraphDependency'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: + _i1.StringValueNode(value: 'hawkgirl-preview', isBlock: false)) + ]) + ], + interfaces: [], + fields: [ + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'hasDependencies'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Boolean'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'packageLabel'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'packageManager'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'packageName'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'repository'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Repository'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'requirements'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: true)) + ]); +const DependencyGraphDependencyConnection = _i1.ObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'DependencyGraphDependencyConnection'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: + _i1.StringValueNode(value: 'hawkgirl-preview', isBlock: false)) + ]) + ], + interfaces: [], + fields: [ + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'edges'), + directives: [], + args: [], + type: _i1.ListTypeNode( + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'DependencyGraphDependencyEdge'), + isNonNull: false), + isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'nodes'), + directives: [], + args: [], + type: _i1.ListTypeNode( + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'DependencyGraphDependency'), + isNonNull: false), + isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'pageInfo'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'PageInfo'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'totalCount'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Int'), isNonNull: true)) + ]); +const DependencyGraphDependencyEdge = _i1.ObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'DependencyGraphDependencyEdge'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: + _i1.StringValueNode(value: 'hawkgirl-preview', isBlock: false)) + ]) + ], + interfaces: [], + fields: [ + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'cursor'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'node'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'DependencyGraphDependency'), + isNonNull: false)) + ]); +const DependencyGraphManifest = _i1.ObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'DependencyGraphManifest'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: + _i1.StringValueNode(value: 'hawkgirl-preview', isBlock: false)) + ]) + ], + interfaces: [ + _i1.NamedTypeNode(name: _i1.NameNode(value: 'Node'), isNonNull: false) + ], + fields: [ + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'blobPath'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'dependencies'), + directives: [], + args: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'after'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'before'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'first'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Int'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'last'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Int'), isNonNull: false), + defaultValue: null) + ], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'DependencyGraphDependencyConnection'), + isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'dependenciesCount'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Int'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'exceedsMaxSize'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Boolean'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'filename'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'id'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'ID'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'parseable'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Boolean'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'repository'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Repository'), isNonNull: true)) + ]); +const DependencyGraphManifestConnection = _i1.ObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'DependencyGraphManifestConnection'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: + _i1.StringValueNode(value: 'hawkgirl-preview', isBlock: false)) + ]) + ], + interfaces: [], + fields: [ + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'edges'), + directives: [], + args: [], + type: _i1.ListTypeNode( + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'DependencyGraphManifestEdge'), + isNonNull: false), + isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'nodes'), + directives: [], + args: [], + type: _i1.ListTypeNode( + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'DependencyGraphManifest'), + isNonNull: false), + isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'pageInfo'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'PageInfo'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'totalCount'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Int'), isNonNull: true)) + ]); +const DependencyGraphManifestEdge = _i1.ObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'DependencyGraphManifestEdge'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: + _i1.StringValueNode(value: 'hawkgirl-preview', isBlock: false)) + ]) + ], + interfaces: [], + fields: [ + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'cursor'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'node'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'DependencyGraphManifest'), + isNonNull: false)) + ]); const DeployKey = _i1.ObjectTypeDefinitionNode( name: _i1.NameNode(value: 'DeployKey'), directives: [], @@ -9482,6 +11357,19 @@ const DeploymentStatus = _i1.ObjectTypeDefinitionNode( args: [], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'String'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'environment'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'flash-preview', isBlock: false)) + ]) + ], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false)), _i1.FieldDefinitionNode( name: _i1.NameNode(value: 'environmentUrl'), directives: [], @@ -9610,7 +11498,18 @@ const DisablePullRequestAutoMergeInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'pullRequestId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'PullRequest', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -10690,7 +12589,18 @@ const DismissPullRequestReviewInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'pullRequestReviewId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'PullRequestReview', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -10814,7 +12724,18 @@ const EnablePullRequestAutoMergeInput = _i1.InputObjectTypeDefinitionNode( defaultValue: _i1.EnumValueNode(name: _i1.NameNode(value: 'MERGE'))), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'pullRequestId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'PullRequest', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -12288,6 +14209,15 @@ const EnterpriseOwnerInfo = _i1.ObjectTypeDefinitionNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'IpAllowListEntryConnection'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: + _i1.NameNode(value: 'ipAllowListForInstalledAppsEnabledSetting'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode( + value: 'IpAllowListForInstalledAppsEnabledSettingValue'), + isNonNull: true)), _i1.FieldDefinitionNode( name: _i1.NameNode(value: 'isUpdatingDefaultRepositoryPermission'), directives: [], @@ -14956,7 +16886,17 @@ const FollowUserInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'userId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'User', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -15914,6 +17854,16 @@ const GitObject = _i1.InterfaceTypeDefinitionNode( ]); const GitObjectID = _i1.ScalarTypeDefinitionNode( name: _i1.NameNode(value: 'GitObjectID'), directives: []); +const GitRefname = _i1.ScalarTypeDefinitionNode( + name: _i1.NameNode(value: 'GitRefname'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'update-refs-preview', isBlock: false)) + ]) + ]); const GitSSHRemote = _i1.ScalarTypeDefinitionNode( name: _i1.NameNode(value: 'GitSSHRemote'), directives: []); const GitSignature = _i1.InterfaceTypeDefinitionNode( @@ -16232,6 +18182,68 @@ const IdentityProviderConfigurationState = _i1.EnumTypeDefinitionNode( _i1.EnumValueDefinitionNode( name: _i1.NameNode(value: 'UNCONFIGURED'), directives: []) ]); +const ImportProjectInput = _i1.InputObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'ImportProjectInput'), + directives: [], + fields: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'body'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'clientMutationId'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'columnImports'), + directives: [], + type: _i1.ListTypeNode( + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'ProjectColumnImport'), + isNonNull: true), + isNonNull: true), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'name'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: true), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'ownerName'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: true), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'public'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Boolean'), isNonNull: false), + defaultValue: _i1.BooleanValueNode(value: false)) + ]); +const ImportProjectPayload = _i1.ObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'ImportProjectPayload'), + directives: [], + interfaces: [], + fields: [ + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'clientMutationId'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'project'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Project'), isNonNull: false)) + ]); const InviteEnterpriseAdminInput = _i1.InputObjectTypeDefinitionNode( name: _i1.NameNode(value: 'InviteEnterpriseAdminInput'), directives: [], @@ -16250,7 +18262,17 @@ const InviteEnterpriseAdminInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'enterpriseId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Enterprise', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -16427,10 +18449,22 @@ const IpAllowListEntryOrderField = _i1.EnumTypeDefinitionNode( _i1.EnumValueDefinitionNode( name: _i1.NameNode(value: 'CREATED_AT'), directives: []) ]); +const IpAllowListForInstalledAppsEnabledSettingValue = + _i1.EnumTypeDefinitionNode( + name: _i1.NameNode( + value: 'IpAllowListForInstalledAppsEnabledSettingValue'), + directives: [], + values: [ + _i1.EnumValueDefinitionNode( + name: _i1.NameNode(value: 'DISABLED'), directives: []), + _i1.EnumValueDefinitionNode( + name: _i1.NameNode(value: 'ENABLED'), directives: []) + ]); const IpAllowListOwner = _i1.UnionTypeDefinitionNode( name: _i1.NameNode(value: 'IpAllowListOwner'), directives: [], types: [ + _i1.NamedTypeNode(name: _i1.NameNode(value: 'App'), isNonNull: false), _i1.NamedTypeNode( name: _i1.NameNode(value: 'Enterprise'), isNonNull: false), _i1.NamedTypeNode( @@ -16988,6 +19022,12 @@ const Issue = _i1.ObjectTypeDefinitionNode( args: [], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'String'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'titleHTML'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: true)), _i1.FieldDefinitionNode( name: _i1.NameNode(value: 'updatedAt'), directives: [], @@ -18628,13 +20668,33 @@ const LinkRepositoryToProjectInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'projectId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Project', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'repositoryId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Repository', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -18681,7 +20741,25 @@ const LockLockableInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'lockableId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'Discussion', isBlock: false), + _i1.StringValueNode(value: 'Issue', isBlock: false), + _i1.StringValueNode( + value: 'PullRequest', isBlock: false) + ])), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'abstractType'), + value: _i1.StringValueNode( + value: 'Lockable', isBlock: false)) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -18869,7 +20947,18 @@ const MarkDiscussionCommentAsAnswerInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'id'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'DiscussionComment', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -18910,7 +20999,18 @@ const MarkFileAsViewedInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'pullRequestId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'PullRequest', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -18945,7 +21045,18 @@ const MarkPullRequestReadyForReviewInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'pullRequestId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'PullRequest', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -20033,7 +22144,17 @@ const MergeBranchInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'repositoryId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Repository', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -20099,7 +22220,18 @@ const MergePullRequestInput = _i1.InputObjectTypeDefinitionNode( defaultValue: _i1.EnumValueNode(name: _i1.NameNode(value: 'MERGE'))), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'pullRequestId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'PullRequest', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -20128,6 +22260,39 @@ const MergePullRequestPayload = _i1.ObjectTypeDefinitionNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'PullRequest'), isNonNull: false)) ]); +const MergeStateStatus = _i1.EnumTypeDefinitionNode( + name: _i1.NameNode(value: 'MergeStateStatus'), + directives: [], + values: [ + _i1.EnumValueDefinitionNode( + name: _i1.NameNode(value: 'BEHIND'), directives: []), + _i1.EnumValueDefinitionNode( + name: _i1.NameNode(value: 'BLOCKED'), directives: []), + _i1.EnumValueDefinitionNode( + name: _i1.NameNode(value: 'CLEAN'), directives: []), + _i1.EnumValueDefinitionNode( + name: _i1.NameNode(value: 'DIRTY'), directives: []), + _i1.EnumValueDefinitionNode( + name: _i1.NameNode(value: 'DRAFT'), + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'deprecated'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'reason'), + value: _i1.StringValueNode( + value: + 'DRAFT state will be removed from this enum and `isDraft` should be used instead Use PullRequest.isDraft instead. Removal on 2021-01-01 UTC.', + isBlock: false)) + ]) + ]), + _i1.EnumValueDefinitionNode( + name: _i1.NameNode(value: 'HAS_HOOKS'), directives: []), + _i1.EnumValueDefinitionNode( + name: _i1.NameNode(value: 'UNKNOWN'), directives: []), + _i1.EnumValueDefinitionNode( + name: _i1.NameNode(value: 'UNSTABLE'), directives: []) + ]); const MergeableState = _i1.EnumTypeDefinitionNode( name: _i1.NameNode(value: 'MergeableState'), directives: [], @@ -20615,7 +22780,30 @@ const MinimizeCommentInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'subjectId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'CommitComment', isBlock: false), + _i1.StringValueNode( + value: 'DiscussionComment', isBlock: false), + _i1.StringValueNode( + value: 'GistComment', isBlock: false), + _i1.StringValueNode( + value: 'IssueComment', isBlock: false), + _i1.StringValueNode( + value: 'PullRequestReviewComment', isBlock: false) + ])), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'abstractType'), + value: _i1.StringValueNode( + value: 'Minimizable', isBlock: false)) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -20644,13 +22832,35 @@ const MoveProjectCardInput = _i1.InputObjectTypeDefinitionNode( fields: [ _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'afterCardId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'ProjectCard', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: false), defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'cardId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'ProjectCard', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -20662,7 +22872,18 @@ const MoveProjectCardInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'columnId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'ProjectColumn', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -20691,7 +22912,18 @@ const MoveProjectColumnInput = _i1.InputObjectTypeDefinitionNode( fields: [ _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'afterColumnId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'ProjectColumn', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: false), defaultValue: null), @@ -20703,7 +22935,18 @@ const MoveProjectColumnInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'columnId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'ProjectColumn', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -20756,7 +22999,59 @@ const MovedColumnsInProjectEvent = _i1.ObjectTypeDefinitionNode( directives: [], args: [], type: _i1.NamedTypeNode( - name: _i1.NameNode(value: 'ID'), isNonNull: true)) + name: _i1.NameNode(value: 'ID'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'previousProjectColumnName'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'starfox-preview', isBlock: false)) + ]) + ], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'project'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'starfox-preview', isBlock: false)) + ]) + ], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Project'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'projectCard'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'starfox-preview', isBlock: false)) + ]) + ], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'ProjectCard'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'projectColumnName'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'starfox-preview', isBlock: false)) + ]) + ], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: true)) ]); const Mutation = _i1.ObjectTypeDefinitionNode( name: _i1.NameNode(value: 'Mutation'), @@ -21235,6 +23530,72 @@ const Mutation = _i1.ObjectTypeDefinitionNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'CreateCheckSuitePayload'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'createContentAttachment'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'corsair-preview', isBlock: false)) + ]) + ], + args: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'input'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'CreateContentAttachmentInput'), + isNonNull: true), + defaultValue: null) + ], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'CreateContentAttachmentPayload'), + isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'createDeployment'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'flash-preview', isBlock: false)) + ]) + ], + args: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'input'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'CreateDeploymentInput'), + isNonNull: true), + defaultValue: null) + ], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'CreateDeploymentPayload'), + isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'createDeploymentStatus'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'flash-preview', isBlock: false)) + ]) + ], + args: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'input'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'CreateDeploymentStatusInput'), + isNonNull: true), + defaultValue: null) + ], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'CreateDeploymentStatusPayload'), + isNonNull: false)), _i1.FieldDefinitionNode( name: _i1.NameNode(value: 'createDiscussion'), directives: [], @@ -21311,6 +23672,28 @@ const Mutation = _i1.ObjectTypeDefinitionNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'CreateIssuePayload'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'createLabel'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'bane-preview', isBlock: false)) + ]) + ], + args: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'input'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'CreateLabelInput'), + isNonNull: true), + defaultValue: null) + ], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'CreateLabelPayload'), + isNonNull: false)), _i1.FieldDefinitionNode( name: _i1.NameNode(value: 'createProject'), directives: [], @@ -21537,6 +23920,50 @@ const Mutation = _i1.ObjectTypeDefinitionNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'DeleteIssueCommentPayload'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'deleteLabel'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'bane-preview', isBlock: false)) + ]) + ], + args: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'input'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'DeleteLabelInput'), + isNonNull: true), + defaultValue: null) + ], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'DeleteLabelPayload'), + isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'deletePackageVersion'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'package-deletes-preview', isBlock: false)) + ]) + ], + args: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'input'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'DeletePackageVersionInput'), + isNonNull: true), + defaultValue: null) + ], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'DeletePackageVersionPayload'), + isNonNull: false)), _i1.FieldDefinitionNode( name: _i1.NameNode(value: 'deleteProject'), directives: [], @@ -21736,6 +24163,28 @@ const Mutation = _i1.ObjectTypeDefinitionNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'FollowUserPayload'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'importProject'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'slothette-preview', isBlock: false)) + ]) + ], + args: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'input'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'ImportProjectInput'), + isNonNull: true), + defaultValue: null) + ], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'ImportProjectPayload'), + isNonNull: false)), _i1.FieldDefinitionNode( name: _i1.NameNode(value: 'inviteEnterpriseAdmin'), directives: [], @@ -22880,6 +25329,26 @@ const Mutation = _i1.ObjectTypeDefinitionNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'UpdateIpAllowListEntryPayload'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode( + value: 'updateIpAllowListForInstalledAppsEnabledSetting'), + directives: [], + args: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'input'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode( + value: + 'UpdateIpAllowListForInstalledAppsEnabledSettingInput'), + isNonNull: true), + defaultValue: null) + ], + type: _i1.NamedTypeNode( + name: _i1.NameNode( + value: + 'UpdateIpAllowListForInstalledAppsEnabledSettingPayload'), + isNonNull: false)), _i1.FieldDefinitionNode( name: _i1.NameNode(value: 'updateIssue'), directives: [], @@ -22910,6 +25379,28 @@ const Mutation = _i1.ObjectTypeDefinitionNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'UpdateIssueCommentPayload'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'updateLabel'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'bane-preview', isBlock: false)) + ]) + ], + args: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'input'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'UpdateLabelInput'), + isNonNull: true), + defaultValue: null) + ], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'UpdateLabelPayload'), + isNonNull: false)), _i1.FieldDefinitionNode( name: _i1.NameNode(value: 'updateNotificationRestrictionSetting'), directives: [], @@ -23033,6 +25524,28 @@ const Mutation = _i1.ObjectTypeDefinitionNode( ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'UpdateRefPayload'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'updateRefs'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'update-refs-preview', isBlock: false)) + ]) + ], + args: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'input'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'UpdateRefsInput'), + isNonNull: true), + defaultValue: null) + ], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'UpdateRefsPayload'), + isNonNull: false)), _i1.FieldDefinitionNode( name: _i1.NameNode(value: 'updateRepository'), directives: [], @@ -23094,6 +25607,29 @@ const Mutation = _i1.ObjectTypeDefinitionNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'UpdateTeamDiscussionCommentPayload'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'updateTeamReviewAssignment'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'stone-crop-preview', isBlock: false)) + ]) + ], + args: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'input'), + directives: [], + type: _i1.NamedTypeNode( + name: + _i1.NameNode(value: 'UpdateTeamReviewAssignmentInput'), + isNonNull: true), + defaultValue: null) + ], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'UpdateTeamReviewAssignmentPayload'), + isNonNull: false)), _i1.FieldDefinitionNode( name: _i1.NameNode(value: 'updateTopics'), directives: [], @@ -27430,6 +29966,15 @@ const Organization = _i1.ObjectTypeDefinitionNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'IpAllowListEntryConnection'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: + _i1.NameNode(value: 'ipAllowListForInstalledAppsEnabledSetting'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode( + value: 'IpAllowListForInstalledAppsEnabledSettingValue'), + isNonNull: true)), _i1.FieldDefinitionNode( name: _i1.NameNode(value: 'isSponsoredBy'), directives: [], @@ -28065,6 +30610,62 @@ const Organization = _i1.ObjectTypeDefinitionNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'OrganizationIdentityProvider'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'sponsorsActivities'), + directives: [], + args: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'after'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'before'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'first'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Int'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'last'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Int'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'orderBy'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'SponsorsActivityOrder'), + isNonNull: false), + defaultValue: _i1.ObjectValueNode(fields: [ + _i1.ObjectFieldNode( + name: _i1.NameNode(value: 'field'), + value: _i1.EnumValueNode( + name: _i1.NameNode(value: 'TIMESTAMP'))), + _i1.ObjectFieldNode( + name: _i1.NameNode(value: 'direction'), + value: + _i1.EnumValueNode(name: _i1.NameNode(value: 'DESC'))) + ])), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'period'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'SponsorsActivityPeriod'), + isNonNull: false), + defaultValue: + _i1.EnumValueNode(name: _i1.NameNode(value: 'MONTH'))) + ], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'SponsorsActivityConnection'), + isNonNull: true)), _i1.FieldDefinitionNode( name: _i1.NameNode(value: 'sponsorsListing'), directives: [], @@ -29873,7 +32474,17 @@ const PinIssueInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'issueId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Issue', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -31139,6 +33750,23 @@ const ProjectCardEdge = _i1.ObjectTypeDefinitionNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ProjectCard'), isNonNull: false)) ]); +const ProjectCardImport = _i1.InputObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'ProjectCardImport'), + directives: [], + fields: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'number'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Int'), isNonNull: true), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'repository'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: true), + defaultValue: null) + ]); const ProjectCardItem = _i1.UnionTypeDefinitionNode( name: _i1.NameNode(value: 'ProjectCardItem'), directives: [], @@ -31318,6 +33946,32 @@ const ProjectColumnEdge = _i1.ObjectTypeDefinitionNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ProjectColumn'), isNonNull: false)) ]); +const ProjectColumnImport = _i1.InputObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'ProjectColumnImport'), + directives: [], + fields: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'columnName'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: true), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'issues'), + directives: [], + type: _i1.ListTypeNode( + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'ProjectCardImport'), + isNonNull: true), + isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'position'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Int'), isNonNull: true), + defaultValue: null) + ]); const ProjectColumnPurpose = _i1.EnumTypeDefinitionNode( name: _i1.NameNode(value: 'ProjectColumnPurpose'), directives: [], @@ -31810,6 +34464,19 @@ const PullRequest = _i1.ObjectTypeDefinitionNode( args: [], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'String'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'canBeRebased'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'merge-info-preview', isBlock: false)) + ]) + ], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Boolean'), isNonNull: true)), _i1.FieldDefinitionNode( name: _i1.NameNode(value: 'changedFiles'), directives: [], @@ -32223,6 +34890,19 @@ const PullRequest = _i1.ObjectTypeDefinitionNode( args: [], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'Commit'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'mergeStateStatus'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'merge-info-preview', isBlock: false)) + ]) + ], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'MergeStateStatus'), isNonNull: true)), _i1.FieldDefinitionNode( name: _i1.NameNode(value: 'mergeable'), directives: [], @@ -32672,6 +35352,12 @@ const PullRequest = _i1.ObjectTypeDefinitionNode( args: [], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'String'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'titleHTML'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'HTML'), isNonNull: true)), _i1.FieldDefinitionNode( name: _i1.NameNode(value: 'updatedAt'), directives: [], @@ -35995,6 +38681,37 @@ const ReactionGroup = _i1.ObjectTypeDefinitionNode( args: [], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'DateTime'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'reactors'), + directives: [], + args: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'after'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'before'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'first'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Int'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'last'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Int'), isNonNull: false), + defaultValue: null) + ], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'ReactorConnection'), isNonNull: true)), _i1.FieldDefinitionNode( name: _i1.NameNode(value: 'subject'), directives: [], @@ -36003,7 +38720,18 @@ const ReactionGroup = _i1.ObjectTypeDefinitionNode( name: _i1.NameNode(value: 'Reactable'), isNonNull: true)), _i1.FieldDefinitionNode( name: _i1.NameNode(value: 'users'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'deprecated'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'reason'), + value: _i1.StringValueNode( + value: + 'Reactors can now be mannequins, bots, and organizations. Use the `reactors` field instead. Removal on 2021-10-01 UTC.', + isBlock: false)) + ]) + ], args: [ _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'after'), @@ -36064,6 +38792,75 @@ const ReactionOrderField = _i1.EnumTypeDefinitionNode( _i1.EnumValueDefinitionNode( name: _i1.NameNode(value: 'CREATED_AT'), directives: []) ]); +const Reactor = _i1.UnionTypeDefinitionNode( + name: _i1.NameNode(value: 'Reactor'), + directives: [], + types: [ + _i1.NamedTypeNode(name: _i1.NameNode(value: 'Bot'), isNonNull: false), + _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Mannequin'), isNonNull: false), + _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Organization'), isNonNull: false), + _i1.NamedTypeNode(name: _i1.NameNode(value: 'User'), isNonNull: false) + ]); +const ReactorConnection = _i1.ObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'ReactorConnection'), + directives: [], + interfaces: [], + fields: [ + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'edges'), + directives: [], + args: [], + type: _i1.ListTypeNode( + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'ReactorEdge'), isNonNull: false), + isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'nodes'), + directives: [], + args: [], + type: _i1.ListTypeNode( + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Reactor'), isNonNull: false), + isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'pageInfo'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'PageInfo'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'totalCount'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Int'), isNonNull: true)) + ]); +const ReactorEdge = _i1.ObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'ReactorEdge'), + directives: [], + interfaces: [], + fields: [ + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'cursor'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'node'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Reactor'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'reactedAt'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'DateTime'), isNonNull: true)) + ]); const ReadyForReviewEvent = _i1.ObjectTypeDefinitionNode( name: _i1.NameNode(value: 'ReadyForReviewEvent'), directives: [], @@ -36307,6 +39104,42 @@ const RefOrderField = _i1.EnumTypeDefinitionNode( _i1.EnumValueDefinitionNode( name: _i1.NameNode(value: 'TAG_COMMIT_DATE'), directives: []) ]); +const RefUpdate = _i1.InputObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'RefUpdate'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'update-refs-preview', isBlock: false)) + ]) + ], + fields: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'afterOid'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'GitObjectID'), isNonNull: true), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'beforeOid'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'GitObjectID'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'force'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Boolean'), isNonNull: false), + defaultValue: _i1.BooleanValueNode(value: false)), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'name'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'GitRefname'), isNonNull: true), + defaultValue: null) + ]); const RefUpdateRule = _i1.ObjectTypeDefinitionNode( name: _i1.NameNode(value: 'RefUpdateRule'), directives: [], @@ -36350,6 +39183,12 @@ const RefUpdateRule = _i1.ObjectTypeDefinitionNode( args: [], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'Boolean'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'requiresConversationResolution'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Boolean'), isNonNull: true)), _i1.FieldDefinitionNode( name: _i1.NameNode(value: 'requiresLinearHistory'), directives: [], @@ -36453,7 +39292,17 @@ const RegenerateEnterpriseIdentityProviderRecoveryCodesInput = defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'enterpriseId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Enterprise', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -36491,7 +39340,18 @@ const RegenerateVerifiableDomainTokenInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'id'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'VerifiableDomain', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -36540,7 +39400,18 @@ const RejectDeploymentsInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'workflowRunId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'WorkflowRun', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -37008,13 +39879,39 @@ const RemoveAssigneesFromAssignableInput = _i1.InputObjectTypeDefinitionNode( fields: [ _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'assignableId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Issue', isBlock: false), + _i1.StringValueNode( + value: 'PullRequest', isBlock: false) + ])), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'abstractType'), + value: _i1.StringValueNode( + value: 'Assignable', isBlock: false)) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'assigneeIds'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'User', isBlock: false) + ])) + ]) + ], type: _i1.ListTypeNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), @@ -37057,7 +39954,17 @@ const RemoveEnterpriseAdminInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'enterpriseId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Enterprise', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -37116,7 +40023,17 @@ const RemoveEnterpriseIdentityProviderInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'enterpriseId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Enterprise', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -37152,13 +40069,34 @@ const RemoveEnterpriseOrganizationInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'enterpriseId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Enterprise', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'organizationId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'Organization', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -37206,7 +40144,17 @@ const RemoveEnterpriseSupportEntitlementInput = defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'enterpriseId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Enterprise', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -37247,7 +40195,17 @@ const RemoveLabelsFromLabelableInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'labelIds'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Label', isBlock: false) + ])) + ]) + ], type: _i1.ListTypeNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), @@ -37255,7 +40213,25 @@ const RemoveLabelsFromLabelableInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'labelableId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'Discussion', isBlock: false), + _i1.StringValueNode(value: 'Issue', isBlock: false), + _i1.StringValueNode( + value: 'PullRequest', isBlock: false) + ])), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'abstractType'), + value: _i1.StringValueNode( + value: 'Labelable', isBlock: false)) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -37290,13 +40266,34 @@ const RemoveOutsideCollaboratorInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'organizationId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'Organization', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'userId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'User', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -37337,7 +40334,40 @@ const RemoveReactionInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'subjectId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'CommitComment', isBlock: false), + _i1.StringValueNode( + value: 'Discussion', isBlock: false), + _i1.StringValueNode( + value: 'DiscussionComment', isBlock: false), + _i1.StringValueNode(value: 'Issue', isBlock: false), + _i1.StringValueNode( + value: 'IssueComment', isBlock: false), + _i1.StringValueNode( + value: 'PullRequest', isBlock: false), + _i1.StringValueNode( + value: 'PullRequestReview', isBlock: false), + _i1.StringValueNode( + value: 'PullRequestReviewComment', isBlock: false), + _i1.StringValueNode(value: 'Release', isBlock: false), + _i1.StringValueNode( + value: 'TeamDiscussion', isBlock: false), + _i1.StringValueNode( + value: 'TeamDiscussionComment', isBlock: false) + ])), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'abstractType'), + value: _i1.StringValueNode( + value: 'Reactable', isBlock: false)) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -37378,7 +40408,24 @@ const RemoveStarInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'starrableId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Gist', isBlock: false), + _i1.StringValueNode( + value: 'Repository', isBlock: false), + _i1.StringValueNode(value: 'Topic', isBlock: false) + ])), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'abstractType'), + value: _i1.StringValueNode( + value: 'Starrable', isBlock: false)) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -37413,7 +40460,24 @@ const RemoveUpvoteInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'subjectId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'Discussion', isBlock: false), + _i1.StringValueNode( + value: 'DiscussionComment', isBlock: false) + ])), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'abstractType'), + value: + _i1.StringValueNode(value: 'Votable', isBlock: false)) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -37466,7 +40530,33 @@ const RemovedFromProjectEvent = _i1.ObjectTypeDefinitionNode( directives: [], args: [], type: _i1.NamedTypeNode( - name: _i1.NameNode(value: 'ID'), isNonNull: true)) + name: _i1.NameNode(value: 'ID'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'project'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'starfox-preview', isBlock: false)) + ]) + ], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Project'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'projectColumnName'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'starfox-preview', isBlock: false)) + ]) + ], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: true)) ]); const RenamedTitleEvent = _i1.ObjectTypeDefinitionNode( name: _i1.NameNode(value: 'RenamedTitleEvent'), @@ -37533,7 +40623,17 @@ const ReopenIssueInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'issueId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Issue', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -37568,7 +40668,18 @@ const ReopenPullRequestInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'pullRequestId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'PullRequest', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -40846,6 +43957,63 @@ const Repository = _i1.ObjectTypeDefinitionNode( args: [], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'Boolean'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'dependencyGraphManifests'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'hawkgirl-preview', isBlock: false)) + ]) + ], + args: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'after'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'before'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'dependenciesAfter'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'dependenciesFirst'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Int'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'first'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Int'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'last'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Int'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'withDependencies'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Boolean'), isNonNull: false), + defaultValue: null) + ], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'DependencyGraphManifestConnection'), + isNonNull: false)), _i1.FieldDefinitionNode( name: _i1.NameNode(value: 'deployKeys'), directives: [], @@ -43874,13 +47042,34 @@ const RequestReviewsInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'pullRequestId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'PullRequest', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'teamIds'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Team', isBlock: false) + ])) + ]) + ], type: _i1.ListTypeNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), @@ -43894,7 +47083,17 @@ const RequestReviewsInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'userIds'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'User', isBlock: false) + ])) + ]) + ], type: _i1.ListTypeNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), @@ -43985,7 +47184,17 @@ const RerequestCheckSuiteInput = _i1.InputObjectTypeDefinitionNode( fields: [ _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'checkSuiteId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'CheckSuite', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -43997,7 +47206,17 @@ const RerequestCheckSuiteInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'repositoryId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Repository', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -44032,7 +47251,18 @@ const ResolveReviewThreadInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'threadId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'PullRequestReviewThread', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -44993,6 +48223,8 @@ const SecurityAdvisoryEcosystem = _i1.EnumTypeDefinitionNode( name: _i1.NameNode(value: 'NPM'), directives: []), _i1.EnumValueDefinitionNode( name: _i1.NameNode(value: 'NUGET'), directives: []), + _i1.EnumValueDefinitionNode( + name: _i1.NameNode(value: 'OTHER'), directives: []), _i1.EnumValueDefinitionNode( name: _i1.NameNode(value: 'PIP'), directives: []), _i1.EnumValueDefinitionNode( @@ -45288,7 +48520,17 @@ const SetEnterpriseIdentityProviderInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'enterpriseId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Enterprise', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -45363,7 +48605,18 @@ const SetOrganizationInteractionLimitInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'organizationId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'Organization', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -45412,7 +48665,17 @@ const SetRepositoryInteractionLimitInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'repositoryId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Repository', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -45461,7 +48724,17 @@ const SetUserInteractionLimitInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'userId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'User', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -45572,6 +48845,62 @@ const Sponsorable = _i1.InterfaceTypeDefinitionNode( args: [], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'Boolean'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'sponsorsActivities'), + directives: [], + args: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'after'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'before'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'first'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Int'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'last'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Int'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'orderBy'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'SponsorsActivityOrder'), + isNonNull: false), + defaultValue: _i1.ObjectValueNode(fields: [ + _i1.ObjectFieldNode( + name: _i1.NameNode(value: 'field'), + value: _i1.EnumValueNode( + name: _i1.NameNode(value: 'TIMESTAMP'))), + _i1.ObjectFieldNode( + name: _i1.NameNode(value: 'direction'), + value: + _i1.EnumValueNode(name: _i1.NameNode(value: 'DESC'))) + ])), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'period'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'SponsorsActivityPeriod'), + isNonNull: false), + defaultValue: + _i1.EnumValueNode(name: _i1.NameNode(value: 'MONTH'))) + ], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'SponsorsActivityConnection'), + isNonNull: true)), _i1.FieldDefinitionNode( name: _i1.NameNode(value: 'sponsorsListing'), directives: [], @@ -45768,6 +49097,166 @@ const SponsorableOrderField = _i1.EnumTypeDefinitionNode( _i1.EnumValueDefinitionNode( name: _i1.NameNode(value: 'LOGIN'), directives: []) ]); +const SponsorsActivity = _i1.ObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'SponsorsActivity'), + directives: [], + interfaces: [ + _i1.NamedTypeNode(name: _i1.NameNode(value: 'Node'), isNonNull: false) + ], + fields: [ + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'action'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'SponsorsActivityAction'), + isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'id'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'ID'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'previousSponsorsTier'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'SponsorsTier'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'sponsor'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Sponsor'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'sponsorable'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Sponsorable'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'sponsorsTier'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'SponsorsTier'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'timestamp'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'DateTime'), isNonNull: false)) + ]); +const SponsorsActivityAction = _i1.EnumTypeDefinitionNode( + name: _i1.NameNode(value: 'SponsorsActivityAction'), + directives: [], + values: [ + _i1.EnumValueDefinitionNode( + name: _i1.NameNode(value: 'CANCELLED_SPONSORSHIP'), directives: []), + _i1.EnumValueDefinitionNode( + name: _i1.NameNode(value: 'NEW_SPONSORSHIP'), directives: []), + _i1.EnumValueDefinitionNode( + name: _i1.NameNode(value: 'PENDING_CHANGE'), directives: []), + _i1.EnumValueDefinitionNode( + name: _i1.NameNode(value: 'REFUND'), directives: []), + _i1.EnumValueDefinitionNode( + name: _i1.NameNode(value: 'SPONSOR_MATCH_DISABLED'), directives: []), + _i1.EnumValueDefinitionNode( + name: _i1.NameNode(value: 'TIER_CHANGE'), directives: []) + ]); +const SponsorsActivityConnection = _i1.ObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'SponsorsActivityConnection'), + directives: [], + interfaces: [], + fields: [ + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'edges'), + directives: [], + args: [], + type: _i1.ListTypeNode( + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'SponsorsActivityEdge'), + isNonNull: false), + isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'nodes'), + directives: [], + args: [], + type: _i1.ListTypeNode( + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'SponsorsActivity'), + isNonNull: false), + isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'pageInfo'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'PageInfo'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'totalCount'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Int'), isNonNull: true)) + ]); +const SponsorsActivityEdge = _i1.ObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'SponsorsActivityEdge'), + directives: [], + interfaces: [], + fields: [ + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'cursor'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'node'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'SponsorsActivity'), isNonNull: false)) + ]); +const SponsorsActivityOrder = _i1.InputObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'SponsorsActivityOrder'), + directives: [], + fields: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'direction'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'OrderDirection'), isNonNull: true), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'field'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'SponsorsActivityOrderField'), + isNonNull: true), + defaultValue: null) + ]); +const SponsorsActivityOrderField = _i1.EnumTypeDefinitionNode( + name: _i1.NameNode(value: 'SponsorsActivityOrderField'), + directives: [], + values: [ + _i1.EnumValueDefinitionNode( + name: _i1.NameNode(value: 'TIMESTAMP'), directives: []) + ]); +const SponsorsActivityPeriod = _i1.EnumTypeDefinitionNode( + name: _i1.NameNode(value: 'SponsorsActivityPeriod'), + directives: [], + values: [ + _i1.EnumValueDefinitionNode( + name: _i1.NameNode(value: 'ALL'), directives: []), + _i1.EnumValueDefinitionNode( + name: _i1.NameNode(value: 'DAY'), directives: []), + _i1.EnumValueDefinitionNode( + name: _i1.NameNode(value: 'MONTH'), directives: []), + _i1.EnumValueDefinitionNode( + name: _i1.NameNode(value: 'WEEK'), directives: []) + ]); const SponsorsGoal = _i1.ObjectTypeDefinitionNode( name: _i1.NameNode(value: 'SponsorsGoal'), directives: [], @@ -46866,13 +50355,35 @@ const SubmitPullRequestReviewInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'pullRequestId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'PullRequest', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: false), defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'pullRequestReviewId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'PullRequestReview', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: false), defaultValue: null) @@ -47612,6 +51123,59 @@ const Team = _i1.ObjectTypeDefinitionNode( args: [], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'URI'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'reviewRequestDelegationAlgorithm'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'stone-crop-preview', isBlock: false)) + ]) + ], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'TeamReviewAssignmentAlgorithm'), + isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'reviewRequestDelegationEnabled'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'stone-crop-preview', isBlock: false)) + ]) + ], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Boolean'), isNonNull: true)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'reviewRequestDelegationMemberCount'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'stone-crop-preview', isBlock: false)) + ]) + ], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Int'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'reviewRequestDelegationNotifyTeam'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'stone-crop-preview', isBlock: false)) + ]) + ], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Boolean'), isNonNull: true)), _i1.FieldDefinitionNode( name: _i1.NameNode(value: 'slug'), directives: [], @@ -49617,6 +53181,22 @@ const TeamRepositoryOrderField = _i1.EnumTypeDefinitionNode( _i1.EnumValueDefinitionNode( name: _i1.NameNode(value: 'UPDATED_AT'), directives: []) ]); +const TeamReviewAssignmentAlgorithm = _i1.EnumTypeDefinitionNode( + name: _i1.NameNode(value: 'TeamReviewAssignmentAlgorithm'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'stone-crop-preview', isBlock: false)) + ]) + ], + values: [ + _i1.EnumValueDefinitionNode( + name: _i1.NameNode(value: 'LOAD_BALANCE'), directives: []), + _i1.EnumValueDefinitionNode( + name: _i1.NameNode(value: 'ROUND_ROBIN'), directives: []) + ]); const TeamRole = _i1.EnumTypeDefinitionNode( name: _i1.NameNode(value: 'TeamRole'), directives: [], @@ -49806,13 +53386,33 @@ const TransferIssueInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'issueId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Issue', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'repositoryId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Repository', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -50007,7 +53607,17 @@ const UnarchiveRepositoryInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'repositoryId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Repository', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -50097,7 +53707,17 @@ const UnfollowUserInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'userId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'User', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -50238,13 +53858,33 @@ const UnlinkRepositoryFromProjectInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'projectId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Project', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'repositoryId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Repository', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -50285,7 +53925,25 @@ const UnlockLockableInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'lockableId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'Discussion', isBlock: false), + _i1.StringValueNode(value: 'Issue', isBlock: false), + _i1.StringValueNode( + value: 'PullRequest', isBlock: false) + ])), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'abstractType'), + value: _i1.StringValueNode( + value: 'Lockable', isBlock: false)) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -50358,7 +54016,18 @@ const UnmarkDiscussionCommentAsAnswerInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'id'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'DiscussionComment', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -50399,7 +54068,18 @@ const UnmarkFileAsViewedInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'pullRequestId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'PullRequest', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -50428,7 +54108,23 @@ const UnmarkIssueAsDuplicateInput = _i1.InputObjectTypeDefinitionNode( fields: [ _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'canonicalId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Issue', isBlock: false), + _i1.StringValueNode( + value: 'PullRequest', isBlock: false) + ])), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'abstractType'), + value: _i1.StringValueNode( + value: 'IssueOrPullRequest', isBlock: false)) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -50440,7 +54136,23 @@ const UnmarkIssueAsDuplicateInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'duplicateId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Issue', isBlock: false), + _i1.StringValueNode( + value: 'PullRequest', isBlock: false) + ])), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'abstractType'), + value: _i1.StringValueNode( + value: 'IssueOrPullRequest', isBlock: false)) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -50522,7 +54234,30 @@ const UnminimizeCommentInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'subjectId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'CommitComment', isBlock: false), + _i1.StringValueNode( + value: 'DiscussionComment', isBlock: false), + _i1.StringValueNode( + value: 'GistComment', isBlock: false), + _i1.StringValueNode( + value: 'IssueComment', isBlock: false), + _i1.StringValueNode( + value: 'PullRequestReviewComment', isBlock: false) + ])), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'abstractType'), + value: _i1.StringValueNode( + value: 'Minimizable', isBlock: false)) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -50557,7 +54292,17 @@ const UnpinIssueInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'issueId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Issue', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -50624,7 +54369,18 @@ const UnresolveReviewThreadInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'threadId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'PullRequestReviewThread', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -50723,7 +54479,18 @@ const UpdateBranchProtectionRuleInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'branchProtectionRuleId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'BranchProtectionRule', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -50791,6 +54558,12 @@ const UpdateBranchProtectionRuleInput = _i1.InputObjectTypeDefinitionNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'Boolean'), isNonNull: false), defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'requiresConversationResolution'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Boolean'), isNonNull: false), + defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'requiresLinearHistory'), directives: [], @@ -50863,7 +54636,17 @@ const UpdateCheckRunInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'checkRunId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'CheckRun', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -50912,7 +54695,17 @@ const UpdateCheckRunInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'repositoryId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Repository', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -50969,7 +54762,17 @@ const UpdateCheckSuitePreferencesInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'repositoryId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Repository', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -51010,7 +54813,18 @@ const UpdateDiscussionCommentInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'commentId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'DiscussionComment', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -51045,7 +54859,18 @@ const UpdateDiscussionInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'categoryId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'DiscussionCategory', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: false), defaultValue: null), @@ -51057,7 +54882,17 @@ const UpdateDiscussionInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'discussionId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Discussion', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -51099,7 +54934,17 @@ const UpdateEnterpriseAdministratorRoleInput = defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'enterpriseId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Enterprise', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -51149,7 +54994,17 @@ const UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput = defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'enterpriseId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Enterprise', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -51203,7 +55058,17 @@ const UpdateEnterpriseDefaultRepositoryPermissionSettingInput = defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'enterpriseId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Enterprise', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -51257,7 +55122,17 @@ const UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput = defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'enterpriseId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Enterprise', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -51311,7 +55186,17 @@ const UpdateEnterpriseMembersCanCreateRepositoriesSettingInput = defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'enterpriseId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Enterprise', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -51390,7 +55275,17 @@ const UpdateEnterpriseMembersCanDeleteIssuesSettingInput = defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'enterpriseId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Enterprise', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -51443,7 +55338,17 @@ const UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput = defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'enterpriseId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Enterprise', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -51497,7 +55402,17 @@ const UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput = defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'enterpriseId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Enterprise', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -51551,7 +55466,17 @@ const UpdateEnterpriseMembersCanMakePurchasesSettingInput = defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'enterpriseId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Enterprise', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -51605,7 +55530,17 @@ const UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput = defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'enterpriseId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Enterprise', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -51660,7 +55595,17 @@ const UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput = defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'enterpriseId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Enterprise', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -51714,7 +55659,17 @@ const UpdateEnterpriseOrganizationProjectsSettingInput = defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'enterpriseId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Enterprise', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -51771,7 +55726,17 @@ const UpdateEnterpriseProfileInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'enterpriseId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Enterprise', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -51826,7 +55791,17 @@ const UpdateEnterpriseRepositoryProjectsSettingInput = defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'enterpriseId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Enterprise', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -51879,7 +55854,17 @@ const UpdateEnterpriseTeamDiscussionsSettingInput = defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'enterpriseId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Enterprise', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -51933,7 +55918,17 @@ const UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput = defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'enterpriseId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Enterprise', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -51984,7 +55979,18 @@ const UpdateEnvironmentInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'environmentId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'Environment', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -52033,7 +56039,25 @@ const UpdateIpAllowListEnabledSettingInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'ownerId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'App', isBlock: false), + _i1.StringValueNode( + value: 'Enterprise', isBlock: false), + _i1.StringValueNode( + value: 'Organization', isBlock: false) + ])), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'abstractType'), + value: _i1.StringValueNode( + value: 'IpAllowListOwner', isBlock: false)) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -52081,7 +56105,18 @@ const UpdateIpAllowListEntryInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'ipAllowListEntryId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'IpAllowListEntry', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -52116,6 +56151,71 @@ const UpdateIpAllowListEntryPayload = _i1.ObjectTypeDefinitionNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'IpAllowListEntry'), isNonNull: false)) ]); +const UpdateIpAllowListForInstalledAppsEnabledSettingInput = + _i1.InputObjectTypeDefinitionNode( + name: _i1.NameNode( + value: 'UpdateIpAllowListForInstalledAppsEnabledSettingInput'), + directives: [], + fields: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'clientMutationId'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'ownerId'), + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'App', isBlock: false), + _i1.StringValueNode( + value: 'Enterprise', isBlock: false), + _i1.StringValueNode( + value: 'Organization', isBlock: false) + ])), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'abstractType'), + value: _i1.StringValueNode( + value: 'IpAllowListOwner', isBlock: false)) + ]) + ], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'ID'), isNonNull: true), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'settingValue'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode( + value: 'IpAllowListForInstalledAppsEnabledSettingValue'), + isNonNull: true), + defaultValue: null) + ]); +const UpdateIpAllowListForInstalledAppsEnabledSettingPayload = + _i1.ObjectTypeDefinitionNode( + name: _i1.NameNode( + value: 'UpdateIpAllowListForInstalledAppsEnabledSettingPayload'), + directives: [], + interfaces: [], + fields: [ + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'clientMutationId'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'owner'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'IpAllowListOwner'), isNonNull: false)) + ]); const UpdateIssueCommentInput = _i1.InputObjectTypeDefinitionNode( name: _i1.NameNode(value: 'UpdateIssueCommentInput'), directives: [], @@ -52134,7 +56234,18 @@ const UpdateIssueCommentInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'id'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'IssueComment', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -52163,7 +56274,17 @@ const UpdateIssueInput = _i1.InputObjectTypeDefinitionNode( fields: [ _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'assigneeIds'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'User', isBlock: false) + ])) + ]) + ], type: _i1.ListTypeNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), @@ -52183,13 +56304,33 @@ const UpdateIssueInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'id'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Issue', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'labelIds'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Label', isBlock: false) + ])) + ]) + ], type: _i1.ListTypeNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), @@ -52197,7 +56338,17 @@ const UpdateIssueInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'milestoneId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Milestone', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: false), defaultValue: null), @@ -52246,6 +56397,81 @@ const UpdateIssuePayload = _i1.ObjectTypeDefinitionNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'Issue'), isNonNull: false)) ]); +const UpdateLabelInput = _i1.InputObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'UpdateLabelInput'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode(value: 'bane-preview', isBlock: false)) + ]) + ], + fields: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'clientMutationId'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'color'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'description'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'id'), + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Label', isBlock: false) + ])) + ]) + ], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'ID'), isNonNull: true), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'name'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null) + ]); +const UpdateLabelPayload = _i1.ObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'UpdateLabelPayload'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode(value: 'bane-preview', isBlock: false)) + ]) + ], + interfaces: [], + fields: [ + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'clientMutationId'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'label'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Label'), isNonNull: false)) + ]); const UpdateNotificationRestrictionSettingInput = _i1.InputObjectTypeDefinitionNode( name: _i1.NameNode(value: 'UpdateNotificationRestrictionSettingInput'), @@ -52259,7 +56485,24 @@ const UpdateNotificationRestrictionSettingInput = defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'ownerId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'Enterprise', isBlock: false), + _i1.StringValueNode( + value: 'Organization', isBlock: false) + ])), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'abstractType'), + value: _i1.StringValueNode( + value: 'VerifiableDomainOwner', isBlock: false)) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -52316,7 +56559,18 @@ const UpdateProjectCardInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'projectCardId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'ProjectCard', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -52357,7 +56611,18 @@ const UpdateProjectColumnInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'projectColumnId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'ProjectColumn', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -52404,7 +56669,17 @@ const UpdateProjectInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'projectId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Project', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -52445,7 +56720,17 @@ const UpdatePullRequestInput = _i1.InputObjectTypeDefinitionNode( fields: [ _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'assigneeIds'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'User', isBlock: false) + ])) + ]) + ], type: _i1.ListTypeNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), @@ -52471,7 +56756,17 @@ const UpdatePullRequestInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'labelIds'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Label', isBlock: false) + ])) + ]) + ], type: _i1.ListTypeNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), @@ -52485,7 +56780,17 @@ const UpdatePullRequestInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'milestoneId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Milestone', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: false), defaultValue: null), @@ -52499,7 +56804,18 @@ const UpdatePullRequestInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'pullRequestId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'PullRequest', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -52559,7 +56875,18 @@ const UpdatePullRequestReviewCommentInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'pullRequestReviewCommentId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'PullRequestReviewComment', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -52601,7 +56928,18 @@ const UpdatePullRequestReviewInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'pullRequestReviewId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'PullRequestReview', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -52648,7 +56986,17 @@ const UpdateRefInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'refId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Ref', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -52671,6 +57019,67 @@ const UpdateRefPayload = _i1.ObjectTypeDefinitionNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'Ref'), isNonNull: false)) ]); +const UpdateRefsInput = _i1.InputObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'UpdateRefsInput'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'update-refs-preview', isBlock: false)) + ]) + ], + fields: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'clientMutationId'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'refUpdates'), + directives: [], + type: _i1.ListTypeNode( + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'RefUpdate'), isNonNull: true), + isNonNull: true), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'repositoryId'), + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Repository', isBlock: false) + ])) + ]) + ], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'ID'), isNonNull: true), + defaultValue: null) + ]); +const UpdateRefsPayload = _i1.ObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'UpdateRefsPayload'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'update-refs-preview', isBlock: false)) + ]) + ], + interfaces: [], + fields: [ + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'clientMutationId'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false)) + ]); const UpdateRepositoryInput = _i1.InputObjectTypeDefinitionNode( name: _i1.NameNode(value: 'UpdateRepositoryInput'), directives: [], @@ -52719,7 +57128,17 @@ const UpdateRepositoryInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'repositoryId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Repository', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -52766,7 +57185,31 @@ const UpdateSubscriptionInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'subscribableId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Commit', isBlock: false), + _i1.StringValueNode( + value: 'Discussion', isBlock: false), + _i1.StringValueNode(value: 'Issue', isBlock: false), + _i1.StringValueNode( + value: 'PullRequest', isBlock: false), + _i1.StringValueNode( + value: 'Repository', isBlock: false), + _i1.StringValueNode(value: 'Team', isBlock: false), + _i1.StringValueNode( + value: 'TeamDiscussion', isBlock: false) + ])), + _i1.ArgumentNode( + name: _i1.NameNode(value: 'abstractType'), + value: _i1.StringValueNode( + value: 'Subscribable', isBlock: false)) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -52813,7 +57256,18 @@ const UpdateTeamDiscussionCommentInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'id'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'TeamDiscussionComment', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -52861,7 +57315,18 @@ const UpdateTeamDiscussionInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'id'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'TeamDiscussion', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -52896,6 +57361,102 @@ const UpdateTeamDiscussionPayload = _i1.ObjectTypeDefinitionNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'TeamDiscussion'), isNonNull: false)) ]); +const UpdateTeamReviewAssignmentInput = _i1.InputObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'UpdateTeamReviewAssignmentInput'), + directives: [ + _i1.DirectiveNode(name: _i1.NameNode(value: 'preview'), arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'toggledBy'), + value: _i1.StringValueNode( + value: 'stone-crop-preview', isBlock: false)) + ]) + ], + fields: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'algorithm'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'TeamReviewAssignmentAlgorithm'), + isNonNull: false), + defaultValue: + _i1.EnumValueNode(name: _i1.NameNode(value: 'ROUND_ROBIN'))), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'clientMutationId'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'enabled'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Boolean'), isNonNull: true), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'excludedTeamMemberIds'), + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'User', isBlock: false) + ])) + ]) + ], + type: _i1.ListTypeNode( + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'ID'), isNonNull: true), + isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'id'), + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Team', isBlock: false) + ])) + ]) + ], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'ID'), isNonNull: true), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'notifyTeam'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Boolean'), isNonNull: false), + defaultValue: _i1.BooleanValueNode(value: true)), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'teamMemberCount'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Int'), isNonNull: false), + defaultValue: _i1.IntValueNode(value: '1')) + ]); +const UpdateTeamReviewAssignmentPayload = _i1.ObjectTypeDefinitionNode( + name: _i1.NameNode(value: 'UpdateTeamReviewAssignmentPayload'), + directives: [], + interfaces: [], + fields: [ + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'clientMutationId'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'team'), + directives: [], + args: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Team'), isNonNull: false)) + ]); const UpdateTopicsInput = _i1.InputObjectTypeDefinitionNode( name: _i1.NameNode(value: 'UpdateTopicsInput'), directives: [], @@ -52908,7 +57469,17 @@ const UpdateTopicsInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'repositoryId'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode(value: 'Repository', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null), @@ -54200,6 +58771,62 @@ const User = _i1.ObjectTypeDefinitionNode( type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'SavedReplyConnection'), isNonNull: false)), + _i1.FieldDefinitionNode( + name: _i1.NameNode(value: 'sponsorsActivities'), + directives: [], + args: [ + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'after'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'before'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'String'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'first'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Int'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'last'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'Int'), isNonNull: false), + defaultValue: null), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'orderBy'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'SponsorsActivityOrder'), + isNonNull: false), + defaultValue: _i1.ObjectValueNode(fields: [ + _i1.ObjectFieldNode( + name: _i1.NameNode(value: 'field'), + value: _i1.EnumValueNode( + name: _i1.NameNode(value: 'TIMESTAMP'))), + _i1.ObjectFieldNode( + name: _i1.NameNode(value: 'direction'), + value: + _i1.EnumValueNode(name: _i1.NameNode(value: 'DESC'))) + ])), + _i1.InputValueDefinitionNode( + name: _i1.NameNode(value: 'period'), + directives: [], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'SponsorsActivityPeriod'), + isNonNull: false), + defaultValue: + _i1.EnumValueNode(name: _i1.NameNode(value: 'MONTH'))) + ], + type: _i1.NamedTypeNode( + name: _i1.NameNode(value: 'SponsorsActivityConnection'), + isNonNull: true)), _i1.FieldDefinitionNode( name: _i1.NameNode(value: 'sponsorsListing'), directives: [], @@ -55111,7 +59738,18 @@ const VerifyVerifiableDomainInput = _i1.InputObjectTypeDefinitionNode( defaultValue: null), _i1.InputValueDefinitionNode( name: _i1.NameNode(value: 'id'), - directives: [], + directives: [ + _i1.DirectiveNode( + name: _i1.NameNode(value: 'possibleTypes'), + arguments: [ + _i1.ArgumentNode( + name: _i1.NameNode(value: 'concreteTypes'), + value: _i1.ListValueNode(values: [ + _i1.StringValueNode( + value: 'VerifiableDomain', isBlock: false) + ])) + ]) + ], type: _i1.NamedTypeNode( name: _i1.NameNode(value: 'ID'), isNonNull: true), defaultValue: null) @@ -55351,6 +59989,8 @@ const WorkflowRun = _i1.ObjectTypeDefinitionNode( const X509Certificate = _i1.ScalarTypeDefinitionNode( name: _i1.NameNode(value: 'X509Certificate'), directives: []); const document = _i1.DocumentNode(definitions: [ + preview, + possibleTypes, AcceptEnterpriseAdministratorInvitationInput, AcceptEnterpriseAdministratorInvitationPayload, AcceptTopicSuggestionInput, @@ -55486,6 +60126,8 @@ const document = _i1.DocumentNode(definitions: [ CommitEdge, CommitHistoryConnection, ConnectedEvent, + ContentAttachment, + ContentReference, Contribution, ContributionCalendar, ContributionCalendarDay, @@ -55506,6 +60148,12 @@ const document = _i1.DocumentNode(definitions: [ CreateCheckRunPayload, CreateCheckSuiteInput, CreateCheckSuitePayload, + CreateContentAttachmentInput, + CreateContentAttachmentPayload, + CreateDeploymentInput, + CreateDeploymentPayload, + CreateDeploymentStatusInput, + CreateDeploymentStatusPayload, CreateDiscussionInput, CreateDiscussionPayload, CreateEnterpriseOrganizationInput, @@ -55516,6 +60164,8 @@ const document = _i1.DocumentNode(definitions: [ CreateIpAllowListEntryPayload, CreateIssueInput, CreateIssuePayload, + CreateLabelInput, + CreateLabelPayload, CreateProjectInput, CreateProjectPayload, CreatePullRequestInput, @@ -55569,6 +60219,10 @@ const document = _i1.DocumentNode(definitions: [ DeleteIssueCommentPayload, DeleteIssueInput, DeleteIssuePayload, + DeleteLabelInput, + DeleteLabelPayload, + DeletePackageVersionInput, + DeletePackageVersionPayload, DeleteProjectCardInput, DeleteProjectCardPayload, DeleteProjectColumnInput, @@ -55588,6 +60242,12 @@ const document = _i1.DocumentNode(definitions: [ DeleteVerifiableDomainInput, DeleteVerifiableDomainPayload, DemilestonedEvent, + DependencyGraphDependency, + DependencyGraphDependencyConnection, + DependencyGraphDependencyEdge, + DependencyGraphManifest, + DependencyGraphManifestConnection, + DependencyGraphManifestEdge, DeployKey, DeployKeyConnection, DeployKeyEdge, @@ -55730,6 +60390,7 @@ const document = _i1.DocumentNode(definitions: [ GitHubMetadata, GitObject, GitObjectID, + GitRefname, GitSSHRemote, GitSignature, GitSignatureState, @@ -55742,6 +60403,8 @@ const document = _i1.DocumentNode(definitions: [ Hovercard, HovercardContext, IdentityProviderConfigurationState, + ImportProjectInput, + ImportProjectPayload, InviteEnterpriseAdminInput, InviteEnterpriseAdminPayload, IpAllowListEnabledSettingValue, @@ -55750,6 +60413,7 @@ const document = _i1.DocumentNode(definitions: [ IpAllowListEntryEdge, IpAllowListEntryOrder, IpAllowListEntryOrderField, + IpAllowListForInstalledAppsEnabledSettingValue, IpAllowListOwner, Issue, IssueComment, @@ -55816,6 +60480,7 @@ const document = _i1.DocumentNode(definitions: [ MergeBranchPayload, MergePullRequestInput, MergePullRequestPayload, + MergeStateStatus, MergeableState, MergedEvent, Milestone, @@ -55951,11 +60616,13 @@ const document = _i1.DocumentNode(definitions: [ ProjectCardArchivedState, ProjectCardConnection, ProjectCardEdge, + ProjectCardImport, ProjectCardItem, ProjectCardState, ProjectColumn, ProjectColumnConnection, ProjectColumnEdge, + ProjectColumnImport, ProjectColumnPurpose, ProjectConnection, ProjectEdge, @@ -56024,12 +60691,16 @@ const document = _i1.DocumentNode(definitions: [ ReactionGroup, ReactionOrder, ReactionOrderField, + Reactor, + ReactorConnection, + ReactorEdge, ReadyForReviewEvent, Ref, RefConnection, RefEdge, RefOrder, RefOrderField, + RefUpdate, RefUpdateRule, ReferencedEvent, ReferencedSubject, @@ -56205,6 +60876,13 @@ const document = _i1.DocumentNode(definitions: [ SponsorableItemEdge, SponsorableOrder, SponsorableOrderField, + SponsorsActivity, + SponsorsActivityAction, + SponsorsActivityConnection, + SponsorsActivityEdge, + SponsorsActivityOrder, + SponsorsActivityOrderField, + SponsorsActivityPeriod, SponsorsGoal, SponsorsGoalKind, SponsorsListing, @@ -56276,6 +60954,7 @@ const document = _i1.DocumentNode(definitions: [ TeamRepositoryEdge, TeamRepositoryOrder, TeamRepositoryOrderField, + TeamReviewAssignmentAlgorithm, TeamRole, TextMatch, TextMatchHighlight, @@ -56366,10 +61045,14 @@ const document = _i1.DocumentNode(definitions: [ UpdateIpAllowListEnabledSettingPayload, UpdateIpAllowListEntryInput, UpdateIpAllowListEntryPayload, + UpdateIpAllowListForInstalledAppsEnabledSettingInput, + UpdateIpAllowListForInstalledAppsEnabledSettingPayload, UpdateIssueCommentInput, UpdateIssueCommentPayload, UpdateIssueInput, UpdateIssuePayload, + UpdateLabelInput, + UpdateLabelPayload, UpdateNotificationRestrictionSettingInput, UpdateNotificationRestrictionSettingPayload, UpdateProjectCardInput, @@ -56386,6 +61069,8 @@ const document = _i1.DocumentNode(definitions: [ UpdatePullRequestReviewPayload, UpdateRefInput, UpdateRefPayload, + UpdateRefsInput, + UpdateRefsPayload, UpdateRepositoryInput, UpdateRepositoryPayload, UpdateSubscriptionInput, @@ -56394,6 +61079,8 @@ const document = _i1.DocumentNode(definitions: [ UpdateTeamDiscussionCommentPayload, UpdateTeamDiscussionInput, UpdateTeamDiscussionPayload, + UpdateTeamReviewAssignmentInput, + UpdateTeamReviewAssignmentPayload, UpdateTopicsInput, UpdateTopicsPayload, User, diff --git a/lib/graphql/schema.graphql b/lib/graphql/schema.graphql index 9dc47cf..af9cce3 100644 --- a/lib/graphql/schema.graphql +++ b/lib/graphql/schema.graphql @@ -1,3 +1,28 @@ +""" +Marks an element of a GraphQL schema as only available via a preview header +""" +directive @preview( + """ + The identifier of the API preview that toggles this field. + """ + toggledBy: String! +) on SCALAR | OBJECT | FIELD_DEFINITION | ARGUMENT_DEFINITION | INTERFACE | UNION | ENUM | ENUM_VALUE | INPUT_OBJECT | INPUT_FIELD_DEFINITION + +""" +Defines what type of global IDs are accepted for a mutation argument of type ID. +""" +directive @possibleTypes( + """ + Abstract type of accepted global ID + """ + abstractType: String + + """ + Accepted types of global IDs. + """ + concreteTypes: [String!]! +) on INPUT_FIELD_DEFINITION + """ Autogenerated input type of AcceptEnterpriseAdministratorInvitation """ @@ -10,7 +35,7 @@ input AcceptEnterpriseAdministratorInvitationInput { """ The id of the invitation being accepted """ - invitationId: ID! + invitationId: ID! @possibleTypes(concreteTypes: ["EnterpriseAdministratorInvitation"]) } """ @@ -50,7 +75,7 @@ input AcceptTopicSuggestionInput { """ The Node ID of the repository. """ - repositoryId: ID! + repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"]) } """ @@ -135,12 +160,12 @@ input AddAssigneesToAssignableInput { """ The id of the assignable object to add assignees to. """ - assignableId: ID! + assignableId: ID! @possibleTypes(concreteTypes: ["Issue", "PullRequest"], abstractType: "Assignable") """ The id of users to add as assignees. """ - assigneeIds: [ID!]! + assigneeIds: [ID!]! @possibleTypes(concreteTypes: ["User"]) """ A unique identifier for the client performing the mutation. @@ -180,7 +205,7 @@ input AddCommentInput { """ The Node ID of the subject to modify. """ - subjectId: ID! + subjectId: ID! @possibleTypes(concreteTypes: ["Issue", "PullRequest"], abstractType: "IssueOrPullRequest") } """ @@ -225,12 +250,12 @@ input AddDiscussionCommentInput { """ The Node ID of the discussion to comment on. """ - discussionId: ID! + discussionId: ID! @possibleTypes(concreteTypes: ["Discussion"]) """ The Node ID of the discussion comment within this discussion to reply to. """ - replyToId: ID + replyToId: ID @possibleTypes(concreteTypes: ["DiscussionComment"]) } """ @@ -260,7 +285,7 @@ input AddEnterpriseSupportEntitlementInput { """ The ID of the Enterprise which the admin belongs to. """ - enterpriseId: ID! + enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"]) """ The login of a member who will receive the support entitlement. @@ -295,12 +320,12 @@ input AddLabelsToLabelableInput { """ The ids of the labels to add. """ - labelIds: [ID!]! + labelIds: [ID!]! @possibleTypes(concreteTypes: ["Label"]) """ The id of the labelable object to add labels to. """ - labelableId: ID! + labelableId: ID! @possibleTypes(concreteTypes: ["Discussion", "Issue", "PullRequest"], abstractType: "Labelable") } """ @@ -330,7 +355,7 @@ input AddProjectCardInput { """ The content of the card. Must be a member of the ProjectCardItem union """ - contentId: ID + contentId: ID @possibleTypes(concreteTypes: ["Issue", "PullRequest"], abstractType: "ProjectCardItem") """ The note on the card. @@ -340,7 +365,7 @@ input AddProjectCardInput { """ The Node ID of the ProjectColumn. """ - projectColumnId: ID! + projectColumnId: ID! @possibleTypes(concreteTypes: ["ProjectColumn"]) } """ @@ -380,7 +405,7 @@ input AddProjectColumnInput { """ The Node ID of the project. """ - projectId: ID! + projectId: ID! @possibleTypes(concreteTypes: ["Project"]) } """ @@ -425,7 +450,7 @@ input AddPullRequestReviewCommentInput { """ The comment id to reply to. """ - inReplyTo: ID + inReplyTo: ID @possibleTypes(concreteTypes: ["PullRequestReviewComment"]) """ The relative path of the file to comment on. @@ -440,12 +465,12 @@ input AddPullRequestReviewCommentInput { """ The node ID of the pull request reviewing """ - pullRequestId: ID + pullRequestId: ID @possibleTypes(concreteTypes: ["PullRequest"]) """ The Node ID of the review to modify. """ - pullRequestReviewId: ID + pullRequestReviewId: ID @possibleTypes(concreteTypes: ["PullRequestReview"]) } """ @@ -500,7 +525,7 @@ input AddPullRequestReviewInput { """ The Node ID of the pull request to modify. """ - pullRequestId: ID! + pullRequestId: ID! @possibleTypes(concreteTypes: ["PullRequest"]) """ The review line comment threads. @@ -555,12 +580,12 @@ input AddPullRequestReviewThreadInput { """ The node ID of the pull request reviewing """ - pullRequestId: ID + pullRequestId: ID @possibleTypes(concreteTypes: ["PullRequest"]) """ The Node ID of the review to modify. """ - pullRequestReviewId: ID + pullRequestReviewId: ID @possibleTypes(concreteTypes: ["PullRequestReview"]) """ The side of the diff on which the line resides. For multi-line comments, this is the side for the end of the line range. @@ -611,6 +636,22 @@ input AddReactionInput { The Node ID of the subject to modify. """ subjectId: ID! + @possibleTypes( + concreteTypes: [ + "CommitComment" + "Discussion" + "DiscussionComment" + "Issue" + "IssueComment" + "PullRequest" + "PullRequestReview" + "PullRequestReviewComment" + "Release" + "TeamDiscussion" + "TeamDiscussionComment" + ] + abstractType: "Reactable" + ) } """ @@ -645,7 +686,7 @@ input AddStarInput { """ The Starrable ID to star. """ - starrableId: ID! + starrableId: ID! @possibleTypes(concreteTypes: ["Gist", "Repository", "Topic"], abstractType: "Starrable") } """ @@ -675,7 +716,7 @@ input AddUpvoteInput { """ The Node ID of the discussion or comment to upvote. """ - subjectId: ID! + subjectId: ID! @possibleTypes(concreteTypes: ["Discussion", "DiscussionComment"], abstractType: "Votable") } """ @@ -710,7 +751,7 @@ input AddVerifiableDomainInput { """ The ID of the owner to add the domain to """ - ownerId: ID! + ownerId: ID! @possibleTypes(concreteTypes: ["Enterprise", "Organization"], abstractType: "VerifiableDomainOwner") } """ @@ -747,6 +788,21 @@ type AddedToProjectEvent implements Node { """ databaseId: Int id: ID! + + """ + Project referenced by event. + """ + project: Project @preview(toggledBy: "starfox-preview") + + """ + Project card referenced by this project event. + """ + projectCard: ProjectCard @preview(toggledBy: "starfox-preview") + + """ + Column name referenced by this project event. + """ + projectColumnName: String! @preview(toggledBy: "starfox-preview") } """ @@ -769,6 +825,36 @@ type App implements Node { description: String id: ID! + """ + The IP addresses of the app. + """ + ipAllowListEntries( + """ + 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 + + """ + Ordering options for IP allow list entries returned. + """ + orderBy: IpAllowListEntryOrder = {field: ALLOW_LIST_VALUE, direction: ASC} + ): IpAllowListEntryConnection! + """ The hex color code, without the leading '#', for the logo background. """ @@ -827,7 +913,7 @@ input ApproveDeploymentsInput { """ The node ID of the workflow run containing the pending deployments. """ - workflowRunId: ID! + workflowRunId: ID! @possibleTypes(concreteTypes: ["WorkflowRun"]) } """ @@ -857,7 +943,7 @@ input ApproveVerifiableDomainInput { """ The ID of the verifiable domain to approve. """ - id: ID! + id: ID! @possibleTypes(concreteTypes: ["VerifiableDomain"]) } """ @@ -887,7 +973,7 @@ input ArchiveRepositoryInput { """ The ID of the repository to mark as archived. """ - repositoryId: ID! + repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"]) } """ @@ -964,9 +1050,7 @@ type AssignedEvent implements Node { Identifies the user who was assigned. """ user: User - @deprecated( - reason: "Assignees can now be mannequins. Use the `assignee` field instead. Removal on 2020-01-01 UTC." - ) + @deprecated(reason: "Assignees can now be mannequins. Use the `assignee` field instead. Removal on 2020-01-01 UTC.") } """ @@ -1673,6 +1757,11 @@ type BranchProtectionRule implements Node { """ requiresCommitSignatures: Boolean! + """ + Are conversations required to be resolved before merging. + """ + requiresConversationResolution: Boolean! + """ Are merge commits prohibited from being pushed to this branch. """ @@ -1916,7 +2005,7 @@ input CancelEnterpriseAdminInvitationInput { """ The Node ID of the pending enterprise administrator invitation. """ - invitationId: ID! + invitationId: ID! @possibleTypes(concreteTypes: ["EnterpriseAdministratorInvitation"]) } """ @@ -1972,7 +2061,7 @@ input ChangeUserStatusInput { The ID of the organization whose members will be allowed to see the status. If omitted, the status will be publicly visible. """ - organizationId: ID + organizationId: ID @possibleTypes(concreteTypes: ["Organization"]) } """ @@ -2909,7 +2998,7 @@ input ClearLabelsFromLabelableInput { """ The id of the labelable object to clear the labels from. """ - labelableId: ID! + labelableId: ID! @possibleTypes(concreteTypes: ["Discussion", "Issue", "PullRequest"], abstractType: "Labelable") } """ @@ -2959,12 +3048,12 @@ input CloneProjectInput { """ The source project to clone. """ - sourceId: ID! + sourceId: ID! @possibleTypes(concreteTypes: ["Project"]) """ The owner ID to create the project under. """ - targetOwnerId: ID! + targetOwnerId: ID! @possibleTypes(concreteTypes: ["Organization", "Repository", "User"], abstractType: "ProjectOwner") } """ @@ -3015,12 +3104,12 @@ input CloneTemplateRepositoryInput { """ The ID of the owner for the new repository. """ - ownerId: ID! + ownerId: ID! @possibleTypes(concreteTypes: ["Organization", "User"], abstractType: "RepositoryOwner") """ The Node ID of the template repository. """ - repositoryId: ID! + repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"]) """ Indicates the repository's visibility level. @@ -3070,7 +3159,7 @@ input CloseIssueInput { """ ID of the issue to be closed. """ - issueId: ID! + issueId: ID! @possibleTypes(concreteTypes: ["Issue"]) } """ @@ -3100,7 +3189,7 @@ input ClosePullRequestInput { """ ID of the pull request to be closed. """ - pullRequestId: ID! + pullRequestId: ID! @possibleTypes(concreteTypes: ["PullRequest"]) } """ @@ -3460,7 +3549,7 @@ type Commit implements GitObject & Node & Subscribable & UniformResourceLocatabl """ Ordering options for pull requests. """ - orderBy: PullRequestOrder = { field: CREATED_AT, direction: ASC } + orderBy: PullRequestOrder = {field: CREATED_AT, direction: ASC} ): PullRequestConnection """ @@ -3636,7 +3725,7 @@ type Commit implements GitObject & Node & Subscribable & UniformResourceLocatabl """ Ordering options for deployments returned from the connection. """ - orderBy: DeploymentOrder = { field: CREATED_AT, direction: ASC } + orderBy: DeploymentOrder = {field: CREATED_AT, direction: ASC} ): DeploymentConnection """ @@ -4252,7 +4341,7 @@ type CommitContributionsByRepository { """ Ordering options for commit contributions returned from the connection. """ - orderBy: CommitContributionOrder = { field: OCCURRED_AT, direction: DESC } + orderBy: CommitContributionOrder = {field: OCCURRED_AT, direction: DESC} ): CreatedCommitContributionConnection! """ @@ -4342,6 +4431,48 @@ type ConnectedEvent implements Node { subject: ReferencedSubject! } +""" +A content attachment +""" +type ContentAttachment { + """ + The body text of the content attachment. This parameter supports markdown. + """ + body: String! + + """ + The content reference that the content attachment is attached to. + """ + contentReference: ContentReference! + + """ + Identifies the primary key from the database. + """ + databaseId: Int! + id: ID! + + """ + The title of the content attachment. + """ + title: String! +} + +""" +A content reference +""" +type ContentReference { + """ + Identifies the primary key from the database. + """ + databaseId: Int! + id: ID! + + """ + The reference of the content reference. + """ + reference: String! +} + """ Represents a contribution a user made on GitHub, such as opening an issue. """ @@ -4638,7 +4769,7 @@ type ContributionsCollection { """ Ordering options for contributions returned from the connection. """ - orderBy: ContributionOrder = { direction: DESC } + orderBy: ContributionOrder = {direction: DESC} ): CreatedIssueContributionConnection! """ @@ -4734,7 +4865,7 @@ type ContributionsCollection { """ Ordering options for contributions returned from the connection. """ - orderBy: ContributionOrder = { direction: DESC } + orderBy: ContributionOrder = {direction: DESC} ): CreatedPullRequestContributionConnection! """ @@ -4784,7 +4915,7 @@ type ContributionsCollection { """ Ordering options for contributions returned from the connection. """ - orderBy: ContributionOrder = { direction: DESC } + orderBy: ContributionOrder = {direction: DESC} ): CreatedPullRequestReviewContributionConnection! """ @@ -4829,7 +4960,7 @@ type ContributionsCollection { """ Ordering options for contributions returned from the connection. """ - orderBy: ContributionOrder = { direction: DESC } + orderBy: ContributionOrder = {direction: DESC} ): CreatedRepositoryContributionConnection! """ @@ -4956,12 +5087,12 @@ input ConvertProjectCardNoteToIssueInput { """ The ProjectCard ID to convert. """ - projectCardId: ID! + projectCardId: ID! @possibleTypes(concreteTypes: ["ProjectCard"]) """ The ID of the repository to create the issue in. """ - repositoryId: ID! + repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"]) """ The title of the newly created issue. Defaults to the card's note text. @@ -4996,7 +5127,7 @@ input ConvertPullRequestToDraftInput { """ ID of the pull request to convert to draft """ - pullRequestId: ID! + pullRequestId: ID! @possibleTypes(concreteTypes: ["PullRequest"]) } """ @@ -5064,6 +5195,21 @@ type ConvertedNoteToIssueEvent implements Node { """ databaseId: Int id: ID! + + """ + Project referenced by event. + """ + project: Project @preview(toggledBy: "starfox-preview") + + """ + Project card referenced by this project event. + """ + projectCard: ProjectCard @preview(toggledBy: "starfox-preview") + + """ + Column name referenced by this project event. + """ + projectColumnName: String! @preview(toggledBy: "starfox-preview") } """ @@ -5108,7 +5254,7 @@ input CreateBranchProtectionRuleInput { """ The global relay id of the repository in which a new branch protection rule should be created in. """ - repositoryId: ID! + repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"]) """ Number of approving reviews required to update matching branches. @@ -5135,6 +5281,11 @@ input CreateBranchProtectionRuleInput { """ requiresCommitSignatures: Boolean + """ + Are conversations required to be resolved before merging. + """ + requiresConversationResolution: Boolean + """ Are merge commits prohibited from being pushed to this branch. """ @@ -5233,7 +5384,7 @@ input CreateCheckRunInput { """ The node ID of the repository. """ - repositoryId: ID! + repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"]) """ The time that the check run began. @@ -5278,7 +5429,7 @@ input CreateCheckSuiteInput { """ The Node ID of the repository. """ - repositoryId: ID! + repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"]) } """ @@ -5296,6 +5447,181 @@ type CreateCheckSuitePayload { clientMutationId: String } +""" +Autogenerated input type of CreateContentAttachment +""" +input CreateContentAttachmentInput { + """ + The body of the content attachment, which may contain markdown. + """ + body: String! + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The node ID of the content_reference. + """ + contentReferenceId: ID! @possibleTypes(concreteTypes: ["ContentReference"]) + + """ + The title of the content attachment. + """ + title: String! +} + +""" +Autogenerated return type of CreateContentAttachment +""" +type CreateContentAttachmentPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The newly created content attachment. + """ + contentAttachment: ContentAttachment +} + +""" +Autogenerated input type of CreateDeployment +""" +input CreateDeploymentInput @preview(toggledBy: "flash-preview") { + """ + Attempt to automatically merge the default branch into the requested ref, defaults to true. + """ + autoMerge: Boolean = true + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Short description of the deployment. + """ + description: String = "" + + """ + Name for the target deployment environment. + """ + environment: String = "production" + + """ + JSON payload with extra information about the deployment. + """ + payload: String = "{}" + + """ + The node ID of the ref to be deployed. + """ + refId: ID! @possibleTypes(concreteTypes: ["Ref"]) + + """ + The node ID of the repository. + """ + repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"]) + + """ + The status contexts to verify against commit status checks. To bypass required + contexts, pass an empty array. Defaults to all unique contexts. + """ + requiredContexts: [String!] + + """ + Specifies a task to execute. + """ + task: String = "deploy" +} + +""" +Autogenerated return type of CreateDeployment +""" +type CreateDeploymentPayload @preview(toggledBy: "flash-preview") { + """ + True if the default branch has been auto-merged into the deployment ref. + """ + autoMerged: Boolean + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The new deployment. + """ + deployment: Deployment +} + +""" +Autogenerated input type of CreateDeploymentStatus +""" +input CreateDeploymentStatusInput @preview(toggledBy: "flash-preview") { + """ + Adds a new inactive status to all non-transient, non-production environment + deployments with the same repository and environment name as the created + status's deployment. + """ + autoInactive: Boolean = true + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The node ID of the deployment. + """ + deploymentId: ID! @possibleTypes(concreteTypes: ["Deployment"]) + + """ + A short description of the status. Maximum length of 140 characters. + """ + description: String = "" + + """ + If provided, updates the environment of the deploy. Otherwise, does not modify the environment. + """ + environment: String + + """ + Sets the URL for accessing your environment. + """ + environmentUrl: String = "" + + """ + The log URL to associate with this status. This URL should contain + output to keep the user updated while the task is running or serve as + historical information for what happened in the deployment. + """ + logUrl: String = "" + + """ + The state of the deployment. + """ + state: DeploymentStatusState! +} + +""" +Autogenerated return type of CreateDeploymentStatus +""" +type CreateDeploymentStatusPayload @preview(toggledBy: "flash-preview") { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The new deployment status. + """ + deploymentStatus: DeploymentStatus +} + """ Autogenerated input type of CreateDiscussion """ @@ -5308,7 +5634,7 @@ input CreateDiscussionInput { """ The id of the discussion category to associate with this discussion. """ - categoryId: ID! + categoryId: ID! @possibleTypes(concreteTypes: ["DiscussionCategory"]) """ A unique identifier for the client performing the mutation. @@ -5318,7 +5644,7 @@ input CreateDiscussionInput { """ The id of the repository on which to create the discussion. """ - repositoryId: ID! + repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"]) """ The title of the discussion. @@ -5363,7 +5689,7 @@ input CreateEnterpriseOrganizationInput { """ The ID of the enterprise owning the new organization. """ - enterpriseId: ID! + enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"]) """ The login of the new organization. @@ -5413,7 +5739,7 @@ input CreateEnvironmentInput { """ The node ID of the repository. """ - repositoryId: ID! + repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"]) } """ @@ -5458,7 +5784,7 @@ input CreateIpAllowListEntryInput { """ The ID of the owner for which to create the new IP allow list entry. """ - ownerId: ID! + ownerId: ID! @possibleTypes(concreteTypes: ["App", "Enterprise", "Organization"], abstractType: "IpAllowListOwner") } """ @@ -5483,7 +5809,7 @@ input CreateIssueInput { """ The Node ID for the user assignee for this issue. """ - assigneeIds: [ID!] + assigneeIds: [ID!] @possibleTypes(concreteTypes: ["User"]) """ The body for the issue description. @@ -5503,22 +5829,22 @@ input CreateIssueInput { """ An array of Node IDs of labels for this issue. """ - labelIds: [ID!] + labelIds: [ID!] @possibleTypes(concreteTypes: ["Label"]) """ The Node ID of the milestone for this issue. """ - milestoneId: ID + milestoneId: ID @possibleTypes(concreteTypes: ["Milestone"]) """ An array of Node IDs for projects associated with this issue. """ - projectIds: [ID!] + projectIds: [ID!] @possibleTypes(concreteTypes: ["Project"]) """ The Node ID of the repository. """ - repositoryId: ID! + repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"]) """ The title for the issue. @@ -5541,6 +5867,51 @@ type CreateIssuePayload { issue: Issue } +""" +Autogenerated input type of CreateLabel +""" +input CreateLabelInput @preview(toggledBy: "bane-preview") { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + A 6 character hex code, without the leading #, identifying the color of the label. + """ + color: String! + + """ + A brief description of the label, such as its purpose. + """ + description: String + + """ + The name of the label. + """ + name: String! + + """ + The Node ID of the repository. + """ + repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"]) +} + +""" +Autogenerated return type of CreateLabel +""" +type CreateLabelPayload @preview(toggledBy: "bane-preview") { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The new label. + """ + label: Label +} + """ Autogenerated input type of CreateProject """ @@ -5563,12 +5934,12 @@ input CreateProjectInput { """ The owner ID to create the project under. """ - ownerId: ID! + ownerId: ID! @possibleTypes(concreteTypes: ["Organization", "Repository", "User"], abstractType: "ProjectOwner") """ A list of repository IDs to create as linked repositories for the project """ - repositoryIds: [ID!] + repositoryIds: [ID!] @possibleTypes(concreteTypes: ["Repository"]) """ The name of the GitHub-provided template. @@ -5631,7 +6002,7 @@ input CreatePullRequestInput { """ The Node ID of the repository. """ - repositoryId: ID! + repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"]) """ The title of the pull request. @@ -5676,7 +6047,7 @@ input CreateRefInput { """ The Node ID of the Repository to create the Ref in. """ - repositoryId: ID! + repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"]) } """ @@ -5731,13 +6102,13 @@ input CreateRepositoryInput { """ The ID of the owner for the new repository. """ - ownerId: ID + ownerId: ID @possibleTypes(concreteTypes: ["Organization", "User"], abstractType: "RepositoryOwner") """ When an organization is specified as the owner, this ID identifies the team that should be granted access to the new repository. """ - teamId: ID + teamId: ID @possibleTypes(concreteTypes: ["Team"]) """ Whether this repository should be marked as a template such that anyone who @@ -5783,7 +6154,7 @@ input CreateTeamDiscussionCommentInput { """ The ID of the discussion to which the comment belongs. """ - discussionId: ID! + discussionId: ID! @possibleTypes(concreteTypes: ["TeamDiscussion"]) } """ @@ -5825,7 +6196,7 @@ input CreateTeamDiscussionInput { """ The ID of the team to which the discussion belongs. """ - teamId: ID! + teamId: ID! @possibleTypes(concreteTypes: ["Team"]) """ The title of the discussion. @@ -6010,9 +6381,7 @@ type CreatedIssueContributionEdge { """ Represents either a issue the viewer can access or a restricted contribution. """ -union CreatedIssueOrRestrictedContribution = - CreatedIssueContribution - | RestrictedContribution +union CreatedIssueOrRestrictedContribution = CreatedIssueContribution | RestrictedContribution """ Represents the contribution a user made on GitHub by opening a pull request. @@ -6094,9 +6463,7 @@ type CreatedPullRequestContributionEdge { """ Represents either a pull request the viewer can access or a restricted contribution. """ -union CreatedPullRequestOrRestrictedContribution = - CreatedPullRequestContribution - | RestrictedContribution +union CreatedPullRequestOrRestrictedContribution = CreatedPullRequestContribution | RestrictedContribution """ Represents the contribution a user made by leaving a review on a pull request. @@ -6265,9 +6632,7 @@ type CreatedRepositoryContributionEdge { """ Represents either a repository the viewer can access or a restricted contribution. """ -union CreatedRepositoryOrRestrictedContribution = - CreatedRepositoryContribution - | RestrictedContribution +union CreatedRepositoryOrRestrictedContribution = CreatedRepositoryContribution | RestrictedContribution """ Represents a mention made by one issue or pull request to another. @@ -6352,7 +6717,7 @@ input DeclineTopicSuggestionInput { """ The Node ID of the repository. """ - repositoryId: ID! + repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"]) } """ @@ -6412,7 +6777,7 @@ input DeleteBranchProtectionRuleInput { """ The global relay id of the branch protection rule to be deleted. """ - branchProtectionRuleId: ID! + branchProtectionRuleId: ID! @possibleTypes(concreteTypes: ["BranchProtectionRule"]) """ A unique identifier for the client performing the mutation. @@ -6442,7 +6807,7 @@ input DeleteDeploymentInput { """ The Node ID of the deployment to be deleted. """ - id: ID! + id: ID! @possibleTypes(concreteTypes: ["Deployment"]) } """ @@ -6467,7 +6832,7 @@ input DeleteDiscussionCommentInput { """ The Node id of the discussion comment to delete. """ - id: ID! + id: ID! @possibleTypes(concreteTypes: ["DiscussionComment"]) } """ @@ -6497,7 +6862,7 @@ input DeleteDiscussionInput { """ The id of the discussion to delete. """ - id: ID! + id: ID! @possibleTypes(concreteTypes: ["Discussion"]) } """ @@ -6527,7 +6892,7 @@ input DeleteEnvironmentInput { """ The Node ID of the environment to be deleted. """ - id: ID! + id: ID! @possibleTypes(concreteTypes: ["Environment"]) } """ @@ -6552,7 +6917,7 @@ input DeleteIpAllowListEntryInput { """ The ID of the IP allow list entry to delete. """ - ipAllowListEntryId: ID! + ipAllowListEntryId: ID! @possibleTypes(concreteTypes: ["IpAllowListEntry"]) } """ @@ -6582,7 +6947,7 @@ input DeleteIssueCommentInput { """ The ID of the comment to delete. """ - id: ID! + id: ID! @possibleTypes(concreteTypes: ["IssueComment"]) } """ @@ -6607,7 +6972,7 @@ input DeleteIssueInput { """ The ID of the issue to delete. """ - issueId: ID! + issueId: ID! @possibleTypes(concreteTypes: ["Issue"]) } """ @@ -6625,6 +6990,61 @@ type DeleteIssuePayload { repository: Repository } +""" +Autogenerated input type of DeleteLabel +""" +input DeleteLabelInput @preview(toggledBy: "bane-preview") { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The Node ID of the label to be deleted. + """ + id: ID! @possibleTypes(concreteTypes: ["Label"]) +} + +""" +Autogenerated return type of DeleteLabel +""" +type DeleteLabelPayload @preview(toggledBy: "bane-preview") { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String +} + +""" +Autogenerated input type of DeletePackageVersion +""" +input DeletePackageVersionInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the package version to be deleted. + """ + packageVersionId: ID! @possibleTypes(concreteTypes: ["PackageVersion"]) +} + +""" +Autogenerated return type of DeletePackageVersion +""" +type DeletePackageVersionPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Whether or not the operation succeeded. + """ + success: Boolean +} + """ Autogenerated input type of DeleteProjectCard """ @@ -6632,7 +7052,7 @@ input DeleteProjectCardInput { """ The id of the card to delete. """ - cardId: ID! + cardId: ID! @possibleTypes(concreteTypes: ["ProjectCard"]) """ A unique identifier for the client performing the mutation. @@ -6672,7 +7092,7 @@ input DeleteProjectColumnInput { """ The id of the column to delete. """ - columnId: ID! + columnId: ID! @possibleTypes(concreteTypes: ["ProjectColumn"]) } """ @@ -6707,7 +7127,7 @@ input DeleteProjectInput { """ The Project ID to update. """ - projectId: ID! + projectId: ID! @possibleTypes(concreteTypes: ["Project"]) } """ @@ -6737,7 +7157,7 @@ input DeletePullRequestReviewCommentInput { """ The ID of the comment to delete. """ - id: ID! + id: ID! @possibleTypes(concreteTypes: ["PullRequestReviewComment"]) } """ @@ -6767,7 +7187,7 @@ input DeletePullRequestReviewInput { """ The Node ID of the pull request review to delete. """ - pullRequestReviewId: ID! + pullRequestReviewId: ID! @possibleTypes(concreteTypes: ["PullRequestReview"]) } """ @@ -6797,7 +7217,7 @@ input DeleteRefInput { """ The Node ID of the Ref to be deleted. """ - refId: ID! + refId: ID! @possibleTypes(concreteTypes: ["Ref"]) } """ @@ -6822,7 +7242,7 @@ input DeleteTeamDiscussionCommentInput { """ The ID of the comment to delete. """ - id: ID! + id: ID! @possibleTypes(concreteTypes: ["TeamDiscussionComment"]) } """ @@ -6847,7 +7267,7 @@ input DeleteTeamDiscussionInput { """ The discussion ID to delete. """ - id: ID! + id: ID! @possibleTypes(concreteTypes: ["TeamDiscussion"]) } """ @@ -6872,7 +7292,7 @@ input DeleteVerifiableDomainInput { """ The ID of the verifiable domain to delete. """ - id: ID! + id: ID! @possibleTypes(concreteTypes: ["VerifiableDomain"]) } """ @@ -6916,6 +7336,184 @@ type DemilestonedEvent implements Node { subject: MilestoneItem! } +""" +A dependency manifest entry +""" +type DependencyGraphDependency @preview(toggledBy: "hawkgirl-preview") { + """ + Does the dependency itself have dependencies? + """ + hasDependencies: Boolean! + + """ + The original name of the package, as it appears in the manifest. + """ + packageLabel: String! + + """ + The dependency package manager + """ + packageManager: String + + """ + The name of the package in the canonical form used by the package manager. + This may differ from the original textual form (see packageLabel), for example + in a package manager that uses case-insensitive comparisons. + """ + packageName: String! + + """ + The repository containing the package + """ + repository: Repository + + """ + The dependency version requirements + """ + requirements: String! +} + +""" +The connection type for DependencyGraphDependency. +""" +type DependencyGraphDependencyConnection @preview(toggledBy: "hawkgirl-preview") { + """ + A list of edges. + """ + edges: [DependencyGraphDependencyEdge] + + """ + A list of nodes. + """ + nodes: [DependencyGraphDependency] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type DependencyGraphDependencyEdge @preview(toggledBy: "hawkgirl-preview") { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: DependencyGraphDependency +} + +""" +Dependency manifest for a repository +""" +type DependencyGraphManifest implements Node @preview(toggledBy: "hawkgirl-preview") { + """ + Path to view the manifest file blob + """ + blobPath: String! + + """ + A list of manifest dependencies + """ + dependencies( + """ + 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 + ): DependencyGraphDependencyConnection + + """ + The number of dependencies listed in the manifest + """ + dependenciesCount: Int + + """ + Is the manifest too big to parse? + """ + exceedsMaxSize: Boolean! + + """ + Fully qualified manifest filename + """ + filename: String! + id: ID! + + """ + Were we able to parse the manifest? + """ + parseable: Boolean! + + """ + The repository containing the manifest + """ + repository: Repository! +} + +""" +The connection type for DependencyGraphManifest. +""" +type DependencyGraphManifestConnection @preview(toggledBy: "hawkgirl-preview") { + """ + A list of edges. + """ + edges: [DependencyGraphManifestEdge] + + """ + A list of nodes. + """ + nodes: [DependencyGraphManifest] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type DependencyGraphManifestEdge @preview(toggledBy: "hawkgirl-preview") { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: DependencyGraphManifest +} + """ A repository deploy key. """ @@ -7646,6 +8244,11 @@ type DeploymentStatus implements Node { """ description: String + """ + Identifies the environment of the deployment at the time of this deployment status + """ + environment: String @preview(toggledBy: "flash-preview") + """ Identifies the environment URL of the deployment. """ @@ -7780,7 +8383,7 @@ input DisablePullRequestAutoMergeInput { """ ID of the pull request to disable auto merge on. """ - pullRequestId: ID! + pullRequestId: ID! @possibleTypes(concreteTypes: ["PullRequest"]) } """ @@ -7966,7 +8569,7 @@ type Discussion implements Comment & Deletable & Labelable & Lockable & Node & R """ Ordering options for labels returned from the connection. """ - orderBy: LabelOrder = { field: CREATED_AT, direction: ASC } + orderBy: LabelOrder = {field: CREATED_AT, direction: ASC} ): LabelConnection """ @@ -8594,7 +9197,7 @@ input DismissPullRequestReviewInput { """ The Node ID of the pull request review to modify. """ - pullRequestReviewId: ID! + pullRequestReviewId: ID! @possibleTypes(concreteTypes: ["PullRequestReview"]) } """ @@ -8699,7 +9302,7 @@ input EnablePullRequestAutoMergeInput { """ ID of the pull request to enable auto-merge on. """ - pullRequestId: ID! + pullRequestId: ID! @possibleTypes(concreteTypes: ["PullRequest"]) } """ @@ -8737,7 +9340,7 @@ type Enterprise implements Node { ): URI! """ - Enterprise billing information visible to enterprise billing managers. + Enterprise billing information visible to enterprise billing managers. """ billingInfo: EnterpriseBillingInfo @@ -8799,7 +9402,7 @@ type Enterprise implements Node { """ Ordering options for members returned from the connection. """ - orderBy: EnterpriseMemberOrder = { field: LOGIN, direction: ASC } + orderBy: EnterpriseMemberOrder = {field: LOGIN, direction: ASC} """ Only return members within the organizations with these logins @@ -8849,7 +9452,7 @@ type Enterprise implements Node { """ Ordering options for organizations returned from the connection. """ - orderBy: OrganizationOrder = { field: LOGIN, direction: ASC } + orderBy: OrganizationOrder = {field: LOGIN, direction: ASC} """ The search string to look for. @@ -9338,10 +9941,7 @@ type EnterpriseMemberEdge { """ Whether the user does not have a license for the enterprise. """ - isUnlicensed: Boolean! - @deprecated( - reason: "All members consume a license Removal on 2021-01-01 UTC." - ) + isUnlicensed: Boolean! @deprecated(reason: "All members consume a license Removal on 2021-01-01 UTC.") """ The item at the end of the edge. @@ -9506,10 +10106,7 @@ type EnterpriseOutsideCollaboratorEdge { """ Whether the outside collaborator does not have a license for the enterprise. """ - isUnlicensed: Boolean! - @deprecated( - reason: "All outside collaborators consume a license Removal on 2021-01-01 UTC." - ) + isUnlicensed: Boolean! @deprecated(reason: "All outside collaborators consume a license Removal on 2021-01-01 UTC.") """ The item at the end of the edge. @@ -9543,7 +10140,7 @@ type EnterpriseOutsideCollaboratorEdge { """ Ordering options for repositories. """ - orderBy: RepositoryOrder = { field: NAME, direction: ASC } + orderBy: RepositoryOrder = {field: NAME, direction: ASC} ): EnterpriseRepositoryInfoConnection! } @@ -9578,7 +10175,7 @@ type EnterpriseOwnerInfo { """ Ordering options for administrators returned from the connection. """ - orderBy: EnterpriseMemberOrder = { field: LOGIN, direction: ASC } + orderBy: EnterpriseMemberOrder = {field: LOGIN, direction: ASC} """ The search string to look for. @@ -9653,7 +10250,7 @@ type EnterpriseOwnerInfo { """ Ordering options for organizations with this setting. """ - orderBy: OrganizationOrder = { field: LOGIN, direction: ASC } + orderBy: OrganizationOrder = {field: LOGIN, direction: ASC} """ The setting value to find organizations for. @@ -9693,7 +10290,7 @@ type EnterpriseOwnerInfo { """ Ordering options for organizations with this setting. """ - orderBy: OrganizationOrder = { field: LOGIN, direction: ASC } + orderBy: OrganizationOrder = {field: LOGIN, direction: ASC} """ The permission to find organizations for. @@ -9738,7 +10335,7 @@ type EnterpriseOwnerInfo { """ Ordering options for verifiable domains returned. """ - orderBy: VerifiableDomainOrder = { field: DOMAIN, direction: ASC } + orderBy: VerifiableDomainOrder = {field: DOMAIN, direction: ASC} ): VerifiableDomainConnection! """ @@ -9773,10 +10370,7 @@ type EnterpriseOwnerInfo { """ Ordering options for Enterprise Server installations returned. """ - orderBy: EnterpriseServerInstallationOrder = { - field: HOST_NAME - direction: ASC - } + orderBy: EnterpriseServerInstallationOrder = {field: HOST_NAME, direction: ASC} ): EnterpriseServerInstallationConnection! """ @@ -9811,9 +10405,14 @@ type EnterpriseOwnerInfo { """ Ordering options for IP allow list entries returned. """ - orderBy: IpAllowListEntryOrder = { field: ALLOW_LIST_VALUE, direction: ASC } + orderBy: IpAllowListEntryOrder = {field: ALLOW_LIST_VALUE, direction: ASC} ): IpAllowListEntryConnection! + """ + The setting value for whether the enterprise has IP allow list configuration for installed GitHub Apps enabled. + """ + ipAllowListForInstalledAppsEnabledSetting: IpAllowListForInstalledAppsEnabledSettingValue! + """ Whether or not the default repository permission is currently being updated. """ @@ -9857,7 +10456,7 @@ type EnterpriseOwnerInfo { """ Ordering options for organizations with this setting. """ - orderBy: OrganizationOrder = { field: LOGIN, direction: ASC } + orderBy: OrganizationOrder = {field: LOGIN, direction: ASC} """ The setting value to find organizations for. @@ -9912,7 +10511,7 @@ type EnterpriseOwnerInfo { """ Ordering options for organizations with this setting. """ - orderBy: OrganizationOrder = { field: LOGIN, direction: ASC } + orderBy: OrganizationOrder = {field: LOGIN, direction: ASC} """ The setting to find organizations for. @@ -9952,7 +10551,7 @@ type EnterpriseOwnerInfo { """ Ordering options for organizations with this setting. """ - orderBy: OrganizationOrder = { field: LOGIN, direction: ASC } + orderBy: OrganizationOrder = {field: LOGIN, direction: ASC} """ The setting value to find organizations for. @@ -9992,7 +10591,7 @@ type EnterpriseOwnerInfo { """ Ordering options for organizations with this setting. """ - orderBy: OrganizationOrder = { field: LOGIN, direction: ASC } + orderBy: OrganizationOrder = {field: LOGIN, direction: ASC} """ The setting value to find organizations for. @@ -10032,7 +10631,7 @@ type EnterpriseOwnerInfo { """ Ordering options for organizations with this setting. """ - orderBy: OrganizationOrder = { field: LOGIN, direction: ASC } + orderBy: OrganizationOrder = {field: LOGIN, direction: ASC} """ The setting value to find organizations for. @@ -10077,7 +10676,7 @@ type EnterpriseOwnerInfo { """ Ordering options for organizations with this setting. """ - orderBy: OrganizationOrder = { field: LOGIN, direction: ASC } + orderBy: OrganizationOrder = {field: LOGIN, direction: ASC} """ The setting value to find organizations for. @@ -10117,7 +10716,7 @@ type EnterpriseOwnerInfo { """ Ordering options for organizations with this setting. """ - orderBy: OrganizationOrder = { field: LOGIN, direction: ASC } + orderBy: OrganizationOrder = {field: LOGIN, direction: ASC} """ The setting value to find organizations for. @@ -10162,7 +10761,7 @@ type EnterpriseOwnerInfo { """ Ordering options for organizations with this setting. """ - orderBy: OrganizationOrder = { field: LOGIN, direction: ASC } + orderBy: OrganizationOrder = {field: LOGIN, direction: ASC} """ The setting value to find organizations for. @@ -10202,7 +10801,7 @@ type EnterpriseOwnerInfo { """ Ordering options for outside collaborators returned from the connection. """ - orderBy: EnterpriseMemberOrder = { field: LOGIN, direction: ASC } + orderBy: EnterpriseMemberOrder = {field: LOGIN, direction: ASC} """ The search string to look for. @@ -10242,10 +10841,7 @@ type EnterpriseOwnerInfo { """ Ordering options for pending enterprise administrator invitations returned from the connection. """ - orderBy: EnterpriseAdministratorInvitationOrder = { - field: CREATED_AT - direction: DESC - } + orderBy: EnterpriseAdministratorInvitationOrder = {field: CREATED_AT, direction: DESC} """ The search string to look for. @@ -10285,7 +10881,7 @@ type EnterpriseOwnerInfo { """ Ordering options for pending repository collaborator invitations returned from the connection. """ - orderBy: RepositoryInvitationOrder = { field: CREATED_AT, direction: DESC } + orderBy: RepositoryInvitationOrder = {field: CREATED_AT, direction: DESC} """ The search string to look for. @@ -10320,7 +10916,7 @@ type EnterpriseOwnerInfo { """ Ordering options for pending repository collaborator invitations returned from the connection. """ - orderBy: RepositoryInvitationOrder = { field: CREATED_AT, direction: DESC } + orderBy: RepositoryInvitationOrder = {field: CREATED_AT, direction: DESC} """ The search string to look for. @@ -10393,7 +10989,7 @@ type EnterpriseOwnerInfo { """ Ordering options for organizations with this setting. """ - orderBy: OrganizationOrder = { field: LOGIN, direction: ASC } + orderBy: OrganizationOrder = {field: LOGIN, direction: ASC} """ The setting value to find organizations for. @@ -10433,7 +11029,7 @@ type EnterpriseOwnerInfo { """ Ordering options for organizations with this setting. """ - orderBy: OrganizationOrder = { field: LOGIN, direction: ASC } + orderBy: OrganizationOrder = {field: LOGIN, direction: ASC} """ The setting value to find organizations for. @@ -10468,7 +11064,7 @@ type EnterpriseOwnerInfo { """ Ordering options for support entitlement users returned from the connection. """ - orderBy: EnterpriseMemberOrder = { field: LOGIN, direction: ASC } + orderBy: EnterpriseMemberOrder = {field: LOGIN, direction: ASC} ): EnterpriseMemberConnection! """ @@ -10503,7 +11099,7 @@ type EnterpriseOwnerInfo { """ Ordering options for organizations with this setting. """ - orderBy: OrganizationOrder = { field: LOGIN, direction: ASC } + orderBy: OrganizationOrder = {field: LOGIN, direction: ASC} """ The setting value to find organizations for. @@ -10543,7 +11139,7 @@ type EnterpriseOwnerInfo { """ Ordering options for organizations with this setting. """ - orderBy: OrganizationOrder = { field: LOGIN, direction: ASC } + orderBy: OrganizationOrder = {field: LOGIN, direction: ASC} """ The setting value to find organizations for. @@ -10589,10 +11185,7 @@ type EnterprisePendingCollaboratorEdge { """ Whether the invited collaborator does not have a license for the enterprise. """ - isUnlicensed: Boolean! - @deprecated( - reason: "All pending collaborators consume a license Removal on 2021-01-01 UTC." - ) + isUnlicensed: Boolean! @deprecated(reason: "All pending collaborators consume a license Removal on 2021-01-01 UTC.") """ The item at the end of the edge. @@ -10626,7 +11219,7 @@ type EnterprisePendingCollaboratorEdge { """ Ordering options for repositories. """ - orderBy: RepositoryOrder = { field: NAME, direction: ASC } + orderBy: RepositoryOrder = {field: NAME, direction: ASC} ): EnterpriseRepositoryInfoConnection! } @@ -10672,10 +11265,7 @@ type EnterprisePendingMemberInvitationEdge { """ Whether the invitation has a license for the enterprise. """ - isUnlicensed: Boolean! - @deprecated( - reason: "All pending members consume a license Removal on 2020-07-01 UTC." - ) + isUnlicensed: Boolean! @deprecated(reason: "All pending members consume a license Removal on 2020-07-01 UTC.") """ The item at the end of the edge. @@ -10802,7 +11392,7 @@ type EnterpriseServerInstallation implements Node { """ Ordering options for Enterprise Server user accounts returned from the connection. """ - orderBy: EnterpriseServerUserAccountOrder = { field: LOGIN, direction: ASC } + orderBy: EnterpriseServerUserAccountOrder = {field: LOGIN, direction: ASC} ): EnterpriseServerUserAccountConnection! """ @@ -10832,10 +11422,7 @@ type EnterpriseServerInstallation implements Node { """ Ordering options for Enterprise Server user accounts uploads returned from the connection. """ - orderBy: EnterpriseServerUserAccountsUploadOrder = { - field: CREATED_AT - direction: DESC - } + orderBy: EnterpriseServerUserAccountsUploadOrder = {field: CREATED_AT, direction: DESC} ): EnterpriseServerUserAccountsUploadConnection! } @@ -10950,10 +11537,7 @@ type EnterpriseServerUserAccount implements Node { """ Ordering options for Enterprise Server user account emails returned from the connection. """ - orderBy: EnterpriseServerUserAccountEmailOrder = { - field: EMAIL - direction: ASC - } + orderBy: EnterpriseServerUserAccountEmailOrder = {field: EMAIL, direction: ASC} ): EnterpriseServerUserAccountEmailConnection! """ @@ -11342,7 +11926,7 @@ type EnterpriseUserAccount implements Actor & Node { """ Ordering options for organizations returned from the connection. """ - orderBy: OrganizationOrder = { field: LOGIN, direction: ASC } + orderBy: OrganizationOrder = {field: LOGIN, direction: ASC} """ The search string to look for. @@ -11695,7 +12279,7 @@ input FollowUserInput { """ ID of the user to follow. """ - userId: ID! + userId: ID! @possibleTypes(concreteTypes: ["User"]) } """ @@ -12486,6 +13070,11 @@ A Git object ID. """ scalar GitObjectID +""" +A fully qualified reference name (e.g. `refs/heads/master`). +""" +scalar GitRefname @preview(toggledBy: "update-refs-preview") + """ Git SSH string """ @@ -12811,6 +13400,56 @@ enum IdentityProviderConfigurationState { UNCONFIGURED } +""" +Autogenerated input type of ImportProject +""" +input ImportProjectInput { + """ + The description of Project. + """ + body: String + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + A list of columns containing issues and pull requests. + """ + columnImports: [ProjectColumnImport!]! + + """ + The name of Project. + """ + name: String! + + """ + The name of the Organization or User to create the Project under. + """ + ownerName: String! + + """ + Whether the Project is public or not. + """ + public: Boolean = false +} + +""" +Autogenerated return type of ImportProject +""" +type ImportProjectPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The new Project! + """ + project: Project +} + """ Autogenerated input type of InviteEnterpriseAdmin """ @@ -12828,7 +13467,7 @@ input InviteEnterpriseAdminInput { """ The ID of the enterprise to which you want to invite an administrator. """ - enterpriseId: ID! + enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"]) """ The login of a user to invite as an administrator. @@ -12977,10 +13616,25 @@ enum IpAllowListEntryOrderField { CREATED_AT } +""" +The possible values for the IP allow list configuration for installed GitHub Apps setting. +""" +enum IpAllowListForInstalledAppsEnabledSettingValue { + """ + The setting is disabled for the owner. + """ + DISABLED + + """ + The setting is enabled for the owner. + """ + ENABLED +} + """ Types that can own an IP allow list. """ -union IpAllowListOwner = Enterprise | Organization +union IpAllowListOwner = App | Enterprise | Organization """ An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. @@ -13164,7 +13818,7 @@ type Issue implements Assignable & Closable & Comment & Labelable & Lockable & N """ Ordering options for labels returned from the connection. """ - orderBy: LabelOrder = { field: CREATED_AT, direction: ASC } + orderBy: LabelOrder = {field: CREATED_AT, direction: ASC} ): LabelConnection """ @@ -13331,9 +13985,7 @@ type Issue implements Assignable & Closable & Comment & Labelable & Lockable & N """ since: DateTime ): IssueTimelineConnection! - @deprecated( - reason: "`timeline` will be removed Use Issue.timelineItems instead. Removal on 2020-10-01 UTC." - ) + @deprecated(reason: "`timeline` will be removed Use Issue.timelineItems instead. Removal on 2020-10-01 UTC.") """ A list of events, comments, commits, etc. associated with the issue. @@ -13380,6 +14032,11 @@ type Issue implements Assignable & Closable & Comment & Labelable & Lockable & N """ title: String! + """ + Identifies the issue title rendered to HTML. + """ + titleHTML: String! + """ Identifies the date and time when the object was last updated. """ @@ -13769,7 +14426,7 @@ type IssueContributionsByRepository { """ Ordering options for contributions returned from the connection. """ - orderBy: ContributionOrder = { direction: DESC } + orderBy: ContributionOrder = {direction: DESC} ): CreatedIssueContributionConnection! """ @@ -14509,7 +15166,7 @@ interface Labelable { """ Ordering options for labels returned from the connection. """ - orderBy: LabelOrder = { field: CREATED_AT, direction: ASC } + orderBy: LabelOrder = {field: CREATED_AT, direction: ASC} ): LabelConnection } @@ -14731,12 +15388,12 @@ input LinkRepositoryToProjectInput { """ The ID of the Project to link to a Repository """ - projectId: ID! + projectId: ID! @possibleTypes(concreteTypes: ["Project"]) """ The ID of the Repository to link to a Project. """ - repositoryId: ID! + repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"]) } """ @@ -14776,7 +15433,7 @@ input LockLockableInput { """ ID of the item to be locked. """ - lockableId: ID! + lockableId: ID! @possibleTypes(concreteTypes: ["Discussion", "Issue", "PullRequest"], abstractType: "Lockable") } """ @@ -14933,7 +15590,7 @@ input MarkDiscussionCommentAsAnswerInput { """ The Node ID of the discussion comment to mark as an answer. """ - id: ID! + id: ID! @possibleTypes(concreteTypes: ["DiscussionComment"]) } """ @@ -14968,7 +15625,7 @@ input MarkFileAsViewedInput { """ The Node ID of the pull request. """ - pullRequestId: ID! + pullRequestId: ID! @possibleTypes(concreteTypes: ["PullRequest"]) } """ @@ -14998,7 +15655,7 @@ input MarkPullRequestReadyForReviewInput { """ ID of the pull request to be marked as ready for review. """ - pullRequestId: ID! + pullRequestId: ID! @possibleTypes(concreteTypes: ["PullRequest"]) } """ @@ -15457,7 +16114,7 @@ interface MemberStatusable { """ Ordering options for user statuses returned from the connection. """ - orderBy: UserStatusOrder = { field: UPDATED_AT, direction: DESC } + orderBy: UserStatusOrder = {field: UPDATED_AT, direction: DESC} ): UserStatusConnection! } @@ -15832,7 +16489,7 @@ input MergeBranchInput { """ The Node ID of the Repository containing the base branch that will be modified. """ - repositoryId: ID! + repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"]) } """ @@ -15887,7 +16544,7 @@ input MergePullRequestInput { """ ID of the pull request to be merged. """ - pullRequestId: ID! + pullRequestId: ID! @possibleTypes(concreteTypes: ["PullRequest"]) } """ @@ -15910,6 +16567,54 @@ type MergePullRequestPayload { pullRequest: PullRequest } +""" +Detailed status information about a pull request merge. +""" +enum MergeStateStatus { + """ + The head ref is out of date. + """ + BEHIND + + """ + The merge is blocked. + """ + BLOCKED + + """ + Mergeable and passing commit status. + """ + CLEAN + + """ + The merge commit cannot be cleanly created. + """ + DIRTY + + """ + The merge is blocked due to the pull request being a draft. + """ + DRAFT + @deprecated( + reason: "DRAFT state will be removed from this enum and `isDraft` should be used instead Use PullRequest.isDraft instead. Removal on 2021-01-01 UTC." + ) + + """ + Mergeable with passing commit status and pre-receive hooks. + """ + HAS_HOOKS + + """ + The state cannot currently be determined. + """ + UNKNOWN + + """ + Mergeable with non-passing commit status. + """ + UNSTABLE +} + """ Whether or not a PullRequest can be merged. """ @@ -16311,6 +17016,10 @@ input MinimizeCommentInput { The Node ID of the subject to modify. """ subjectId: ID! + @possibleTypes( + concreteTypes: ["CommitComment", "DiscussionComment", "GistComment", "IssueComment", "PullRequestReviewComment"] + abstractType: "Minimizable" + ) } """ @@ -16335,12 +17044,12 @@ input MoveProjectCardInput { """ Place the new card after the card with this id. Pass null to place it at the top. """ - afterCardId: ID + afterCardId: ID @possibleTypes(concreteTypes: ["ProjectCard"]) """ The id of the card to move. """ - cardId: ID! + cardId: ID! @possibleTypes(concreteTypes: ["ProjectCard"]) """ A unique identifier for the client performing the mutation. @@ -16350,7 +17059,7 @@ input MoveProjectCardInput { """ The id of the column to move it into. """ - columnId: ID! + columnId: ID! @possibleTypes(concreteTypes: ["ProjectColumn"]) } """ @@ -16375,7 +17084,7 @@ input MoveProjectColumnInput { """ Place the new column after the column with this id. Pass null to place it at the front. """ - afterColumnId: ID + afterColumnId: ID @possibleTypes(concreteTypes: ["ProjectColumn"]) """ A unique identifier for the client performing the mutation. @@ -16385,7 +17094,7 @@ input MoveProjectColumnInput { """ The id of the column to move. """ - columnId: ID! + columnId: ID! @possibleTypes(concreteTypes: ["ProjectColumn"]) } """ @@ -16422,6 +17131,26 @@ type MovedColumnsInProjectEvent implements Node { """ databaseId: Int id: ID! + + """ + Column name the issue or pull request was moved from. + """ + previousProjectColumnName: String! @preview(toggledBy: "starfox-preview") + + """ + Project referenced by event. + """ + project: Project @preview(toggledBy: "starfox-preview") + + """ + Project card referenced by this project event. + """ + projectCard: ProjectCard @preview(toggledBy: "starfox-preview") + + """ + Column name the issue or pull request was moved to. + """ + projectColumnName: String! @preview(toggledBy: "starfox-preview") } """ @@ -16738,6 +17467,36 @@ type Mutation { input: CreateCheckSuiteInput! ): CreateCheckSuitePayload + """ + Create a content attachment. + """ + createContentAttachment( + """ + Parameters for CreateContentAttachment + """ + input: CreateContentAttachmentInput! + ): CreateContentAttachmentPayload @preview(toggledBy: "corsair-preview") + + """ + Creates a new deployment event. + """ + createDeployment( + """ + Parameters for CreateDeployment + """ + input: CreateDeploymentInput! + ): CreateDeploymentPayload @preview(toggledBy: "flash-preview") + + """ + Create a deployment status. + """ + createDeploymentStatus( + """ + Parameters for CreateDeploymentStatus + """ + input: CreateDeploymentStatusInput! + ): CreateDeploymentStatusPayload @preview(toggledBy: "flash-preview") + """ Create a discussion. """ @@ -16788,6 +17547,16 @@ type Mutation { input: CreateIssueInput! ): CreateIssuePayload + """ + Creates a new label. + """ + createLabel( + """ + Parameters for CreateLabel + """ + input: CreateLabelInput! + ): CreateLabelPayload @preview(toggledBy: "bane-preview") + """ Creates a new project. """ @@ -16938,6 +17707,26 @@ type Mutation { input: DeleteIssueCommentInput! ): DeleteIssueCommentPayload + """ + Deletes a label. + """ + deleteLabel( + """ + Parameters for DeleteLabel + """ + input: DeleteLabelInput! + ): DeleteLabelPayload @preview(toggledBy: "bane-preview") + + """ + Delete a package version. + """ + deletePackageVersion( + """ + Parameters for DeletePackageVersion + """ + input: DeletePackageVersionInput! + ): DeletePackageVersionPayload @preview(toggledBy: "package-deletes-preview") + """ Deletes a project. """ @@ -17068,6 +17857,16 @@ type Mutation { input: FollowUserInput! ): FollowUserPayload + """ + Creates a new project by importing columns and a list of issues/PRs. + """ + importProject( + """ + Parameters for ImportProject + """ + input: ImportProjectInput! + ): ImportProjectPayload @preview(toggledBy: "slothette-preview") + """ Invite someone to become an administrator of the enterprise. """ @@ -17768,6 +18567,16 @@ type Mutation { input: UpdateIpAllowListEntryInput! ): UpdateIpAllowListEntryPayload + """ + Sets whether IP allow list configuration for installed GitHub Apps is enabled on an owner. + """ + updateIpAllowListForInstalledAppsEnabledSetting( + """ + Parameters for UpdateIpAllowListForInstalledAppsEnabledSetting + """ + input: UpdateIpAllowListForInstalledAppsEnabledSettingInput! + ): UpdateIpAllowListForInstalledAppsEnabledSettingPayload + """ Updates an Issue. """ @@ -17788,6 +18597,16 @@ type Mutation { input: UpdateIssueCommentInput! ): UpdateIssueCommentPayload + """ + Updates an existing label. + """ + updateLabel( + """ + Parameters for UpdateLabel + """ + input: UpdateLabelInput! + ): UpdateLabelPayload @preview(toggledBy: "bane-preview") + """ Update the setting to restrict notifications to only verified or approved domains available to an owner. """ @@ -17868,6 +18687,33 @@ type Mutation { input: UpdateRefInput! ): UpdateRefPayload + """ + Creates, updates and/or deletes multiple refs in a repository. + + This mutation takes a list of `RefUpdate`s and performs these updates + on the repository. All updates are performed atomically, meaning that + if one of them is rejected, no other ref will be modified. + + `RefUpdate.beforeOid` specifies that the given reference needs to point + to the given value before performing any updates. A value of + `0000000000000000000000000000000000000000` can be used to verify that + the references should not exist. + + `RefUpdate.afterOid` specifies the value that the given reference + will point to after performing all updates. A value of + `0000000000000000000000000000000000000000` can be used to delete a + reference. + + If `RefUpdate.force` is set to `true`, a non-fast-forward updates + for the given reference will be allowed. + """ + updateRefs( + """ + Parameters for UpdateRefs + """ + input: UpdateRefsInput! + ): UpdateRefsPayload @preview(toggledBy: "update-refs-preview") + """ Update information about a repository. """ @@ -17908,6 +18754,16 @@ type Mutation { input: UpdateTeamDiscussionCommentInput! ): UpdateTeamDiscussionCommentPayload + """ + Updates team review assignment. + """ + updateTeamReviewAssignment( + """ + Parameters for UpdateTeamReviewAssignment + """ + input: UpdateTeamReviewAssignmentInput! + ): UpdateTeamReviewAssignmentPayload @preview(toggledBy: "stone-crop-preview") + """ Replaces the repository's topics with the given topics. """ @@ -21179,7 +22035,7 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr """ Ordering options for the returned audit log entries. """ - orderBy: AuditLogOrder = { field: CREATED_AT, direction: DESC } + orderBy: AuditLogOrder = {field: CREATED_AT, direction: DESC} """ The query string to filter audit entries @@ -21254,7 +22110,7 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr """ Ordering options for verifiable domains returned. """ - orderBy: VerifiableDomainOrder = { field: DOMAIN, direction: ASC } + orderBy: VerifiableDomainOrder = {field: DOMAIN, direction: ASC} ): VerifiableDomainConnection """ @@ -21305,9 +22161,14 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr """ Ordering options for IP allow list entries returned. """ - orderBy: IpAllowListEntryOrder = { field: ALLOW_LIST_VALUE, direction: ASC } + orderBy: IpAllowListEntryOrder = {field: ALLOW_LIST_VALUE, direction: ASC} ): IpAllowListEntryConnection! + """ + The setting value for whether the organization has IP allow list configuration for installed GitHub Apps enabled. + """ + ipAllowListForInstalledAppsEnabledSetting: IpAllowListForInstalledAppsEnabledSettingValue! + """ Check if the given account is sponsoring this user/organization. """ @@ -21371,7 +22232,7 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr """ Ordering options for user statuses returned from the connection. """ - orderBy: UserStatusOrder = { field: UPDATED_AT, direction: DESC } + orderBy: UserStatusOrder = {field: UPDATED_AT, direction: DESC} ): UserStatusConnection! """ @@ -21456,7 +22317,7 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr """ Ordering of the returned packages. """ - orderBy: PackageOrder = { field: CREATED_AT, direction: DESC } + orderBy: PackageOrder = {field: CREATED_AT, direction: DESC} """ Filter registry package by type. @@ -21756,7 +22617,7 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr """ Ordering options for discussions returned from the connection. """ - orderBy: DiscussionOrder = { field: CREATED_AT, direction: DESC } + orderBy: DiscussionOrder = {field: CREATED_AT, direction: DESC} """ Filter discussions to only those in a specific repository. @@ -21780,6 +22641,41 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr """ samlIdentityProvider: OrganizationIdentityProvider + """ + Events involving this sponsorable, such as new sponsorships. + """ + sponsorsActivities( + """ + 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 + + """ + Ordering options for activity returned from the connection. + """ + orderBy: SponsorsActivityOrder = {field: TIMESTAMP, direction: DESC} + + """ + Filter activities returned to only those that occurred in a given time range. + """ + period: SponsorsActivityPeriod = MONTH + ): SponsorsActivityConnection! + """ The GitHub Sponsors listing for this user or organization. """ @@ -22631,7 +23527,7 @@ type Package implements Node { """ Ordering of the returned packages. """ - orderBy: PackageVersionOrder = { field: CREATED_AT, direction: DESC } + orderBy: PackageVersionOrder = {field: CREATED_AT, direction: DESC} ): PackageVersionConnection! } @@ -22850,7 +23746,7 @@ interface PackageOwner { """ Ordering of the returned packages. """ - orderBy: PackageOrder = { field: CREATED_AT, direction: DESC } + orderBy: PackageOrder = {field: CREATED_AT, direction: DESC} """ Filter registry package by type. @@ -22965,7 +23861,7 @@ type PackageVersion implements Node { """ Ordering of the returned package files. """ - orderBy: PackageFileOrder = { field: CREATED_AT, direction: ASC } + orderBy: PackageFileOrder = {field: CREATED_AT, direction: ASC} ): PackageFileConnection! id: ID! @@ -23147,7 +24043,7 @@ input PinIssueInput { """ The ID of the issue to be pinned """ - issueId: ID! + issueId: ID! @possibleTypes(concreteTypes: ["Issue"]) } """ @@ -24175,6 +25071,21 @@ type ProjectCardEdge { node: ProjectCard } +""" +An issue or PR and its owning repository to be used in a project card. +""" +input ProjectCardImport { + """ + The issue or pull request number. + """ + number: Int! + + """ + Repository name with owner (owner/repository). + """ + repository: String! +} + """ Types that can be inside Project Cards. """ @@ -24316,6 +25227,26 @@ type ProjectColumnEdge { node: ProjectColumn } +""" +A project column and a list of its issues and PRs. +""" +input ProjectColumnImport { + """ + The name of the column. + """ + columnName: String! + + """ + A list of issues and pull requests in the column. + """ + issues: [ProjectCardImport!] + + """ + The position of the column, starting from 0. + """ + position: Int! +} + """ The semantic purpose of the column - todo, in progress, or done. """ @@ -24731,6 +25662,11 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab """ bodyText: String! + """ + Whether or not the pull request is rebaseable. + """ + canBeRebased: Boolean! @preview(toggledBy: "merge-info-preview") + """ The number of changed files in this pull request. """ @@ -24974,7 +25910,7 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab """ Ordering options for labels returned from the connection. """ - orderBy: LabelOrder = { field: CREATED_AT, direction: ASC } + orderBy: LabelOrder = {field: CREATED_AT, direction: ASC} ): LabelConnection """ @@ -25052,6 +25988,11 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab """ mergeCommit: Commit + """ + Detailed information about the current pull request merge state status. + """ + mergeStateStatus: MergeStateStatus! @preview(toggledBy: "merge-info-preview") + """ Whether or not the pull request can be merged based on the existence of merge conflicts. """ @@ -25344,9 +26285,7 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab """ since: DateTime ): PullRequestTimelineConnection! - @deprecated( - reason: "`timeline` will be removed Use PullRequest.timelineItems instead. Removal on 2020-10-01 UTC." - ) + @deprecated(reason: "`timeline` will be removed Use PullRequest.timelineItems instead. Removal on 2020-10-01 UTC.") """ A list of events, comments, commits, etc. associated with the pull request. @@ -25393,6 +26332,11 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab """ title: String! + """ + Identifies the pull request title rendered to HTML. + """ + titleHTML: HTML! + """ Identifies the date and time when the object was last updated. """ @@ -25752,7 +26696,7 @@ type PullRequestContributionsByRepository { """ Ordering options for contributions returned from the connection. """ - orderBy: ContributionOrder = { direction: DESC } + orderBy: ContributionOrder = {direction: DESC} ): CreatedPullRequestContributionConnection! """ @@ -26439,7 +27383,7 @@ type PullRequestReviewContributionsByRepository { """ Ordering options for contributions returned from the connection. """ - orderBy: ContributionOrder = { direction: DESC } + orderBy: ContributionOrder = {direction: DESC} ): CreatedPullRequestReviewContributionConnection! """ @@ -27683,7 +28627,7 @@ type Query { """ Ordering options for the returned topics. """ - orderBy: SecurityAdvisoryOrder = { field: UPDATED_AT, direction: DESC } + orderBy: SecurityAdvisoryOrder = {field: UPDATED_AT, direction: DESC} """ Filter advisories to those published since a time in the past. @@ -27738,7 +28682,7 @@ type Query { """ Ordering options for the returned topics. """ - orderBy: SecurityVulnerabilityOrder = { field: UPDATED_AT, direction: DESC } + orderBy: SecurityVulnerabilityOrder = {field: UPDATED_AT, direction: DESC} """ A package name to filter vulnerabilities by. @@ -27793,7 +28737,7 @@ type Query { """ Ordering options for users and organizations returned from the connection. """ - orderBy: SponsorableOrder = { field: LOGIN, direction: ASC } + orderBy: SponsorableOrder = {field: LOGIN, direction: ASC} """ Optional organization username for whose dependencies should be checked. @@ -28110,6 +29054,31 @@ type ReactionGroup { """ createdAt: DateTime + """ + Reactors to the reaction subject with the emotion represented by this reaction group. + """ + reactors( + """ + 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 + ): ReactorConnection! + """ The subject that was reacted to. """ @@ -28139,6 +29108,9 @@ type ReactionGroup { """ last: Int ): ReactingUserConnection! + @deprecated( + reason: "Reactors can now be mannequins, bots, and organizations. Use the `reactors` field instead. Removal on 2021-10-01 UTC." + ) """ Whether or not the authenticated user has left a reaction on the subject. @@ -28171,6 +29143,56 @@ enum ReactionOrderField { CREATED_AT } +""" +Types that can be assigned to reactions. +""" +union Reactor = Bot | Mannequin | Organization | User + +""" +The connection type for Reactor. +""" +type ReactorConnection { + """ + A list of edges. + """ + edges: [ReactorEdge] + + """ + A list of nodes. + """ + nodes: [Reactor] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +Represents an author of a reaction. +""" +type ReactorEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The author of the reaction. + """ + node: Reactor! + + """ + The moment when the user made the reaction. + """ + reactedAt: DateTime! +} + """ Represents a 'ready_for_review' event on a given pull request. """ @@ -28358,6 +29380,31 @@ enum RefOrderField { TAG_COMMIT_DATE } +""" +A ref update +""" +input RefUpdate @preview(toggledBy: "update-refs-preview") { + """ + The value this ref should be updated to. + """ + afterOid: GitObjectID! + + """ + The value this ref needs to point to before the update. + """ + beforeOid: GitObjectID + + """ + Force a non fast-forward update. + """ + force: Boolean = false + + """ + The fully qualified name of the ref to be update. For example `refs/heads/branch-name` + """ + name: GitRefname! +} + """ A ref update rules for a viewer. """ @@ -28392,6 +29439,11 @@ type RefUpdateRule { """ requiresCodeOwnerReviews: Boolean! + """ + Are conversations required to be resolved before merging. + """ + requiresConversationResolution: Boolean! + """ Are merge commits prohibited from being pushed to this branch. """ @@ -28471,7 +29523,7 @@ input RegenerateEnterpriseIdentityProviderRecoveryCodesInput { """ The ID of the enterprise on which to set an identity provider. """ - enterpriseId: ID! + enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"]) } """ @@ -28501,7 +29553,7 @@ input RegenerateVerifiableDomainTokenInput { """ The ID of the verifiable domain to regenerate the verification token of. """ - id: ID! + id: ID! @possibleTypes(concreteTypes: ["VerifiableDomain"]) } """ @@ -28541,7 +29593,7 @@ input RejectDeploymentsInput { """ The node ID of the workflow run containing the pending deployments. """ - workflowRunId: ID! + workflowRunId: ID! @possibleTypes(concreteTypes: ["WorkflowRun"]) } """ @@ -28908,12 +29960,12 @@ input RemoveAssigneesFromAssignableInput { """ The id of the assignable object to remove assignees from. """ - assignableId: ID! + assignableId: ID! @possibleTypes(concreteTypes: ["Issue", "PullRequest"], abstractType: "Assignable") """ The id of users to remove as assignees. """ - assigneeIds: [ID!]! + assigneeIds: [ID!]! @possibleTypes(concreteTypes: ["User"]) """ A unique identifier for the client performing the mutation. @@ -28948,7 +30000,7 @@ input RemoveEnterpriseAdminInput { """ The Enterprise ID from which to remove the administrator. """ - enterpriseId: ID! + enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"]) """ The login of the user to remove as an administrator. @@ -28998,7 +30050,7 @@ input RemoveEnterpriseIdentityProviderInput { """ The ID of the enterprise from which to remove the identity provider. """ - enterpriseId: ID! + enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"]) } """ @@ -29028,12 +30080,12 @@ input RemoveEnterpriseOrganizationInput { """ The ID of the enterprise from which the organization should be removed. """ - enterpriseId: ID! + enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"]) """ The ID of the organization to remove from the enterprise. """ - organizationId: ID! + organizationId: ID! @possibleTypes(concreteTypes: ["Organization"]) } """ @@ -29073,7 +30125,7 @@ input RemoveEnterpriseSupportEntitlementInput { """ The ID of the Enterprise which the admin belongs to. """ - enterpriseId: ID! + enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"]) """ The login of a member who will lose the support entitlement. @@ -29108,12 +30160,12 @@ input RemoveLabelsFromLabelableInput { """ The ids of labels to remove. """ - labelIds: [ID!]! + labelIds: [ID!]! @possibleTypes(concreteTypes: ["Label"]) """ The id of the Labelable to remove labels from. """ - labelableId: ID! + labelableId: ID! @possibleTypes(concreteTypes: ["Discussion", "Issue", "PullRequest"], abstractType: "Labelable") } """ @@ -29143,12 +30195,12 @@ input RemoveOutsideCollaboratorInput { """ The ID of the organization to remove the outside collaborator from. """ - organizationId: ID! + organizationId: ID! @possibleTypes(concreteTypes: ["Organization"]) """ The ID of the outside collaborator to remove. """ - userId: ID! + userId: ID! @possibleTypes(concreteTypes: ["User"]) } """ @@ -29184,6 +30236,22 @@ input RemoveReactionInput { The Node ID of the subject to modify. """ subjectId: ID! + @possibleTypes( + concreteTypes: [ + "CommitComment" + "Discussion" + "DiscussionComment" + "Issue" + "IssueComment" + "PullRequest" + "PullRequestReview" + "PullRequestReviewComment" + "Release" + "TeamDiscussion" + "TeamDiscussionComment" + ] + abstractType: "Reactable" + ) } """ @@ -29218,7 +30286,7 @@ input RemoveStarInput { """ The Starrable ID to unstar. """ - starrableId: ID! + starrableId: ID! @possibleTypes(concreteTypes: ["Gist", "Repository", "Topic"], abstractType: "Starrable") } """ @@ -29248,7 +30316,7 @@ input RemoveUpvoteInput { """ The Node ID of the discussion or comment to remove upvote. """ - subjectId: ID! + subjectId: ID! @possibleTypes(concreteTypes: ["Discussion", "DiscussionComment"], abstractType: "Votable") } """ @@ -29285,6 +30353,16 @@ type RemovedFromProjectEvent implements Node { """ databaseId: Int id: ID! + + """ + Project referenced by event. + """ + project: Project @preview(toggledBy: "starfox-preview") + + """ + Column name referenced by this project event. + """ + projectColumnName: String! @preview(toggledBy: "starfox-preview") } """ @@ -29335,7 +30413,7 @@ input ReopenIssueInput { """ ID of the issue to be opened. """ - issueId: ID! + issueId: ID! @possibleTypes(concreteTypes: ["Issue"]) } """ @@ -29365,7 +30443,7 @@ input ReopenPullRequestInput { """ ID of the pull request to be reopened. """ - pullRequestId: ID! + pullRequestId: ID! @possibleTypes(concreteTypes: ["PullRequest"]) } """ @@ -31907,6 +32985,46 @@ type Repository implements Node & PackageOwner & ProjectOwner & RepositoryInfo & """ deleteBranchOnMerge: Boolean! + """ + A list of dependency manifests contained in the repository + """ + dependencyGraphManifests( + """ + 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 + + """ + Cursor to paginate dependencies + """ + dependenciesAfter: String + + """ + Number of dependencies to fetch + """ + dependenciesFirst: Int + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Flag to scope to only manifests with dependencies + """ + withDependencies: Boolean + ): DependencyGraphManifestConnection @preview(toggledBy: "hawkgirl-preview") + """ A list of deploy keys that are on this repository. """ @@ -31964,7 +33082,7 @@ type Repository implements Node & PackageOwner & ProjectOwner & RepositoryInfo & """ Ordering options for deployments returned from the connection. """ - orderBy: DeploymentOrder = { field: CREATED_AT, direction: ASC } + orderBy: DeploymentOrder = {field: CREATED_AT, direction: ASC} ): DeploymentConnection! """ @@ -32044,7 +33162,7 @@ type Repository implements Node & PackageOwner & ProjectOwner & RepositoryInfo & """ Ordering options for discussions returned from the connection. """ - orderBy: DiscussionOrder = { field: UPDATED_AT, direction: DESC } + orderBy: DiscussionOrder = {field: UPDATED_AT, direction: DESC} ): DiscussionConnection! """ @@ -32344,7 +33462,7 @@ type Repository implements Node & PackageOwner & ProjectOwner & RepositoryInfo & """ Ordering options for labels returned from the connection. """ - orderBy: LabelOrder = { field: CREATED_AT, direction: ASC } + orderBy: LabelOrder = {field: CREATED_AT, direction: ASC} """ If provided, searches labels by name and description. @@ -32554,7 +33672,7 @@ type Repository implements Node & PackageOwner & ProjectOwner & RepositoryInfo & """ Ordering of the returned packages. """ - orderBy: PackageOrder = { field: CREATED_AT, direction: DESC } + orderBy: PackageOrder = {field: CREATED_AT, direction: DESC} """ Filter registry package by type. @@ -33309,7 +34427,7 @@ interface RepositoryDiscussionAuthor { """ Ordering options for discussions returned from the connection. """ - orderBy: DiscussionOrder = { field: CREATED_AT, direction: DESC } + orderBy: DiscussionOrder = {field: CREATED_AT, direction: DESC} """ Filter discussions to only those in a specific repository. @@ -34355,12 +35473,12 @@ input RequestReviewsInput { """ The Node ID of the pull request to modify. """ - pullRequestId: ID! + pullRequestId: ID! @possibleTypes(concreteTypes: ["PullRequest"]) """ The Node IDs of the team to request. """ - teamIds: [ID!] + teamIds: [ID!] @possibleTypes(concreteTypes: ["Team"]) """ Add users to the set rather than replace. @@ -34370,7 +35488,7 @@ input RequestReviewsInput { """ The Node IDs of the user to request. """ - userIds: [ID!] + userIds: [ID!] @possibleTypes(concreteTypes: ["User"]) } """ @@ -34460,7 +35578,7 @@ input RerequestCheckSuiteInput { """ The Node ID of the check suite. """ - checkSuiteId: ID! + checkSuiteId: ID! @possibleTypes(concreteTypes: ["CheckSuite"]) """ A unique identifier for the client performing the mutation. @@ -34470,7 +35588,7 @@ input RerequestCheckSuiteInput { """ The Node ID of the repository. """ - repositoryId: ID! + repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"]) } """ @@ -34500,7 +35618,7 @@ input ResolveReviewThreadInput { """ The ID of the thread to resolve """ - threadId: ID! + threadId: ID! @possibleTypes(concreteTypes: ["PullRequestReviewThread"]) } """ @@ -34960,15 +36078,7 @@ enum SavedReplyOrderField { """ The results of a search. """ -union SearchResultItem = - App - | Discussion - | Issue - | MarketplaceListing - | Organization - | PullRequest - | Repository - | User +union SearchResultItem = App | Discussion | Issue | MarketplaceListing | Organization | PullRequest | Repository | User """ A list of results that matched against a search query. @@ -35192,7 +36302,7 @@ type SecurityAdvisory implements Node { """ Ordering options for the returned topics. """ - orderBy: SecurityVulnerabilityOrder = { field: UPDATED_AT, direction: DESC } + orderBy: SecurityVulnerabilityOrder = {field: UPDATED_AT, direction: DESC} """ A package name to filter vulnerabilities by. @@ -35265,6 +36375,11 @@ enum SecurityAdvisoryEcosystem { """ NUGET + """ + Applications, runtimes, operating systems and other kinds of software + """ + OTHER + """ Python packages hosted at PyPI.org """ @@ -35549,7 +36664,7 @@ input SetEnterpriseIdentityProviderInput { """ The ID of the enterprise on which to set an identity provider. """ - enterpriseId: ID! + enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"]) """ The x509 certificate used by the identity provider to sign assertions and responses. @@ -35609,7 +36724,7 @@ input SetOrganizationInteractionLimitInput { """ The ID of the organization to set a limit for. """ - organizationId: ID! + organizationId: ID! @possibleTypes(concreteTypes: ["Organization"]) } """ @@ -35649,7 +36764,7 @@ input SetRepositoryInteractionLimitInput { """ The ID of the repository to set a limit for. """ - repositoryId: ID! + repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"]) } """ @@ -35689,7 +36804,7 @@ input SetUserInteractionLimitInput { """ The ID of the user to set a limit for. """ - userId: ID! + userId: ID! @possibleTypes(concreteTypes: ["User"]) } """ @@ -35777,6 +36892,41 @@ interface Sponsorable { """ isSponsoringViewer: Boolean! + """ + Events involving this sponsorable, such as new sponsorships. + """ + sponsorsActivities( + """ + 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 + + """ + Ordering options for activity returned from the connection. + """ + orderBy: SponsorsActivityOrder = {field: TIMESTAMP, direction: DESC} + + """ + Filter activities returned to only those that occurred in a given time range. + """ + period: SponsorsActivityPeriod = MONTH + ): SponsorsActivityConnection! + """ The GitHub Sponsors listing for this user or organization. """ @@ -35935,6 +37085,167 @@ enum SponsorableOrderField { LOGIN } +""" +An event related to sponsorship activity. +""" +type SponsorsActivity implements Node { + """ + What action this activity indicates took place. + """ + action: SponsorsActivityAction! + id: ID! + + """ + The tier that the sponsorship used to use, for tier change events. + """ + previousSponsorsTier: SponsorsTier + + """ + The user or organization who triggered this activity and was/is sponsoring the sponsorable. + """ + sponsor: Sponsor + + """ + The user or organization that is being sponsored, the maintainer. + """ + sponsorable: Sponsorable! + + """ + The associated sponsorship tier. + """ + sponsorsTier: SponsorsTier + + """ + The timestamp of this event. + """ + timestamp: DateTime +} + +""" +The possible actions that GitHub Sponsors activities can represent. +""" +enum SponsorsActivityAction { + """ + The activity was cancelling a sponsorship. + """ + CANCELLED_SPONSORSHIP + + """ + The activity was starting a sponsorship. + """ + NEW_SPONSORSHIP + + """ + The activity was scheduling a downgrade or cancellation. + """ + PENDING_CHANGE + + """ + The activity was funds being refunded to the sponsor or GitHub. + """ + REFUND + + """ + The activity was disabling matching for a previously matched sponsorship. + """ + SPONSOR_MATCH_DISABLED + + """ + The activity was changing the sponsorship tier, either directly by the sponsor or by a scheduled/pending change. + """ + TIER_CHANGE +} + +""" +The connection type for SponsorsActivity. +""" +type SponsorsActivityConnection { + """ + A list of edges. + """ + edges: [SponsorsActivityEdge] + + """ + A list of nodes. + """ + nodes: [SponsorsActivity] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type SponsorsActivityEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: SponsorsActivity +} + +""" +Ordering options for GitHub Sponsors activity connections. +""" +input SponsorsActivityOrder { + """ + The ordering direction. + """ + direction: OrderDirection! + + """ + The field to order activity by. + """ + field: SponsorsActivityOrderField! +} + +""" +Properties by which GitHub Sponsors activity connections can be ordered. +""" +enum SponsorsActivityOrderField { + """ + Order activities by when they happened. + """ + TIMESTAMP +} + +""" +The possible time periods for which Sponsors activities can be requested. +""" +enum SponsorsActivityPeriod { + """ + Don't restrict the activity to any date range, include all activity. + """ + ALL + + """ + The previous calendar day. + """ + DAY + + """ + The previous thirty days. + """ + MONTH + + """ + The previous seven days. + """ + WEEK +} + """ A goal associated with a GitHub Sponsors listing, representing a target the sponsored maintainer would like to attain. """ @@ -36048,10 +37359,7 @@ type SponsorsListing implements Node { """ Ordering options for Sponsors tiers returned from the connection. """ - orderBy: SponsorsTierOrder = { - field: MONTHLY_PRICE_IN_CENTS - direction: ASC - } + orderBy: SponsorsTierOrder = {field: MONTHLY_PRICE_IN_CENTS, direction: ASC} ): SponsorsTierConnection } @@ -36066,8 +37374,8 @@ type SponsorsTier implements Node { """ Get a different tier for this tier's maintainer that is at the same frequency - as this tier but with a lesser cost. Returns the published tier with the - monthly price closest to this tier's without going over. + as this tier but with an equal or lesser cost. Returns the published tier with + the monthly price closest to this tier's without going over. """ closestLesserValueTier: SponsorsTier @@ -36803,12 +38111,12 @@ input SubmitPullRequestReviewInput { """ The Pull Request ID to submit any pending reviews. """ - pullRequestId: ID + pullRequestId: ID @possibleTypes(concreteTypes: ["PullRequest"]) """ The Pull Request Review ID to submit. """ - pullRequestReviewId: ID + pullRequestReviewId: ID @possibleTypes(concreteTypes: ["PullRequestReview"]) } """ @@ -37242,7 +38550,7 @@ type Team implements MemberStatusable & Node & Subscribable { """ Ordering options for user statuses returned from the connection. """ - orderBy: UserStatusOrder = { field: UPDATED_AT, direction: DESC } + orderBy: UserStatusOrder = {field: UPDATED_AT, direction: DESC} ): UserStatusConnection! """ @@ -37380,6 +38688,26 @@ type Team implements MemberStatusable & Node & Subscribable { """ resourcePath: URI! + """ + What algorithm is used for review assignment for this team + """ + reviewRequestDelegationAlgorithm: TeamReviewAssignmentAlgorithm @preview(toggledBy: "stone-crop-preview") + + """ + True if review assignment is enabled for this team + """ + reviewRequestDelegationEnabled: Boolean! @preview(toggledBy: "stone-crop-preview") + + """ + How many team members are required for review assignment for this team + """ + reviewRequestDelegationMemberCount: Int @preview(toggledBy: "stone-crop-preview") + + """ + When assigning team members via delegation, whether the entire team should be notified as well. + """ + reviewRequestDelegationNotifyTeam: Boolean! @preview(toggledBy: "stone-crop-preview") + """ The slug corresponding to the team. """ @@ -38970,6 +40298,21 @@ enum TeamRepositoryOrderField { UPDATED_AT } +""" +The possible team review assignment algorithms +""" +enum TeamReviewAssignmentAlgorithm @preview(toggledBy: "stone-crop-preview") { + """ + Balance review load across the entire team + """ + LOAD_BALANCE + + """ + Alternate reviews between each team member + """ + ROUND_ROBIN +} + """ The role of a user on a team. """ @@ -39140,12 +40483,12 @@ input TransferIssueInput { """ The Node ID of the issue to be transferred """ - issueId: ID! + issueId: ID! @possibleTypes(concreteTypes: ["Issue"]) """ The Node ID of the repository the issue should be transferred to """ - repositoryId: ID! + repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"]) } """ @@ -39297,7 +40640,7 @@ input UnarchiveRepositoryInput { """ The ID of the repository to unarchive. """ - repositoryId: ID! + repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"]) } """ @@ -39344,9 +40687,7 @@ type UnassignedEvent implements Node { Identifies the subject (user) who was unassigned. """ user: User - @deprecated( - reason: "Assignees can now be mannequins. Use the `assignee` field instead. Removal on 2020-01-01 UTC." - ) + @deprecated(reason: "Assignees can now be mannequins. Use the `assignee` field instead. Removal on 2020-01-01 UTC.") } """ @@ -39361,7 +40702,7 @@ input UnfollowUserInput { """ ID of the user to unfollow. """ - userId: ID! + userId: ID! @possibleTypes(concreteTypes: ["User"]) } """ @@ -39473,12 +40814,12 @@ input UnlinkRepositoryFromProjectInput { """ The ID of the Project linked to the Repository. """ - projectId: ID! + projectId: ID! @possibleTypes(concreteTypes: ["Project"]) """ The ID of the Repository linked to the Project. """ - repositoryId: ID! + repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"]) } """ @@ -39513,7 +40854,7 @@ input UnlockLockableInput { """ ID of the item to be unlocked. """ - lockableId: ID! + lockableId: ID! @possibleTypes(concreteTypes: ["Discussion", "Issue", "PullRequest"], abstractType: "Lockable") } """ @@ -39569,7 +40910,7 @@ input UnmarkDiscussionCommentAsAnswerInput { """ The Node ID of the discussion comment to unmark as an answer. """ - id: ID! + id: ID! @possibleTypes(concreteTypes: ["DiscussionComment"]) } """ @@ -39604,7 +40945,7 @@ input UnmarkFileAsViewedInput { """ The Node ID of the pull request. """ - pullRequestId: ID! + pullRequestId: ID! @possibleTypes(concreteTypes: ["PullRequest"]) } """ @@ -39629,7 +40970,7 @@ input UnmarkIssueAsDuplicateInput { """ ID of the issue or pull request currently considered canonical/authoritative/original. """ - canonicalId: ID! + canonicalId: ID! @possibleTypes(concreteTypes: ["Issue", "PullRequest"], abstractType: "IssueOrPullRequest") """ A unique identifier for the client performing the mutation. @@ -39639,7 +40980,7 @@ input UnmarkIssueAsDuplicateInput { """ ID of the issue or pull request currently marked as a duplicate. """ - duplicateId: ID! + duplicateId: ID! @possibleTypes(concreteTypes: ["Issue", "PullRequest"], abstractType: "IssueOrPullRequest") } """ @@ -39701,6 +41042,10 @@ input UnminimizeCommentInput { The Node ID of the subject to modify. """ subjectId: ID! + @possibleTypes( + concreteTypes: ["CommitComment", "DiscussionComment", "GistComment", "IssueComment", "PullRequestReviewComment"] + abstractType: "Minimizable" + ) } """ @@ -39730,7 +41075,7 @@ input UnpinIssueInput { """ The ID of the issue to be unpinned """ - issueId: ID! + issueId: ID! @possibleTypes(concreteTypes: ["Issue"]) } """ @@ -39781,7 +41126,7 @@ input UnresolveReviewThreadInput { """ The ID of the thread to unresolve """ - threadId: ID! + threadId: ID! @possibleTypes(concreteTypes: ["PullRequestReviewThread"]) } """ @@ -39857,7 +41202,7 @@ input UpdateBranchProtectionRuleInput { """ The global relay id of the branch protection rule to be updated. """ - branchProtectionRuleId: ID! + branchProtectionRuleId: ID! @possibleTypes(concreteTypes: ["BranchProtectionRule"]) """ A unique identifier for the client performing the mutation. @@ -39909,6 +41254,11 @@ input UpdateBranchProtectionRuleInput { """ requiresCommitSignatures: Boolean + """ + Are conversations required to be resolved before merging. + """ + requiresConversationResolution: Boolean + """ Are merge commits prohibited from being pushed to this branch. """ @@ -39967,7 +41317,7 @@ input UpdateCheckRunInput { """ The node of the check. """ - checkRunId: ID! + checkRunId: ID! @possibleTypes(concreteTypes: ["CheckRun"]) """ A unique identifier for the client performing the mutation. @@ -40007,7 +41357,7 @@ input UpdateCheckRunInput { """ The node ID of the repository. """ - repositoryId: ID! + repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"]) """ The time that the check run began. @@ -40052,7 +41402,7 @@ input UpdateCheckSuitePreferencesInput { """ The Node ID of the repository. """ - repositoryId: ID! + repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"]) } """ @@ -40087,7 +41437,7 @@ input UpdateDiscussionCommentInput { """ The Node ID of the discussion comment to update. """ - commentId: ID! + commentId: ID! @possibleTypes(concreteTypes: ["DiscussionComment"]) } """ @@ -40117,7 +41467,7 @@ input UpdateDiscussionInput { """ The Node ID of a discussion category within the same repository to change this discussion to. """ - categoryId: ID + categoryId: ID @possibleTypes(concreteTypes: ["DiscussionCategory"]) """ A unique identifier for the client performing the mutation. @@ -40127,7 +41477,7 @@ input UpdateDiscussionInput { """ The Node ID of the discussion to update. """ - discussionId: ID! + discussionId: ID! @possibleTypes(concreteTypes: ["Discussion"]) """ The new discussion title. @@ -40162,7 +41512,7 @@ input UpdateEnterpriseAdministratorRoleInput { """ The ID of the Enterprise which the admin belongs to. """ - enterpriseId: ID! + enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"]) """ The login of a administrator whose role is being changed. @@ -40202,7 +41552,7 @@ input UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput { """ The ID of the enterprise on which to set the allow private repository forking setting. """ - enterpriseId: ID! + enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"]) """ The value for the allow private repository forking setting on the enterprise. @@ -40242,7 +41592,7 @@ input UpdateEnterpriseDefaultRepositoryPermissionSettingInput { """ The ID of the enterprise on which to set the base repository permission setting. """ - enterpriseId: ID! + enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"]) """ The value for the base repository permission setting on the enterprise. @@ -40282,7 +41632,7 @@ input UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput { """ The ID of the enterprise on which to set the members can change repository visibility setting. """ - enterpriseId: ID! + enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"]) """ The value for the members can change repository visibility setting on the enterprise. @@ -40322,7 +41672,7 @@ input UpdateEnterpriseMembersCanCreateRepositoriesSettingInput { """ The ID of the enterprise on which to set the members can create repositories setting. """ - enterpriseId: ID! + enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"]) """ Allow members to create internal repositories. Defaults to current value. @@ -40383,7 +41733,7 @@ input UpdateEnterpriseMembersCanDeleteIssuesSettingInput { """ The ID of the enterprise on which to set the members can delete issues setting. """ - enterpriseId: ID! + enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"]) """ The value for the members can delete issues setting on the enterprise. @@ -40423,7 +41773,7 @@ input UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput { """ The ID of the enterprise on which to set the members can delete repositories setting. """ - enterpriseId: ID! + enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"]) """ The value for the members can delete repositories setting on the enterprise. @@ -40463,7 +41813,7 @@ input UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput { """ The ID of the enterprise on which to set the members can invite collaborators setting. """ - enterpriseId: ID! + enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"]) """ The value for the members can invite collaborators setting on the enterprise. @@ -40503,7 +41853,7 @@ input UpdateEnterpriseMembersCanMakePurchasesSettingInput { """ The ID of the enterprise on which to set the members can make purchases setting. """ - enterpriseId: ID! + enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"]) """ The value for the members can make purchases setting on the enterprise. @@ -40543,7 +41893,7 @@ input UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput { """ The ID of the enterprise on which to set the members can update protected branches setting. """ - enterpriseId: ID! + enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"]) """ The value for the members can update protected branches setting on the enterprise. @@ -40583,7 +41933,7 @@ input UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput { """ The ID of the enterprise on which to set the members can view dependency insights setting. """ - enterpriseId: ID! + enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"]) """ The value for the members can view dependency insights setting on the enterprise. @@ -40623,7 +41973,7 @@ input UpdateEnterpriseOrganizationProjectsSettingInput { """ The ID of the enterprise on which to set the organization projects setting. """ - enterpriseId: ID! + enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"]) """ The value for the organization projects setting on the enterprise. @@ -40668,7 +42018,7 @@ input UpdateEnterpriseProfileInput { """ The Enterprise ID to update. """ - enterpriseId: ID! + enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"]) """ The location of the enterprise. @@ -40713,7 +42063,7 @@ input UpdateEnterpriseRepositoryProjectsSettingInput { """ The ID of the enterprise on which to set the repository projects setting. """ - enterpriseId: ID! + enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"]) """ The value for the repository projects setting on the enterprise. @@ -40753,7 +42103,7 @@ input UpdateEnterpriseTeamDiscussionsSettingInput { """ The ID of the enterprise on which to set the team discussions setting. """ - enterpriseId: ID! + enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"]) """ The value for the team discussions setting on the enterprise. @@ -40793,7 +42143,7 @@ input UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput { """ The ID of the enterprise on which to set the two factor authentication required setting. """ - enterpriseId: ID! + enterpriseId: ID! @possibleTypes(concreteTypes: ["Enterprise"]) """ The value for the two factor authentication required setting on the enterprise. @@ -40833,7 +42183,7 @@ input UpdateEnvironmentInput { """ The node ID of the environment. """ - environmentId: ID! + environmentId: ID! @possibleTypes(concreteTypes: ["Environment"]) """ The ids of users or teams that can approve deployments to this environment @@ -40873,7 +42223,7 @@ input UpdateIpAllowListEnabledSettingInput { """ The ID of the owner on which to set the IP allow list enabled setting. """ - ownerId: ID! + ownerId: ID! @possibleTypes(concreteTypes: ["App", "Enterprise", "Organization"], abstractType: "IpAllowListOwner") """ The value for the IP allow list enabled setting. @@ -40913,7 +42263,7 @@ input UpdateIpAllowListEntryInput { """ The ID of the IP allow list entry to update. """ - ipAllowListEntryId: ID! + ipAllowListEntryId: ID! @possibleTypes(concreteTypes: ["IpAllowListEntry"]) """ Whether the IP allow list entry is active when an IP allow list is enabled. @@ -40941,6 +42291,41 @@ type UpdateIpAllowListEntryPayload { ipAllowListEntry: IpAllowListEntry } +""" +Autogenerated input type of UpdateIpAllowListForInstalledAppsEnabledSetting +""" +input UpdateIpAllowListForInstalledAppsEnabledSettingInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the owner. + """ + ownerId: ID! @possibleTypes(concreteTypes: ["App", "Enterprise", "Organization"], abstractType: "IpAllowListOwner") + + """ + The value for the IP allow list configuration for installed GitHub Apps setting. + """ + settingValue: IpAllowListForInstalledAppsEnabledSettingValue! +} + +""" +Autogenerated return type of UpdateIpAllowListForInstalledAppsEnabledSetting +""" +type UpdateIpAllowListForInstalledAppsEnabledSettingPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The IP allow list owner on which the setting was updated. + """ + owner: IpAllowListOwner +} + """ Autogenerated input type of UpdateIssueComment """ @@ -40958,7 +42343,7 @@ input UpdateIssueCommentInput { """ The ID of the IssueComment to modify. """ - id: ID! + id: ID! @possibleTypes(concreteTypes: ["IssueComment"]) } """ @@ -40983,7 +42368,7 @@ input UpdateIssueInput { """ An array of Node IDs of users for this issue. """ - assigneeIds: [ID!] + assigneeIds: [ID!] @possibleTypes(concreteTypes: ["User"]) """ The body for the issue description. @@ -40998,17 +42383,17 @@ input UpdateIssueInput { """ The ID of the Issue to modify. """ - id: ID! + id: ID! @possibleTypes(concreteTypes: ["Issue"]) """ An array of Node IDs of labels for this issue. """ - labelIds: [ID!] + labelIds: [ID!] @possibleTypes(concreteTypes: ["Label"]) """ The Node ID of the milestone for this issue. """ - milestoneId: ID + milestoneId: ID @possibleTypes(concreteTypes: ["Milestone"]) """ An array of Node IDs for projects associated with this issue. @@ -41046,6 +42431,51 @@ type UpdateIssuePayload { issue: Issue } +""" +Autogenerated input type of UpdateLabel +""" +input UpdateLabelInput @preview(toggledBy: "bane-preview") { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + A 6 character hex code, without the leading #, identifying the updated color of the label. + """ + color: String + + """ + A brief description of the label, such as its purpose. + """ + description: String + + """ + The Node ID of the label to be updated. + """ + id: ID! @possibleTypes(concreteTypes: ["Label"]) + + """ + The updated name of the label. + """ + name: String +} + +""" +Autogenerated return type of UpdateLabel +""" +type UpdateLabelPayload @preview(toggledBy: "bane-preview") { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The updated label. + """ + label: Label +} + """ Autogenerated input type of UpdateNotificationRestrictionSetting """ @@ -41058,7 +42488,7 @@ input UpdateNotificationRestrictionSettingInput { """ The ID of the owner on which to set the restrict notifications setting. """ - ownerId: ID! + ownerId: ID! @possibleTypes(concreteTypes: ["Enterprise", "Organization"], abstractType: "VerifiableDomainOwner") """ The value for the restrict notifications setting. @@ -41103,7 +42533,7 @@ input UpdateProjectCardInput { """ The ProjectCard ID to update. """ - projectCardId: ID! + projectCardId: ID! @possibleTypes(concreteTypes: ["ProjectCard"]) } """ @@ -41138,7 +42568,7 @@ input UpdateProjectColumnInput { """ The ProjectColumn ID to update. """ - projectColumnId: ID! + projectColumnId: ID! @possibleTypes(concreteTypes: ["ProjectColumn"]) } """ @@ -41178,7 +42608,7 @@ input UpdateProjectInput { """ The Project ID to update. """ - projectId: ID! + projectId: ID! @possibleTypes(concreteTypes: ["Project"]) """ Whether the project is public or not. @@ -41213,7 +42643,7 @@ input UpdatePullRequestInput { """ An array of Node IDs of users for this pull request. """ - assigneeIds: [ID!] + assigneeIds: [ID!] @possibleTypes(concreteTypes: ["User"]) """ The name of the branch you want your changes pulled into. This should be an existing branch @@ -41234,7 +42664,7 @@ input UpdatePullRequestInput { """ An array of Node IDs of labels for this pull request. """ - labelIds: [ID!] + labelIds: [ID!] @possibleTypes(concreteTypes: ["Label"]) """ Indicates whether maintainers can modify the pull request. @@ -41244,7 +42674,7 @@ input UpdatePullRequestInput { """ The Node ID of the milestone for this pull request. """ - milestoneId: ID + milestoneId: ID @possibleTypes(concreteTypes: ["Milestone"]) """ An array of Node IDs for projects associated with this pull request. @@ -41254,7 +42684,7 @@ input UpdatePullRequestInput { """ The Node ID of the pull request. """ - pullRequestId: ID! + pullRequestId: ID! @possibleTypes(concreteTypes: ["PullRequest"]) """ The target state of the pull request. @@ -41304,7 +42734,7 @@ input UpdatePullRequestReviewCommentInput { """ The Node ID of the comment to modify. """ - pullRequestReviewCommentId: ID! + pullRequestReviewCommentId: ID! @possibleTypes(concreteTypes: ["PullRequestReviewComment"]) } """ @@ -41339,7 +42769,7 @@ input UpdatePullRequestReviewInput { """ The Node ID of the pull request review to modify. """ - pullRequestReviewId: ID! + pullRequestReviewId: ID! @possibleTypes(concreteTypes: ["PullRequestReview"]) } """ @@ -41379,7 +42809,7 @@ input UpdateRefInput { """ The Node ID of the Ref to be updated. """ - refId: ID! + refId: ID! @possibleTypes(concreteTypes: ["Ref"]) } """ @@ -41397,6 +42827,36 @@ type UpdateRefPayload { ref: Ref } +""" +Autogenerated input type of UpdateRefs +""" +input UpdateRefsInput @preview(toggledBy: "update-refs-preview") { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + A list of ref updates. + """ + refUpdates: [RefUpdate!]! + + """ + The Node ID of the repository. + """ + repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"]) +} + +""" +Autogenerated return type of UpdateRefs +""" +type UpdateRefsPayload @preview(toggledBy: "update-refs-preview") { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String +} + """ Autogenerated input type of UpdateRepository """ @@ -41439,7 +42899,7 @@ input UpdateRepositoryInput { """ The ID of the repository to update. """ - repositoryId: ID! + repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"]) """ Whether this repository should be marked as a template such that anyone who @@ -41481,6 +42941,10 @@ input UpdateSubscriptionInput { The Node ID of the subscribable object to modify. """ subscribableId: ID! + @possibleTypes( + concreteTypes: ["Commit", "Discussion", "Issue", "PullRequest", "Repository", "Team", "TeamDiscussion"] + abstractType: "Subscribable" + ) } """ @@ -41520,7 +42984,7 @@ input UpdateTeamDiscussionCommentInput { """ The ID of the comment to modify. """ - id: ID! + id: ID! @possibleTypes(concreteTypes: ["TeamDiscussionComment"]) } """ @@ -41561,7 +43025,7 @@ input UpdateTeamDiscussionInput { """ The Node ID of the discussion to modify. """ - id: ID! + id: ID! @possibleTypes(concreteTypes: ["TeamDiscussion"]) """ If provided, sets the pinned state of the updated discussion. @@ -41589,6 +43053,61 @@ type UpdateTeamDiscussionPayload { teamDiscussion: TeamDiscussion } +""" +Autogenerated input type of UpdateTeamReviewAssignment +""" +input UpdateTeamReviewAssignmentInput @preview(toggledBy: "stone-crop-preview") { + """ + The algorithm to use for review assignment + """ + algorithm: TeamReviewAssignmentAlgorithm = ROUND_ROBIN + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Turn on or off review assignment + """ + enabled: Boolean! + + """ + An array of team member IDs to exclude + """ + excludedTeamMemberIds: [ID!] @possibleTypes(concreteTypes: ["User"]) + + """ + The Node ID of the team to update review assignments of + """ + id: ID! @possibleTypes(concreteTypes: ["Team"]) + + """ + Notify the entire team of the PR if it is delegated + """ + notifyTeam: Boolean = true + + """ + The number of team members to assign + """ + teamMemberCount: Int = 1 +} + +""" +Autogenerated return type of UpdateTeamReviewAssignment +""" +type UpdateTeamReviewAssignmentPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The team that was modified + """ + team: Team +} + """ Autogenerated input type of UpdateTopics """ @@ -41601,7 +43120,7 @@ input UpdateTopicsInput { """ The Node ID of the repository. """ - repositoryId: ID! + repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"]) """ An array of topic names. @@ -41723,8 +43242,9 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & organizationID: ID """ - Only contributions made before and up to and including this time will be - counted. If omitted, defaults to the current time. + Only contributions made before and up to (including) this time will be + counted. If omitted, defaults to the current time or one year from the + provided from argument. """ to: DateTime ): ContributionsCollection! @@ -42113,7 +43633,7 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & """ Ordering of the returned packages. """ - orderBy: PackageOrder = { field: CREATED_AT, direction: DESC } + orderBy: PackageOrder = {field: CREATED_AT, direction: DESC} """ Filter registry package by type. @@ -42514,7 +44034,7 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & """ Ordering options for discussions returned from the connection. """ - orderBy: DiscussionOrder = { field: CREATED_AT, direction: DESC } + orderBy: DiscussionOrder = {field: CREATED_AT, direction: DESC} """ Filter discussions to only those in a specific repository. @@ -42554,9 +44074,44 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & """ The field to order saved replies by. """ - orderBy: SavedReplyOrder = { field: UPDATED_AT, direction: DESC } + orderBy: SavedReplyOrder = {field: UPDATED_AT, direction: DESC} ): SavedReplyConnection + """ + Events involving this sponsorable, such as new sponsorships. + """ + sponsorsActivities( + """ + 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 + + """ + Ordering options for activity returned from the connection. + """ + orderBy: SponsorsActivityOrder = {field: TIMESTAMP, direction: DESC} + + """ + Filter activities returned to only those that occurred in a given time range. + """ + period: SponsorsActivityPeriod = MONTH + ): SponsorsActivityConnection! + """ The GitHub Sponsors listing for this user or organization. """ @@ -43290,7 +44845,7 @@ input VerifyVerifiableDomainInput { """ The ID of the verifiable domain to verify. """ - id: ID! + id: ID! @possibleTypes(concreteTypes: ["VerifiableDomain"]) } """ diff --git a/lib/graphql/schema.schema.gql.dart b/lib/graphql/schema.schema.gql.dart index 7ee755c..4873db5 100644 --- a/lib/graphql/schema.schema.gql.dart +++ b/lib/graphql/schema.schema.gql.dart @@ -1111,6 +1111,7 @@ abstract class GCreateBranchProtectionRuleInput bool? get requiresApprovingReviews; bool? get requiresCodeOwnerReviews; bool? get requiresCommitSignatures; + bool? get requiresConversationResolution; bool? get requiresLinearHistory; bool? get requiresStatusChecks; bool? get requiresStrictStatusChecks; @@ -1177,6 +1178,82 @@ abstract class GCreateCheckSuiteInput _i1.serializers.deserializeWith(GCreateCheckSuiteInput.serializer, json); } +abstract class GCreateContentAttachmentInput + implements + Built { + GCreateContentAttachmentInput._(); + + factory GCreateContentAttachmentInput( + [Function(GCreateContentAttachmentInputBuilder b) updates]) = + _$GCreateContentAttachmentInput; + + String get body; + String? get clientMutationId; + String get contentReferenceId; + String get title; + static Serializer get serializer => + _$gCreateContentAttachmentInputSerializer; + Map toJson() => (_i1.serializers.serializeWith( + GCreateContentAttachmentInput.serializer, this) as Map); + static GCreateContentAttachmentInput? fromJson(Map json) => + _i1.serializers + .deserializeWith(GCreateContentAttachmentInput.serializer, json); +} + +abstract class GCreateDeploymentInput + implements Built { + GCreateDeploymentInput._(); + + factory GCreateDeploymentInput( + [Function(GCreateDeploymentInputBuilder b) updates]) = + _$GCreateDeploymentInput; + + bool? get autoMerge; + String? get clientMutationId; + String? get description; + String? get environment; + String? get payload; + String get refId; + String get repositoryId; + BuiltList? get requiredContexts; + String? get task; + static Serializer get serializer => + _$gCreateDeploymentInputSerializer; + Map toJson() => + (_i1.serializers.serializeWith(GCreateDeploymentInput.serializer, this) + as Map); + static GCreateDeploymentInput? fromJson(Map json) => + _i1.serializers.deserializeWith(GCreateDeploymentInput.serializer, json); +} + +abstract class GCreateDeploymentStatusInput + implements + Built { + GCreateDeploymentStatusInput._(); + + factory GCreateDeploymentStatusInput( + [Function(GCreateDeploymentStatusInputBuilder b) updates]) = + _$GCreateDeploymentStatusInput; + + bool? get autoInactive; + String? get clientMutationId; + String get deploymentId; + String? get description; + String? get environment; + String? get environmentUrl; + String? get logUrl; + GDeploymentStatusState get state; + static Serializer get serializer => + _$gCreateDeploymentStatusInputSerializer; + Map toJson() => (_i1.serializers.serializeWith( + GCreateDeploymentStatusInput.serializer, this) as Map); + static GCreateDeploymentStatusInput? fromJson(Map json) => + _i1.serializers + .deserializeWith(GCreateDeploymentStatusInput.serializer, json); +} + abstract class GCreateDiscussionInput implements Built { GCreateDiscussionInput._(); @@ -1295,6 +1372,27 @@ abstract class GCreateIssueInput _i1.serializers.deserializeWith(GCreateIssueInput.serializer, json); } +abstract class GCreateLabelInput + implements Built { + GCreateLabelInput._(); + + factory GCreateLabelInput([Function(GCreateLabelInputBuilder b) updates]) = + _$GCreateLabelInput; + + String? get clientMutationId; + String get color; + String? get description; + String get name; + String get repositoryId; + static Serializer get serializer => + _$gCreateLabelInputSerializer; + Map toJson() => + (_i1.serializers.serializeWith(GCreateLabelInput.serializer, this) + as Map); + static GCreateLabelInput? fromJson(Map json) => + _i1.serializers.deserializeWith(GCreateLabelInput.serializer, json); +} + abstract class GCreateProjectInput implements Built { GCreateProjectInput._(); @@ -1655,6 +1753,44 @@ abstract class GDeleteIssueInput _i1.serializers.deserializeWith(GDeleteIssueInput.serializer, json); } +abstract class GDeleteLabelInput + implements Built { + GDeleteLabelInput._(); + + factory GDeleteLabelInput([Function(GDeleteLabelInputBuilder b) updates]) = + _$GDeleteLabelInput; + + String? get clientMutationId; + String get id; + static Serializer get serializer => + _$gDeleteLabelInputSerializer; + Map toJson() => + (_i1.serializers.serializeWith(GDeleteLabelInput.serializer, this) + as Map); + static GDeleteLabelInput? fromJson(Map json) => + _i1.serializers.deserializeWith(GDeleteLabelInput.serializer, json); +} + +abstract class GDeletePackageVersionInput + implements + Built { + GDeletePackageVersionInput._(); + + factory GDeletePackageVersionInput( + [Function(GDeletePackageVersionInputBuilder b) updates]) = + _$GDeletePackageVersionInput; + + String? get clientMutationId; + String get packageVersionId; + static Serializer get serializer => + _$gDeletePackageVersionInputSerializer; + Map toJson() => (_i1.serializers.serializeWith( + GDeletePackageVersionInput.serializer, this) as Map); + static GDeletePackageVersionInput? fromJson(Map json) => + _i1.serializers + .deserializeWith(GDeletePackageVersionInput.serializer, json); +} + abstract class GDeleteProjectCardInput implements Built { GDeleteProjectCardInput._(); @@ -2662,6 +2798,19 @@ class GGistPrivacy extends EnumClass { static GGistPrivacy valueOf(String name) => _$gGistPrivacyValueOf(name); } +abstract class GGitRefname implements Built { + GGitRefname._(); + + factory GGitRefname([String? value]) => + _$GGitRefname((b) => value != null ? (b..value = value) : b); + + String get value; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + _i2.DefaultScalarSerializer( + (Object serialized) => GGitRefname((serialized as String?))); +} + abstract class GGitSSHRemote implements Built { GGitSSHRemote._(); @@ -2774,6 +2923,28 @@ class GIdentityProviderConfigurationState extends EnumClass { _$gIdentityProviderConfigurationStateValueOf(name); } +abstract class GImportProjectInput + implements Built { + GImportProjectInput._(); + + factory GImportProjectInput( + [Function(GImportProjectInputBuilder b) updates]) = _$GImportProjectInput; + + String? get body; + String? get clientMutationId; + BuiltList get columnImports; + String get name; + String get ownerName; + bool? get public; + static Serializer get serializer => + _$gImportProjectInputSerializer; + Map toJson() => + (_i1.serializers.serializeWith(GImportProjectInput.serializer, this) + as Map); + static GImportProjectInput? fromJson(Map json) => + _i1.serializers.deserializeWith(GImportProjectInput.serializer, json); +} + abstract class GInviteEnterpriseAdminInput implements Built { @@ -2850,6 +3021,25 @@ class GIpAllowListEntryOrderField extends EnumClass { _$gIpAllowListEntryOrderFieldValueOf(name); } +class GIpAllowListForInstalledAppsEnabledSettingValue extends EnumClass { + const GIpAllowListForInstalledAppsEnabledSettingValue._(String name) + : super(name); + + static const GIpAllowListForInstalledAppsEnabledSettingValue DISABLED = + _$gIpAllowListForInstalledAppsEnabledSettingValueDISABLED; + + static const GIpAllowListForInstalledAppsEnabledSettingValue ENABLED = + _$gIpAllowListForInstalledAppsEnabledSettingValueENABLED; + + static Serializer + get serializer => + _$gIpAllowListForInstalledAppsEnabledSettingValueSerializer; + static BuiltSet get values => + _$gIpAllowListForInstalledAppsEnabledSettingValueValues; + static GIpAllowListForInstalledAppsEnabledSettingValue valueOf(String name) => + _$gIpAllowListForInstalledAppsEnabledSettingValueValueOf(name); +} + abstract class GIssueCommentOrder implements Built { GIssueCommentOrder._(); @@ -3278,6 +3468,32 @@ abstract class GMergePullRequestInput _i1.serializers.deserializeWith(GMergePullRequestInput.serializer, json); } +class GMergeStateStatus extends EnumClass { + const GMergeStateStatus._(String name) : super(name); + + static const GMergeStateStatus BEHIND = _$gMergeStateStatusBEHIND; + + static const GMergeStateStatus BLOCKED = _$gMergeStateStatusBLOCKED; + + static const GMergeStateStatus CLEAN = _$gMergeStateStatusCLEAN; + + static const GMergeStateStatus DIRTY = _$gMergeStateStatusDIRTY; + + static const GMergeStateStatus DRAFT = _$gMergeStateStatusDRAFT; + + static const GMergeStateStatus HAS_HOOKS = _$gMergeStateStatusHAS_HOOKS; + + static const GMergeStateStatus UNKNOWN = _$gMergeStateStatusUNKNOWN; + + static const GMergeStateStatus UNSTABLE = _$gMergeStateStatusUNSTABLE; + + static Serializer get serializer => + _$gMergeStateStatusSerializer; + static BuiltSet get values => _$gMergeStateStatusValues; + static GMergeStateStatus valueOf(String name) => + _$gMergeStateStatusValueOf(name); +} + class GMergeableState extends EnumClass { const GMergeableState._(String name) : super(name); @@ -4100,6 +4316,24 @@ class GProjectCardArchivedState extends EnumClass { _$gProjectCardArchivedStateValueOf(name); } +abstract class GProjectCardImport + implements Built { + GProjectCardImport._(); + + factory GProjectCardImport([Function(GProjectCardImportBuilder b) updates]) = + _$GProjectCardImport; + + int get number; + String get repository; + static Serializer get serializer => + _$gProjectCardImportSerializer; + Map toJson() => + (_i1.serializers.serializeWith(GProjectCardImport.serializer, this) + as Map); + static GProjectCardImport? fromJson(Map json) => + _i1.serializers.deserializeWith(GProjectCardImport.serializer, json); +} + class GProjectCardState extends EnumClass { const GProjectCardState._(String name) : super(name); @@ -4116,6 +4350,26 @@ class GProjectCardState extends EnumClass { _$gProjectCardStateValueOf(name); } +abstract class GProjectColumnImport + implements Built { + GProjectColumnImport._(); + + factory GProjectColumnImport( + [Function(GProjectColumnImportBuilder b) updates]) = + _$GProjectColumnImport; + + String get columnName; + BuiltList? get issues; + int get position; + static Serializer get serializer => + _$gProjectColumnImportSerializer; + Map toJson() => + (_i1.serializers.serializeWith(GProjectColumnImport.serializer, this) + as Map); + static GProjectColumnImport? fromJson(Map json) => + _i1.serializers.deserializeWith(GProjectColumnImport.serializer, json); +} + class GProjectColumnPurpose extends EnumClass { const GProjectColumnPurpose._(String name) : super(name); @@ -4634,6 +4888,23 @@ class GRefOrderField extends EnumClass { static GRefOrderField valueOf(String name) => _$gRefOrderFieldValueOf(name); } +abstract class GRefUpdate implements Built { + GRefUpdate._(); + + factory GRefUpdate([Function(GRefUpdateBuilder b) updates]) = _$GRefUpdate; + + String get afterOid; + String? get beforeOid; + bool? get force; + GGitRefname get name; + static Serializer get serializer => _$gRefUpdateSerializer; + Map toJson() => + (_i1.serializers.serializeWith(GRefUpdate.serializer, this) + as Map); + static GRefUpdate? fromJson(Map json) => + _i1.serializers.deserializeWith(GRefUpdate.serializer, json); +} + abstract class GRegenerateEnterpriseIdentityProviderRecoveryCodesInput implements Built get serializer => + _$gSponsorsActivityActionSerializer; + static BuiltSet get values => + _$gSponsorsActivityActionValues; + static GSponsorsActivityAction valueOf(String name) => + _$gSponsorsActivityActionValueOf(name); +} + +abstract class GSponsorsActivityOrder + implements Built { + GSponsorsActivityOrder._(); + + factory GSponsorsActivityOrder( + [Function(GSponsorsActivityOrderBuilder b) updates]) = + _$GSponsorsActivityOrder; + + GOrderDirection get direction; + GSponsorsActivityOrderField get field; + static Serializer get serializer => + _$gSponsorsActivityOrderSerializer; + Map toJson() => + (_i1.serializers.serializeWith(GSponsorsActivityOrder.serializer, this) + as Map); + static GSponsorsActivityOrder? fromJson(Map json) => + _i1.serializers.deserializeWith(GSponsorsActivityOrder.serializer, json); +} + +class GSponsorsActivityOrderField extends EnumClass { + const GSponsorsActivityOrderField._(String name) : super(name); + + static const GSponsorsActivityOrderField TIMESTAMP = + _$gSponsorsActivityOrderFieldTIMESTAMP; + + static Serializer get serializer => + _$gSponsorsActivityOrderFieldSerializer; + static BuiltSet get values => + _$gSponsorsActivityOrderFieldValues; + static GSponsorsActivityOrderField valueOf(String name) => + _$gSponsorsActivityOrderFieldValueOf(name); +} + +class GSponsorsActivityPeriod extends EnumClass { + const GSponsorsActivityPeriod._(String name) : super(name); + + static const GSponsorsActivityPeriod ALL = _$gSponsorsActivityPeriodALL; + + static const GSponsorsActivityPeriod DAY = _$gSponsorsActivityPeriodDAY; + + static const GSponsorsActivityPeriod MONTH = _$gSponsorsActivityPeriodMONTH; + + static const GSponsorsActivityPeriod WEEK = _$gSponsorsActivityPeriodWEEK; + + static Serializer get serializer => + _$gSponsorsActivityPeriodSerializer; + static BuiltSet get values => + _$gSponsorsActivityPeriodValues; + static GSponsorsActivityPeriod valueOf(String name) => + _$gSponsorsActivityPeriodValueOf(name); +} + class GSponsorsGoalKind extends EnumClass { const GSponsorsGoalKind._(String name) : super(name); @@ -6297,6 +6651,23 @@ class GTeamRepositoryOrderField extends EnumClass { _$gTeamRepositoryOrderFieldValueOf(name); } +class GTeamReviewAssignmentAlgorithm extends EnumClass { + const GTeamReviewAssignmentAlgorithm._(String name) : super(name); + + static const GTeamReviewAssignmentAlgorithm LOAD_BALANCE = + _$gTeamReviewAssignmentAlgorithmLOAD_BALANCE; + + static const GTeamReviewAssignmentAlgorithm ROUND_ROBIN = + _$gTeamReviewAssignmentAlgorithmROUND_ROBIN; + + static Serializer get serializer => + _$gTeamReviewAssignmentAlgorithmSerializer; + static BuiltSet get values => + _$gTeamReviewAssignmentAlgorithmValues; + static GTeamReviewAssignmentAlgorithm valueOf(String name) => + _$gTeamReviewAssignmentAlgorithmValueOf(name); +} + class GTeamRole extends EnumClass { const GTeamRole._(String name) : super(name); @@ -6580,6 +6951,7 @@ abstract class GUpdateBranchProtectionRuleInput bool? get requiresApprovingReviews; bool? get requiresCodeOwnerReviews; bool? get requiresCommitSignatures; + bool? get requiresConversationResolution; bool? get requiresLinearHistory; bool? get requiresStatusChecks; bool? get requiresStrictStatusChecks; @@ -7204,6 +7576,32 @@ abstract class GUpdateIpAllowListEntryInput .deserializeWith(GUpdateIpAllowListEntryInput.serializer, json); } +abstract class GUpdateIpAllowListForInstalledAppsEnabledSettingInput + implements + Built { + GUpdateIpAllowListForInstalledAppsEnabledSettingInput._(); + + factory GUpdateIpAllowListForInstalledAppsEnabledSettingInput( + [Function(GUpdateIpAllowListForInstalledAppsEnabledSettingInputBuilder b) + updates]) = _$GUpdateIpAllowListForInstalledAppsEnabledSettingInput; + + String? get clientMutationId; + String get ownerId; + GIpAllowListForInstalledAppsEnabledSettingValue get settingValue; + static Serializer + get serializer => + _$gUpdateIpAllowListForInstalledAppsEnabledSettingInputSerializer; + Map toJson() => (_i1.serializers.serializeWith( + GUpdateIpAllowListForInstalledAppsEnabledSettingInput.serializer, + this) as Map); + static GUpdateIpAllowListForInstalledAppsEnabledSettingInput? fromJson( + Map json) => + _i1.serializers.deserializeWith( + GUpdateIpAllowListForInstalledAppsEnabledSettingInput.serializer, + json); +} + abstract class GUpdateIssueCommentInput implements Built { @@ -7251,6 +7649,27 @@ abstract class GUpdateIssueInput _i1.serializers.deserializeWith(GUpdateIssueInput.serializer, json); } +abstract class GUpdateLabelInput + implements Built { + GUpdateLabelInput._(); + + factory GUpdateLabelInput([Function(GUpdateLabelInputBuilder b) updates]) = + _$GUpdateLabelInput; + + String? get clientMutationId; + String? get color; + String? get description; + String get id; + String? get name; + static Serializer get serializer => + _$gUpdateLabelInputSerializer; + Map toJson() => + (_i1.serializers.serializeWith(GUpdateLabelInput.serializer, this) + as Map); + static GUpdateLabelInput? fromJson(Map json) => + _i1.serializers.deserializeWith(GUpdateLabelInput.serializer, json); +} + abstract class GUpdateNotificationRestrictionSettingInput implements Built { + GUpdateRefsInput._(); + + factory GUpdateRefsInput([Function(GUpdateRefsInputBuilder b) updates]) = + _$GUpdateRefsInput; + + String? get clientMutationId; + BuiltList get refUpdates; + String get repositoryId; + static Serializer get serializer => + _$gUpdateRefsInputSerializer; + Map toJson() => + (_i1.serializers.serializeWith(GUpdateRefsInput.serializer, this) + as Map); + static GUpdateRefsInput? fromJson(Map json) => + _i1.serializers.deserializeWith(GUpdateRefsInput.serializer, json); +} + abstract class GUpdateRepositoryInput implements Built { GUpdateRepositoryInput._(); @@ -7531,6 +7969,34 @@ abstract class GUpdateTeamDiscussionInput .deserializeWith(GUpdateTeamDiscussionInput.serializer, json); } +abstract class GUpdateTeamReviewAssignmentInput + implements + Built { + GUpdateTeamReviewAssignmentInput._(); + + factory GUpdateTeamReviewAssignmentInput( + [Function(GUpdateTeamReviewAssignmentInputBuilder b) updates]) = + _$GUpdateTeamReviewAssignmentInput; + + GTeamReviewAssignmentAlgorithm? get algorithm; + String? get clientMutationId; + bool get enabled; + BuiltList? get excludedTeamMemberIds; + String get id; + bool? get notifyTeam; + int? get teamMemberCount; + static Serializer get serializer => + _$gUpdateTeamReviewAssignmentInputSerializer; + Map toJson() => (_i1.serializers + .serializeWith(GUpdateTeamReviewAssignmentInput.serializer, this) + as Map); + static GUpdateTeamReviewAssignmentInput? fromJson( + Map json) => + _i1.serializers + .deserializeWith(GUpdateTeamReviewAssignmentInput.serializer, json); +} + abstract class GUpdateTopicsInput implements Built { GUpdateTopicsInput._(); diff --git a/lib/graphql/schema.schema.gql.g.dart b/lib/graphql/schema.schema.gql.g.dart index b7ed7f6..2b6180a 100644 --- a/lib/graphql/schema.schema.gql.g.dart +++ b/lib/graphql/schema.schema.gql.g.dart @@ -1366,6 +1366,33 @@ final BuiltSet _$gIpAllowListEntryOrderFieldCREATED_AT, ]); +const GIpAllowListForInstalledAppsEnabledSettingValue + _$gIpAllowListForInstalledAppsEnabledSettingValueDISABLED = + const GIpAllowListForInstalledAppsEnabledSettingValue._('DISABLED'); +const GIpAllowListForInstalledAppsEnabledSettingValue + _$gIpAllowListForInstalledAppsEnabledSettingValueENABLED = + const GIpAllowListForInstalledAppsEnabledSettingValue._('ENABLED'); + +GIpAllowListForInstalledAppsEnabledSettingValue + _$gIpAllowListForInstalledAppsEnabledSettingValueValueOf(String name) { + switch (name) { + case 'DISABLED': + return _$gIpAllowListForInstalledAppsEnabledSettingValueDISABLED; + case 'ENABLED': + return _$gIpAllowListForInstalledAppsEnabledSettingValueENABLED; + default: + throw new ArgumentError(name); + } +} + +final BuiltSet + _$gIpAllowListForInstalledAppsEnabledSettingValueValues = + new BuiltSet(const < + GIpAllowListForInstalledAppsEnabledSettingValue>[ + _$gIpAllowListForInstalledAppsEnabledSettingValueDISABLED, + _$gIpAllowListForInstalledAppsEnabledSettingValueENABLED, +]); + const GIssueCommentOrderField _$gIssueCommentOrderFieldUPDATED_AT = const GIssueCommentOrderField._('UPDATED_AT'); @@ -1678,6 +1705,58 @@ final BuiltSet _$gLockReasonValues = _$gLockReasonTOO_HEATED, ]); +const GMergeStateStatus _$gMergeStateStatusBEHIND = + const GMergeStateStatus._('BEHIND'); +const GMergeStateStatus _$gMergeStateStatusBLOCKED = + const GMergeStateStatus._('BLOCKED'); +const GMergeStateStatus _$gMergeStateStatusCLEAN = + const GMergeStateStatus._('CLEAN'); +const GMergeStateStatus _$gMergeStateStatusDIRTY = + const GMergeStateStatus._('DIRTY'); +const GMergeStateStatus _$gMergeStateStatusDRAFT = + const GMergeStateStatus._('DRAFT'); +const GMergeStateStatus _$gMergeStateStatusHAS_HOOKS = + const GMergeStateStatus._('HAS_HOOKS'); +const GMergeStateStatus _$gMergeStateStatusUNKNOWN = + const GMergeStateStatus._('UNKNOWN'); +const GMergeStateStatus _$gMergeStateStatusUNSTABLE = + const GMergeStateStatus._('UNSTABLE'); + +GMergeStateStatus _$gMergeStateStatusValueOf(String name) { + switch (name) { + case 'BEHIND': + return _$gMergeStateStatusBEHIND; + case 'BLOCKED': + return _$gMergeStateStatusBLOCKED; + case 'CLEAN': + return _$gMergeStateStatusCLEAN; + case 'DIRTY': + return _$gMergeStateStatusDIRTY; + case 'DRAFT': + return _$gMergeStateStatusDRAFT; + case 'HAS_HOOKS': + return _$gMergeStateStatusHAS_HOOKS; + case 'UNKNOWN': + return _$gMergeStateStatusUNKNOWN; + case 'UNSTABLE': + return _$gMergeStateStatusUNSTABLE; + default: + throw new ArgumentError(name); + } +} + +final BuiltSet _$gMergeStateStatusValues = + new BuiltSet(const [ + _$gMergeStateStatusBEHIND, + _$gMergeStateStatusBLOCKED, + _$gMergeStateStatusCLEAN, + _$gMergeStateStatusDIRTY, + _$gMergeStateStatusDRAFT, + _$gMergeStateStatusHAS_HOOKS, + _$gMergeStateStatusUNKNOWN, + _$gMergeStateStatusUNSTABLE, +]); + const GMergeableState _$gMergeableStateCONFLICTING = const GMergeableState._('CONFLICTING'); const GMergeableState _$gMergeableStateMERGEABLE = @@ -4265,6 +4344,8 @@ const GSecurityAdvisoryEcosystem _$gSecurityAdvisoryEcosystemNPM = const GSecurityAdvisoryEcosystem._('NPM'); const GSecurityAdvisoryEcosystem _$gSecurityAdvisoryEcosystemNUGET = const GSecurityAdvisoryEcosystem._('NUGET'); +const GSecurityAdvisoryEcosystem _$gSecurityAdvisoryEcosystemOTHER = + const GSecurityAdvisoryEcosystem._('OTHER'); const GSecurityAdvisoryEcosystem _$gSecurityAdvisoryEcosystemPIP = const GSecurityAdvisoryEcosystem._('PIP'); const GSecurityAdvisoryEcosystem _$gSecurityAdvisoryEcosystemRUBYGEMS = @@ -4282,6 +4363,8 @@ GSecurityAdvisoryEcosystem _$gSecurityAdvisoryEcosystemValueOf(String name) { return _$gSecurityAdvisoryEcosystemNPM; case 'NUGET': return _$gSecurityAdvisoryEcosystemNUGET; + case 'OTHER': + return _$gSecurityAdvisoryEcosystemOTHER; case 'PIP': return _$gSecurityAdvisoryEcosystemPIP; case 'RUBYGEMS': @@ -4298,6 +4381,7 @@ final BuiltSet _$gSecurityAdvisoryEcosystemValues = _$gSecurityAdvisoryEcosystemMAVEN, _$gSecurityAdvisoryEcosystemNPM, _$gSecurityAdvisoryEcosystemNUGET, + _$gSecurityAdvisoryEcosystemOTHER, _$gSecurityAdvisoryEcosystemPIP, _$gSecurityAdvisoryEcosystemRUBYGEMS, ]); @@ -4420,6 +4504,98 @@ final BuiltSet _$gSponsorableOrderFieldValues = _$gSponsorableOrderFieldLOGIN, ]); +const GSponsorsActivityAction _$gSponsorsActivityActionCANCELLED_SPONSORSHIP = + const GSponsorsActivityAction._('CANCELLED_SPONSORSHIP'); +const GSponsorsActivityAction _$gSponsorsActivityActionNEW_SPONSORSHIP = + const GSponsorsActivityAction._('NEW_SPONSORSHIP'); +const GSponsorsActivityAction _$gSponsorsActivityActionPENDING_CHANGE = + const GSponsorsActivityAction._('PENDING_CHANGE'); +const GSponsorsActivityAction _$gSponsorsActivityActionREFUND = + const GSponsorsActivityAction._('REFUND'); +const GSponsorsActivityAction _$gSponsorsActivityActionSPONSOR_MATCH_DISABLED = + const GSponsorsActivityAction._('SPONSOR_MATCH_DISABLED'); +const GSponsorsActivityAction _$gSponsorsActivityActionTIER_CHANGE = + const GSponsorsActivityAction._('TIER_CHANGE'); + +GSponsorsActivityAction _$gSponsorsActivityActionValueOf(String name) { + switch (name) { + case 'CANCELLED_SPONSORSHIP': + return _$gSponsorsActivityActionCANCELLED_SPONSORSHIP; + case 'NEW_SPONSORSHIP': + return _$gSponsorsActivityActionNEW_SPONSORSHIP; + case 'PENDING_CHANGE': + return _$gSponsorsActivityActionPENDING_CHANGE; + case 'REFUND': + return _$gSponsorsActivityActionREFUND; + case 'SPONSOR_MATCH_DISABLED': + return _$gSponsorsActivityActionSPONSOR_MATCH_DISABLED; + case 'TIER_CHANGE': + return _$gSponsorsActivityActionTIER_CHANGE; + default: + throw new ArgumentError(name); + } +} + +final BuiltSet _$gSponsorsActivityActionValues = + new BuiltSet(const [ + _$gSponsorsActivityActionCANCELLED_SPONSORSHIP, + _$gSponsorsActivityActionNEW_SPONSORSHIP, + _$gSponsorsActivityActionPENDING_CHANGE, + _$gSponsorsActivityActionREFUND, + _$gSponsorsActivityActionSPONSOR_MATCH_DISABLED, + _$gSponsorsActivityActionTIER_CHANGE, +]); + +const GSponsorsActivityOrderField _$gSponsorsActivityOrderFieldTIMESTAMP = + const GSponsorsActivityOrderField._('TIMESTAMP'); + +GSponsorsActivityOrderField _$gSponsorsActivityOrderFieldValueOf(String name) { + switch (name) { + case 'TIMESTAMP': + return _$gSponsorsActivityOrderFieldTIMESTAMP; + default: + throw new ArgumentError(name); + } +} + +final BuiltSet + _$gSponsorsActivityOrderFieldValues = new BuiltSet< + GSponsorsActivityOrderField>(const [ + _$gSponsorsActivityOrderFieldTIMESTAMP, +]); + +const GSponsorsActivityPeriod _$gSponsorsActivityPeriodALL = + const GSponsorsActivityPeriod._('ALL'); +const GSponsorsActivityPeriod _$gSponsorsActivityPeriodDAY = + const GSponsorsActivityPeriod._('DAY'); +const GSponsorsActivityPeriod _$gSponsorsActivityPeriodMONTH = + const GSponsorsActivityPeriod._('MONTH'); +const GSponsorsActivityPeriod _$gSponsorsActivityPeriodWEEK = + const GSponsorsActivityPeriod._('WEEK'); + +GSponsorsActivityPeriod _$gSponsorsActivityPeriodValueOf(String name) { + switch (name) { + case 'ALL': + return _$gSponsorsActivityPeriodALL; + case 'DAY': + return _$gSponsorsActivityPeriodDAY; + case 'MONTH': + return _$gSponsorsActivityPeriodMONTH; + case 'WEEK': + return _$gSponsorsActivityPeriodWEEK; + default: + throw new ArgumentError(name); + } +} + +final BuiltSet _$gSponsorsActivityPeriodValues = + new BuiltSet(const [ + _$gSponsorsActivityPeriodALL, + _$gSponsorsActivityPeriodDAY, + _$gSponsorsActivityPeriodMONTH, + _$gSponsorsActivityPeriodWEEK, +]); + const GSponsorsGoalKind _$gSponsorsGoalKindMONTHLY_SPONSORSHIP_AMOUNT = const GSponsorsGoalKind._('MONTHLY_SPONSORSHIP_AMOUNT'); const GSponsorsGoalKind _$gSponsorsGoalKindTOTAL_SPONSORS_COUNT = @@ -4766,6 +4942,32 @@ final BuiltSet _$gTeamRepositoryOrderFieldValues = _$gTeamRepositoryOrderFieldUPDATED_AT, ]); +const GTeamReviewAssignmentAlgorithm + _$gTeamReviewAssignmentAlgorithmLOAD_BALANCE = + const GTeamReviewAssignmentAlgorithm._('LOAD_BALANCE'); +const GTeamReviewAssignmentAlgorithm + _$gTeamReviewAssignmentAlgorithmROUND_ROBIN = + const GTeamReviewAssignmentAlgorithm._('ROUND_ROBIN'); + +GTeamReviewAssignmentAlgorithm _$gTeamReviewAssignmentAlgorithmValueOf( + String name) { + switch (name) { + case 'LOAD_BALANCE': + return _$gTeamReviewAssignmentAlgorithmLOAD_BALANCE; + case 'ROUND_ROBIN': + return _$gTeamReviewAssignmentAlgorithmROUND_ROBIN; + default: + throw new ArgumentError(name); + } +} + +final BuiltSet + _$gTeamReviewAssignmentAlgorithmValues = new BuiltSet< + GTeamReviewAssignmentAlgorithm>(const [ + _$gTeamReviewAssignmentAlgorithmLOAD_BALANCE, + _$gTeamReviewAssignmentAlgorithmROUND_ROBIN, +]); + const GTeamRole _$gTeamRoleADMIN = const GTeamRole._('ADMIN'); const GTeamRole _$gTeamRoleMEMBER = const GTeamRole._('MEMBER'); @@ -5021,6 +5223,14 @@ Serializer _$gCreateCheckRunInputSerializer = new _$GCreateCheckRunInputSerializer(); Serializer _$gCreateCheckSuiteInputSerializer = new _$GCreateCheckSuiteInputSerializer(); +Serializer + _$gCreateContentAttachmentInputSerializer = + new _$GCreateContentAttachmentInputSerializer(); +Serializer _$gCreateDeploymentInputSerializer = + new _$GCreateDeploymentInputSerializer(); +Serializer + _$gCreateDeploymentStatusInputSerializer = + new _$GCreateDeploymentStatusInputSerializer(); Serializer _$gCreateDiscussionInputSerializer = new _$GCreateDiscussionInputSerializer(); Serializer @@ -5033,6 +5243,8 @@ Serializer new _$GCreateIpAllowListEntryInputSerializer(); Serializer _$gCreateIssueInputSerializer = new _$GCreateIssueInputSerializer(); +Serializer _$gCreateLabelInputSerializer = + new _$GCreateLabelInputSerializer(); Serializer _$gCreateProjectInputSerializer = new _$GCreateProjectInputSerializer(); Serializer _$gCreatePullRequestInputSerializer = @@ -5071,6 +5283,10 @@ Serializer _$gDeleteIssueCommentInputSerializer = new _$GDeleteIssueCommentInputSerializer(); Serializer _$gDeleteIssueInputSerializer = new _$GDeleteIssueInputSerializer(); +Serializer _$gDeleteLabelInputSerializer = + new _$GDeleteLabelInputSerializer(); +Serializer _$gDeletePackageVersionInputSerializer = + new _$GDeletePackageVersionInputSerializer(); Serializer _$gDeleteProjectCardInputSerializer = new _$GDeleteProjectCardInputSerializer(); Serializer _$gDeleteProjectColumnInputSerializer = @@ -5203,6 +5419,8 @@ Serializer _$gGitSignatureStateSerializer = Serializer _$gIdentityProviderConfigurationStateSerializer = new _$GIdentityProviderConfigurationStateSerializer(); +Serializer _$gImportProjectInputSerializer = + new _$GImportProjectInputSerializer(); Serializer _$gInviteEnterpriseAdminInputSerializer = new _$GInviteEnterpriseAdminInputSerializer(); @@ -5214,6 +5432,9 @@ Serializer _$gIpAllowListEntryOrderSerializer = Serializer _$gIpAllowListEntryOrderFieldSerializer = new _$GIpAllowListEntryOrderFieldSerializer(); +Serializer + _$gIpAllowListForInstalledAppsEnabledSettingValueSerializer = + new _$GIpAllowListForInstalledAppsEnabledSettingValueSerializer(); Serializer _$gIssueCommentOrderSerializer = new _$GIssueCommentOrderSerializer(); Serializer _$gIssueCommentOrderFieldSerializer = @@ -5252,6 +5473,8 @@ Serializer _$gMergeBranchInputSerializer = new _$GMergeBranchInputSerializer(); Serializer _$gMergePullRequestInputSerializer = new _$GMergePullRequestInputSerializer(); +Serializer _$gMergeStateStatusSerializer = + new _$GMergeStateStatusSerializer(); Serializer _$gMergeableStateSerializer = new _$GMergeableStateSerializer(); Serializer _$gMilestoneOrderSerializer = @@ -5345,8 +5568,12 @@ Serializer _$gPinnedDiscussionPatternSerializer = new _$GPinnedDiscussionPatternSerializer(); Serializer _$gProjectCardArchivedStateSerializer = new _$GProjectCardArchivedStateSerializer(); +Serializer _$gProjectCardImportSerializer = + new _$GProjectCardImportSerializer(); Serializer _$gProjectCardStateSerializer = new _$GProjectCardStateSerializer(); +Serializer _$gProjectColumnImportSerializer = + new _$GProjectColumnImportSerializer(); Serializer _$gProjectColumnPurposeSerializer = new _$GProjectColumnPurposeSerializer(); Serializer _$gProjectOrderSerializer = @@ -5388,6 +5615,7 @@ Serializer _$gReactionOrderFieldSerializer = Serializer _$gRefOrderSerializer = new _$GRefOrderSerializer(); Serializer _$gRefOrderFieldSerializer = new _$GRefOrderFieldSerializer(); +Serializer _$gRefUpdateSerializer = new _$GRefUpdateSerializer(); Serializer _$gRegenerateEnterpriseIdentityProviderRecoveryCodesInputSerializer = new _$GRegenerateEnterpriseIdentityProviderRecoveryCodesInputSerializer(); @@ -5541,6 +5769,15 @@ Serializer _$gSponsorableOrderSerializer = new _$GSponsorableOrderSerializer(); Serializer _$gSponsorableOrderFieldSerializer = new _$GSponsorableOrderFieldSerializer(); +Serializer _$gSponsorsActivityActionSerializer = + new _$GSponsorsActivityActionSerializer(); +Serializer _$gSponsorsActivityOrderSerializer = + new _$GSponsorsActivityOrderSerializer(); +Serializer + _$gSponsorsActivityOrderFieldSerializer = + new _$GSponsorsActivityOrderFieldSerializer(); +Serializer _$gSponsorsActivityPeriodSerializer = + new _$GSponsorsActivityPeriodSerializer(); Serializer _$gSponsorsGoalKindSerializer = new _$GSponsorsGoalKindSerializer(); Serializer _$gSponsorsTierOrderSerializer = @@ -5590,6 +5827,9 @@ Serializer _$gTeamRepositoryOrderSerializer = new _$GTeamRepositoryOrderSerializer(); Serializer _$gTeamRepositoryOrderFieldSerializer = new _$GTeamRepositoryOrderFieldSerializer(); +Serializer + _$gTeamReviewAssignmentAlgorithmSerializer = + new _$GTeamReviewAssignmentAlgorithmSerializer(); Serializer _$gTeamRoleSerializer = new _$GTeamRoleSerializer(); Serializer _$gTopicSuggestionDeclineReasonSerializer = @@ -5689,10 +5929,15 @@ Serializer Serializer _$gUpdateIpAllowListEntryInputSerializer = new _$GUpdateIpAllowListEntryInputSerializer(); +Serializer + _$gUpdateIpAllowListForInstalledAppsEnabledSettingInputSerializer = + new _$GUpdateIpAllowListForInstalledAppsEnabledSettingInputSerializer(); Serializer _$gUpdateIssueCommentInputSerializer = new _$GUpdateIssueCommentInputSerializer(); Serializer _$gUpdateIssueInputSerializer = new _$GUpdateIssueInputSerializer(); +Serializer _$gUpdateLabelInputSerializer = + new _$GUpdateLabelInputSerializer(); Serializer _$gUpdateNotificationRestrictionSettingInputSerializer = new _$GUpdateNotificationRestrictionSettingInputSerializer(); @@ -5712,6 +5957,8 @@ Serializer new _$GUpdatePullRequestReviewInputSerializer(); Serializer _$gUpdateRefInputSerializer = new _$GUpdateRefInputSerializer(); +Serializer _$gUpdateRefsInputSerializer = + new _$GUpdateRefsInputSerializer(); Serializer _$gUpdateRepositoryInputSerializer = new _$GUpdateRepositoryInputSerializer(); Serializer _$gUpdateSubscriptionInputSerializer = @@ -5721,6 +5968,9 @@ Serializer new _$GUpdateTeamDiscussionCommentInputSerializer(); Serializer _$gUpdateTeamDiscussionInputSerializer = new _$GUpdateTeamDiscussionInputSerializer(); +Serializer + _$gUpdateTeamReviewAssignmentInputSerializer = + new _$GUpdateTeamReviewAssignmentInputSerializer(); Serializer _$gUpdateTopicsInputSerializer = new _$GUpdateTopicsInputSerializer(); Serializer _$gUserBlockDurationSerializer = @@ -8837,6 +9087,13 @@ class _$GCreateBranchProtectionRuleInputSerializer ..add( serializers.serialize(value, specifiedType: const FullType(bool))); } + value = object.requiresConversationResolution; + if (value != null) { + result + ..add('requiresConversationResolution') + ..add( + serializers.serialize(value, specifiedType: const FullType(bool))); + } value = object.requiresLinearHistory; if (value != null) { result @@ -8952,6 +9209,10 @@ class _$GCreateBranchProtectionRuleInputSerializer result.requiresCommitSignatures = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; break; + case 'requiresConversationResolution': + result.requiresConversationResolution = serializers.deserialize(value, + specifiedType: const FullType(bool)) as bool?; + break; case 'requiresLinearHistory': result.requiresLinearHistory = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; @@ -9213,6 +9474,329 @@ class _$GCreateCheckSuiteInputSerializer } } +class _$GCreateContentAttachmentInputSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + GCreateContentAttachmentInput, + _$GCreateContentAttachmentInput + ]; + @override + final String wireName = 'GCreateContentAttachmentInput'; + + @override + Iterable serialize( + Serializers serializers, GCreateContentAttachmentInput object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'body', + serializers.serialize(object.body, specifiedType: const FullType(String)), + 'contentReferenceId', + serializers.serialize(object.contentReferenceId, + specifiedType: const FullType(String)), + 'title', + serializers.serialize(object.title, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.clientMutationId; + if (value != null) { + result + ..add('clientMutationId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GCreateContentAttachmentInput deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GCreateContentAttachmentInputBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'body': + result.body = serializers.deserialize(value, + specifiedType: const FullType(String)) as String; + break; + case 'clientMutationId': + result.clientMutationId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'contentReferenceId': + result.contentReferenceId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String; + break; + case 'title': + result.title = serializers.deserialize(value, + specifiedType: const FullType(String)) as String; + break; + } + } + + return result.build(); + } +} + +class _$GCreateDeploymentInputSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + GCreateDeploymentInput, + _$GCreateDeploymentInput + ]; + @override + final String wireName = 'GCreateDeploymentInput'; + + @override + Iterable serialize( + Serializers serializers, GCreateDeploymentInput object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'refId', + serializers.serialize(object.refId, + specifiedType: const FullType(String)), + 'repositoryId', + serializers.serialize(object.repositoryId, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.autoMerge; + if (value != null) { + result + ..add('autoMerge') + ..add( + serializers.serialize(value, specifiedType: const FullType(bool))); + } + value = object.clientMutationId; + if (value != null) { + result + ..add('clientMutationId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.description; + if (value != null) { + result + ..add('description') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.environment; + if (value != null) { + result + ..add('environment') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.payload; + if (value != null) { + result + ..add('payload') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.requiredContexts; + if (value != null) { + result + ..add('requiredContexts') + ..add(serializers.serialize(value, + specifiedType: + const FullType(BuiltList, const [const FullType(String)]))); + } + value = object.task; + if (value != null) { + result + ..add('task') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GCreateDeploymentInput deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GCreateDeploymentInputBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'autoMerge': + result.autoMerge = serializers.deserialize(value, + specifiedType: const FullType(bool)) as bool?; + break; + case 'clientMutationId': + result.clientMutationId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'description': + result.description = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'environment': + result.environment = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'payload': + result.payload = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'refId': + result.refId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String; + break; + case 'repositoryId': + result.repositoryId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String; + break; + case 'requiredContexts': + result.requiredContexts.replace(serializers.deserialize(value, + specifiedType: const FullType( + BuiltList, const [const FullType(String)]))! + as BuiltList); + break; + case 'task': + result.task = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$GCreateDeploymentStatusInputSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + GCreateDeploymentStatusInput, + _$GCreateDeploymentStatusInput + ]; + @override + final String wireName = 'GCreateDeploymentStatusInput'; + + @override + Iterable serialize( + Serializers serializers, GCreateDeploymentStatusInput object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'deploymentId', + serializers.serialize(object.deploymentId, + specifiedType: const FullType(String)), + 'state', + serializers.serialize(object.state, + specifiedType: const FullType(GDeploymentStatusState)), + ]; + Object? value; + value = object.autoInactive; + if (value != null) { + result + ..add('autoInactive') + ..add( + serializers.serialize(value, specifiedType: const FullType(bool))); + } + value = object.clientMutationId; + if (value != null) { + result + ..add('clientMutationId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.description; + if (value != null) { + result + ..add('description') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.environment; + if (value != null) { + result + ..add('environment') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.environmentUrl; + if (value != null) { + result + ..add('environmentUrl') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.logUrl; + if (value != null) { + result + ..add('logUrl') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GCreateDeploymentStatusInput deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GCreateDeploymentStatusInputBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'autoInactive': + result.autoInactive = serializers.deserialize(value, + specifiedType: const FullType(bool)) as bool?; + break; + case 'clientMutationId': + result.clientMutationId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'deploymentId': + result.deploymentId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String; + break; + case 'description': + result.description = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'environment': + result.environment = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'environmentUrl': + result.environmentUrl = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'logUrl': + result.logUrl = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'state': + result.state = serializers.deserialize(value, + specifiedType: const FullType(GDeploymentStatusState)) + as GDeploymentStatusState; + break; + } + } + + return result.build(); + } +} + class _$GCreateDiscussionInputSerializer implements StructuredSerializer { @override @@ -9658,6 +10242,83 @@ class _$GCreateIssueInputSerializer } } +class _$GCreateLabelInputSerializer + implements StructuredSerializer { + @override + final Iterable types = const [GCreateLabelInput, _$GCreateLabelInput]; + @override + final String wireName = 'GCreateLabelInput'; + + @override + Iterable serialize(Serializers serializers, GCreateLabelInput object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'color', + serializers.serialize(object.color, + specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'repositoryId', + serializers.serialize(object.repositoryId, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.clientMutationId; + if (value != null) { + result + ..add('clientMutationId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.description; + if (value != null) { + result + ..add('description') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GCreateLabelInput deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GCreateLabelInputBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'clientMutationId': + result.clientMutationId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'color': + result.color = serializers.deserialize(value, + specifiedType: const FullType(String)) as String; + break; + case 'description': + result.description = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String)) as String; + break; + case 'repositoryId': + result.repositoryId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String; + break; + } + } + + return result.build(); + } +} + class _$GCreateProjectInputSerializer implements StructuredSerializer { @override @@ -10757,6 +11418,115 @@ class _$GDeleteIssueInputSerializer } } +class _$GDeleteLabelInputSerializer + implements StructuredSerializer { + @override + final Iterable types = const [GDeleteLabelInput, _$GDeleteLabelInput]; + @override + final String wireName = 'GDeleteLabelInput'; + + @override + Iterable serialize(Serializers serializers, GDeleteLabelInput object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.clientMutationId; + if (value != null) { + result + ..add('clientMutationId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GDeleteLabelInput deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GDeleteLabelInputBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'clientMutationId': + result.clientMutationId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String)) as String; + break; + } + } + + return result.build(); + } +} + +class _$GDeletePackageVersionInputSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + GDeletePackageVersionInput, + _$GDeletePackageVersionInput + ]; + @override + final String wireName = 'GDeletePackageVersionInput'; + + @override + Iterable serialize( + Serializers serializers, GDeletePackageVersionInput object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'packageVersionId', + serializers.serialize(object.packageVersionId, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.clientMutationId; + if (value != null) { + result + ..add('clientMutationId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GDeletePackageVersionInput deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GDeletePackageVersionInputBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'clientMutationId': + result.clientMutationId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'packageVersionId': + result.packageVersionId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String; + break; + } + } + + return result.build(); + } +} + class _$GDeleteProjectCardInputSerializer implements StructuredSerializer { @override @@ -12748,6 +13518,101 @@ class _$GIdentityProviderConfigurationStateSerializer GIdentityProviderConfigurationState.valueOf(serialized as String); } +class _$GImportProjectInputSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + GImportProjectInput, + _$GImportProjectInput + ]; + @override + final String wireName = 'GImportProjectInput'; + + @override + Iterable serialize( + Serializers serializers, GImportProjectInput object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'columnImports', + serializers.serialize(object.columnImports, + specifiedType: const FullType( + BuiltList, const [const FullType(GProjectColumnImport)])), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'ownerName', + serializers.serialize(object.ownerName, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.body; + if (value != null) { + result + ..add('body') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.clientMutationId; + if (value != null) { + result + ..add('clientMutationId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.public; + if (value != null) { + result + ..add('public') + ..add( + serializers.serialize(value, specifiedType: const FullType(bool))); + } + return result; + } + + @override + GImportProjectInput deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GImportProjectInputBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'body': + result.body = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'clientMutationId': + result.clientMutationId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'columnImports': + result.columnImports.replace(serializers.deserialize(value, + specifiedType: const FullType( + BuiltList, const [const FullType(GProjectColumnImport)]))! + as BuiltList); + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String)) as String; + break; + case 'ownerName': + result.ownerName = serializers.deserialize(value, + specifiedType: const FullType(String)) as String; + break; + case 'public': + result.public = serializers.deserialize(value, + specifiedType: const FullType(bool)) as bool?; + break; + } + } + + return result.build(); + } +} + class _$GInviteEnterpriseAdminInputSerializer implements StructuredSerializer { @override @@ -12933,6 +13798,30 @@ class _$GIpAllowListEntryOrderFieldSerializer GIpAllowListEntryOrderField.valueOf(serialized as String); } +class _$GIpAllowListForInstalledAppsEnabledSettingValueSerializer + implements + PrimitiveSerializer { + @override + final Iterable types = const [ + GIpAllowListForInstalledAppsEnabledSettingValue + ]; + @override + final String wireName = 'GIpAllowListForInstalledAppsEnabledSettingValue'; + + @override + Object serialize(Serializers serializers, + GIpAllowListForInstalledAppsEnabledSettingValue object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + GIpAllowListForInstalledAppsEnabledSettingValue deserialize( + Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + GIpAllowListForInstalledAppsEnabledSettingValue.valueOf( + serialized as String); +} + class _$GIssueCommentOrderSerializer implements StructuredSerializer { @override @@ -13892,6 +14781,24 @@ class _$GMergePullRequestInputSerializer } } +class _$GMergeStateStatusSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [GMergeStateStatus]; + @override + final String wireName = 'GMergeStateStatus'; + + @override + Object serialize(Serializers serializers, GMergeStateStatus object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + GMergeStateStatus deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + GMergeStateStatus.valueOf(serialized as String); +} + class _$GMergeableStateSerializer implements PrimitiveSerializer { @override @@ -15046,6 +15953,55 @@ class _$GProjectCardArchivedStateSerializer GProjectCardArchivedState.valueOf(serialized as String); } +class _$GProjectCardImportSerializer + implements StructuredSerializer { + @override + final Iterable types = const [GProjectCardImport, _$GProjectCardImport]; + @override + final String wireName = 'GProjectCardImport'; + + @override + Iterable serialize( + Serializers serializers, GProjectCardImport object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'number', + serializers.serialize(object.number, specifiedType: const FullType(int)), + 'repository', + serializers.serialize(object.repository, + specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + GProjectCardImport deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GProjectCardImportBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'number': + result.number = serializers.deserialize(value, + specifiedType: const FullType(int)) as int; + break; + case 'repository': + result.repository = serializers.deserialize(value, + specifiedType: const FullType(String)) as String; + break; + } + } + + return result.build(); + } +} + class _$GProjectCardStateSerializer implements PrimitiveSerializer { @override @@ -15064,6 +16020,73 @@ class _$GProjectCardStateSerializer GProjectCardState.valueOf(serialized as String); } +class _$GProjectColumnImportSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + GProjectColumnImport, + _$GProjectColumnImport + ]; + @override + final String wireName = 'GProjectColumnImport'; + + @override + Iterable serialize( + Serializers serializers, GProjectColumnImport object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'columnName', + serializers.serialize(object.columnName, + specifiedType: const FullType(String)), + 'position', + serializers.serialize(object.position, + specifiedType: const FullType(int)), + ]; + Object? value; + value = object.issues; + if (value != null) { + result + ..add('issues') + ..add(serializers.serialize(value, + specifiedType: const FullType( + BuiltList, const [const FullType(GProjectCardImport)]))); + } + return result; + } + + @override + GProjectColumnImport deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GProjectColumnImportBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'columnName': + result.columnName = serializers.deserialize(value, + specifiedType: const FullType(String)) as String; + break; + case 'issues': + result.issues.replace(serializers.deserialize(value, + specifiedType: const FullType( + BuiltList, const [const FullType(GProjectCardImport)]))! + as BuiltList); + break; + case 'position': + result.position = serializers.deserialize(value, + specifiedType: const FullType(int)) as int; + break; + } + } + + return result.build(); + } +} + class _$GProjectColumnPurposeSerializer implements PrimitiveSerializer { @override @@ -15560,6 +16583,75 @@ class _$GRefOrderFieldSerializer GRefOrderField.valueOf(serialized as String); } +class _$GRefUpdateSerializer implements StructuredSerializer { + @override + final Iterable types = const [GRefUpdate, _$GRefUpdate]; + @override + final String wireName = 'GRefUpdate'; + + @override + Iterable serialize(Serializers serializers, GRefUpdate object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'afterOid', + serializers.serialize(object.afterOid, + specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, + specifiedType: const FullType(GGitRefname)), + ]; + Object? value; + value = object.beforeOid; + if (value != null) { + result + ..add('beforeOid') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.force; + if (value != null) { + result + ..add('force') + ..add( + serializers.serialize(value, specifiedType: const FullType(bool))); + } + return result; + } + + @override + GRefUpdate deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GRefUpdateBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'afterOid': + result.afterOid = serializers.deserialize(value, + specifiedType: const FullType(String)) as String; + break; + case 'beforeOid': + result.beforeOid = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'force': + result.force = serializers.deserialize(value, + specifiedType: const FullType(bool)) as bool?; + break; + case 'name': + result.name.replace(serializers.deserialize(value, + specifiedType: const FullType(GGitRefname))! as GGitRefname); + break; + } + } + + return result.build(); + } +} + class _$GRegenerateEnterpriseIdentityProviderRecoveryCodesInputSerializer implements StructuredSerializer< @@ -18051,6 +19143,118 @@ class _$GSponsorableOrderFieldSerializer GSponsorableOrderField.valueOf(serialized as String); } +class _$GSponsorsActivityActionSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [GSponsorsActivityAction]; + @override + final String wireName = 'GSponsorsActivityAction'; + + @override + Object serialize(Serializers serializers, GSponsorsActivityAction object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + GSponsorsActivityAction deserialize( + Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + GSponsorsActivityAction.valueOf(serialized as String); +} + +class _$GSponsorsActivityOrderSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + GSponsorsActivityOrder, + _$GSponsorsActivityOrder + ]; + @override + final String wireName = 'GSponsorsActivityOrder'; + + @override + Iterable serialize( + Serializers serializers, GSponsorsActivityOrder object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'direction', + serializers.serialize(object.direction, + specifiedType: const FullType(GOrderDirection)), + 'field', + serializers.serialize(object.field, + specifiedType: const FullType(GSponsorsActivityOrderField)), + ]; + + return result; + } + + @override + GSponsorsActivityOrder deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GSponsorsActivityOrderBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'direction': + result.direction = serializers.deserialize(value, + specifiedType: const FullType(GOrderDirection)) + as GOrderDirection; + break; + case 'field': + result.field = serializers.deserialize(value, + specifiedType: const FullType(GSponsorsActivityOrderField)) + as GSponsorsActivityOrderField; + break; + } + } + + return result.build(); + } +} + +class _$GSponsorsActivityOrderFieldSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [GSponsorsActivityOrderField]; + @override + final String wireName = 'GSponsorsActivityOrderField'; + + @override + Object serialize(Serializers serializers, GSponsorsActivityOrderField object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + GSponsorsActivityOrderField deserialize( + Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + GSponsorsActivityOrderField.valueOf(serialized as String); +} + +class _$GSponsorsActivityPeriodSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [GSponsorsActivityPeriod]; + @override + final String wireName = 'GSponsorsActivityPeriod'; + + @override + Object serialize(Serializers serializers, GSponsorsActivityPeriod object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + GSponsorsActivityPeriod deserialize( + Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + GSponsorsActivityPeriod.valueOf(serialized as String); +} + class _$GSponsorsGoalKindSerializer implements PrimitiveSerializer { @override @@ -18833,6 +20037,26 @@ class _$GTeamRepositoryOrderFieldSerializer GTeamRepositoryOrderField.valueOf(serialized as String); } +class _$GTeamReviewAssignmentAlgorithmSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [GTeamReviewAssignmentAlgorithm]; + @override + final String wireName = 'GTeamReviewAssignmentAlgorithm'; + + @override + Object serialize( + Serializers serializers, GTeamReviewAssignmentAlgorithm object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + GTeamReviewAssignmentAlgorithm deserialize( + Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + GTeamReviewAssignmentAlgorithm.valueOf(serialized as String); +} + class _$GTeamRoleSerializer implements PrimitiveSerializer { @override final Iterable types = const [GTeamRole]; @@ -19621,6 +20845,13 @@ class _$GUpdateBranchProtectionRuleInputSerializer ..add( serializers.serialize(value, specifiedType: const FullType(bool))); } + value = object.requiresConversationResolution; + if (value != null) { + result + ..add('requiresConversationResolution') + ..add( + serializers.serialize(value, specifiedType: const FullType(bool))); + } value = object.requiresLinearHistory; if (value != null) { result @@ -19736,6 +20967,10 @@ class _$GUpdateBranchProtectionRuleInputSerializer result.requiresCommitSignatures = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; break; + case 'requiresConversationResolution': + result.requiresConversationResolution = serializers.deserialize(value, + specifiedType: const FullType(bool)) as bool?; + break; case 'requiresLinearHistory': result.requiresLinearHistory = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; @@ -21592,6 +22827,77 @@ class _$GUpdateIpAllowListEntryInputSerializer } } +class _$GUpdateIpAllowListForInstalledAppsEnabledSettingInputSerializer + implements + StructuredSerializer< + GUpdateIpAllowListForInstalledAppsEnabledSettingInput> { + @override + final Iterable types = const [ + GUpdateIpAllowListForInstalledAppsEnabledSettingInput, + _$GUpdateIpAllowListForInstalledAppsEnabledSettingInput + ]; + @override + final String wireName = + 'GUpdateIpAllowListForInstalledAppsEnabledSettingInput'; + + @override + Iterable serialize(Serializers serializers, + GUpdateIpAllowListForInstalledAppsEnabledSettingInput object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ownerId', + serializers.serialize(object.ownerId, + specifiedType: const FullType(String)), + 'settingValue', + serializers.serialize(object.settingValue, + specifiedType: + const FullType(GIpAllowListForInstalledAppsEnabledSettingValue)), + ]; + Object? value; + value = object.clientMutationId; + if (value != null) { + result + ..add('clientMutationId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GUpdateIpAllowListForInstalledAppsEnabledSettingInput deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = + new GUpdateIpAllowListForInstalledAppsEnabledSettingInputBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'clientMutationId': + result.clientMutationId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'ownerId': + result.ownerId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String; + break; + case 'settingValue': + result.settingValue = serializers.deserialize(value, + specifiedType: const FullType( + GIpAllowListForInstalledAppsEnabledSettingValue)) + as GIpAllowListForInstalledAppsEnabledSettingValue; + break; + } + } + + return result.build(); + } +} + class _$GUpdateIssueCommentInputSerializer implements StructuredSerializer { @override @@ -21792,6 +23098,91 @@ class _$GUpdateIssueInputSerializer } } +class _$GUpdateLabelInputSerializer + implements StructuredSerializer { + @override + final Iterable types = const [GUpdateLabelInput, _$GUpdateLabelInput]; + @override + final String wireName = 'GUpdateLabelInput'; + + @override + Iterable serialize(Serializers serializers, GUpdateLabelInput object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.clientMutationId; + if (value != null) { + result + ..add('clientMutationId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.color; + if (value != null) { + result + ..add('color') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.description; + if (value != null) { + result + ..add('description') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.name; + if (value != null) { + result + ..add('name') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GUpdateLabelInput deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GUpdateLabelInputBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'clientMutationId': + result.clientMutationId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'color': + result.color = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'description': + result.description = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String)) as String; + break; + case 'name': + result.name = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + class _$GUpdateNotificationRestrictionSettingInputSerializer implements StructuredSerializer { @@ -22464,6 +23855,69 @@ class _$GUpdateRefInputSerializer } } +class _$GUpdateRefsInputSerializer + implements StructuredSerializer { + @override + final Iterable types = const [GUpdateRefsInput, _$GUpdateRefsInput]; + @override + final String wireName = 'GUpdateRefsInput'; + + @override + Iterable serialize(Serializers serializers, GUpdateRefsInput object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'refUpdates', + serializers.serialize(object.refUpdates, + specifiedType: + const FullType(BuiltList, const [const FullType(GRefUpdate)])), + 'repositoryId', + serializers.serialize(object.repositoryId, + specifiedType: const FullType(String)), + ]; + Object? value; + value = object.clientMutationId; + if (value != null) { + result + ..add('clientMutationId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + return result; + } + + @override + GUpdateRefsInput deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GUpdateRefsInputBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'clientMutationId': + result.clientMutationId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'refUpdates': + result.refUpdates.replace(serializers.deserialize(value, + specifiedType: const FullType( + BuiltList, const [const FullType(GRefUpdate)]))! + as BuiltList); + break; + case 'repositoryId': + result.repositoryId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String; + break; + } + } + + return result.build(); + } +} + class _$GUpdateRepositoryInputSerializer implements StructuredSerializer { @override @@ -22836,6 +24290,116 @@ class _$GUpdateTeamDiscussionInputSerializer } } +class _$GUpdateTeamReviewAssignmentInputSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + GUpdateTeamReviewAssignmentInput, + _$GUpdateTeamReviewAssignmentInput + ]; + @override + final String wireName = 'GUpdateTeamReviewAssignmentInput'; + + @override + Iterable serialize( + Serializers serializers, GUpdateTeamReviewAssignmentInput object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'enabled', + serializers.serialize(object.enabled, + specifiedType: const FullType(bool)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.algorithm; + if (value != null) { + result + ..add('algorithm') + ..add(serializers.serialize(value, + specifiedType: const FullType(GTeamReviewAssignmentAlgorithm))); + } + value = object.clientMutationId; + if (value != null) { + result + ..add('clientMutationId') + ..add(serializers.serialize(value, + specifiedType: const FullType(String))); + } + value = object.excludedTeamMemberIds; + if (value != null) { + result + ..add('excludedTeamMemberIds') + ..add(serializers.serialize(value, + specifiedType: + const FullType(BuiltList, const [const FullType(String)]))); + } + value = object.notifyTeam; + if (value != null) { + result + ..add('notifyTeam') + ..add( + serializers.serialize(value, specifiedType: const FullType(bool))); + } + value = object.teamMemberCount; + if (value != null) { + result + ..add('teamMemberCount') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + return result; + } + + @override + GUpdateTeamReviewAssignmentInput deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = new GUpdateTeamReviewAssignmentInputBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'algorithm': + result.algorithm = serializers.deserialize(value, + specifiedType: const FullType(GTeamReviewAssignmentAlgorithm)) + as GTeamReviewAssignmentAlgorithm?; + break; + case 'clientMutationId': + result.clientMutationId = serializers.deserialize(value, + specifiedType: const FullType(String)) as String?; + break; + case 'enabled': + result.enabled = serializers.deserialize(value, + specifiedType: const FullType(bool)) as bool; + break; + case 'excludedTeamMemberIds': + result.excludedTeamMemberIds.replace(serializers.deserialize(value, + specifiedType: const FullType( + BuiltList, const [const FullType(String)]))! + as BuiltList); + break; + case 'id': + result.id = serializers.deserialize(value, + specifiedType: const FullType(String)) as String; + break; + case 'notifyTeam': + result.notifyTeam = serializers.deserialize(value, + specifiedType: const FullType(bool)) as bool?; + break; + case 'teamMemberCount': + result.teamMemberCount = serializers.deserialize(value, + specifiedType: const FullType(int)) as int?; + break; + } + } + + return result.build(); + } +} + class _$GUpdateTopicsInputSerializer implements StructuredSerializer { @override @@ -27964,6 +29528,8 @@ class _$GCreateBranchProtectionRuleInput @override final bool? requiresCommitSignatures; @override + final bool? requiresConversationResolution; + @override final bool? requiresLinearHistory; @override final bool? requiresStatusChecks; @@ -27994,6 +29560,7 @@ class _$GCreateBranchProtectionRuleInput this.requiresApprovingReviews, this.requiresCodeOwnerReviews, this.requiresCommitSignatures, + this.requiresConversationResolution, this.requiresLinearHistory, this.requiresStatusChecks, this.requiresStrictStatusChecks, @@ -28033,6 +29600,8 @@ class _$GCreateBranchProtectionRuleInput requiresApprovingReviews == other.requiresApprovingReviews && requiresCodeOwnerReviews == other.requiresCodeOwnerReviews && requiresCommitSignatures == other.requiresCommitSignatures && + requiresConversationResolution == + other.requiresConversationResolution && requiresLinearHistory == other.requiresLinearHistory && requiresStatusChecks == other.requiresStatusChecks && requiresStrictStatusChecks == other.requiresStrictStatusChecks && @@ -28062,27 +29631,31 @@ class _$GCreateBranchProtectionRuleInput $jc( $jc( $jc( - 0, - allowsDeletions + $jc( + 0, + allowsDeletions + .hashCode), + allowsForcePushes .hashCode), - allowsForcePushes + clientMutationId .hashCode), - clientMutationId + dismissesStaleReviews .hashCode), - dismissesStaleReviews + isAdminEnforced .hashCode), - isAdminEnforced + pattern .hashCode), - pattern.hashCode), - pushActorIds.hashCode), - repositoryId.hashCode), - requiredApprovingReviewCount + pushActorIds + .hashCode), + repositoryId.hashCode), + requiredApprovingReviewCount + .hashCode), + requiredStatusCheckContexts .hashCode), - requiredStatusCheckContexts - .hashCode), - requiresApprovingReviews.hashCode), - requiresCodeOwnerReviews.hashCode), - requiresCommitSignatures.hashCode), + requiresApprovingReviews.hashCode), + requiresCodeOwnerReviews.hashCode), + requiresCommitSignatures.hashCode), + requiresConversationResolution.hashCode), requiresLinearHistory.hashCode), requiresStatusChecks.hashCode), requiresStrictStatusChecks.hashCode), @@ -28107,6 +29680,8 @@ class _$GCreateBranchProtectionRuleInput ..add('requiresApprovingReviews', requiresApprovingReviews) ..add('requiresCodeOwnerReviews', requiresCodeOwnerReviews) ..add('requiresCommitSignatures', requiresCommitSignatures) + ..add( + 'requiresConversationResolution', requiresConversationResolution) ..add('requiresLinearHistory', requiresLinearHistory) ..add('requiresStatusChecks', requiresStatusChecks) ..add('requiresStrictStatusChecks', requiresStrictStatusChecks) @@ -28189,6 +29764,12 @@ class GCreateBranchProtectionRuleInputBuilder set requiresCommitSignatures(bool? requiresCommitSignatures) => _$this._requiresCommitSignatures = requiresCommitSignatures; + bool? _requiresConversationResolution; + bool? get requiresConversationResolution => + _$this._requiresConversationResolution; + set requiresConversationResolution(bool? requiresConversationResolution) => + _$this._requiresConversationResolution = requiresConversationResolution; + bool? _requiresLinearHistory; bool? get requiresLinearHistory => _$this._requiresLinearHistory; set requiresLinearHistory(bool? requiresLinearHistory) => @@ -28239,6 +29820,7 @@ class GCreateBranchProtectionRuleInputBuilder _requiresApprovingReviews = $v.requiresApprovingReviews; _requiresCodeOwnerReviews = $v.requiresCodeOwnerReviews; _requiresCommitSignatures = $v.requiresCommitSignatures; + _requiresConversationResolution = $v.requiresConversationResolution; _requiresLinearHistory = $v.requiresLinearHistory; _requiresStatusChecks = $v.requiresStatusChecks; _requiresStrictStatusChecks = $v.requiresStrictStatusChecks; @@ -28283,6 +29865,7 @@ class GCreateBranchProtectionRuleInputBuilder requiresApprovingReviews: requiresApprovingReviews, requiresCodeOwnerReviews: requiresCodeOwnerReviews, requiresCommitSignatures: requiresCommitSignatures, + requiresConversationResolution: requiresConversationResolution, requiresLinearHistory: requiresLinearHistory, requiresStatusChecks: requiresStatusChecks, requiresStrictStatusChecks: requiresStrictStatusChecks, @@ -28676,6 +30259,528 @@ class GCreateCheckSuiteInputBuilder } } +class _$GCreateContentAttachmentInput extends GCreateContentAttachmentInput { + @override + final String body; + @override + final String? clientMutationId; + @override + final String contentReferenceId; + @override + final String title; + + factory _$GCreateContentAttachmentInput( + [void Function(GCreateContentAttachmentInputBuilder)? updates]) => + (new GCreateContentAttachmentInputBuilder()..update(updates)).build(); + + _$GCreateContentAttachmentInput._( + {required this.body, + this.clientMutationId, + required this.contentReferenceId, + required this.title}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + body, 'GCreateContentAttachmentInput', 'body'); + BuiltValueNullFieldError.checkNotNull(contentReferenceId, + 'GCreateContentAttachmentInput', 'contentReferenceId'); + BuiltValueNullFieldError.checkNotNull( + title, 'GCreateContentAttachmentInput', 'title'); + } + + @override + GCreateContentAttachmentInput rebuild( + void Function(GCreateContentAttachmentInputBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GCreateContentAttachmentInputBuilder toBuilder() => + new GCreateContentAttachmentInputBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GCreateContentAttachmentInput && + body == other.body && + clientMutationId == other.clientMutationId && + contentReferenceId == other.contentReferenceId && + title == other.title; + } + + @override + int get hashCode { + return $jf($jc( + $jc($jc($jc(0, body.hashCode), clientMutationId.hashCode), + contentReferenceId.hashCode), + title.hashCode)); + } + + @override + String toString() { + return (newBuiltValueToStringHelper('GCreateContentAttachmentInput') + ..add('body', body) + ..add('clientMutationId', clientMutationId) + ..add('contentReferenceId', contentReferenceId) + ..add('title', title)) + .toString(); + } +} + +class GCreateContentAttachmentInputBuilder + implements + Builder { + _$GCreateContentAttachmentInput? _$v; + + String? _body; + String? get body => _$this._body; + set body(String? body) => _$this._body = body; + + String? _clientMutationId; + String? get clientMutationId => _$this._clientMutationId; + set clientMutationId(String? clientMutationId) => + _$this._clientMutationId = clientMutationId; + + String? _contentReferenceId; + String? get contentReferenceId => _$this._contentReferenceId; + set contentReferenceId(String? contentReferenceId) => + _$this._contentReferenceId = contentReferenceId; + + String? _title; + String? get title => _$this._title; + set title(String? title) => _$this._title = title; + + GCreateContentAttachmentInputBuilder(); + + GCreateContentAttachmentInputBuilder get _$this { + final $v = _$v; + if ($v != null) { + _body = $v.body; + _clientMutationId = $v.clientMutationId; + _contentReferenceId = $v.contentReferenceId; + _title = $v.title; + _$v = null; + } + return this; + } + + @override + void replace(GCreateContentAttachmentInput other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GCreateContentAttachmentInput; + } + + @override + void update(void Function(GCreateContentAttachmentInputBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + _$GCreateContentAttachmentInput build() { + final _$result = _$v ?? + new _$GCreateContentAttachmentInput._( + body: BuiltValueNullFieldError.checkNotNull( + body, 'GCreateContentAttachmentInput', 'body'), + clientMutationId: clientMutationId, + contentReferenceId: BuiltValueNullFieldError.checkNotNull( + contentReferenceId, + 'GCreateContentAttachmentInput', + 'contentReferenceId'), + title: BuiltValueNullFieldError.checkNotNull( + title, 'GCreateContentAttachmentInput', 'title')); + replace(_$result); + return _$result; + } +} + +class _$GCreateDeploymentInput extends GCreateDeploymentInput { + @override + final bool? autoMerge; + @override + final String? clientMutationId; + @override + final String? description; + @override + final String? environment; + @override + final String? payload; + @override + final String refId; + @override + final String repositoryId; + @override + final BuiltList? requiredContexts; + @override + final String? task; + + factory _$GCreateDeploymentInput( + [void Function(GCreateDeploymentInputBuilder)? updates]) => + (new GCreateDeploymentInputBuilder()..update(updates)).build(); + + _$GCreateDeploymentInput._( + {this.autoMerge, + this.clientMutationId, + this.description, + this.environment, + this.payload, + required this.refId, + required this.repositoryId, + this.requiredContexts, + this.task}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + refId, 'GCreateDeploymentInput', 'refId'); + BuiltValueNullFieldError.checkNotNull( + repositoryId, 'GCreateDeploymentInput', 'repositoryId'); + } + + @override + GCreateDeploymentInput rebuild( + void Function(GCreateDeploymentInputBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GCreateDeploymentInputBuilder toBuilder() => + new GCreateDeploymentInputBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GCreateDeploymentInput && + autoMerge == other.autoMerge && + clientMutationId == other.clientMutationId && + description == other.description && + environment == other.environment && + payload == other.payload && + refId == other.refId && + repositoryId == other.repositoryId && + requiredContexts == other.requiredContexts && + task == other.task; + } + + @override + int get hashCode { + return $jf($jc( + $jc( + $jc( + $jc( + $jc( + $jc( + $jc( + $jc($jc(0, autoMerge.hashCode), + clientMutationId.hashCode), + description.hashCode), + environment.hashCode), + payload.hashCode), + refId.hashCode), + repositoryId.hashCode), + requiredContexts.hashCode), + task.hashCode)); + } + + @override + String toString() { + return (newBuiltValueToStringHelper('GCreateDeploymentInput') + ..add('autoMerge', autoMerge) + ..add('clientMutationId', clientMutationId) + ..add('description', description) + ..add('environment', environment) + ..add('payload', payload) + ..add('refId', refId) + ..add('repositoryId', repositoryId) + ..add('requiredContexts', requiredContexts) + ..add('task', task)) + .toString(); + } +} + +class GCreateDeploymentInputBuilder + implements Builder { + _$GCreateDeploymentInput? _$v; + + bool? _autoMerge; + bool? get autoMerge => _$this._autoMerge; + set autoMerge(bool? autoMerge) => _$this._autoMerge = autoMerge; + + String? _clientMutationId; + String? get clientMutationId => _$this._clientMutationId; + set clientMutationId(String? clientMutationId) => + _$this._clientMutationId = clientMutationId; + + String? _description; + String? get description => _$this._description; + set description(String? description) => _$this._description = description; + + String? _environment; + String? get environment => _$this._environment; + set environment(String? environment) => _$this._environment = environment; + + String? _payload; + String? get payload => _$this._payload; + set payload(String? payload) => _$this._payload = payload; + + String? _refId; + String? get refId => _$this._refId; + set refId(String? refId) => _$this._refId = refId; + + String? _repositoryId; + String? get repositoryId => _$this._repositoryId; + set repositoryId(String? repositoryId) => _$this._repositoryId = repositoryId; + + ListBuilder? _requiredContexts; + ListBuilder get requiredContexts => + _$this._requiredContexts ??= new ListBuilder(); + set requiredContexts(ListBuilder? requiredContexts) => + _$this._requiredContexts = requiredContexts; + + String? _task; + String? get task => _$this._task; + set task(String? task) => _$this._task = task; + + GCreateDeploymentInputBuilder(); + + GCreateDeploymentInputBuilder get _$this { + final $v = _$v; + if ($v != null) { + _autoMerge = $v.autoMerge; + _clientMutationId = $v.clientMutationId; + _description = $v.description; + _environment = $v.environment; + _payload = $v.payload; + _refId = $v.refId; + _repositoryId = $v.repositoryId; + _requiredContexts = $v.requiredContexts?.toBuilder(); + _task = $v.task; + _$v = null; + } + return this; + } + + @override + void replace(GCreateDeploymentInput other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GCreateDeploymentInput; + } + + @override + void update(void Function(GCreateDeploymentInputBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + _$GCreateDeploymentInput build() { + _$GCreateDeploymentInput _$result; + try { + _$result = _$v ?? + new _$GCreateDeploymentInput._( + autoMerge: autoMerge, + clientMutationId: clientMutationId, + description: description, + environment: environment, + payload: payload, + refId: BuiltValueNullFieldError.checkNotNull( + refId, 'GCreateDeploymentInput', 'refId'), + repositoryId: BuiltValueNullFieldError.checkNotNull( + repositoryId, 'GCreateDeploymentInput', 'repositoryId'), + requiredContexts: _requiredContexts?.build(), + task: task); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'requiredContexts'; + _requiredContexts?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + 'GCreateDeploymentInput', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$GCreateDeploymentStatusInput extends GCreateDeploymentStatusInput { + @override + final bool? autoInactive; + @override + final String? clientMutationId; + @override + final String deploymentId; + @override + final String? description; + @override + final String? environment; + @override + final String? environmentUrl; + @override + final String? logUrl; + @override + final GDeploymentStatusState state; + + factory _$GCreateDeploymentStatusInput( + [void Function(GCreateDeploymentStatusInputBuilder)? updates]) => + (new GCreateDeploymentStatusInputBuilder()..update(updates)).build(); + + _$GCreateDeploymentStatusInput._( + {this.autoInactive, + this.clientMutationId, + required this.deploymentId, + this.description, + this.environment, + this.environmentUrl, + this.logUrl, + required this.state}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + deploymentId, 'GCreateDeploymentStatusInput', 'deploymentId'); + BuiltValueNullFieldError.checkNotNull( + state, 'GCreateDeploymentStatusInput', 'state'); + } + + @override + GCreateDeploymentStatusInput rebuild( + void Function(GCreateDeploymentStatusInputBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GCreateDeploymentStatusInputBuilder toBuilder() => + new GCreateDeploymentStatusInputBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GCreateDeploymentStatusInput && + autoInactive == other.autoInactive && + clientMutationId == other.clientMutationId && + deploymentId == other.deploymentId && + description == other.description && + environment == other.environment && + environmentUrl == other.environmentUrl && + logUrl == other.logUrl && + state == other.state; + } + + @override + int get hashCode { + return $jf($jc( + $jc( + $jc( + $jc( + $jc( + $jc( + $jc($jc(0, autoInactive.hashCode), + clientMutationId.hashCode), + deploymentId.hashCode), + description.hashCode), + environment.hashCode), + environmentUrl.hashCode), + logUrl.hashCode), + state.hashCode)); + } + + @override + String toString() { + return (newBuiltValueToStringHelper('GCreateDeploymentStatusInput') + ..add('autoInactive', autoInactive) + ..add('clientMutationId', clientMutationId) + ..add('deploymentId', deploymentId) + ..add('description', description) + ..add('environment', environment) + ..add('environmentUrl', environmentUrl) + ..add('logUrl', logUrl) + ..add('state', state)) + .toString(); + } +} + +class GCreateDeploymentStatusInputBuilder + implements + Builder { + _$GCreateDeploymentStatusInput? _$v; + + bool? _autoInactive; + bool? get autoInactive => _$this._autoInactive; + set autoInactive(bool? autoInactive) => _$this._autoInactive = autoInactive; + + String? _clientMutationId; + String? get clientMutationId => _$this._clientMutationId; + set clientMutationId(String? clientMutationId) => + _$this._clientMutationId = clientMutationId; + + String? _deploymentId; + String? get deploymentId => _$this._deploymentId; + set deploymentId(String? deploymentId) => _$this._deploymentId = deploymentId; + + String? _description; + String? get description => _$this._description; + set description(String? description) => _$this._description = description; + + String? _environment; + String? get environment => _$this._environment; + set environment(String? environment) => _$this._environment = environment; + + String? _environmentUrl; + String? get environmentUrl => _$this._environmentUrl; + set environmentUrl(String? environmentUrl) => + _$this._environmentUrl = environmentUrl; + + String? _logUrl; + String? get logUrl => _$this._logUrl; + set logUrl(String? logUrl) => _$this._logUrl = logUrl; + + GDeploymentStatusState? _state; + GDeploymentStatusState? get state => _$this._state; + set state(GDeploymentStatusState? state) => _$this._state = state; + + GCreateDeploymentStatusInputBuilder(); + + GCreateDeploymentStatusInputBuilder get _$this { + final $v = _$v; + if ($v != null) { + _autoInactive = $v.autoInactive; + _clientMutationId = $v.clientMutationId; + _deploymentId = $v.deploymentId; + _description = $v.description; + _environment = $v.environment; + _environmentUrl = $v.environmentUrl; + _logUrl = $v.logUrl; + _state = $v.state; + _$v = null; + } + return this; + } + + @override + void replace(GCreateDeploymentStatusInput other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GCreateDeploymentStatusInput; + } + + @override + void update(void Function(GCreateDeploymentStatusInputBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + _$GCreateDeploymentStatusInput build() { + final _$result = _$v ?? + new _$GCreateDeploymentStatusInput._( + autoInactive: autoInactive, + clientMutationId: clientMutationId, + deploymentId: BuiltValueNullFieldError.checkNotNull( + deploymentId, 'GCreateDeploymentStatusInput', 'deploymentId'), + description: description, + environment: environment, + environmentUrl: environmentUrl, + logUrl: logUrl, + state: BuiltValueNullFieldError.checkNotNull( + state, 'GCreateDeploymentStatusInput', 'state')); + replace(_$result); + return _$result; + } +} + class _$GCreateDiscussionInput extends GCreateDiscussionInput { @override final String body; @@ -29472,6 +31577,144 @@ class GCreateIssueInputBuilder } } +class _$GCreateLabelInput extends GCreateLabelInput { + @override + final String? clientMutationId; + @override + final String color; + @override + final String? description; + @override + final String name; + @override + final String repositoryId; + + factory _$GCreateLabelInput( + [void Function(GCreateLabelInputBuilder)? updates]) => + (new GCreateLabelInputBuilder()..update(updates)).build(); + + _$GCreateLabelInput._( + {this.clientMutationId, + required this.color, + this.description, + required this.name, + required this.repositoryId}) + : super._() { + BuiltValueNullFieldError.checkNotNull(color, 'GCreateLabelInput', 'color'); + BuiltValueNullFieldError.checkNotNull(name, 'GCreateLabelInput', 'name'); + BuiltValueNullFieldError.checkNotNull( + repositoryId, 'GCreateLabelInput', 'repositoryId'); + } + + @override + GCreateLabelInput rebuild(void Function(GCreateLabelInputBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GCreateLabelInputBuilder toBuilder() => + new GCreateLabelInputBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GCreateLabelInput && + clientMutationId == other.clientMutationId && + color == other.color && + description == other.description && + name == other.name && + repositoryId == other.repositoryId; + } + + @override + int get hashCode { + return $jf($jc( + $jc( + $jc($jc($jc(0, clientMutationId.hashCode), color.hashCode), + description.hashCode), + name.hashCode), + repositoryId.hashCode)); + } + + @override + String toString() { + return (newBuiltValueToStringHelper('GCreateLabelInput') + ..add('clientMutationId', clientMutationId) + ..add('color', color) + ..add('description', description) + ..add('name', name) + ..add('repositoryId', repositoryId)) + .toString(); + } +} + +class GCreateLabelInputBuilder + implements Builder { + _$GCreateLabelInput? _$v; + + String? _clientMutationId; + String? get clientMutationId => _$this._clientMutationId; + set clientMutationId(String? clientMutationId) => + _$this._clientMutationId = clientMutationId; + + String? _color; + String? get color => _$this._color; + set color(String? color) => _$this._color = color; + + String? _description; + String? get description => _$this._description; + set description(String? description) => _$this._description = description; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + String? _repositoryId; + String? get repositoryId => _$this._repositoryId; + set repositoryId(String? repositoryId) => _$this._repositoryId = repositoryId; + + GCreateLabelInputBuilder(); + + GCreateLabelInputBuilder get _$this { + final $v = _$v; + if ($v != null) { + _clientMutationId = $v.clientMutationId; + _color = $v.color; + _description = $v.description; + _name = $v.name; + _repositoryId = $v.repositoryId; + _$v = null; + } + return this; + } + + @override + void replace(GCreateLabelInput other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GCreateLabelInput; + } + + @override + void update(void Function(GCreateLabelInputBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + _$GCreateLabelInput build() { + final _$result = _$v ?? + new _$GCreateLabelInput._( + clientMutationId: clientMutationId, + color: BuiltValueNullFieldError.checkNotNull( + color, 'GCreateLabelInput', 'color'), + description: description, + name: BuiltValueNullFieldError.checkNotNull( + name, 'GCreateLabelInput', 'name'), + repositoryId: BuiltValueNullFieldError.checkNotNull( + repositoryId, 'GCreateLabelInput', 'repositoryId')); + replace(_$result); + return _$result; + } +} + class _$GCreateProjectInput extends GCreateProjectInput { @override final String? body; @@ -31390,6 +33633,199 @@ class GDeleteIssueInputBuilder } } +class _$GDeleteLabelInput extends GDeleteLabelInput { + @override + final String? clientMutationId; + @override + final String id; + + factory _$GDeleteLabelInput( + [void Function(GDeleteLabelInputBuilder)? updates]) => + (new GDeleteLabelInputBuilder()..update(updates)).build(); + + _$GDeleteLabelInput._({this.clientMutationId, required this.id}) : super._() { + BuiltValueNullFieldError.checkNotNull(id, 'GDeleteLabelInput', 'id'); + } + + @override + GDeleteLabelInput rebuild(void Function(GDeleteLabelInputBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GDeleteLabelInputBuilder toBuilder() => + new GDeleteLabelInputBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GDeleteLabelInput && + clientMutationId == other.clientMutationId && + id == other.id; + } + + @override + int get hashCode { + return $jf($jc($jc(0, clientMutationId.hashCode), id.hashCode)); + } + + @override + String toString() { + return (newBuiltValueToStringHelper('GDeleteLabelInput') + ..add('clientMutationId', clientMutationId) + ..add('id', id)) + .toString(); + } +} + +class GDeleteLabelInputBuilder + implements Builder { + _$GDeleteLabelInput? _$v; + + String? _clientMutationId; + String? get clientMutationId => _$this._clientMutationId; + set clientMutationId(String? clientMutationId) => + _$this._clientMutationId = clientMutationId; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + GDeleteLabelInputBuilder(); + + GDeleteLabelInputBuilder get _$this { + final $v = _$v; + if ($v != null) { + _clientMutationId = $v.clientMutationId; + _id = $v.id; + _$v = null; + } + return this; + } + + @override + void replace(GDeleteLabelInput other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GDeleteLabelInput; + } + + @override + void update(void Function(GDeleteLabelInputBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + _$GDeleteLabelInput build() { + final _$result = _$v ?? + new _$GDeleteLabelInput._( + clientMutationId: clientMutationId, + id: BuiltValueNullFieldError.checkNotNull( + id, 'GDeleteLabelInput', 'id')); + replace(_$result); + return _$result; + } +} + +class _$GDeletePackageVersionInput extends GDeletePackageVersionInput { + @override + final String? clientMutationId; + @override + final String packageVersionId; + + factory _$GDeletePackageVersionInput( + [void Function(GDeletePackageVersionInputBuilder)? updates]) => + (new GDeletePackageVersionInputBuilder()..update(updates)).build(); + + _$GDeletePackageVersionInput._( + {this.clientMutationId, required this.packageVersionId}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + packageVersionId, 'GDeletePackageVersionInput', 'packageVersionId'); + } + + @override + GDeletePackageVersionInput rebuild( + void Function(GDeletePackageVersionInputBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GDeletePackageVersionInputBuilder toBuilder() => + new GDeletePackageVersionInputBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GDeletePackageVersionInput && + clientMutationId == other.clientMutationId && + packageVersionId == other.packageVersionId; + } + + @override + int get hashCode { + return $jf( + $jc($jc(0, clientMutationId.hashCode), packageVersionId.hashCode)); + } + + @override + String toString() { + return (newBuiltValueToStringHelper('GDeletePackageVersionInput') + ..add('clientMutationId', clientMutationId) + ..add('packageVersionId', packageVersionId)) + .toString(); + } +} + +class GDeletePackageVersionInputBuilder + implements + Builder { + _$GDeletePackageVersionInput? _$v; + + String? _clientMutationId; + String? get clientMutationId => _$this._clientMutationId; + set clientMutationId(String? clientMutationId) => + _$this._clientMutationId = clientMutationId; + + String? _packageVersionId; + String? get packageVersionId => _$this._packageVersionId; + set packageVersionId(String? packageVersionId) => + _$this._packageVersionId = packageVersionId; + + GDeletePackageVersionInputBuilder(); + + GDeletePackageVersionInputBuilder get _$this { + final $v = _$v; + if ($v != null) { + _clientMutationId = $v.clientMutationId; + _packageVersionId = $v.packageVersionId; + _$v = null; + } + return this; + } + + @override + void replace(GDeletePackageVersionInput other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GDeletePackageVersionInput; + } + + @override + void update(void Function(GDeletePackageVersionInputBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + _$GDeletePackageVersionInput build() { + final _$result = _$v ?? + new _$GDeletePackageVersionInput._( + clientMutationId: clientMutationId, + packageVersionId: BuiltValueNullFieldError.checkNotNull( + packageVersionId, + 'GDeletePackageVersionInput', + 'packageVersionId')); + replace(_$result); + return _$result; + } +} + class _$GDeleteProjectCardInput extends GDeleteProjectCardInput { @override final String cardId; @@ -33906,6 +36342,82 @@ class GGistOrderBuilder implements Builder { } } +class _$GGitRefname extends GGitRefname { + @override + final String value; + + factory _$GGitRefname([void Function(GGitRefnameBuilder)? updates]) => + (new GGitRefnameBuilder()..update(updates)).build(); + + _$GGitRefname._({required this.value}) : super._() { + BuiltValueNullFieldError.checkNotNull(value, 'GGitRefname', 'value'); + } + + @override + GGitRefname rebuild(void Function(GGitRefnameBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GGitRefnameBuilder toBuilder() => new GGitRefnameBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GGitRefname && value == other.value; + } + + @override + int get hashCode { + return $jf($jc(0, value.hashCode)); + } + + @override + String toString() { + return (newBuiltValueToStringHelper('GGitRefname')..add('value', value)) + .toString(); + } +} + +class GGitRefnameBuilder implements Builder { + _$GGitRefname? _$v; + + String? _value; + String? get value => _$this._value; + set value(String? value) => _$this._value = value; + + GGitRefnameBuilder(); + + GGitRefnameBuilder get _$this { + final $v = _$v; + if ($v != null) { + _value = $v.value; + _$v = null; + } + return this; + } + + @override + void replace(GGitRefname other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GGitRefname; + } + + @override + void update(void Function(GGitRefnameBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + _$GGitRefname build() { + final _$result = _$v ?? + new _$GGitRefname._( + value: BuiltValueNullFieldError.checkNotNull( + value, 'GGitRefname', 'value')); + replace(_$result); + return _$result; + } +} + class _$GGitSSHRemote extends GGitSSHRemote { @override final String value; @@ -34136,6 +36648,173 @@ class GHTMLBuilder implements Builder { } } +class _$GImportProjectInput extends GImportProjectInput { + @override + final String? body; + @override + final String? clientMutationId; + @override + final BuiltList columnImports; + @override + final String name; + @override + final String ownerName; + @override + final bool? public; + + factory _$GImportProjectInput( + [void Function(GImportProjectInputBuilder)? updates]) => + (new GImportProjectInputBuilder()..update(updates)).build(); + + _$GImportProjectInput._( + {this.body, + this.clientMutationId, + required this.columnImports, + required this.name, + required this.ownerName, + this.public}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + columnImports, 'GImportProjectInput', 'columnImports'); + BuiltValueNullFieldError.checkNotNull(name, 'GImportProjectInput', 'name'); + BuiltValueNullFieldError.checkNotNull( + ownerName, 'GImportProjectInput', 'ownerName'); + } + + @override + GImportProjectInput rebuild( + void Function(GImportProjectInputBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GImportProjectInputBuilder toBuilder() => + new GImportProjectInputBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GImportProjectInput && + body == other.body && + clientMutationId == other.clientMutationId && + columnImports == other.columnImports && + name == other.name && + ownerName == other.ownerName && + public == other.public; + } + + @override + int get hashCode { + return $jf($jc( + $jc( + $jc( + $jc($jc($jc(0, body.hashCode), clientMutationId.hashCode), + columnImports.hashCode), + name.hashCode), + ownerName.hashCode), + public.hashCode)); + } + + @override + String toString() { + return (newBuiltValueToStringHelper('GImportProjectInput') + ..add('body', body) + ..add('clientMutationId', clientMutationId) + ..add('columnImports', columnImports) + ..add('name', name) + ..add('ownerName', ownerName) + ..add('public', public)) + .toString(); + } +} + +class GImportProjectInputBuilder + implements Builder { + _$GImportProjectInput? _$v; + + String? _body; + String? get body => _$this._body; + set body(String? body) => _$this._body = body; + + String? _clientMutationId; + String? get clientMutationId => _$this._clientMutationId; + set clientMutationId(String? clientMutationId) => + _$this._clientMutationId = clientMutationId; + + ListBuilder? _columnImports; + ListBuilder get columnImports => + _$this._columnImports ??= new ListBuilder(); + set columnImports(ListBuilder? columnImports) => + _$this._columnImports = columnImports; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + String? _ownerName; + String? get ownerName => _$this._ownerName; + set ownerName(String? ownerName) => _$this._ownerName = ownerName; + + bool? _public; + bool? get public => _$this._public; + set public(bool? public) => _$this._public = public; + + GImportProjectInputBuilder(); + + GImportProjectInputBuilder get _$this { + final $v = _$v; + if ($v != null) { + _body = $v.body; + _clientMutationId = $v.clientMutationId; + _columnImports = $v.columnImports.toBuilder(); + _name = $v.name; + _ownerName = $v.ownerName; + _public = $v.public; + _$v = null; + } + return this; + } + + @override + void replace(GImportProjectInput other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GImportProjectInput; + } + + @override + void update(void Function(GImportProjectInputBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + _$GImportProjectInput build() { + _$GImportProjectInput _$result; + try { + _$result = _$v ?? + new _$GImportProjectInput._( + body: body, + clientMutationId: clientMutationId, + columnImports: columnImports.build(), + name: BuiltValueNullFieldError.checkNotNull( + name, 'GImportProjectInput', 'name'), + ownerName: BuiltValueNullFieldError.checkNotNull( + ownerName, 'GImportProjectInput', 'ownerName'), + public: public); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'columnImports'; + columnImports.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + 'GImportProjectInput', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + class _$GInviteEnterpriseAdminInput extends GInviteEnterpriseAdminInput { @override final String? clientMutationId; @@ -36750,6 +39429,227 @@ class GPreciseDateTimeBuilder } } +class _$GProjectCardImport extends GProjectCardImport { + @override + final int number; + @override + final String repository; + + factory _$GProjectCardImport( + [void Function(GProjectCardImportBuilder)? updates]) => + (new GProjectCardImportBuilder()..update(updates)).build(); + + _$GProjectCardImport._({required this.number, required this.repository}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + number, 'GProjectCardImport', 'number'); + BuiltValueNullFieldError.checkNotNull( + repository, 'GProjectCardImport', 'repository'); + } + + @override + GProjectCardImport rebuild( + void Function(GProjectCardImportBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GProjectCardImportBuilder toBuilder() => + new GProjectCardImportBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GProjectCardImport && + number == other.number && + repository == other.repository; + } + + @override + int get hashCode { + return $jf($jc($jc(0, number.hashCode), repository.hashCode)); + } + + @override + String toString() { + return (newBuiltValueToStringHelper('GProjectCardImport') + ..add('number', number) + ..add('repository', repository)) + .toString(); + } +} + +class GProjectCardImportBuilder + implements Builder { + _$GProjectCardImport? _$v; + + int? _number; + int? get number => _$this._number; + set number(int? number) => _$this._number = number; + + String? _repository; + String? get repository => _$this._repository; + set repository(String? repository) => _$this._repository = repository; + + GProjectCardImportBuilder(); + + GProjectCardImportBuilder get _$this { + final $v = _$v; + if ($v != null) { + _number = $v.number; + _repository = $v.repository; + _$v = null; + } + return this; + } + + @override + void replace(GProjectCardImport other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GProjectCardImport; + } + + @override + void update(void Function(GProjectCardImportBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + _$GProjectCardImport build() { + final _$result = _$v ?? + new _$GProjectCardImport._( + number: BuiltValueNullFieldError.checkNotNull( + number, 'GProjectCardImport', 'number'), + repository: BuiltValueNullFieldError.checkNotNull( + repository, 'GProjectCardImport', 'repository')); + replace(_$result); + return _$result; + } +} + +class _$GProjectColumnImport extends GProjectColumnImport { + @override + final String columnName; + @override + final BuiltList? issues; + @override + final int position; + + factory _$GProjectColumnImport( + [void Function(GProjectColumnImportBuilder)? updates]) => + (new GProjectColumnImportBuilder()..update(updates)).build(); + + _$GProjectColumnImport._( + {required this.columnName, this.issues, required this.position}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + columnName, 'GProjectColumnImport', 'columnName'); + BuiltValueNullFieldError.checkNotNull( + position, 'GProjectColumnImport', 'position'); + } + + @override + GProjectColumnImport rebuild( + void Function(GProjectColumnImportBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GProjectColumnImportBuilder toBuilder() => + new GProjectColumnImportBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GProjectColumnImport && + columnName == other.columnName && + issues == other.issues && + position == other.position; + } + + @override + int get hashCode { + return $jf($jc( + $jc($jc(0, columnName.hashCode), issues.hashCode), position.hashCode)); + } + + @override + String toString() { + return (newBuiltValueToStringHelper('GProjectColumnImport') + ..add('columnName', columnName) + ..add('issues', issues) + ..add('position', position)) + .toString(); + } +} + +class GProjectColumnImportBuilder + implements Builder { + _$GProjectColumnImport? _$v; + + String? _columnName; + String? get columnName => _$this._columnName; + set columnName(String? columnName) => _$this._columnName = columnName; + + ListBuilder? _issues; + ListBuilder get issues => + _$this._issues ??= new ListBuilder(); + set issues(ListBuilder? issues) => + _$this._issues = issues; + + int? _position; + int? get position => _$this._position; + set position(int? position) => _$this._position = position; + + GProjectColumnImportBuilder(); + + GProjectColumnImportBuilder get _$this { + final $v = _$v; + if ($v != null) { + _columnName = $v.columnName; + _issues = $v.issues?.toBuilder(); + _position = $v.position; + _$v = null; + } + return this; + } + + @override + void replace(GProjectColumnImport other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GProjectColumnImport; + } + + @override + void update(void Function(GProjectColumnImportBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + _$GProjectColumnImport build() { + _$GProjectColumnImport _$result; + try { + _$result = _$v ?? + new _$GProjectColumnImport._( + columnName: BuiltValueNullFieldError.checkNotNull( + columnName, 'GProjectColumnImport', 'columnName'), + issues: _issues?.build(), + position: BuiltValueNullFieldError.checkNotNull( + position, 'GProjectColumnImport', 'position')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'issues'; + _issues?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + 'GProjectColumnImport', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + class _$GProjectOrder extends GProjectOrder { @override final GOrderDirection direction; @@ -37122,6 +40022,132 @@ class GRefOrderBuilder implements Builder { } } +class _$GRefUpdate extends GRefUpdate { + @override + final String afterOid; + @override + final String? beforeOid; + @override + final bool? force; + @override + final GGitRefname name; + + factory _$GRefUpdate([void Function(GRefUpdateBuilder)? updates]) => + (new GRefUpdateBuilder()..update(updates)).build(); + + _$GRefUpdate._( + {required this.afterOid, this.beforeOid, this.force, required this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull(afterOid, 'GRefUpdate', 'afterOid'); + BuiltValueNullFieldError.checkNotNull(name, 'GRefUpdate', 'name'); + } + + @override + GRefUpdate rebuild(void Function(GRefUpdateBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GRefUpdateBuilder toBuilder() => new GRefUpdateBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GRefUpdate && + afterOid == other.afterOid && + beforeOid == other.beforeOid && + force == other.force && + name == other.name; + } + + @override + int get hashCode { + return $jf($jc( + $jc($jc($jc(0, afterOid.hashCode), beforeOid.hashCode), force.hashCode), + name.hashCode)); + } + + @override + String toString() { + return (newBuiltValueToStringHelper('GRefUpdate') + ..add('afterOid', afterOid) + ..add('beforeOid', beforeOid) + ..add('force', force) + ..add('name', name)) + .toString(); + } +} + +class GRefUpdateBuilder implements Builder { + _$GRefUpdate? _$v; + + String? _afterOid; + String? get afterOid => _$this._afterOid; + set afterOid(String? afterOid) => _$this._afterOid = afterOid; + + String? _beforeOid; + String? get beforeOid => _$this._beforeOid; + set beforeOid(String? beforeOid) => _$this._beforeOid = beforeOid; + + bool? _force; + bool? get force => _$this._force; + set force(bool? force) => _$this._force = force; + + GGitRefnameBuilder? _name; + GGitRefnameBuilder get name => _$this._name ??= new GGitRefnameBuilder(); + set name(GGitRefnameBuilder? name) => _$this._name = name; + + GRefUpdateBuilder(); + + GRefUpdateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _afterOid = $v.afterOid; + _beforeOid = $v.beforeOid; + _force = $v.force; + _name = $v.name.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(GRefUpdate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GRefUpdate; + } + + @override + void update(void Function(GRefUpdateBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + _$GRefUpdate build() { + _$GRefUpdate _$result; + try { + _$result = _$v ?? + new _$GRefUpdate._( + afterOid: BuiltValueNullFieldError.checkNotNull( + afterOid, 'GRefUpdate', 'afterOid'), + beforeOid: beforeOid, + force: force, + name: name.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'name'; + name.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + 'GRefUpdate', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + class _$GRegenerateEnterpriseIdentityProviderRecoveryCodesInput extends GRegenerateEnterpriseIdentityProviderRecoveryCodesInput { @override @@ -40531,6 +43557,103 @@ class GSponsorableOrderBuilder } } +class _$GSponsorsActivityOrder extends GSponsorsActivityOrder { + @override + final GOrderDirection direction; + @override + final GSponsorsActivityOrderField field; + + factory _$GSponsorsActivityOrder( + [void Function(GSponsorsActivityOrderBuilder)? updates]) => + (new GSponsorsActivityOrderBuilder()..update(updates)).build(); + + _$GSponsorsActivityOrder._({required this.direction, required this.field}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + direction, 'GSponsorsActivityOrder', 'direction'); + BuiltValueNullFieldError.checkNotNull( + field, 'GSponsorsActivityOrder', 'field'); + } + + @override + GSponsorsActivityOrder rebuild( + void Function(GSponsorsActivityOrderBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GSponsorsActivityOrderBuilder toBuilder() => + new GSponsorsActivityOrderBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GSponsorsActivityOrder && + direction == other.direction && + field == other.field; + } + + @override + int get hashCode { + return $jf($jc($jc(0, direction.hashCode), field.hashCode)); + } + + @override + String toString() { + return (newBuiltValueToStringHelper('GSponsorsActivityOrder') + ..add('direction', direction) + ..add('field', field)) + .toString(); + } +} + +class GSponsorsActivityOrderBuilder + implements Builder { + _$GSponsorsActivityOrder? _$v; + + GOrderDirection? _direction; + GOrderDirection? get direction => _$this._direction; + set direction(GOrderDirection? direction) => _$this._direction = direction; + + GSponsorsActivityOrderField? _field; + GSponsorsActivityOrderField? get field => _$this._field; + set field(GSponsorsActivityOrderField? field) => _$this._field = field; + + GSponsorsActivityOrderBuilder(); + + GSponsorsActivityOrderBuilder get _$this { + final $v = _$v; + if ($v != null) { + _direction = $v.direction; + _field = $v.field; + _$v = null; + } + return this; + } + + @override + void replace(GSponsorsActivityOrder other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GSponsorsActivityOrder; + } + + @override + void update(void Function(GSponsorsActivityOrderBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + _$GSponsorsActivityOrder build() { + final _$result = _$v ?? + new _$GSponsorsActivityOrder._( + direction: BuiltValueNullFieldError.checkNotNull( + direction, 'GSponsorsActivityOrder', 'direction'), + field: BuiltValueNullFieldError.checkNotNull( + field, 'GSponsorsActivityOrder', 'field')); + replace(_$result); + return _$result; + } +} + class _$GSponsorsTierOrder extends GSponsorsTierOrder { @override final GOrderDirection direction; @@ -42591,6 +45714,8 @@ class _$GUpdateBranchProtectionRuleInput @override final bool? requiresCommitSignatures; @override + final bool? requiresConversationResolution; + @override final bool? requiresLinearHistory; @override final bool? requiresStatusChecks; @@ -42621,6 +45746,7 @@ class _$GUpdateBranchProtectionRuleInput this.requiresApprovingReviews, this.requiresCodeOwnerReviews, this.requiresCommitSignatures, + this.requiresConversationResolution, this.requiresLinearHistory, this.requiresStatusChecks, this.requiresStrictStatusChecks, @@ -42658,6 +45784,8 @@ class _$GUpdateBranchProtectionRuleInput requiresApprovingReviews == other.requiresApprovingReviews && requiresCodeOwnerReviews == other.requiresCodeOwnerReviews && requiresCommitSignatures == other.requiresCommitSignatures && + requiresConversationResolution == + other.requiresConversationResolution && requiresLinearHistory == other.requiresLinearHistory && requiresStatusChecks == other.requiresStatusChecks && requiresStrictStatusChecks == other.requiresStrictStatusChecks && @@ -42687,28 +45815,30 @@ class _$GUpdateBranchProtectionRuleInput $jc( $jc( $jc( - 0, - allowsDeletions + $jc( + 0, + allowsDeletions + .hashCode), + allowsForcePushes .hashCode), - allowsForcePushes + branchProtectionRuleId .hashCode), - branchProtectionRuleId + clientMutationId .hashCode), - clientMutationId + dismissesStaleReviews .hashCode), - dismissesStaleReviews + isAdminEnforced .hashCode), - isAdminEnforced - .hashCode), - pattern.hashCode), - pushActorIds.hashCode), - requiredApprovingReviewCount + pattern.hashCode), + pushActorIds.hashCode), + requiredApprovingReviewCount + .hashCode), + requiredStatusCheckContexts .hashCode), - requiredStatusCheckContexts - .hashCode), - requiresApprovingReviews.hashCode), - requiresCodeOwnerReviews.hashCode), - requiresCommitSignatures.hashCode), + requiresApprovingReviews.hashCode), + requiresCodeOwnerReviews.hashCode), + requiresCommitSignatures.hashCode), + requiresConversationResolution.hashCode), requiresLinearHistory.hashCode), requiresStatusChecks.hashCode), requiresStrictStatusChecks.hashCode), @@ -42733,6 +45863,8 @@ class _$GUpdateBranchProtectionRuleInput ..add('requiresApprovingReviews', requiresApprovingReviews) ..add('requiresCodeOwnerReviews', requiresCodeOwnerReviews) ..add('requiresCommitSignatures', requiresCommitSignatures) + ..add( + 'requiresConversationResolution', requiresConversationResolution) ..add('requiresLinearHistory', requiresLinearHistory) ..add('requiresStatusChecks', requiresStatusChecks) ..add('requiresStrictStatusChecks', requiresStrictStatusChecks) @@ -42816,6 +45948,12 @@ class GUpdateBranchProtectionRuleInputBuilder set requiresCommitSignatures(bool? requiresCommitSignatures) => _$this._requiresCommitSignatures = requiresCommitSignatures; + bool? _requiresConversationResolution; + bool? get requiresConversationResolution => + _$this._requiresConversationResolution; + set requiresConversationResolution(bool? requiresConversationResolution) => + _$this._requiresConversationResolution = requiresConversationResolution; + bool? _requiresLinearHistory; bool? get requiresLinearHistory => _$this._requiresLinearHistory; set requiresLinearHistory(bool? requiresLinearHistory) => @@ -42866,6 +46004,7 @@ class GUpdateBranchProtectionRuleInputBuilder _requiresApprovingReviews = $v.requiresApprovingReviews; _requiresCodeOwnerReviews = $v.requiresCodeOwnerReviews; _requiresCommitSignatures = $v.requiresCommitSignatures; + _requiresConversationResolution = $v.requiresConversationResolution; _requiresLinearHistory = $v.requiresLinearHistory; _requiresStatusChecks = $v.requiresStatusChecks; _requiresStrictStatusChecks = $v.requiresStrictStatusChecks; @@ -42911,6 +46050,7 @@ class GUpdateBranchProtectionRuleInputBuilder requiresApprovingReviews: requiresApprovingReviews, requiresCodeOwnerReviews: requiresCodeOwnerReviews, requiresCommitSignatures: requiresCommitSignatures, + requiresConversationResolution: requiresConversationResolution, requiresLinearHistory: requiresLinearHistory, requiresStatusChecks: requiresStatusChecks, requiresStrictStatusChecks: requiresStrictStatusChecks, @@ -46267,6 +49407,141 @@ class GUpdateIpAllowListEntryInputBuilder } } +class _$GUpdateIpAllowListForInstalledAppsEnabledSettingInput + extends GUpdateIpAllowListForInstalledAppsEnabledSettingInput { + @override + final String? clientMutationId; + @override + final String ownerId; + @override + final GIpAllowListForInstalledAppsEnabledSettingValue settingValue; + + factory _$GUpdateIpAllowListForInstalledAppsEnabledSettingInput( + [void Function( + GUpdateIpAllowListForInstalledAppsEnabledSettingInputBuilder)? + updates]) => + (new GUpdateIpAllowListForInstalledAppsEnabledSettingInputBuilder() + ..update(updates)) + .build(); + + _$GUpdateIpAllowListForInstalledAppsEnabledSettingInput._( + {this.clientMutationId, + required this.ownerId, + required this.settingValue}) + : super._() { + BuiltValueNullFieldError.checkNotNull(ownerId, + 'GUpdateIpAllowListForInstalledAppsEnabledSettingInput', 'ownerId'); + BuiltValueNullFieldError.checkNotNull( + settingValue, + 'GUpdateIpAllowListForInstalledAppsEnabledSettingInput', + 'settingValue'); + } + + @override + GUpdateIpAllowListForInstalledAppsEnabledSettingInput rebuild( + void Function( + GUpdateIpAllowListForInstalledAppsEnabledSettingInputBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + GUpdateIpAllowListForInstalledAppsEnabledSettingInputBuilder toBuilder() => + new GUpdateIpAllowListForInstalledAppsEnabledSettingInputBuilder() + ..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GUpdateIpAllowListForInstalledAppsEnabledSettingInput && + clientMutationId == other.clientMutationId && + ownerId == other.ownerId && + settingValue == other.settingValue; + } + + @override + int get hashCode { + return $jf($jc($jc($jc(0, clientMutationId.hashCode), ownerId.hashCode), + settingValue.hashCode)); + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + 'GUpdateIpAllowListForInstalledAppsEnabledSettingInput') + ..add('clientMutationId', clientMutationId) + ..add('ownerId', ownerId) + ..add('settingValue', settingValue)) + .toString(); + } +} + +class GUpdateIpAllowListForInstalledAppsEnabledSettingInputBuilder + implements + Builder { + _$GUpdateIpAllowListForInstalledAppsEnabledSettingInput? _$v; + + String? _clientMutationId; + String? get clientMutationId => _$this._clientMutationId; + set clientMutationId(String? clientMutationId) => + _$this._clientMutationId = clientMutationId; + + String? _ownerId; + String? get ownerId => _$this._ownerId; + set ownerId(String? ownerId) => _$this._ownerId = ownerId; + + GIpAllowListForInstalledAppsEnabledSettingValue? _settingValue; + GIpAllowListForInstalledAppsEnabledSettingValue? get settingValue => + _$this._settingValue; + set settingValue( + GIpAllowListForInstalledAppsEnabledSettingValue? settingValue) => + _$this._settingValue = settingValue; + + GUpdateIpAllowListForInstalledAppsEnabledSettingInputBuilder(); + + GUpdateIpAllowListForInstalledAppsEnabledSettingInputBuilder get _$this { + final $v = _$v; + if ($v != null) { + _clientMutationId = $v.clientMutationId; + _ownerId = $v.ownerId; + _settingValue = $v.settingValue; + _$v = null; + } + return this; + } + + @override + void replace(GUpdateIpAllowListForInstalledAppsEnabledSettingInput other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GUpdateIpAllowListForInstalledAppsEnabledSettingInput; + } + + @override + void update( + void Function( + GUpdateIpAllowListForInstalledAppsEnabledSettingInputBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + _$GUpdateIpAllowListForInstalledAppsEnabledSettingInput build() { + final _$result = _$v ?? + new _$GUpdateIpAllowListForInstalledAppsEnabledSettingInput._( + clientMutationId: clientMutationId, + ownerId: BuiltValueNullFieldError.checkNotNull( + ownerId, + 'GUpdateIpAllowListForInstalledAppsEnabledSettingInput', + 'ownerId'), + settingValue: BuiltValueNullFieldError.checkNotNull( + settingValue, + 'GUpdateIpAllowListForInstalledAppsEnabledSettingInput', + 'settingValue')); + replace(_$result); + return _$result; + } +} + class _$GUpdateIssueCommentInput extends GUpdateIssueCommentInput { @override final String body; @@ -46588,6 +49863,139 @@ class GUpdateIssueInputBuilder } } +class _$GUpdateLabelInput extends GUpdateLabelInput { + @override + final String? clientMutationId; + @override + final String? color; + @override + final String? description; + @override + final String id; + @override + final String? name; + + factory _$GUpdateLabelInput( + [void Function(GUpdateLabelInputBuilder)? updates]) => + (new GUpdateLabelInputBuilder()..update(updates)).build(); + + _$GUpdateLabelInput._( + {this.clientMutationId, + this.color, + this.description, + required this.id, + this.name}) + : super._() { + BuiltValueNullFieldError.checkNotNull(id, 'GUpdateLabelInput', 'id'); + } + + @override + GUpdateLabelInput rebuild(void Function(GUpdateLabelInputBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GUpdateLabelInputBuilder toBuilder() => + new GUpdateLabelInputBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GUpdateLabelInput && + clientMutationId == other.clientMutationId && + color == other.color && + description == other.description && + id == other.id && + name == other.name; + } + + @override + int get hashCode { + return $jf($jc( + $jc( + $jc($jc($jc(0, clientMutationId.hashCode), color.hashCode), + description.hashCode), + id.hashCode), + name.hashCode)); + } + + @override + String toString() { + return (newBuiltValueToStringHelper('GUpdateLabelInput') + ..add('clientMutationId', clientMutationId) + ..add('color', color) + ..add('description', description) + ..add('id', id) + ..add('name', name)) + .toString(); + } +} + +class GUpdateLabelInputBuilder + implements Builder { + _$GUpdateLabelInput? _$v; + + String? _clientMutationId; + String? get clientMutationId => _$this._clientMutationId; + set clientMutationId(String? clientMutationId) => + _$this._clientMutationId = clientMutationId; + + String? _color; + String? get color => _$this._color; + set color(String? color) => _$this._color = color; + + String? _description; + String? get description => _$this._description; + set description(String? description) => _$this._description = description; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + GUpdateLabelInputBuilder(); + + GUpdateLabelInputBuilder get _$this { + final $v = _$v; + if ($v != null) { + _clientMutationId = $v.clientMutationId; + _color = $v.color; + _description = $v.description; + _id = $v.id; + _name = $v.name; + _$v = null; + } + return this; + } + + @override + void replace(GUpdateLabelInput other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GUpdateLabelInput; + } + + @override + void update(void Function(GUpdateLabelInputBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + _$GUpdateLabelInput build() { + final _$result = _$v ?? + new _$GUpdateLabelInput._( + clientMutationId: clientMutationId, + color: color, + description: description, + id: BuiltValueNullFieldError.checkNotNull( + id, 'GUpdateLabelInput', 'id'), + name: name); + replace(_$result); + return _$result; + } +} + class _$GUpdateNotificationRestrictionSettingInput extends GUpdateNotificationRestrictionSettingInput { @override @@ -47700,6 +51108,131 @@ class GUpdateRefInputBuilder } } +class _$GUpdateRefsInput extends GUpdateRefsInput { + @override + final String? clientMutationId; + @override + final BuiltList refUpdates; + @override + final String repositoryId; + + factory _$GUpdateRefsInput( + [void Function(GUpdateRefsInputBuilder)? updates]) => + (new GUpdateRefsInputBuilder()..update(updates)).build(); + + _$GUpdateRefsInput._( + {this.clientMutationId, + required this.refUpdates, + required this.repositoryId}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + refUpdates, 'GUpdateRefsInput', 'refUpdates'); + BuiltValueNullFieldError.checkNotNull( + repositoryId, 'GUpdateRefsInput', 'repositoryId'); + } + + @override + GUpdateRefsInput rebuild(void Function(GUpdateRefsInputBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GUpdateRefsInputBuilder toBuilder() => + new GUpdateRefsInputBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GUpdateRefsInput && + clientMutationId == other.clientMutationId && + refUpdates == other.refUpdates && + repositoryId == other.repositoryId; + } + + @override + int get hashCode { + return $jf($jc($jc($jc(0, clientMutationId.hashCode), refUpdates.hashCode), + repositoryId.hashCode)); + } + + @override + String toString() { + return (newBuiltValueToStringHelper('GUpdateRefsInput') + ..add('clientMutationId', clientMutationId) + ..add('refUpdates', refUpdates) + ..add('repositoryId', repositoryId)) + .toString(); + } +} + +class GUpdateRefsInputBuilder + implements Builder { + _$GUpdateRefsInput? _$v; + + String? _clientMutationId; + String? get clientMutationId => _$this._clientMutationId; + set clientMutationId(String? clientMutationId) => + _$this._clientMutationId = clientMutationId; + + ListBuilder? _refUpdates; + ListBuilder get refUpdates => + _$this._refUpdates ??= new ListBuilder(); + set refUpdates(ListBuilder? refUpdates) => + _$this._refUpdates = refUpdates; + + String? _repositoryId; + String? get repositoryId => _$this._repositoryId; + set repositoryId(String? repositoryId) => _$this._repositoryId = repositoryId; + + GUpdateRefsInputBuilder(); + + GUpdateRefsInputBuilder get _$this { + final $v = _$v; + if ($v != null) { + _clientMutationId = $v.clientMutationId; + _refUpdates = $v.refUpdates.toBuilder(); + _repositoryId = $v.repositoryId; + _$v = null; + } + return this; + } + + @override + void replace(GUpdateRefsInput other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GUpdateRefsInput; + } + + @override + void update(void Function(GUpdateRefsInputBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + _$GUpdateRefsInput build() { + _$GUpdateRefsInput _$result; + try { + _$result = _$v ?? + new _$GUpdateRefsInput._( + clientMutationId: clientMutationId, + refUpdates: refUpdates.build(), + repositoryId: BuiltValueNullFieldError.checkNotNull( + repositoryId, 'GUpdateRefsInput', 'repositoryId')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'refUpdates'; + refUpdates.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + 'GUpdateRefsInput', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + class _$GUpdateRepositoryInput extends GUpdateRepositoryInput { @override final String? clientMutationId; @@ -48284,6 +51817,192 @@ class GUpdateTeamDiscussionInputBuilder } } +class _$GUpdateTeamReviewAssignmentInput + extends GUpdateTeamReviewAssignmentInput { + @override + final GTeamReviewAssignmentAlgorithm? algorithm; + @override + final String? clientMutationId; + @override + final bool enabled; + @override + final BuiltList? excludedTeamMemberIds; + @override + final String id; + @override + final bool? notifyTeam; + @override + final int? teamMemberCount; + + factory _$GUpdateTeamReviewAssignmentInput( + [void Function(GUpdateTeamReviewAssignmentInputBuilder)? updates]) => + (new GUpdateTeamReviewAssignmentInputBuilder()..update(updates)).build(); + + _$GUpdateTeamReviewAssignmentInput._( + {this.algorithm, + this.clientMutationId, + required this.enabled, + this.excludedTeamMemberIds, + required this.id, + this.notifyTeam, + this.teamMemberCount}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + enabled, 'GUpdateTeamReviewAssignmentInput', 'enabled'); + BuiltValueNullFieldError.checkNotNull( + id, 'GUpdateTeamReviewAssignmentInput', 'id'); + } + + @override + GUpdateTeamReviewAssignmentInput rebuild( + void Function(GUpdateTeamReviewAssignmentInputBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + GUpdateTeamReviewAssignmentInputBuilder toBuilder() => + new GUpdateTeamReviewAssignmentInputBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is GUpdateTeamReviewAssignmentInput && + algorithm == other.algorithm && + clientMutationId == other.clientMutationId && + enabled == other.enabled && + excludedTeamMemberIds == other.excludedTeamMemberIds && + id == other.id && + notifyTeam == other.notifyTeam && + teamMemberCount == other.teamMemberCount; + } + + @override + int get hashCode { + return $jf($jc( + $jc( + $jc( + $jc( + $jc( + $jc($jc(0, algorithm.hashCode), + clientMutationId.hashCode), + enabled.hashCode), + excludedTeamMemberIds.hashCode), + id.hashCode), + notifyTeam.hashCode), + teamMemberCount.hashCode)); + } + + @override + String toString() { + return (newBuiltValueToStringHelper('GUpdateTeamReviewAssignmentInput') + ..add('algorithm', algorithm) + ..add('clientMutationId', clientMutationId) + ..add('enabled', enabled) + ..add('excludedTeamMemberIds', excludedTeamMemberIds) + ..add('id', id) + ..add('notifyTeam', notifyTeam) + ..add('teamMemberCount', teamMemberCount)) + .toString(); + } +} + +class GUpdateTeamReviewAssignmentInputBuilder + implements + Builder { + _$GUpdateTeamReviewAssignmentInput? _$v; + + GTeamReviewAssignmentAlgorithm? _algorithm; + GTeamReviewAssignmentAlgorithm? get algorithm => _$this._algorithm; + set algorithm(GTeamReviewAssignmentAlgorithm? algorithm) => + _$this._algorithm = algorithm; + + String? _clientMutationId; + String? get clientMutationId => _$this._clientMutationId; + set clientMutationId(String? clientMutationId) => + _$this._clientMutationId = clientMutationId; + + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(bool? enabled) => _$this._enabled = enabled; + + ListBuilder? _excludedTeamMemberIds; + ListBuilder get excludedTeamMemberIds => + _$this._excludedTeamMemberIds ??= new ListBuilder(); + set excludedTeamMemberIds(ListBuilder? excludedTeamMemberIds) => + _$this._excludedTeamMemberIds = excludedTeamMemberIds; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + bool? _notifyTeam; + bool? get notifyTeam => _$this._notifyTeam; + set notifyTeam(bool? notifyTeam) => _$this._notifyTeam = notifyTeam; + + int? _teamMemberCount; + int? get teamMemberCount => _$this._teamMemberCount; + set teamMemberCount(int? teamMemberCount) => + _$this._teamMemberCount = teamMemberCount; + + GUpdateTeamReviewAssignmentInputBuilder(); + + GUpdateTeamReviewAssignmentInputBuilder get _$this { + final $v = _$v; + if ($v != null) { + _algorithm = $v.algorithm; + _clientMutationId = $v.clientMutationId; + _enabled = $v.enabled; + _excludedTeamMemberIds = $v.excludedTeamMemberIds?.toBuilder(); + _id = $v.id; + _notifyTeam = $v.notifyTeam; + _teamMemberCount = $v.teamMemberCount; + _$v = null; + } + return this; + } + + @override + void replace(GUpdateTeamReviewAssignmentInput other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$GUpdateTeamReviewAssignmentInput; + } + + @override + void update(void Function(GUpdateTeamReviewAssignmentInputBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + _$GUpdateTeamReviewAssignmentInput build() { + _$GUpdateTeamReviewAssignmentInput _$result; + try { + _$result = _$v ?? + new _$GUpdateTeamReviewAssignmentInput._( + algorithm: algorithm, + clientMutationId: clientMutationId, + enabled: BuiltValueNullFieldError.checkNotNull( + enabled, 'GUpdateTeamReviewAssignmentInput', 'enabled'), + excludedTeamMemberIds: _excludedTeamMemberIds?.build(), + id: BuiltValueNullFieldError.checkNotNull( + id, 'GUpdateTeamReviewAssignmentInput', 'id'), + notifyTeam: notifyTeam, + teamMemberCount: teamMemberCount); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'excludedTeamMemberIds'; + _excludedTeamMemberIds?.build(); + } catch (e) { + throw new BuiltValueNestedFieldError( + 'GUpdateTeamReviewAssignmentInput', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + class _$GUpdateTopicsInput extends GUpdateTopicsInput { @override final String? clientMutationId; diff --git a/lib/graphql/serializers.gql.dart b/lib/graphql/serializers.gql.dart index 23bb384..f5bab1b 100644 --- a/lib/graphql/serializers.gql.dart +++ b/lib/graphql/serializers.gql.dart @@ -809,11 +809,15 @@ import 'package:git_touch/graphql/schema.schema.gql.dart' GCreateBranchProtectionRuleInput, GCreateCheckRunInput, GCreateCheckSuiteInput, + GCreateContentAttachmentInput, + GCreateDeploymentInput, + GCreateDeploymentStatusInput, GCreateDiscussionInput, GCreateEnterpriseOrganizationInput, GCreateEnvironmentInput, GCreateIpAllowListEntryInput, GCreateIssueInput, + GCreateLabelInput, GCreateProjectInput, GCreatePullRequestInput, GCreateRefInput, @@ -831,6 +835,8 @@ import 'package:git_touch/graphql/schema.schema.gql.dart' GDeleteIpAllowListEntryInput, GDeleteIssueCommentInput, GDeleteIssueInput, + GDeleteLabelInput, + GDeletePackageVersionInput, GDeleteProjectCardInput, GDeleteProjectColumnInput, GDeleteProjectInput, @@ -881,15 +887,18 @@ import 'package:git_touch/graphql/schema.schema.gql.dart' GGistOrder, GGistOrderField, GGistPrivacy, + GGitRefname, GGitSSHRemote, GGitSignatureState, GGitTimestamp, GHTML, GIdentityProviderConfigurationState, + GImportProjectInput, GInviteEnterpriseAdminInput, GIpAllowListEnabledSettingValue, GIpAllowListEntryOrder, GIpAllowListEntryOrderField, + GIpAllowListForInstalledAppsEnabledSettingValue, GIssueCommentOrder, GIssueCommentOrderField, GIssueFilters, @@ -909,6 +918,7 @@ import 'package:git_touch/graphql/schema.schema.gql.dart' GMarkPullRequestReadyForReviewInput, GMergeBranchInput, GMergePullRequestInput, + GMergeStateStatus, GMergeableState, GMilestoneOrder, GMilestoneOrderField, @@ -949,7 +959,9 @@ import 'package:git_touch/graphql/schema.schema.gql.dart' GPinnedDiscussionPattern, GPreciseDateTime, GProjectCardArchivedState, + GProjectCardImport, GProjectCardState, + GProjectColumnImport, GProjectColumnPurpose, GProjectOrder, GProjectOrderField, @@ -970,6 +982,7 @@ import 'package:git_touch/graphql/schema.schema.gql.dart' GReactionOrderField, GRefOrder, GRefOrderField, + GRefUpdate, GRegenerateEnterpriseIdentityProviderRecoveryCodesInput, GRegenerateVerifiableDomainTokenInput, GRejectDeploymentsInput, @@ -1031,6 +1044,10 @@ import 'package:git_touch/graphql/schema.schema.gql.dart' GSetUserInteractionLimitInput, GSponsorableOrder, GSponsorableOrderField, + GSponsorsActivityAction, + GSponsorsActivityOrder, + GSponsorsActivityOrderField, + GSponsorsActivityPeriod, GSponsorsGoalKind, GSponsorsTierOrder, GSponsorsTierOrderField, @@ -1055,6 +1072,7 @@ import 'package:git_touch/graphql/schema.schema.gql.dart' GTeamPrivacy, GTeamRepositoryOrder, GTeamRepositoryOrderField, + GTeamReviewAssignmentAlgorithm, GTeamRole, GTopicSuggestionDeclineReason, GTransferIssueInput, @@ -1092,8 +1110,10 @@ import 'package:git_touch/graphql/schema.schema.gql.dart' GUpdateEnvironmentInput, GUpdateIpAllowListEnabledSettingInput, GUpdateIpAllowListEntryInput, + GUpdateIpAllowListForInstalledAppsEnabledSettingInput, GUpdateIssueCommentInput, GUpdateIssueInput, + GUpdateLabelInput, GUpdateNotificationRestrictionSettingInput, GUpdateProjectCardInput, GUpdateProjectColumnInput, @@ -1102,10 +1122,12 @@ import 'package:git_touch/graphql/schema.schema.gql.dart' GUpdatePullRequestReviewCommentInput, GUpdatePullRequestReviewInput, GUpdateRefInput, + GUpdateRefsInput, GUpdateRepositoryInput, GUpdateSubscriptionInput, GUpdateTeamDiscussionCommentInput, GUpdateTeamDiscussionInput, + GUpdateTeamReviewAssignmentInput, GUpdateTopicsInput, GUserBlockDuration, GUserStatusOrder, @@ -1294,11 +1316,15 @@ final SerializersBuilder _serializersBuilder = _$serializers.toBuilder() GCreateBranchProtectionRuleInput, GCreateCheckRunInput, GCreateCheckSuiteInput, + GCreateContentAttachmentInput, + GCreateDeploymentInput, + GCreateDeploymentStatusInput, GCreateDiscussionInput, GCreateEnterpriseOrganizationInput, GCreateEnvironmentInput, GCreateIpAllowListEntryInput, GCreateIssueInput, + GCreateLabelInput, GCreateProjectInput, GCreatePullRequestInput, GCreateRefInput, @@ -1327,6 +1353,8 @@ final SerializersBuilder _serializersBuilder = _$serializers.toBuilder() GDeleteIpAllowListEntryInput, GDeleteIssueCommentInput, GDeleteIssueInput, + GDeleteLabelInput, + GDeletePackageVersionInput, GDeleteProjectCardInput, GDeleteProjectColumnInput, GDeleteProjectInput, @@ -1424,6 +1452,7 @@ final SerializersBuilder _serializersBuilder = _$serializers.toBuilder() GGistsData_user_gists_pageInfo, GGistsReq, GGistsVars, + GGitRefname, GGitSSHRemote, GGitSignatureState, GGitTimestamp, @@ -1445,10 +1474,12 @@ final SerializersBuilder _serializersBuilder = _$serializers.toBuilder() GHeadRefRestoredEventPartsReq, GHeadRefRestoredEventPartsVars, GIdentityProviderConfigurationState, + GImportProjectInput, GInviteEnterpriseAdminInput, GIpAllowListEnabledSettingValue, GIpAllowListEntryOrder, GIpAllowListEntryOrderField, + GIpAllowListForInstalledAppsEnabledSettingValue, GIssueCommentOrder, GIssueCommentOrderField, GIssueData, @@ -1728,6 +1759,7 @@ final SerializersBuilder _serializersBuilder = _$serializers.toBuilder() GMentionedEventPartsVars, GMergeBranchInput, GMergePullRequestInput, + GMergeStateStatus, GMergeableState, GMergedEventPartsData, GMergedEventPartsData_actor, @@ -1784,7 +1816,9 @@ final SerializersBuilder _serializersBuilder = _$serializers.toBuilder() GPinnedEventPartsVars, GPreciseDateTime, GProjectCardArchivedState, + GProjectCardImport, GProjectCardState, + GProjectColumnImport, GProjectColumnPurpose, GProjectOrder, GProjectOrderField, @@ -1851,6 +1885,7 @@ final SerializersBuilder _serializersBuilder = _$serializers.toBuilder() GReactionOrderField, GRefOrder, GRefOrderField, + GRefUpdate, GReferencedEventPartsData, GReferencedEventPartsData_actor, GReferencedEventPartsData_commit, @@ -2020,6 +2055,10 @@ final SerializersBuilder _serializersBuilder = _$serializers.toBuilder() GSetUserInteractionLimitInput, GSponsorableOrder, GSponsorableOrderField, + GSponsorsActivityAction, + GSponsorsActivityOrder, + GSponsorsActivityOrderField, + GSponsorsActivityPeriod, GSponsorsGoalKind, GSponsorsTierOrder, GSponsorsTierOrderField, @@ -2066,6 +2105,7 @@ final SerializersBuilder _serializersBuilder = _$serializers.toBuilder() GTeamPrivacy, GTeamRepositoryOrder, GTeamRepositoryOrderField, + GTeamReviewAssignmentAlgorithm, GTeamRole, GTopicSuggestionDeclineReason, GTransferIssueInput, @@ -2131,8 +2171,10 @@ final SerializersBuilder _serializersBuilder = _$serializers.toBuilder() GUpdateEnvironmentInput, GUpdateIpAllowListEnabledSettingInput, GUpdateIpAllowListEntryInput, + GUpdateIpAllowListForInstalledAppsEnabledSettingInput, GUpdateIssueCommentInput, GUpdateIssueInput, + GUpdateLabelInput, GUpdateNotificationRestrictionSettingInput, GUpdateProjectCardInput, GUpdateProjectColumnInput, @@ -2141,10 +2183,12 @@ final SerializersBuilder _serializersBuilder = _$serializers.toBuilder() GUpdatePullRequestReviewCommentInput, GUpdatePullRequestReviewInput, GUpdateRefInput, + GUpdateRefsInput, GUpdateRepositoryInput, GUpdateSubscriptionInput, GUpdateTeamDiscussionCommentInput, GUpdateTeamDiscussionInput, + GUpdateTeamReviewAssignmentInput, GUpdateTopicsInput, GUserBlockDuration, GUserData, diff --git a/lib/graphql/serializers.gql.g.dart b/lib/graphql/serializers.gql.g.dart index 8e43a42..cdfd713 100644 --- a/lib/graphql/serializers.gql.g.dart +++ b/lib/graphql/serializers.gql.g.dart @@ -146,11 +146,15 @@ Serializers _$serializers = (new Serializers().toBuilder() ..add(GCreateBranchProtectionRuleInput.serializer) ..add(GCreateCheckRunInput.serializer) ..add(GCreateCheckSuiteInput.serializer) + ..add(GCreateContentAttachmentInput.serializer) + ..add(GCreateDeploymentInput.serializer) + ..add(GCreateDeploymentStatusInput.serializer) ..add(GCreateDiscussionInput.serializer) ..add(GCreateEnterpriseOrganizationInput.serializer) ..add(GCreateEnvironmentInput.serializer) ..add(GCreateIpAllowListEntryInput.serializer) ..add(GCreateIssueInput.serializer) + ..add(GCreateLabelInput.serializer) ..add(GCreateProjectInput.serializer) ..add(GCreatePullRequestInput.serializer) ..add(GCreateRefInput.serializer) @@ -184,6 +188,8 @@ Serializers _$serializers = (new Serializers().toBuilder() ..add(GDeleteIpAllowListEntryInput.serializer) ..add(GDeleteIssueCommentInput.serializer) ..add(GDeleteIssueInput.serializer) + ..add(GDeleteLabelInput.serializer) + ..add(GDeletePackageVersionInput.serializer) ..add(GDeleteProjectCardInput.serializer) ..add(GDeleteProjectColumnInput.serializer) ..add(GDeleteProjectInput.serializer) @@ -284,6 +290,7 @@ Serializers _$serializers = (new Serializers().toBuilder() ..add(GGistsData_user_gists_pageInfo.serializer) ..add(GGistsReq.serializer) ..add(GGistsVars.serializer) + ..add(GGitRefname.serializer) ..add(GGitSSHRemote.serializer) ..add(GGitSignatureState.serializer) ..add(GGitTimestamp.serializer) @@ -305,10 +312,12 @@ Serializers _$serializers = (new Serializers().toBuilder() ..add(GHeadRefRestoredEventPartsReq.serializer) ..add(GHeadRefRestoredEventPartsVars.serializer) ..add(GIdentityProviderConfigurationState.serializer) + ..add(GImportProjectInput.serializer) ..add(GInviteEnterpriseAdminInput.serializer) ..add(GIpAllowListEnabledSettingValue.serializer) ..add(GIpAllowListEntryOrder.serializer) ..add(GIpAllowListEntryOrderField.serializer) + ..add(GIpAllowListForInstalledAppsEnabledSettingValue.serializer) ..add(GIssueCommentOrder.serializer) ..add(GIssueCommentOrderField.serializer) ..add(GIssueData.serializer) @@ -1004,6 +1013,7 @@ Serializers _$serializers = (new Serializers().toBuilder() ..add(GMentionedEventPartsVars.serializer) ..add(GMergeBranchInput.serializer) ..add(GMergePullRequestInput.serializer) + ..add(GMergeStateStatus.serializer) ..add(GMergeableState.serializer) ..add(GMergedEventPartsData.serializer) ..add(GMergedEventPartsData_actor.serializer) @@ -1062,7 +1072,9 @@ Serializers _$serializers = (new Serializers().toBuilder() ..add(GPinnedEventPartsVars.serializer) ..add(GPreciseDateTime.serializer) ..add(GProjectCardArchivedState.serializer) + ..add(GProjectCardImport.serializer) ..add(GProjectCardState.serializer) + ..add(GProjectColumnImport.serializer) ..add(GProjectColumnPurpose.serializer) ..add(GProjectOrder.serializer) ..add(GProjectOrderField.serializer) @@ -1129,6 +1141,7 @@ Serializers _$serializers = (new Serializers().toBuilder() ..add(GReactionOrderField.serializer) ..add(GRefOrder.serializer) ..add(GRefOrderField.serializer) + ..add(GRefUpdate.serializer) ..add(GReferencedEventPartsData.serializer) ..add(GReferencedEventPartsData_actor.serializer) ..add(GReferencedEventPartsData_commit.serializer) @@ -1302,6 +1315,10 @@ Serializers _$serializers = (new Serializers().toBuilder() ..add(GSetUserInteractionLimitInput.serializer) ..add(GSponsorableOrder.serializer) ..add(GSponsorableOrderField.serializer) + ..add(GSponsorsActivityAction.serializer) + ..add(GSponsorsActivityOrder.serializer) + ..add(GSponsorsActivityOrderField.serializer) + ..add(GSponsorsActivityPeriod.serializer) ..add(GSponsorsGoalKind.serializer) ..add(GSponsorsTierOrder.serializer) ..add(GSponsorsTierOrderField.serializer) @@ -1349,6 +1366,7 @@ Serializers _$serializers = (new Serializers().toBuilder() ..add(GTeamPrivacy.serializer) ..add(GTeamRepositoryOrder.serializer) ..add(GTeamRepositoryOrderField.serializer) + ..add(GTeamReviewAssignmentAlgorithm.serializer) ..add(GTeamRole.serializer) ..add(GTopicSuggestionDeclineReason.serializer) ..add(GTransferIssueInput.serializer) @@ -1422,8 +1440,10 @@ Serializers _$serializers = (new Serializers().toBuilder() ..add(GUpdateEnvironmentInput.serializer) ..add(GUpdateIpAllowListEnabledSettingInput.serializer) ..add(GUpdateIpAllowListEntryInput.serializer) + ..add(GUpdateIpAllowListForInstalledAppsEnabledSettingInput.serializer) ..add(GUpdateIssueCommentInput.serializer) ..add(GUpdateIssueInput.serializer) + ..add(GUpdateLabelInput.serializer) ..add(GUpdateNotificationRestrictionSettingInput.serializer) ..add(GUpdateProjectCardInput.serializer) ..add(GUpdateProjectColumnInput.serializer) @@ -1432,10 +1452,12 @@ Serializers _$serializers = (new Serializers().toBuilder() ..add(GUpdatePullRequestReviewCommentInput.serializer) ..add(GUpdatePullRequestReviewInput.serializer) ..add(GUpdateRefInput.serializer) + ..add(GUpdateRefsInput.serializer) ..add(GUpdateRepositoryInput.serializer) ..add(GUpdateSubscriptionInput.serializer) ..add(GUpdateTeamDiscussionCommentInput.serializer) ..add(GUpdateTeamDiscussionInput.serializer) + ..add(GUpdateTeamReviewAssignmentInput.serializer) ..add(GUpdateTopicsInput.serializer) ..add(GUserBlockDuration.serializer) ..add(GUserData.serializer) @@ -1706,6 +1728,13 @@ Serializers _$serializers = (new Serializers().toBuilder() ]), () => new ListBuilder< GMembersData_organization_membersWithRole_nodes>()) + ..addBuilderFactory( + const FullType(BuiltList, const [const FullType(GProjectCardImport)]), + () => new ListBuilder()) + ..addBuilderFactory( + const FullType( + BuiltList, const [const FullType(GProjectColumnImport)]), + () => new ListBuilder()) ..addBuilderFactory( const FullType(BuiltList, const [ const FullType(GPullRequestReviewPartsData_comments_nodes) @@ -1722,6 +1751,9 @@ Serializers _$serializers = (new Serializers().toBuilder() ]), () => new ListBuilder< GPullsData_repository_pullRequests_nodes_labels_nodes>()) + ..addBuilderFactory( + const FullType(BuiltList, const [const FullType(GRefUpdate)]), + () => new ListBuilder()) ..addBuilderFactory( const FullType(BuiltList, const [const FullType(GReleasesData_repository_releases_nodes)]), @@ -1884,6 +1916,12 @@ Serializers _$serializers = (new Serializers().toBuilder() ..addBuilderFactory( const FullType(BuiltList, const [const FullType(String)]), () => new ListBuilder()) + ..addBuilderFactory( + const FullType(BuiltList, const [const FullType(String)]), + () => new ListBuilder()) + ..addBuilderFactory( + const FullType(BuiltList, const [const FullType(String)]), + () => new ListBuilder()) ..addBuilderFactory( const FullType(BuiltList, const [const FullType(GIssueState)]), () => new ListBuilder()) diff --git a/scripts/dev.sh b/scripts/dev.sh index 8daf8f2..6ab12d3 100644 --- a/scripts/dev.sh +++ b/scripts/dev.sh @@ -1,3 +1,6 @@ #!/bin/bash +# https://docs.github.com/en/graphql/overview/public-schema +curl -o lib/graphql/schema.graphql https://docs.github.com/public/schema.docs.graphql + flutter pub run build_runner watch --delete-conflicting-outputs