github-schema 1.44.0 → 1.46.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2535,8 +2535,10 @@ type ClosedEvent = Node & UniformResourceLocatable & {
2535
2535
  /** The object which triggered a `ClosedEvent`. */
2536
2536
  type Closer = Commit | ProjectV2 | PullRequest;
2537
2537
  /**
2538
- * Enforce minimum line coverage thresholds on pull requests. When configured,
2539
- * uploaded coverage data must meet the specified criteria before changes can be merged.
2538
+ * Enforce minimum line coverage thresholds on pull requests. This rule evaluates
2539
+ * uploaded coverage data but does not wait for coverage uploads. To ensure
2540
+ * coverage is evaluated before merging, make each status check associated with a
2541
+ * coverage upload a required status check.
2540
2542
  */
2541
2543
  type CodeCoverageParameters = {
2542
2544
  __typename?: 'CodeCoverageParameters';
@@ -2553,8 +2555,10 @@ type CodeCoverageParameters = {
2553
2555
  minimumCoverage?: Maybe<Scalars['Float']['output']>;
2554
2556
  };
2555
2557
  /**
2556
- * Enforce minimum line coverage thresholds on pull requests. When configured,
2557
- * uploaded coverage data must meet the specified criteria before changes can be merged.
2558
+ * Enforce minimum line coverage thresholds on pull requests. This rule evaluates
2559
+ * uploaded coverage data but does not wait for coverage uploads. To ensure
2560
+ * coverage is evaluated before merging, make each status check associated with a
2561
+ * coverage upload a required status check.
2558
2562
  */
2559
2563
  type CodeCoverageParametersInput = {
2560
2564
  /**
@@ -3813,8 +3817,7 @@ type ConvertedToDiscussionEvent = Node & {
3813
3817
  };
3814
3818
  /**
3815
3819
  * Request Copilot code review for new pull requests automatically if the author
3816
- * has access to Copilot code review and their premium requests quota has not
3817
- * reached the limit.
3820
+ * has access to Copilot code review and AI credits.
3818
3821
  */
3819
3822
  type CopilotCodeReviewParameters = {
3820
3823
  __typename?: 'CopilotCodeReviewParameters';
@@ -3825,8 +3828,7 @@ type CopilotCodeReviewParameters = {
3825
3828
  };
3826
3829
  /**
3827
3830
  * Request Copilot code review for new pull requests automatically if the author
3828
- * has access to Copilot code review and their premium requests quota has not
3829
- * reached the limit.
3831
+ * has access to Copilot code review and AI credits.
3830
3832
  */
3831
3833
  type CopilotCodeReviewParametersInput = {
3832
3834
  /** Copilot automatically reviews draft pull requests before they are marked as ready for review. */
@@ -12711,7 +12713,10 @@ type Mutation = {
12711
12713
  approveVerifiableDomain?: Maybe<ApproveVerifiableDomainPayload>;
12712
12714
  /** Archives a ProjectV2Item */
12713
12715
  archiveProjectV2Item?: Maybe<ArchiveProjectV2ItemPayload>;
12714
- /** Archive a pull request. Closes and marks the pull request as archived. Only repository admins can archive pull requests. */
12716
+ /**
12717
+ * Archive a pull request. Closes and marks the pull request as archived. Users
12718
+ * with the triage role or higher can archive pull requests.
12719
+ */
12715
12720
  archivePullRequest?: Maybe<ArchivePullRequestPayload>;
12716
12721
  /** Marks a repository as archived. */
12717
12722
  archiveRepository?: Maybe<ArchiveRepositoryPayload>;
@@ -13141,8 +13146,8 @@ type Mutation = {
13141
13146
  unarchiveProjectV2Item?: Maybe<UnarchiveProjectV2ItemPayload>;
13142
13147
  /**
13143
13148
  * Unarchive a pull request. Removes the archived flag from the pull request.
13144
- * Does not automatically reopen or unlock the pull request. Only repository
13145
- * admins can unarchive pull requests.
13149
+ * Does not automatically reopen or unlock the pull request. Users with the
13150
+ * triage role or higher can unarchive pull requests.
13146
13151
  */
13147
13152
  unarchivePullRequest?: Maybe<UnarchivePullRequestPayload>;
13148
13153
  /** Unarchives a repository. */
@@ -22161,9 +22166,8 @@ type PullRequestParameters = {
22161
22166
  /** All conversations on code must be resolved before a pull request can be merged. */
22162
22167
  requiredReviewThreadResolution: Scalars['Boolean']['output'];
22163
22168
  /**
22164
- * This field is in beta and subject to change. A collection of reviewers and
22165
- * associated file patterns. Each reviewer has a list of file patterns which
22166
- * determine the files that reviewer is required to review.
22169
+ * A collection of reviewers and associated file patterns. Each reviewer has a
22170
+ * list of file patterns which determine the files that reviewer is required to review.
22167
22171
  */
22168
22172
  requiredReviewers?: Maybe<Array<RequiredReviewerConfiguration>>;
22169
22173
  };
@@ -22187,9 +22191,8 @@ type PullRequestParametersInput = {
22187
22191
  /** All conversations on code must be resolved before a pull request can be merged. */
22188
22192
  requiredReviewThreadResolution: Scalars['Boolean']['input'];
22189
22193
  /**
22190
- * This argument is in beta and subject to change. A collection of reviewers and
22191
- * associated file patterns. Each reviewer has a list of file patterns which
22192
- * determine the files that reviewer is required to review.
22194
+ * A collection of reviewers and associated file patterns. Each reviewer has a
22195
+ * list of file patterns which determine the files that reviewer is required to review.
22193
22196
  */
22194
22197
  requiredReviewers?: InputMaybe<Array<RequiredReviewerConfigurationInput>>;
22195
22198
  };
@@ -26410,6 +26413,8 @@ type Repository = Node & PackageOwner & ProjectOwner & ProjectV2Recent & Reposit
26410
26413
  forkingAllowed: Scalars['Boolean']['output'];
26411
26414
  /** A list of direct forked repositories. */
26412
26415
  forks: RepositoryConnection;
26416
+ /** Identifies the primary key from the database as a BigInt. */
26417
+ fullDatabaseId?: Maybe<Scalars['BigInt']['output']>;
26413
26418
  /** The funding links for this repository */
26414
26419
  fundingLinks: Array<FundingLink>;
26415
26420
  /** Indicates if the repository has the Discussions feature enabled. */
@@ -27776,8 +27781,10 @@ type RepositoryRuleType =
27776
27781
  /** Branch name pattern */
27777
27782
  'BRANCH_NAME_PATTERN' |
27778
27783
  /**
27779
- * Enforce minimum line coverage thresholds on pull requests. When configured,
27780
- * uploaded coverage data must meet the specified criteria before changes can be merged.
27784
+ * Enforce minimum line coverage thresholds on pull requests. This rule evaluates
27785
+ * uploaded coverage data but does not wait for coverage uploads. To ensure
27786
+ * coverage is evaluated before merging, make each status check associated with a
27787
+ * coverage upload a required status check.
27781
27788
  */
27782
27789
  'CODE_COVERAGE' |
27783
27790
  /**
@@ -27800,8 +27807,7 @@ type RepositoryRuleType =
27800
27807
  'COMMIT_MESSAGE_PATTERN' |
27801
27808
  /**
27802
27809
  * Request Copilot code review for new pull requests automatically if the author
27803
- * has access to Copilot code review and their premium requests quota has not
27804
- * reached the limit.
27810
+ * has access to Copilot code review and AI credits.
27805
27811
  */
27806
27812
  'COPILOT_CODE_REVIEW' |
27807
27813
  /** Only allow users with bypass permission to create matching refs. */
@@ -2535,8 +2535,10 @@ type ClosedEvent = Node & UniformResourceLocatable & {
2535
2535
  /** The object which triggered a `ClosedEvent`. */
2536
2536
  type Closer = Commit | ProjectV2 | PullRequest;
2537
2537
  /**
2538
- * Enforce minimum line coverage thresholds on pull requests. When configured,
2539
- * uploaded coverage data must meet the specified criteria before changes can be merged.
2538
+ * Enforce minimum line coverage thresholds on pull requests. This rule evaluates
2539
+ * uploaded coverage data but does not wait for coverage uploads. To ensure
2540
+ * coverage is evaluated before merging, make each status check associated with a
2541
+ * coverage upload a required status check.
2540
2542
  */
2541
2543
  type CodeCoverageParameters = {
2542
2544
  __typename?: 'CodeCoverageParameters';
@@ -2553,8 +2555,10 @@ type CodeCoverageParameters = {
2553
2555
  minimumCoverage?: Maybe<Scalars['Float']['output']>;
2554
2556
  };
2555
2557
  /**
2556
- * Enforce minimum line coverage thresholds on pull requests. When configured,
2557
- * uploaded coverage data must meet the specified criteria before changes can be merged.
2558
+ * Enforce minimum line coverage thresholds on pull requests. This rule evaluates
2559
+ * uploaded coverage data but does not wait for coverage uploads. To ensure
2560
+ * coverage is evaluated before merging, make each status check associated with a
2561
+ * coverage upload a required status check.
2558
2562
  */
2559
2563
  type CodeCoverageParametersInput = {
2560
2564
  /**
@@ -3813,8 +3817,7 @@ type ConvertedToDiscussionEvent = Node & {
3813
3817
  };
3814
3818
  /**
3815
3819
  * Request Copilot code review for new pull requests automatically if the author
3816
- * has access to Copilot code review and their premium requests quota has not
3817
- * reached the limit.
3820
+ * has access to Copilot code review and AI credits.
3818
3821
  */
3819
3822
  type CopilotCodeReviewParameters = {
3820
3823
  __typename?: 'CopilotCodeReviewParameters';
@@ -3825,8 +3828,7 @@ type CopilotCodeReviewParameters = {
3825
3828
  };
3826
3829
  /**
3827
3830
  * Request Copilot code review for new pull requests automatically if the author
3828
- * has access to Copilot code review and their premium requests quota has not
3829
- * reached the limit.
3831
+ * has access to Copilot code review and AI credits.
3830
3832
  */
3831
3833
  type CopilotCodeReviewParametersInput = {
3832
3834
  /** Copilot automatically reviews draft pull requests before they are marked as ready for review. */
@@ -12711,7 +12713,10 @@ type Mutation = {
12711
12713
  approveVerifiableDomain?: Maybe<ApproveVerifiableDomainPayload>;
12712
12714
  /** Archives a ProjectV2Item */
12713
12715
  archiveProjectV2Item?: Maybe<ArchiveProjectV2ItemPayload>;
12714
- /** Archive a pull request. Closes and marks the pull request as archived. Only repository admins can archive pull requests. */
12716
+ /**
12717
+ * Archive a pull request. Closes and marks the pull request as archived. Users
12718
+ * with the triage role or higher can archive pull requests.
12719
+ */
12715
12720
  archivePullRequest?: Maybe<ArchivePullRequestPayload>;
12716
12721
  /** Marks a repository as archived. */
12717
12722
  archiveRepository?: Maybe<ArchiveRepositoryPayload>;
@@ -13141,8 +13146,8 @@ type Mutation = {
13141
13146
  unarchiveProjectV2Item?: Maybe<UnarchiveProjectV2ItemPayload>;
13142
13147
  /**
13143
13148
  * Unarchive a pull request. Removes the archived flag from the pull request.
13144
- * Does not automatically reopen or unlock the pull request. Only repository
13145
- * admins can unarchive pull requests.
13149
+ * Does not automatically reopen or unlock the pull request. Users with the
13150
+ * triage role or higher can unarchive pull requests.
13146
13151
  */
13147
13152
  unarchivePullRequest?: Maybe<UnarchivePullRequestPayload>;
13148
13153
  /** Unarchives a repository. */
@@ -22161,9 +22166,8 @@ type PullRequestParameters = {
22161
22166
  /** All conversations on code must be resolved before a pull request can be merged. */
22162
22167
  requiredReviewThreadResolution: Scalars['Boolean']['output'];
22163
22168
  /**
22164
- * This field is in beta and subject to change. A collection of reviewers and
22165
- * associated file patterns. Each reviewer has a list of file patterns which
22166
- * determine the files that reviewer is required to review.
22169
+ * A collection of reviewers and associated file patterns. Each reviewer has a
22170
+ * list of file patterns which determine the files that reviewer is required to review.
22167
22171
  */
22168
22172
  requiredReviewers?: Maybe<Array<RequiredReviewerConfiguration>>;
22169
22173
  };
@@ -22187,9 +22191,8 @@ type PullRequestParametersInput = {
22187
22191
  /** All conversations on code must be resolved before a pull request can be merged. */
22188
22192
  requiredReviewThreadResolution: Scalars['Boolean']['input'];
22189
22193
  /**
22190
- * This argument is in beta and subject to change. A collection of reviewers and
22191
- * associated file patterns. Each reviewer has a list of file patterns which
22192
- * determine the files that reviewer is required to review.
22194
+ * A collection of reviewers and associated file patterns. Each reviewer has a
22195
+ * list of file patterns which determine the files that reviewer is required to review.
22193
22196
  */
22194
22197
  requiredReviewers?: InputMaybe<Array<RequiredReviewerConfigurationInput>>;
22195
22198
  };
@@ -26410,6 +26413,8 @@ type Repository = Node & PackageOwner & ProjectOwner & ProjectV2Recent & Reposit
26410
26413
  forkingAllowed: Scalars['Boolean']['output'];
26411
26414
  /** A list of direct forked repositories. */
26412
26415
  forks: RepositoryConnection;
26416
+ /** Identifies the primary key from the database as a BigInt. */
26417
+ fullDatabaseId?: Maybe<Scalars['BigInt']['output']>;
26413
26418
  /** The funding links for this repository */
26414
26419
  fundingLinks: Array<FundingLink>;
26415
26420
  /** Indicates if the repository has the Discussions feature enabled. */
@@ -27776,8 +27781,10 @@ type RepositoryRuleType =
27776
27781
  /** Branch name pattern */
27777
27782
  'BRANCH_NAME_PATTERN' |
27778
27783
  /**
27779
- * Enforce minimum line coverage thresholds on pull requests. When configured,
27780
- * uploaded coverage data must meet the specified criteria before changes can be merged.
27784
+ * Enforce minimum line coverage thresholds on pull requests. This rule evaluates
27785
+ * uploaded coverage data but does not wait for coverage uploads. To ensure
27786
+ * coverage is evaluated before merging, make each status check associated with a
27787
+ * coverage upload a required status check.
27781
27788
  */
27782
27789
  'CODE_COVERAGE' |
27783
27790
  /**
@@ -27800,8 +27807,7 @@ type RepositoryRuleType =
27800
27807
  'COMMIT_MESSAGE_PATTERN' |
27801
27808
  /**
27802
27809
  * Request Copilot code review for new pull requests automatically if the author
27803
- * has access to Copilot code review and their premium requests quota has not
27804
- * reached the limit.
27810
+ * has access to Copilot code review and AI credits.
27805
27811
  */
27806
27812
  'COPILOT_CODE_REVIEW' |
27807
27813
  /** Only allow users with bypass permission to create matching refs. */
@@ -5070,8 +5070,10 @@ The object which triggered a `ClosedEvent`.
5070
5070
  union Closer = Commit | ProjectV2 | PullRequest
5071
5071
 
5072
5072
  """
5073
- Enforce minimum line coverage thresholds on pull requests. When configured,
5074
- uploaded coverage data must meet the specified criteria before changes can be merged.
5073
+ Enforce minimum line coverage thresholds on pull requests. This rule evaluates
5074
+ uploaded coverage data but does not wait for coverage uploads. To ensure
5075
+ coverage is evaluated before merging, make each status check associated with a
5076
+ coverage upload a required status check.
5075
5077
  """
5076
5078
  type CodeCoverageParameters {
5077
5079
  """
@@ -5089,8 +5091,10 @@ type CodeCoverageParameters {
5089
5091
  }
5090
5092
 
5091
5093
  """
5092
- Enforce minimum line coverage thresholds on pull requests. When configured,
5093
- uploaded coverage data must meet the specified criteria before changes can be merged.
5094
+ Enforce minimum line coverage thresholds on pull requests. This rule evaluates
5095
+ uploaded coverage data but does not wait for coverage uploads. To ensure
5096
+ coverage is evaluated before merging, make each status check associated with a
5097
+ coverage upload a required status check.
5094
5098
  """
5095
5099
  input CodeCoverageParametersInput {
5096
5100
  """
@@ -7672,8 +7676,7 @@ type ConvertedToDiscussionEvent implements Node {
7672
7676
 
7673
7677
  """
7674
7678
  Request Copilot code review for new pull requests automatically if the author
7675
- has access to Copilot code review and their premium requests quota has not
7676
- reached the limit.
7679
+ has access to Copilot code review and AI credits.
7677
7680
  """
7678
7681
  type CopilotCodeReviewParameters {
7679
7682
  """
@@ -7689,8 +7692,7 @@ type CopilotCodeReviewParameters {
7689
7692
 
7690
7693
  """
7691
7694
  Request Copilot code review for new pull requests automatically if the author
7692
- has access to Copilot code review and their premium requests quota has not
7693
- reached the limit.
7695
+ has access to Copilot code review and AI credits.
7694
7696
  """
7695
7697
  input CopilotCodeReviewParametersInput {
7696
7698
  """
@@ -27152,7 +27154,8 @@ type Mutation {
27152
27154
  ): ArchiveProjectV2ItemPayload
27153
27155
 
27154
27156
  """
27155
- Archive a pull request. Closes and marks the pull request as archived. Only repository admins can archive pull requests.
27157
+ Archive a pull request. Closes and marks the pull request as archived. Users
27158
+ with the triage role or higher can archive pull requests.
27156
27159
  """
27157
27160
  archivePullRequest(
27158
27161
  """
@@ -28815,8 +28818,8 @@ type Mutation {
28815
28818
 
28816
28819
  """
28817
28820
  Unarchive a pull request. Removes the archived flag from the pull request.
28818
- Does not automatically reopen or unlock the pull request. Only repository
28819
- admins can unarchive pull requests.
28821
+ Does not automatically reopen or unlock the pull request. Users with the
28822
+ triage role or higher can unarchive pull requests.
28820
28823
  """
28821
28824
  unarchivePullRequest(
28822
28825
  """
@@ -43367,9 +43370,8 @@ type PullRequestParameters {
43367
43370
  requiredReviewThreadResolution: Boolean!
43368
43371
 
43369
43372
  """
43370
- This field is in beta and subject to change. A collection of reviewers and
43371
- associated file patterns. Each reviewer has a list of file patterns which
43372
- determine the files that reviewer is required to review.
43373
+ A collection of reviewers and associated file patterns. Each reviewer has a
43374
+ list of file patterns which determine the files that reviewer is required to review.
43373
43375
  """
43374
43376
  requiredReviewers: [RequiredReviewerConfiguration!]
43375
43377
  }
@@ -43415,9 +43417,8 @@ input PullRequestParametersInput {
43415
43417
  requiredReviewThreadResolution: Boolean!
43416
43418
 
43417
43419
  """
43418
- This argument is in beta and subject to change. A collection of reviewers and
43419
- associated file patterns. Each reviewer has a list of file patterns which
43420
- determine the files that reviewer is required to review.
43420
+ A collection of reviewers and associated file patterns. Each reviewer has a
43421
+ list of file patterns which determine the files that reviewer is required to review.
43421
43422
  """
43422
43423
  requiredReviewers: [RequiredReviewerConfigurationInput!]
43423
43424
  }
@@ -51216,6 +51217,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
51216
51217
  visibility: RepositoryVisibility
51217
51218
  ): RepositoryConnection!
51218
51219
 
51220
+ """
51221
+ Identifies the primary key from the database as a BigInt.
51222
+ """
51223
+ fullDatabaseId: BigInt
51224
+
51219
51225
  """
51220
51226
  The funding links for this repository
51221
51227
  """
@@ -54210,8 +54216,10 @@ enum RepositoryRuleType {
54210
54216
  BRANCH_NAME_PATTERN
54211
54217
 
54212
54218
  """
54213
- Enforce minimum line coverage thresholds on pull requests. When configured,
54214
- uploaded coverage data must meet the specified criteria before changes can be merged.
54219
+ Enforce minimum line coverage thresholds on pull requests. This rule evaluates
54220
+ uploaded coverage data but does not wait for coverage uploads. To ensure
54221
+ coverage is evaluated before merging, make each status check associated with a
54222
+ coverage upload a required status check.
54215
54223
  """
54216
54224
  CODE_COVERAGE
54217
54225
 
@@ -54246,8 +54254,7 @@ enum RepositoryRuleType {
54246
54254
 
54247
54255
  """
54248
54256
  Request Copilot code review for new pull requests automatically if the author
54249
- has access to Copilot code review and their premium requests quota has not
54250
- reached the limit.
54257
+ has access to Copilot code review and AI credits.
54251
54258
  """
54252
54259
  COPILOT_CODE_REVIEW
54253
54260
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "github-schema",
3
- "version": "1.44.0",
3
+ "version": "1.46.0",
4
4
  "description": "GitHub's GraphQL schema",
5
5
  "keywords": [
6
6
  "github",