github-schema 1.21.8 → 1.21.10

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.
@@ -8608,6 +8608,76 @@ type CreateRefPayload {
8608
8608
  ref: Ref
8609
8609
  }
8610
8610
 
8611
+ """
8612
+ Autogenerated input type of CreateRepositoryCustomProperty
8613
+ """
8614
+ input CreateRepositoryCustomPropertyInput {
8615
+ """
8616
+ The allowed values for the custom property.
8617
+ """
8618
+ allowedValues: [String!]
8619
+
8620
+ """
8621
+ A unique identifier for the client performing the mutation.
8622
+ """
8623
+ clientMutationId: String
8624
+
8625
+ """
8626
+ The default value for the custom property if the property is required.
8627
+ """
8628
+ defaultValue: String
8629
+
8630
+ """
8631
+ The description of the custom property.
8632
+ """
8633
+ description: String
8634
+
8635
+ """
8636
+ The name of the custom property.
8637
+ """
8638
+ propertyName: String!
8639
+
8640
+ """
8641
+ The regex pattern that the value of the custom property must match, if the `value_type` is `string`.
8642
+ """
8643
+ regex: String
8644
+
8645
+ """
8646
+ Whether the custom property is required.
8647
+ """
8648
+ required: Boolean
8649
+
8650
+ """
8651
+ The global relay id of the source in which a new custom property should be created in.
8652
+ """
8653
+ sourceId: ID!
8654
+
8655
+ """
8656
+ The value type for the custom property.
8657
+ """
8658
+ valueType: CustomPropertyValueType!
8659
+
8660
+ """
8661
+ The allowed actors who can edit the values of a custom property.
8662
+ """
8663
+ valuesEditableBy: RepositoryCustomPropertyValuesEditableBy
8664
+ }
8665
+
8666
+ """
8667
+ Autogenerated return type of CreateRepositoryCustomProperty.
8668
+ """
8669
+ type CreateRepositoryCustomPropertyPayload {
8670
+ """
8671
+ A unique identifier for the client performing the mutation.
8672
+ """
8673
+ clientMutationId: String
8674
+
8675
+ """
8676
+ The newly created repository custom property.
8677
+ """
8678
+ repositoryCustomProperty: RepositoryCustomProperty
8679
+ }
8680
+
8611
8681
  """
8612
8682
  Autogenerated input type of CreateRepository
8613
8683
  """
@@ -9660,6 +9730,64 @@ type CrossReferencedEvent implements Node & UniformResourceLocatable {
9660
9730
  willCloseTarget: Boolean!
9661
9731
  }
9662
9732
 
9733
+ """
9734
+ Sources which can have custom properties defined.
9735
+ """
9736
+ union CustomPropertySource = Enterprise | Organization
9737
+
9738
+ """
9739
+ A custom property value can be either a string or an array of strings. All
9740
+ property types support only a single string value, except for the multi-select
9741
+ type, which supports only a string array.
9742
+ """
9743
+ scalar CustomPropertyValue
9744
+
9745
+ """
9746
+ The custom property name and value to be set.
9747
+ """
9748
+ input CustomPropertyValueInput {
9749
+ """
9750
+ The name of the custom property.
9751
+ """
9752
+ propertyName: String!
9753
+
9754
+ """
9755
+ The value to set for the custom property. Using a value of null will unset the
9756
+ property value, reverting to the default value if the property is required.
9757
+ """
9758
+ value: CustomPropertyValue
9759
+ }
9760
+
9761
+ """
9762
+ The allowed value types for a custom property definition.
9763
+ """
9764
+ enum CustomPropertyValueType {
9765
+ """
9766
+ A multi-select value.
9767
+ """
9768
+ MULTI_SELECT
9769
+
9770
+ """
9771
+ A single-select value.
9772
+ """
9773
+ SINGLE_SELECT
9774
+
9775
+ """
9776
+ A string value.
9777
+ """
9778
+ STRING
9779
+
9780
+ """
9781
+ A true/false value.
9782
+ """
9783
+ TRUE_FALSE
9784
+
9785
+ """
9786
+ A URL value.
9787
+ """
9788
+ URL
9789
+ }
9790
+
9663
9791
  """
9664
9792
  The Common Vulnerability Scoring System
9665
9793
  """
