github-schema 1.32.0 → 1.33.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.
- package/dist/github-schema.d.cts +3 -2
- package/dist/github-schema.d.mts +3 -2
- package/dist/raw.d.cts +1 -1
- package/dist/raw.d.mts +1 -1
- package/github-schema.graphql +10 -0
- package/package.json +12 -12
package/dist/github-schema.d.cts
CHANGED
|
@@ -20221,7 +20221,7 @@ type RepositoryRuleType = /** Authorization */'AUTHORIZATION' /** Branch name pa
|
|
|
20221
20221
|
* Prevent commits that include changes in specified file and folder paths from
|
|
20222
20222
|
* being pushed to the commit graph. This includes absolute paths that contain file names.
|
|
20223
20223
|
*/
|
|
20224
|
-
| 'FILE_PATH_RESTRICTION' /** Branch is read-only. Users cannot push to the branch. */ | 'LOCK_BRANCH' /** Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph. */ | 'MAX_FILE_PATH_LENGTH' /** Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. */ | 'MAX_FILE_SIZE' /** Max ref updates */ | 'MAX_REF_UPDATES' /** Merges must be performed via a merge queue. */ | 'MERGE_QUEUE' /** Merge queue locked ref */ | 'MERGE_QUEUE_LOCKED_REF' /** Prevent users with push access from force pushing to refs. */ | 'NON_FAST_FORWARD' /** Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. */ | 'PULL_REQUEST' /** Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule. */ | 'REQUIRED_DEPLOYMENTS' /** Prevent merge commits from being pushed to matching refs. */ | 'REQUIRED_LINEAR_HISTORY'
|
|
20224
|
+
| 'FILE_PATH_RESTRICTION' /** Enforce any added or changed dependencies to comply with the organization's license policy. */ | 'LICENSE_COMPLIANCE_SCANNING' /** Branch is read-only. Users cannot push to the branch. */ | 'LOCK_BRANCH' /** Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph. */ | 'MAX_FILE_PATH_LENGTH' /** Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. */ | 'MAX_FILE_SIZE' /** Max ref updates */ | 'MAX_REF_UPDATES' /** Merges must be performed via a merge queue. */ | 'MERGE_QUEUE' /** Merge queue locked ref */ | 'MERGE_QUEUE_LOCKED_REF' /** Prevent users with push access from force pushing to refs. */ | 'NON_FAST_FORWARD' /** Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. */ | 'PULL_REQUEST' /** Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule. */ | 'REQUIRED_DEPLOYMENTS' /** Prevent merge commits from being pushed to matching refs. */ | 'REQUIRED_LINEAR_HISTORY'
|
|
20225
20225
|
/**
|
|
20226
20226
|
* When enabled, all conversations on code must be resolved before a pull request
|
|
20227
20227
|
* can be merged into a branch that matches this rule.
|
|
@@ -24240,7 +24240,8 @@ type UpdateRepositoryInput = {
|
|
|
24240
24240
|
hasPullRequestsEnabled?: InputMaybe<Scalars['Boolean']['input']>; /** Indicates if the repository displays a Sponsor button for financial contributions. */
|
|
24241
24241
|
hasSponsorshipsEnabled?: InputMaybe<Scalars['Boolean']['input']>; /** Indicates if the repository should have the wiki feature enabled. */
|
|
24242
24242
|
hasWikiEnabled?: InputMaybe<Scalars['Boolean']['input']>; /** The URL for a web page about this repository. Pass an empty string to erase the existing URL. */
|
|
24243
|
-
homepageUrl?: InputMaybe<Scalars['URI']['input']>; /** The
|
|
24243
|
+
homepageUrl?: InputMaybe<Scalars['URI']['input']>; /** The policy controlling who can create issues in this repository. */
|
|
24244
|
+
issueCreationPolicy?: InputMaybe<IssueCreationPolicy>; /** The new name of the repository. */
|
|
24244
24245
|
name?: InputMaybe<Scalars['String']['input']>; /** The policy controlling who can create pull requests in this repository. */
|
|
24245
24246
|
pullRequestCreationPolicy?: InputMaybe<PullRequestCreationPolicy>; /** The ID of the repository to update. */
|
|
24246
24247
|
repositoryId: Scalars['ID']['input'];
|
package/dist/github-schema.d.mts
CHANGED
|
@@ -20221,7 +20221,7 @@ type RepositoryRuleType = /** Authorization */'AUTHORIZATION' /** Branch name pa
|
|
|
20221
20221
|
* Prevent commits that include changes in specified file and folder paths from
|
|
20222
20222
|
* being pushed to the commit graph. This includes absolute paths that contain file names.
|
|
20223
20223
|
*/
|
|
20224
|
-
| 'FILE_PATH_RESTRICTION' /** Branch is read-only. Users cannot push to the branch. */ | 'LOCK_BRANCH' /** Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph. */ | 'MAX_FILE_PATH_LENGTH' /** Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. */ | 'MAX_FILE_SIZE' /** Max ref updates */ | 'MAX_REF_UPDATES' /** Merges must be performed via a merge queue. */ | 'MERGE_QUEUE' /** Merge queue locked ref */ | 'MERGE_QUEUE_LOCKED_REF' /** Prevent users with push access from force pushing to refs. */ | 'NON_FAST_FORWARD' /** Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. */ | 'PULL_REQUEST' /** Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule. */ | 'REQUIRED_DEPLOYMENTS' /** Prevent merge commits from being pushed to matching refs. */ | 'REQUIRED_LINEAR_HISTORY'
|
|
20224
|
+
| 'FILE_PATH_RESTRICTION' /** Enforce any added or changed dependencies to comply with the organization's license policy. */ | 'LICENSE_COMPLIANCE_SCANNING' /** Branch is read-only. Users cannot push to the branch. */ | 'LOCK_BRANCH' /** Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph. */ | 'MAX_FILE_PATH_LENGTH' /** Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. */ | 'MAX_FILE_SIZE' /** Max ref updates */ | 'MAX_REF_UPDATES' /** Merges must be performed via a merge queue. */ | 'MERGE_QUEUE' /** Merge queue locked ref */ | 'MERGE_QUEUE_LOCKED_REF' /** Prevent users with push access from force pushing to refs. */ | 'NON_FAST_FORWARD' /** Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. */ | 'PULL_REQUEST' /** Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule. */ | 'REQUIRED_DEPLOYMENTS' /** Prevent merge commits from being pushed to matching refs. */ | 'REQUIRED_LINEAR_HISTORY'
|
|
20225
20225
|
/**
|
|
20226
20226
|
* When enabled, all conversations on code must be resolved before a pull request
|
|
20227
20227
|
* can be merged into a branch that matches this rule.
|
|
@@ -24240,7 +24240,8 @@ type UpdateRepositoryInput = {
|
|
|
24240
24240
|
hasPullRequestsEnabled?: InputMaybe<Scalars['Boolean']['input']>; /** Indicates if the repository displays a Sponsor button for financial contributions. */
|
|
24241
24241
|
hasSponsorshipsEnabled?: InputMaybe<Scalars['Boolean']['input']>; /** Indicates if the repository should have the wiki feature enabled. */
|
|
24242
24242
|
hasWikiEnabled?: InputMaybe<Scalars['Boolean']['input']>; /** The URL for a web page about this repository. Pass an empty string to erase the existing URL. */
|
|
24243
|
-
homepageUrl?: InputMaybe<Scalars['URI']['input']>; /** The
|
|
24243
|
+
homepageUrl?: InputMaybe<Scalars['URI']['input']>; /** The policy controlling who can create issues in this repository. */
|
|
24244
|
+
issueCreationPolicy?: InputMaybe<IssueCreationPolicy>; /** The new name of the repository. */
|
|
24244
24245
|
name?: InputMaybe<Scalars['String']['input']>; /** The policy controlling who can create pull requests in this repository. */
|
|
24245
24246
|
pullRequestCreationPolicy?: InputMaybe<PullRequestCreationPolicy>; /** The ID of the repository to update. */
|
|
24246
24247
|
repositoryId: Scalars['ID']['input'];
|
package/dist/raw.d.cts
CHANGED
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
* @param {...string} keys - The variables to interpolate.
|
|
6
6
|
* @returns {string} The interpolated GraphQL query string.
|
|
7
7
|
*/
|
|
8
|
-
declare function gql(raw: TemplateStringsArray, ...keys: string[]): string;
|
|
8
|
+
declare function gql(raw: TemplateStringsArray, ...keys: readonly string[]): string;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { gql };
|
package/dist/raw.d.mts
CHANGED
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
* @param {...string} keys - The variables to interpolate.
|
|
6
6
|
* @returns {string} The interpolated GraphQL query string.
|
|
7
7
|
*/
|
|
8
|
-
declare function gql(raw: TemplateStringsArray, ...keys: string[]): string;
|
|
8
|
+
declare function gql(raw: TemplateStringsArray, ...keys: readonly string[]): string;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { gql };
|
package/github-schema.graphql
CHANGED
|
@@ -52340,6 +52340,11 @@ enum RepositoryRuleType {
|
|
|
52340
52340
|
"""
|
|
52341
52341
|
FILE_PATH_RESTRICTION
|
|
52342
52342
|
|
|
52343
|
+
"""
|
|
52344
|
+
Enforce any added or changed dependencies to comply with the organization's license policy.
|
|
52345
|
+
"""
|
|
52346
|
+
LICENSE_COMPLIANCE_SCANNING
|
|
52347
|
+
|
|
52343
52348
|
"""
|
|
52344
52349
|
Branch is read-only. Users cannot push to the branch.
|
|
52345
52350
|
"""
|
|
@@ -65192,6 +65197,11 @@ input UpdateRepositoryInput {
|
|
|
65192
65197
|
"""
|
|
65193
65198
|
homepageUrl: URI
|
|
65194
65199
|
|
|
65200
|
+
"""
|
|
65201
|
+
The policy controlling who can create issues in this repository.
|
|
65202
|
+
"""
|
|
65203
|
+
issueCreationPolicy: IssueCreationPolicy
|
|
65204
|
+
|
|
65195
65205
|
"""
|
|
65196
65206
|
The new name of the repository.
|
|
65197
65207
|
"""
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "github-schema",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.33.0",
|
|
4
4
|
"description": "GitHub's GraphQL schema",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"github",
|
|
@@ -46,24 +46,24 @@
|
|
|
46
46
|
},
|
|
47
47
|
"./package.json": "./package.json"
|
|
48
48
|
},
|
|
49
|
-
"dependencies": {
|
|
50
|
-
"graphql": "16.14.0",
|
|
51
|
-
"graphql-tag": "2.12.6"
|
|
52
|
-
},
|
|
53
49
|
"devDependencies": {
|
|
54
50
|
"@graphql-codegen/add": "7.0.1",
|
|
55
|
-
"@graphql-codegen/cli": "7.1.
|
|
51
|
+
"@graphql-codegen/cli": "7.1.3",
|
|
56
52
|
"@graphql-codegen/typescript": "6.0.2",
|
|
57
|
-
"@types/node": "
|
|
58
|
-
"oxfmt": "0.
|
|
59
|
-
"oxlint": "1.
|
|
60
|
-
"oxlint-tsgolint": "0.
|
|
53
|
+
"@types/node": "26.0.1",
|
|
54
|
+
"oxfmt": "0.57.0",
|
|
55
|
+
"oxlint": "1.72.0",
|
|
56
|
+
"oxlint-tsgolint": "0.24.0",
|
|
61
57
|
"publint": "0.3.21",
|
|
62
|
-
"tsdown": "0.22.
|
|
58
|
+
"tsdown": "0.22.3",
|
|
63
59
|
"typescript": "6.0.3"
|
|
64
60
|
},
|
|
61
|
+
"peerDependencies": {
|
|
62
|
+
"graphql": ">=16.0.0",
|
|
63
|
+
"graphql-tag": ">=2.0.0"
|
|
64
|
+
},
|
|
65
65
|
"engines": {
|
|
66
|
-
"node": ">=
|
|
66
|
+
"node": ">=22"
|
|
67
67
|
},
|
|
68
68
|
"scripts": {
|
|
69
69
|
"build": "tsdown",
|