github-schema 1.1.1 → 1.1.2

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.
@@ -32,6 +32,36 @@ type AbortQueuedMigrationsPayload {
32
32
  success: Boolean
33
33
  }
34
34
 
35
+ """
36
+ Autogenerated input type of AbortRepositoryMigration
37
+ """
38
+ input AbortRepositoryMigrationInput {
39
+ """
40
+ A unique identifier for the client performing the mutation.
41
+ """
42
+ clientMutationId: String
43
+
44
+ """
45
+ The ID of the migration to be aborted.
46
+ """
47
+ migrationId: ID!
48
+ }
49
+
50
+ """
51
+ Autogenerated return type of AbortRepositoryMigration
52
+ """
53
+ type AbortRepositoryMigrationPayload {
54
+ """
55
+ A unique identifier for the client performing the mutation.
56
+ """
57
+ clientMutationId: String
58
+
59
+ """
60
+ Did the operation succeed?
61
+ """
62
+ success: Boolean
63
+ }
64
+
35
65
  """
36
66
  Autogenerated input type of AcceptEnterpriseAdministratorInvitation
37
67
  """
@@ -20762,6 +20792,16 @@ type Mutation {
20762
20792
  input: AbortQueuedMigrationsInput!
20763
20793
  ): AbortQueuedMigrationsPayload
20764
20794
 
20795
+ """
20796
+ Abort a repository migration queued or in progress.
20797
+ """
20798
+ abortRepositoryMigration(
20799
+ """
20800
+ Parameters for AbortRepositoryMigration
20801
+ """
20802
+ input: AbortRepositoryMigrationInput!
20803
+ ): AbortRepositoryMigrationPayload
20804
+
20765
20805
  """
20766
20806
  Accepts a pending invitation for a user to become an administrator of an enterprise.
20767
20807
  """
