github-schema 1.1.0 → 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.
- package/dist/github-schema.d.cts +48 -22
- package/dist/github-schema.d.ts +48 -22
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/github-schema.graphql +69 -22
- package/package.json +4 -5
package/github-schema.graphql
CHANGED
|
@@ -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
|
"""
|
|
@@ -42666,7 +42723,8 @@ type RepositoryConnection {
|
|
|
42666
42723
|
totalCount: Int!
|
|
42667
42724
|
|
|
42668
42725
|
"""
|
|
42669
|
-
The total size in kilobytes of all repositories in the connection.
|
|
42726
|
+
The total size in kilobytes of all repositories in the connection. Value will
|
|
42727
|
+
never be larger than max 32-bit signed integer.
|
|
42670
42728
|
"""
|
|
42671
42729
|
totalDiskUsage: Int!
|
|
42672
42730
|
}
|
|
@@ -43799,11 +43857,6 @@ enum RepositoryRuleType {
|
|
|
43799
43857
|
"""
|
|
43800
43858
|
DELETION
|
|
43801
43859
|
|
|
43802
|
-
"""
|
|
43803
|
-
File path pattern
|
|
43804
|
-
"""
|
|
43805
|
-
FILE_PATH_PATTERN
|
|
43806
|
-
|
|
43807
43860
|
"""
|
|
43808
43861
|
Branch is read-only. Users cannot push to the branch.
|
|
43809
43862
|
"""
|
|
@@ -43835,7 +43888,7 @@ enum RepositoryRuleType {
|
|
|
43835
43888
|
PULL_REQUEST
|
|
43836
43889
|
|
|
43837
43890
|
"""
|
|
43838
|
-
Choose which environments must be successfully deployed to before refs can be
|
|
43891
|
+
Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.
|
|
43839
43892
|
"""
|
|
43840
43893
|
REQUIRED_DEPLOYMENTS
|
|
43841
43894
|
|
|
@@ -43856,10 +43909,8 @@ enum RepositoryRuleType {
|
|
|
43856
43909
|
REQUIRED_SIGNATURES
|
|
43857
43910
|
|
|
43858
43911
|
"""
|
|
43859
|
-
Choose which status checks must pass before
|
|
43860
|
-
|
|
43861
|
-
another branch, then merged or pushed directly to a ref that matches this rule
|
|
43862
|
-
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.
|
|
43863
43914
|
"""
|
|
43864
43915
|
REQUIRED_STATUS_CHECKS
|
|
43865
43916
|
|
|
@@ -44794,7 +44845,7 @@ interface RequirableByPullRequest {
|
|
|
44794
44845
|
}
|
|
44795
44846
|
|
|
44796
44847
|
"""
|
|
44797
|
-
Choose which environments must be successfully deployed to before refs can be
|
|
44848
|
+
Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.
|
|
44798
44849
|
"""
|
|
44799
44850
|
type RequiredDeploymentsParameters {
|
|
44800
44851
|
"""
|
|
@@ -44804,7 +44855,7 @@ type RequiredDeploymentsParameters {
|
|
|
44804
44855
|
}
|
|
44805
44856
|
|
|
44806
44857
|
"""
|
|
44807
|
-
Choose which environments must be successfully deployed to before refs can be
|
|
44858
|
+
Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.
|
|
44808
44859
|
"""
|
|
44809
44860
|
input RequiredDeploymentsParametersInput {
|
|
44810
44861
|
"""
|
|
@@ -44846,10 +44897,8 @@ input RequiredStatusCheckInput {
|
|
|
44846
44897
|
}
|
|
44847
44898
|
|
|
44848
44899
|
"""
|
|
44849
|
-
Choose which status checks must pass before
|
|
44850
|
-
|
|
44851
|
-
branch, then merged or pushed directly to a ref that matches this rule after
|
|
44852
|
-
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.
|
|
44853
44902
|
"""
|
|
44854
44903
|
type RequiredStatusChecksParameters {
|
|
44855
44904
|
"""
|
|
@@ -44866,10 +44915,8 @@ type RequiredStatusChecksParameters {
|
|
|
44866
44915
|
}
|
|
44867
44916
|
|
|
44868
44917
|
"""
|
|
44869
|
-
Choose which status checks must pass before
|
|
44870
|
-
|
|
44871
|
-
branch, then merged or pushed directly to a ref that matches this rule after
|
|
44872
|
-
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.
|
|
44873
44920
|
"""
|
|
44874
44921
|
input RequiredStatusChecksParametersInput {
|
|
44875
44922
|
"""
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "github-schema",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.1.
|
|
5
|
-
"packageManager": "bun@1.0.
|
|
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.
|
|
92
|
-
"eslint": "^8.
|
|
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"
|