github-schema 1.31.1 → 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/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 };
@@ -20972,6 +20972,11 @@ type IssueFieldAddedEvent implements Node {
20972
20972
  """
20973
20973
  issueField: IssueFields
20974
20974
 
20975
+ """
20976
+ The selected options for option-backed fields; single-select returns one option and multi-select returns many.
20977
+ """
20978
+ options: [IssueFieldTimelineOption!]
20979
+
20975
20980
  """
20976
20981
  The value of the added field.
20977
20982
  """
@@ -21007,6 +21012,11 @@ type IssueFieldChangedEvent implements Node {
21007
21012
  """
21008
21013
  newColor: String
21009
21014
 
21015
+ """
21016
+ The new options for option-backed fields; single-select returns one option and multi-select returns many.
21017
+ """
21018
+ newOptions: [IssueFieldTimelineOption!]
21019
+
21010
21020
  """
21011
21021
  The new value of the field.
21012
21022
  """
@@ -21017,6 +21027,11 @@ type IssueFieldChangedEvent implements Node {
21017
21027
  """
21018
21028
  previousColor: String
21019
21029
 
21030
+ """
21031
+ The previous options for option-backed fields; single-select returns one option and multi-select returns many.
21032
+ """
21033
+ previousOptions: [IssueFieldTimelineOption!]
21034
+
21020
21035
  """
21021
21036
  The previous value of the field.
21022
21037
  """
@@ -21371,6 +21386,11 @@ type IssueFieldRemovedEvent implements Node {
21371
21386
  The issue field removed.
21372
21387
  """
21373
21388
  issueField: IssueFields
21389
+
21390
+ """
21391
+ The removed options for option-backed fields; single-select returns one option and multi-select returns many.
21392
+ """
21393
+ options: [IssueFieldTimelineOption!]
21374
21394
  }
21375
21395
 
21376
21396
  """
@@ -21628,6 +21648,21 @@ type IssueFieldTextValue implements IssueFieldValueCommon & Node {
21628
21648
  value: String!
21629
21649
  }
21630
21650
 
21651
+ """
21652
+ Represents a selected option for a timeline issue field event.
21653
+ """
21654
+ type IssueFieldTimelineOption {
21655
+ """
21656
+ The option color.
21657
+ """
21658
+ color: String
21659
+
21660
+ """
21661
+ The option name.
21662
+ """
21663
+ name: String!
21664
+ }
21665
+
21631
21666
  """
21632
21667
  Issue field values
21633
21668
  """
@@ -52305,6 +52340,11 @@ enum RepositoryRuleType {
52305
52340
  """
52306
52341
  FILE_PATH_RESTRICTION
52307
52342
 
52343
+ """
52344
+ Enforce any added or changed dependencies to comply with the organization's license policy.
52345
+ """
52346
+ LICENSE_COMPLIANCE_SCANNING
52347
+
52308
52348
  """
52309
52349
  Branch is read-only. Users cannot push to the branch.
52310
52350
  """
@@ -65157,6 +65197,11 @@ input UpdateRepositoryInput {
65157
65197
  """
65158
65198
  homepageUrl: URI
65159
65199
 
65200
+ """
65201
+ The policy controlling who can create issues in this repository.
65202
+ """
65203
+ issueCreationPolicy: IssueCreationPolicy
65204
+
65160
65205
  """
65161
65206
  The new name of the repository.
65162
65207
  """
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "github-schema",
3
- "version": "1.31.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.0",
51
+ "@graphql-codegen/cli": "7.1.3",
56
52
  "@graphql-codegen/typescript": "6.0.2",
57
- "@types/node": "24.12.4",
58
- "oxfmt": "0.52.0",
59
- "oxlint": "1.67.0",
60
- "oxlint-tsgolint": "0.23.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.1",
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": ">=20"
66
+ "node": ">=22"
67
67
  },
68
68
  "scripts": {
69
69
  "build": "tsdown",