@@ -10462,6 +10590,36 @@ type DeleteRefPayload {
10462
10590
  clientMutationId: String
10463
10591
  }
10464
10592
 
10593
+ """
10594
+ Autogenerated input type of DeleteRepositoryCustomProperty
10595
+ """
10596
+ input DeleteRepositoryCustomPropertyInput {
10597
+ """
10598
+ A unique identifier for the client performing the mutation.
10599
+ """
10600
+ clientMutationId: String
10601
+
10602
+ """
10603
+ The global relay id of the custom property to be deleted.
10604
+ """
10605
+ id: ID!
10606
+ }
10607
+
10608
+ """
10609
+ Autogenerated return type of DeleteRepositoryCustomProperty.
10610
+ """
10611
+ type DeleteRepositoryCustomPropertyPayload {
10612
+ """
10613
+ A unique identifier for the client performing the mutation.
10614
+ """
10615
+ clientMutationId: String
10616
+
10617
+ """
10618
+ The deleted custom property.
10619
+ """
10620
+ repositoryCustomProperty: RepositoryCustomProperty
10621
+ }
10622
+
10465
10623
  """
10466
10624
  Autogenerated input type of DeleteRepositoryRuleset
10467
10625
  """
@@ -13531,6 +13689,41 @@ type Enterprise implements Node {
13531
13689
  """
13532
13690
  readmeHTML: HTML!
13533
13691
 
13692
+ """
13693
+ A list of repository custom properties for this enterprise.
13694
+ """
13695
+ repositoryCustomProperties(
13696
+ """
13697
+ Returns the elements in the list that come after the specified cursor.
13698
+ """
13699
+ after: String
13700
+
13701
+ """
13702
+ Returns the elements in the list that come before the specified cursor.
13703
+ """
13704
+ before: String
13705
+
13706
+ """
13707
+ Returns the first _n_ elements from the list.
13708
+ """
13709
+ first: Int
13710
+
13711
+ """
13712
+ Returns the last _n_ elements from the list.
13713
+ """
13714
+ last: Int
13715
+ ): RepositoryCustomPropertyConnection
13716
+
13717
+ """
13718
+ Returns a single repository custom property for the current enterprise by name.
13719
+ """
13720
+ repositoryCustomProperty(
13721
+ """
13722
+ The name of the repository custom property to be returned.
13723
+ """
13724
+ propertyName: String!
13725
+ ): RepositoryCustomProperty
13726
+
13534
13727
  """
13535
13728
  The HTTP path for this enterprise.
13536
13729
  """
@@ -24865,6 +25058,16 @@ type Mutation {
24865
25058
  input: CreateRepositoryInput!
24866
25059
  ): CreateRepositoryPayload
24867
25060
 
25061
+ """
25062
+ Create a repository custom property.
25063
+ """
25064
+ createRepositoryCustomProperty(
25065
+ """
25066
+ Parameters for CreateRepositoryCustomProperty
25067
+ """
25068
+ input: CreateRepositoryCustomPropertyInput!
25069
+ ): CreateRepositoryCustomPropertyPayload
25070
+
24868
25071
  """
24869
25072
  Create a repository ruleset
24870
25073
  """
@@ -25186,6 +25389,16 @@ type Mutation {
25186
25389
  input: DeleteRefInput!
25187
25390
  ): DeleteRefPayload
25188
25391
 
25392
+ """
25393
+ Delete a repository custom property.
25394
+ """
25395
+ deleteRepositoryCustomProperty(
25396
+ """
25397
+ Parameters for DeleteRepositoryCustomProperty
25398
+ """
25399
+ input: DeleteRepositoryCustomPropertyInput!
25400
+ ): DeleteRepositoryCustomPropertyPayload
25401
+
25189
25402
  """
25190
25403
  Delete a repository ruleset
25191
25404
  """
@@ -25516,6 +25729,16 @@ type Mutation {
25516
25729
  input: PinIssueInput!
25517
25730
  ): PinIssuePayload
25518
25731
 
25732
+ """
25733
+ Promote a repository custom property to the enterprise level.
25734
+ """
25735
+ promoteRepositoryCustomProperty(
25736
+ """
25737
+ Parameters for PromoteRepositoryCustomProperty
25738
+ """
25739
+ input: PromoteRepositoryCustomPropertyInput!
25740
+ ): PromoteRepositoryCustomPropertyPayload
25741
+
25519
25742
  """
25520
25743
  Publish an existing sponsorship tier that is currently still a draft to a GitHub Sponsors profile.
25521
25744
  """
@@ -25837,6 +26060,16 @@ type Mutation {
25837
26060
  input: SetOrganizationInteractionLimitInput!
25838
26061
  ): SetOrganizationInteractionLimitPayload
25839
26062
 
26063
+ """
26064
+ Set repository custom property values for a repository.
26065
+ """
26066
+ setRepositoryCustomPropertyValues(
26067
+ """
26068
+ Parameters for SetRepositoryCustomPropertyValues
26069
+ """
26070
+ input: SetRepositoryCustomPropertyValuesInput!
26071
+ ): SetRepositoryCustomPropertyValuesPayload
26072
+
25840
26073
  """
25841
26074
  Sets an interaction limit setting for a repository.
25842
26075
  """
@@ -26618,6 +26851,16 @@ type Mutation {
26618
26851
  input: UpdateRepositoryInput!
26619
26852
  ): UpdateRepositoryPayload
26620
26853
 
26854
+ """
26855
+ Update a repository custom property.
26856
+ """
26857
+ updateRepositoryCustomProperty(
26858
+ """
26859
+ Parameters for UpdateRepositoryCustomProperty
26860
+ """
26861
+ input: UpdateRepositoryCustomPropertyInput!
26862
+ ): UpdateRepositoryCustomPropertyPayload
26863
+
26621
26864
  """
26622
26865
  Update a repository ruleset
26623
26866
  """
@@ -31198,6 +31441,41 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr
31198
31441
  name: String!
31199
31442
  ): Repository
31200
31443
 
31444
+ """
31445
+ A list of custom properties for this organization.
31446
+ """
31447
+ repositoryCustomProperties(
31448
+ """
31449
+ Returns the elements in the list that come after the specified cursor.
31450
+ """
31451
+ after: String
31452
+
31453
+ """
31454
+ Returns the elements in the list that come before the specified cursor.
31455
+ """
31456
+ before: String
31457
+
31458
+ """
31459
+ Returns the first _n_ elements from the list.
31460
+ """
31461
+ first: Int
31462
+
31463
+ """
31464
+ Returns the last _n_ elements from the list.
31465
+ """
31466
+ last: Int
31467
+ ): RepositoryCustomPropertyConnection
31468
+
31469
+ """
31470
+ Returns a single custom property from the current organization by name.
31471
+ """
31472
+ repositoryCustomProperty(
31473
+ """
31474
+ The name of the custom property to be returned.
31475
+ """
31476
+ propertyName: String!
31477
+ ): RepositoryCustomProperty
31478
+
31201
31479
  """
31202
31480
  Discussion comments this user has authored.
31203
31481
  """
@@ -37838,6 +38116,36 @@ enum ProjectV2WorkflowsOrderField {
37838
38116
  UPDATED_AT
37839
38117
  }
37840
38118
 
38119
+ """
38120
+ Autogenerated input type of PromoteRepositoryCustomProperty
38121
+ """
38122
+ input PromoteRepositoryCustomPropertyInput {
38123
+ """
38124
+ A unique identifier for the client performing the mutation.
38125
+ """
38126
+ clientMutationId: String
38127
+
38128
+ """
38129
+ The ID of the repository custom property to be promoted.
38130
+ """
38131
+ repositoryCustomPropertyId: ID!
38132
+ }
38133
+
38134
+ """
38135
+ Autogenerated return type of PromoteRepositoryCustomProperty.
38136
+ """
38137
+ type PromoteRepositoryCustomPropertyPayload {
38138
+ """
38139
+ A unique identifier for the client performing the mutation.
38140
+ """
38141
+ clientMutationId: String
38142
+
38143
+ """
38144
+ The repository custom property that has been promoted.
38145
+ """
38146
+ repositoryCustomProperty: RepositoryCustomProperty
38147
+ }
38148
+
37841
38149
  """
37842
38150
  A property that must match
37843
38151
  """
@@ -39480,13 +39788,6 @@ type PullRequestParameters {
39480
39788
  """
39481
39789
  allowedMergeMethods: [PullRequestAllowedMergeMethods!]
39482
39790
 
39483
- """
39484
- Request Copilot code review for new pull requests automatically if the author
39485
- has access to Copilot code review and their premium requests quota has not
39486
- reached the limit.
39487
- """
39488
- automaticCopilotCodeReviewEnabled: Boolean!
39489
-
39490
39791
  """
39491
39792
  New, reviewable commits pushed will dismiss previous pull request review approvals.
39492
39793
  """
@@ -39530,13 +39831,6 @@ input PullRequestParametersInput {
39530
39831
  """
39531
39832
  allowedMergeMethods: [PullRequestAllowedMergeMethods!]
39532
39833
 
39533
- """
39534
- Request Copilot code review for new pull requests automatically if the author
39535
- has access to Copilot code review and their premium requests quota has not
39536
- reached the limit.
39537
- """
39538
- automaticCopilotCodeReviewEnabled: Boolean
39539
-
39540
39834
  """
39541
39835
  New, reviewable commits pushed will dismiss previous pull request review approvals.
39542
39836
  """
@@ -47875,6 +48169,41 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
47875
48169
  orderBy: ReleaseOrder
47876
48170
  ): ReleaseConnection!
47877
48171
 
48172
+ """
48173
+ A custom property value for the repository.
48174
+ """
48175
+ repositoryCustomPropertyValue(
48176
+ """
48177
+ The name of the custom property to retrieve the value for.
48178
+ """
48179
+ propertyName: String!
48180
+ ): RepositoryCustomPropertyValue
48181
+
48182
+ """
48183
+ A list of custom properties and their associated values for a repository.
48184
+ """
48185
+ repositoryCustomPropertyValues(
48186
+ """
48187
+ Returns the elements in the list that come after the specified cursor.
48188
+ """
48189
+ after: String
48190
+
48191
+ """
48192
+ Returns the elements in the list that come before the specified cursor.
48193
+ """
48194
+ before: String
48195
+
48196
+ """
48197
+ Returns the first _n_ elements from the list.
48198
+ """
48199
+ first: Int
48200
+
48201
+ """
48202
+ Returns the last _n_ elements from the list.
48203
+ """
48204
+ last: Int
48205
+ ): RepositoryCustomPropertyValueConnection
48206
+
47878
48207
  """
47879
48208
  A list of applied repository-topic associations for this repository.
47880
48209
  """
@@ -48480,6 +48809,171 @@ enum RepositoryContributionType {
48480
48809
  REPOSITORY
48481
48810
  }
48482
48811
 
48812
+ """
48813
+ A repository custom property.
48814
+ """
48815
+ type RepositoryCustomProperty implements Node {
48816
+ """
48817
+ The allowed values for the custom property. Required if `value_type` is `single_select` or `multi_select`.
48818
+ """
48819
+ allowedValues: [String!]
48820
+
48821
+ """
48822
+ The default value of the custom property, if the property is `required`.
48823
+ """
48824
+ defaultValue: CustomPropertyValue
48825
+
48826
+ """
48827
+ The description of the custom property.
48828
+ """
48829
+ description: String
48830
+
48831
+ """
48832
+ The Node ID of the RepositoryCustomProperty object
48833
+ """
48834
+ id: ID!
48835
+
48836
+ """
48837
+ The name of the custom property.
48838
+ """
48839
+ propertyName: String!
48840
+
48841
+ """
48842
+ The regex pattern that the value of the custom property must match, if the `value_type` is `string`.
48843
+ """
48844
+ regex: String
48845
+
48846
+ """
48847
+ Whether the custom property is required.
48848
+ """
48849
+ required: Boolean
48850
+
48851
+ """
48852
+ The source type of the custom property.
48853
+ """
48854
+ source: CustomPropertySource!
48855
+
48856
+ """
48857
+ The value type of the custom property.
48858
+ """
48859
+ valueType: CustomPropertyValueType!
48860
+
48861
+ """
48862
+ Who can edit the values of this repository custom property.
48863
+ """
48864
+ valuesEditableBy: RepositoryCustomPropertyValuesEditableBy!
48865
+ }
48866
+
48867
+ """
48868
+ The connection type for RepositoryCustomProperty.
48869
+ """
48870
+ type RepositoryCustomPropertyConnection {
48871
+ """
48872
+ A list of edges.
48873
+ """
48874
+ edges: [RepositoryCustomPropertyEdge]
48875
+
48876
+ """
48877
+ A list of nodes.
48878
+ """
48879
+ nodes: [RepositoryCustomProperty]
48880
+
48881
+ """
48882
+ Information to aid in pagination.
48883
+ """
48884
+ pageInfo: PageInfo!
48885
+
48886
+ """
48887
+ Identifies the total count of items in the connection.
48888
+ """
48889
+ totalCount: Int!
48890
+ }
48891
+
48892
+ """
48893
+ An edge in a connection.
48894
+ """
48895
+ type RepositoryCustomPropertyEdge {
48896
+ """
48897
+ A cursor for use in pagination.
48898
+ """
48899
+ cursor: String!
48900
+
48901
+ """
48902
+ The item at the end of the edge.
48903
+ """
48904
+ node: RepositoryCustomProperty
48905
+ }
48906
+
48907
+ """
48908
+ A value associated with a repository custom property.
48909
+ """
48910
+ type RepositoryCustomPropertyValue {
48911
+ """
48912
+ The name of the custom property.
48913
+ """
48914
+ propertyName: String!
48915
+
48916
+ """
48917
+ The value of the custom property.
48918
+ """
48919
+ value: CustomPropertyValue!
48920
+ }
48921
+
48922
+ """
48923
+ The connection type for RepositoryCustomPropertyValue.
48924
+ """
48925
+ type RepositoryCustomPropertyValueConnection {
48926
+ """
48927
+ A list of edges.
48928
+ """
48929
+ edges: [RepositoryCustomPropertyValueEdge]
48930
+
48931
+ """
48932
+ A list of nodes.
48933
+ """
48934
+ nodes: [RepositoryCustomPropertyValue]
48935
+
48936
+ """
48937
+ Information to aid in pagination.
48938
+ """
48939
+ pageInfo: PageInfo!
48940
+
48941
+ """
48942
+ Identifies the total count of items in the connection.
48943
+ """
48944
+ totalCount: Int!
48945
+ }
48946
+
48947
+ """
48948
+ An edge in a connection.
48949
+ """
48950
+ type RepositoryCustomPropertyValueEdge {
48951
+ """
48952
+ A cursor for use in pagination.
48953
+ """
48954
+ cursor: String!
48955
+
48956
+ """
48957
+ The item at the end of the edge.
48958
+ """
48959
+ node: RepositoryCustomPropertyValue
48960
+ }
48961
+
48962
+ """
48963
+ The allowed actors who can edit the values of a custom property.
48964
+ """
48965
+ enum RepositoryCustomPropertyValuesEditableBy {
48966
+ """
48967
+ The organization actors.
48968
+ """
48969
+ ORG_ACTORS
48970
+
48971
+ """
48972
+ The organization and repository actors.
48973
+ """
48974
+ ORG_AND_REPO_ACTORS
48975
+ }
48976
+
48483
48977
  """
48484
48978
  Represents an author of discussions in repositories.
48485
48979
  """
@@ -52611,6 +53105,41 @@ type SetOrganizationInteractionLimitPayload {
52611
53105
  organization: Organization
52612
53106
  }
52613
53107
 
53108
+ """
53109
+ Autogenerated input type of SetRepositoryCustomPropertyValues
53110
+ """
53111
+ input SetRepositoryCustomPropertyValuesInput {
53112
+ """
53113
+ A unique identifier for the client performing the mutation.
53114
+ """
53115
+ clientMutationId: String
53116
+
53117
+ """
53118
+ A list of custom property names and associated values to apply.
53119
+ """
53120
+ properties: [CustomPropertyValueInput!]!
53121
+
53122
+ """
53123
+ The ID of the repository to set properties for.
53124
+ """
53125
+ repositoryId: ID!
53126
+ }
53127
+
53128
+ """
53129
+ Autogenerated return type of SetRepositoryCustomPropertyValues.
53130
+ """
53131
+ type SetRepositoryCustomPropertyValuesPayload {
53132
+ """
53133
+ A unique identifier for the client performing the mutation.
53134
+ """
53135
+ clientMutationId: String
53136
+
53137
+ """
53138
+ The repository that the custom properties were set for.
53139
+ """
53140
+ repository: Repository
53141
+ }
53142
+
52614
53143
  """
52615
53144
  Autogenerated input type of SetRepositoryInteractionLimit
52616
53145
  """
@@ -62752,6 +63281,66 @@ type UpdateRefsPayload {
62752
63281
  clientMutationId: String
62753
63282
  }
62754
63283
 
63284
+ """
63285
+ Autogenerated input type of UpdateRepositoryCustomProperty
63286
+ """
63287
+ input UpdateRepositoryCustomPropertyInput {
63288
+ """
63289
+ The updated allowed values for the custom property.
63290
+ """
63291
+ allowedValues: [String!]
63292
+
63293
+ """
63294
+ A unique identifier for the client performing the mutation.
63295
+ """
63296
+ clientMutationId: String
63297
+
63298
+ """
63299
+ The updated default value for the custom property if the property is required.
63300
+ """
63301
+ defaultValue: String
63302
+
63303
+ """
63304
+ The updated description of the custom property.
63305
+ """
63306
+ description: String
63307
+
63308
+ """
63309
+ The regex pattern that the value of the custom property must match, if the `value_type` is `string`.
63310
+ """
63311
+ regex: String
63312
+
63313
+ """
63314
+ The global relay id of the source of the custom property.
63315
+ """
63316
+ repositoryCustomPropertyId: ID!
63317
+
63318
+ """
63319
+ Whether the updated custom property is required.
63320
+ """
63321
+ required: Boolean
63322
+
63323
+ """
63324
+ The updated actors who can edit the values of the custom property.
63325
+ """
63326
+ valuesEditableBy: RepositoryCustomPropertyValuesEditableBy
63327
+ }
63328
+
63329
+ """
63330
+ Autogenerated return type of UpdateRepositoryCustomProperty.
63331
+ """
63332
+ type UpdateRepositoryCustomPropertyPayload {
63333
+ """
63334
+ A unique identifier for the client performing the mutation.
63335
+ """
63336
+ clientMutationId: String
63337
+
63338
+ """
63339
+ The updated repository custom property.
63340
+ """
63341
+ repositoryCustomProperty: RepositoryCustomProperty
63342
+ }
63343
+
62755
63344
  """
62756
63345
  Autogenerated input type of UpdateRepository
62757
63346
  """