@@ -34583,7 +34623,7 @@ input PullRequestParametersInput {
34583
34623
  """
34584
34624
  A review object for a given pull request.
34585
34625
  """
34586
- type PullRequestReview implements Comment & Deletable & Node & Reactable & RepositoryNode & Updatable & UpdatableComment {
34626
+ type PullRequestReview implements Comment & Deletable & Minimizable & Node & Reactable & RepositoryNode & Updatable & UpdatableComment {
34587
34627
  """
34588
34628
  The actor who authored the comment.
34589
34629
  """
@@ -34670,11 +34710,23 @@ type PullRequestReview implements Comment & Deletable & Node & Reactable & Repos
34670
34710
  """
34671
34711
  includesCreatedEdit: Boolean!
34672
34712
 
34713
+ """
34714
+ Returns whether or not a comment has been minimized.
34715
+ """
34716
+ isMinimized: Boolean!
34717
+
34673
34718
  """
34674
34719
  The moment the editor made the last edit
34675
34720
  """
34676
34721
  lastEditedAt: DateTime
34677
34722
 
34723
+ """
34724
+ Returns why the comment was minimized. One of `abuse`, `off-topic`,
34725
+ `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and
34726
+ formatting of these values differs from the inputs to the `MinimizeComment` mutation.
34727
+ """
34728
+ minimizedReason: String
34729
+
34678
34730
  """
34679
34731
  A list of teams that this review was made on behalf of.
34680
34732
  """
@@ -34810,6 +34862,11 @@ type PullRequestReview implements Comment & Deletable & Node & Reactable & Repos
34810
34862
  """
34811
34863
  viewerCanDelete: Boolean!
34812
34864
 
34865
+ """
34866
+ Check if the current viewer can minimize this object.
34867
+ """
34868
+ viewerCanMinimize: Boolean!
34869
+
34813
34870
  """
34814
34871
  Can user react to this subject
34815
34872
  """
@@ -43831,7 +43888,7 @@ enum RepositoryRuleType {
43831
43888
  PULL_REQUEST
43832
43889
 
43833
43890
  """
43834
- Choose which environments must be successfully deployed to before refs can be merged into a branch that matches this rule.
43891
+ Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.
43835
43892
  """
43836
43893
  REQUIRED_DEPLOYMENTS
43837
43894
 
@@ -43852,10 +43909,8 @@ enum RepositoryRuleType {
43852
43909
  REQUIRED_SIGNATURES
43853
43910
 
43854
43911
  """
43855
- Choose which status checks must pass before branches can be merged into a
43856
- branch that matches this rule. When enabled, commits must first be pushed to
43857
- another branch, then merged or pushed directly to a ref that matches this rule
43858
- after status checks have passed.
43912
+ Choose which status checks must pass before the ref is updated. When enabled,
43913
+ commits must first be pushed to another ref where the checks pass.
43859
43914
  """
43860
43915
  REQUIRED_STATUS_CHECKS
43861
43916
 
@@ -44790,7 +44845,7 @@ interface RequirableByPullRequest {
44790
44845
  }
44791
44846
 
44792
44847
  """
44793
- Choose which environments must be successfully deployed to before refs can be merged into a branch that matches this rule.
44848
+ Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.
44794
44849
  """
44795
44850
  type RequiredDeploymentsParameters {
44796
44851
  """
@@ -44800,7 +44855,7 @@ type RequiredDeploymentsParameters {
44800
44855
  }
44801
44856
 
44802
44857
  """
44803
- Choose which environments must be successfully deployed to before refs can be merged into a branch that matches this rule.
44858
+ Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.
44804
44859
  """
44805
44860
  input RequiredDeploymentsParametersInput {
44806
44861
  """
@@ -44842,10 +44897,8 @@ input RequiredStatusCheckInput {
44842
44897
  }
44843
44898
 
44844
44899
  """
44845
- Choose which status checks must pass before branches can be merged into a branch
44846
- that matches this rule. When enabled, commits must first be pushed to another
44847
- branch, then merged or pushed directly to a ref that matches this rule after
44848
- status checks have passed.
44900
+ Choose which status checks must pass before the ref is updated. When enabled,
44901
+ commits must first be pushed to another ref where the checks pass.
44849
44902
  """
44850
44903
  type RequiredStatusChecksParameters {
44851
44904
  """
@@ -44862,10 +44915,8 @@ type RequiredStatusChecksParameters {
44862
44915
  }
44863
44916
 
44864
44917
  """
44865
- Choose which status checks must pass before branches can be merged into a branch
44866
- that matches this rule. When enabled, commits must first be pushed to another
44867
- branch, then merged or pushed directly to a ref that matches this rule after
44868
- status checks have passed.
44918
+ Choose which status checks must pass before the ref is updated. When enabled,
44919
+ commits must first be pushed to another ref where the checks pass.
44869
44920
  """
44870
44921
  input RequiredStatusChecksParametersInput {
44871
44922
  """
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "github-schema",
3
3
  "type": "module",
4
- "version": "1.1.1",
5
- "packageManager": "bun@1.0.7",
4
+ "version": "1.1.2",
5
+ "packageManager": "bun@1.0.8",
6
6
  "description": "GitHub's GraphQL schema",
7
7
  "author": {
8
8
  "name": "Lucas Nørgård",
@@ -76,7 +76,6 @@
76
76
  "codegen": "graphql-codegen",
77
77
  "prepublishOnly": "bun run download && bun run codegen && bun run build",
78
78
  "lint": "eslint .",
79
- "lint:fix": "eslint --fix .",
80
79
  "typecheck": "tsc --noEmit"
81
80
  },
82
81
  "dependencies": {
@@ -88,8 +87,8 @@
88
87
  "@graphql-codegen/cli": "^5.0.0",
89
88
  "@graphql-codegen/typescript": "^4.0.1",
90
89
  "@luxass/eslint-config": "^3.3.2",
91
- "bun-types": "^1.0.7",
92
- "eslint": "^8.52.0",
90
+ "bun-types": "^1.0.8",
91
+ "eslint": "^8.53.0",
93
92
  "eslint-plugin-import": "npm:eslint-plugin-i@2.29.0",
94
93
  "tsup": "^7.2.0",
95
94
  "typescript": "^5.2.2"