github-schema 1.8.1 → 1.9.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.
@@ -6596,6 +6596,41 @@ type ConvertProjectCardNoteToIssuePayload {
6596
6596
  projectCard: ProjectCard
6597
6597
  }
6598
6598
 
6599
+ """
6600
+ Autogenerated input type of ConvertProjectV2DraftIssueItemToIssue
6601
+ """
6602
+ input ConvertProjectV2DraftIssueItemToIssueInput {
6603
+ """
6604
+ A unique identifier for the client performing the mutation.
6605
+ """
6606
+ clientMutationId: String
6607
+
6608
+ """
6609
+ The ID of the draft issue ProjectV2Item to convert.
6610
+ """
6611
+ itemId: ID!
6612
+
6613
+ """
6614
+ The ID of the repository to create the issue in.
6615
+ """
6616
+ repositoryId: ID!
6617
+ }
6618
+
6619
+ """
6620
+ Autogenerated return type of ConvertProjectV2DraftIssueItemToIssue.
6621
+ """
6622
+ type ConvertProjectV2DraftIssueItemToIssuePayload {
6623
+ """
6624
+ A unique identifier for the client performing the mutation.
6625
+ """
6626
+ clientMutationId: String
6627
+
6628
+ """
6629
+ The updated project item.
6630
+ """
6631
+ item: ProjectV2Item
6632
+ }
6633
+
6599
6634
  """
6600
6635
  Autogenerated input type of ConvertPullRequestToDraft
6601
6636
  """
@@ -7847,6 +7882,56 @@ type CreateProjectV2Payload {
7847
7882
  projectV2: ProjectV2
7848
7883
  }
7849
7884
 
7885
+ """
7886
+ Autogenerated input type of CreateProjectV2StatusUpdate
7887
+ """
7888
+ input CreateProjectV2StatusUpdateInput {
7889
+ """
7890
+ The body of the status update.
7891
+ """
7892
+ body: String
7893
+
7894
+ """
7895
+ A unique identifier for the client performing the mutation.
7896
+ """
7897
+ clientMutationId: String
7898
+
7899
+ """
7900
+ The ID of the Project to create the status update in.
7901
+ """
7902
+ projectId: ID!
7903
+
7904
+ """
7905
+ The start date of the status update.
7906
+ """
7907
+ startDate: Date
7908
+
7909
+ """
7910
+ The status of the status update.
7911
+ """
7912
+ status: ProjectV2StatusUpdateStatus
7913
+
7914
+ """
7915
+ The target date of the status update.
7916
+ """
7917
+ targetDate: Date
7918
+ }
7919
+
7920
+ """
7921
+ Autogenerated return type of CreateProjectV2StatusUpdate.
7922
+ """
7923
+ type CreateProjectV2StatusUpdatePayload {
7924
+ """
7925
+ A unique identifier for the client performing the mutation.
7926
+ """
7927
+ clientMutationId: String
7928
+
7929
+ """
7930
+ The status update updated in the project.
7931
+ """
7932
+ statusUpdate: ProjectV2StatusUpdate
7933
+ }
7934
+
7850
7935
  """
7851
7936
  Autogenerated input type of CreatePullRequest
7852
7937
  """
@@ -9604,6 +9689,41 @@ type DeleteProjectV2Payload {
9604
9689
  projectV2: ProjectV2
9605
9690
  }
9606
9691
 
9692
+ """
9693
+ Autogenerated input type of DeleteProjectV2StatusUpdate
9694
+ """
9695
+ input DeleteProjectV2StatusUpdateInput {
9696
+ """
9697
+ A unique identifier for the client performing the mutation.
9698
+ """
9699
+ clientMutationId: String
9700
+
9701
+ """
9702
+ The ID of the status update to be removed.
9703
+ """
9704
+ statusUpdateId: ID!
9705
+ }
9706
+
9707
+ """
9708
+ Autogenerated return type of DeleteProjectV2StatusUpdate.
9709
+ """
9710
+ type DeleteProjectV2StatusUpdatePayload {
9711
+ """
9712
+ A unique identifier for the client performing the mutation.
9713
+ """
9714
+ clientMutationId: String
9715
+
9716
+ """
9717
+ The ID of the deleted status update.
9718
+ """
9719
+ deletedStatusUpdateId: ID
9720
+
9721
+ """
9722
+ The project the deleted status update was in.
9723
+ """
9724
+ projectV2: ProjectV2
9725
+ }
9726
+
9607
9727
  """
9608
9728
  Autogenerated input type of DeleteProjectV2Workflow
9609
9729
  """
@@ -22772,6 +22892,16 @@ type Mutation {
22772
22892
  input: ConvertProjectCardNoteToIssueInput!
22773
22893
  ): ConvertProjectCardNoteToIssuePayload
22774
22894
 
22895
+ """
22896
+ Converts a projectV2 draft issue item to an issue.
22897
+ """
22898
+ convertProjectV2DraftIssueItemToIssue(
22899
+ """
22900
+ Parameters for ConvertProjectV2DraftIssueItemToIssue
22901
+ """
22902
+ input: ConvertProjectV2DraftIssueItemToIssueInput!
22903
+ ): ConvertProjectV2DraftIssueItemToIssuePayload
22904
+
22775
22905
  """
22776
22906
  Converts a pull request to draft
22777
22907
  """
@@ -23018,6 +23148,16 @@ type Mutation {
23018
23148
  input: CreateProjectV2FieldInput!
23019
23149
  ): CreateProjectV2FieldPayload
23020
23150
 
23151
+ """
23152
+ Creates a status update within a Project.
23153
+ """
23154
+ createProjectV2StatusUpdate(
23155
+ """
23156
+ Parameters for CreateProjectV2StatusUpdate
23157
+ """
23158
+ input: CreateProjectV2StatusUpdateInput!
23159
+ ): CreateProjectV2StatusUpdatePayload
23160
+
23021
23161
  """
23022
23162
  Create a new pull request
23023
23163
  """
@@ -23309,6 +23449,16 @@ type Mutation {
23309
23449
  input: DeleteProjectV2ItemInput!
23310
23450
  ): DeleteProjectV2ItemPayload
23311
23451
 
23452
+ """
23453
+ Deletes a project status update.
23454
+ """
23455
+ deleteProjectV2StatusUpdate(
23456
+ """
23457
+ Parameters for DeleteProjectV2StatusUpdate
23458
+ """
23459
+ input: DeleteProjectV2StatusUpdateInput!
23460
+ ): DeleteProjectV2StatusUpdatePayload
23461
+
23312
23462
  """
23313
23463
  Deletes a project workflow.
23314
23464
  """
@@ -24614,6 +24764,16 @@ type Mutation {
24614
24764
  input: UpdateProjectV2ItemPositionInput!
24615
24765
  ): UpdateProjectV2ItemPositionPayload
24616
24766
 
24767
+ """
24768
+ Updates a status update within a Project.
24769
+ """
24770
+ updateProjectV2StatusUpdate(
24771
+ """
24772
+ Parameters for UpdateProjectV2StatusUpdate
24773
+ """
24774
+ input: UpdateProjectV2StatusUpdateInput!
24775
+ ): UpdateProjectV2StatusUpdatePayload
24776
+
24617
24777
  """
24618
24778
  Update a pull request
24619
24779
  """
@@ -33070,6 +33230,36 @@ type ProjectV2 implements Closable & Node & Updatable {
33070
33230
  """
33071
33231
  shortDescription: String
33072
33232
 
33233
+ """
33234
+ List of the status updates in the project.
33235
+ """
33236
+ statusUpdates(
33237
+ """
33238
+ Returns the elements in the list that come after the specified cursor.
33239
+ """
33240
+ after: String
33241
+
33242
+ """
33243
+ Returns the elements in the list that come before the specified cursor.
33244
+ """
33245
+ before: String
33246
+
33247
+ """
33248
+ Returns the first _n_ elements from the list.
33249
+ """
33250
+ first: Int
33251
+
33252
+ """
33253
+ Returns the last _n_ elements from the list.
33254
+ """
33255
+ last: Int
33256
+
33257
+ """
33258
+ Order for connection
33259
+ """
33260
+ orderBy: ProjectV2StatusOrder = {field: CREATED_AT, direction: DESC}
33261
+ ): ProjectV2StatusUpdateConnection!
33262
+
33073
33263
  """
33074
33264
  The teams the project is linked to.
33075
33265
  """
@@ -34931,6 +35121,161 @@ enum ProjectV2State {
34931
35121
  OPEN
34932
35122
  }
34933
35123
 
35124
+ """
35125
+ Ways in which project v2 status updates can be ordered.
35126
+ """
35127
+ input ProjectV2StatusOrder {
35128
+ """
35129
+ The direction in which to order nodes.
35130
+ """
35131
+ direction: OrderDirection!
35132
+
35133
+ """
35134
+ The field by which to order nodes.
35135
+ """
35136
+ field: ProjectV2StatusUpdateOrderField!
35137
+ }
35138
+
35139
+ """
35140
+ A status update within a project.
35141
+ """
35142
+ type ProjectV2StatusUpdate implements Node {
35143
+ """
35144
+ The body of the status update.
35145
+ """
35146
+ body: String
35147
+
35148
+ """
35149
+ The body of the status update rendered to HTML.
35150
+ """
35151
+ bodyHTML: HTML
35152
+
35153
+ """
35154
+ Identifies the date and time when the object was created.
35155
+ """
35156
+ createdAt: DateTime!
35157
+
35158
+ """
35159
+ The actor who created the status update.
35160
+ """
35161
+ creator: Actor
35162
+
35163
+ """
35164
+ Identifies the primary key from the database.
35165
+ """
35166
+ databaseId: Int
35167
+
35168
+ """
35169
+ The Node ID of the ProjectV2StatusUpdate object
35170
+ """
35171
+ id: ID!
35172
+
35173
+ """
35174
+ The project that contains this status update.
35175
+ """
35176
+ project: ProjectV2!
35177
+
35178
+ """
35179
+ The start date of the status update.
35180
+ """
35181
+ startDate: Date
35182
+
35183
+ """
35184
+ The status of the status update.
35185
+ """
35186
+ status: ProjectV2StatusUpdateStatus
35187
+
35188
+ """
35189
+ The target date of the status update.
35190
+ """
35191
+ targetDate: Date
35192
+
35193
+ """
35194
+ Identifies the date and time when the object was last updated.
35195
+ """
35196
+ updatedAt: DateTime!
35197
+ }
35198
+
35199
+ """
35200
+ The connection type for ProjectV2StatusUpdate.
35201
+ """
35202
+ type ProjectV2StatusUpdateConnection {
35203
+ """
35204
+ A list of edges.
35205
+ """
35206
+ edges: [ProjectV2StatusUpdateEdge]
35207
+
35208
+ """
35209
+ A list of nodes.
35210
+ """
35211
+ nodes: [ProjectV2StatusUpdate]
35212
+
35213
+ """
35214
+ Information to aid in pagination.
35215
+ """
35216
+ pageInfo: PageInfo!
35217
+
35218
+ """
35219
+ Identifies the total count of items in the connection.
35220
+ """
35221
+ totalCount: Int!
35222
+ }
35223
+
35224
+ """
35225
+ An edge in a connection.
35226
+ """
35227
+ type ProjectV2StatusUpdateEdge {
35228
+ """
35229
+ A cursor for use in pagination.
35230
+ """
35231
+ cursor: String!
35232
+
35233
+ """
35234
+ The item at the end of the edge.
35235
+ """
35236
+ node: ProjectV2StatusUpdate
35237
+ }
35238
+
35239
+ """
35240
+ Properties by which project v2 status updates can be ordered.
35241
+ """
35242
+ enum ProjectV2StatusUpdateOrderField {
35243
+ """
35244
+ Allows chronological ordering of project v2 status updates.
35245
+ """
35246
+ CREATED_AT
35247
+ }
35248
+
35249
+ """
35250
+ The possible statuses of a project v2.
35251
+ """
35252
+ enum ProjectV2StatusUpdateStatus {
35253
+ """
35254
+ A project v2 that is at risk and encountering some challenges.
35255
+ """
35256
+ AT_RISK
35257
+
35258
+ """
35259
+ A project v2 that is complete.
35260
+ """
35261
+ COMPLETE
35262
+
35263
+ """
35264
+ A project v2 that is inactive.
35265
+ """
35266
+ INACTIVE
35267
+
35268
+ """
35269
+ A project v2 that is off track and needs attention.
35270
+ """
35271
+ OFF_TRACK
35272
+
35273
+ """
35274
+ A project v2 that is on track with no risks.
35275
+ """
35276
+ ON_TRACK
35277
+ }
35278
+
34934
35279
  """
34935
35280
  A view within a ProjectV2.
34936
35281
  """
@@ -35444,6 +35789,11 @@ type PropertyTargetDefinition {
35444
35789
  The values to match for
35445
35790
  """
35446
35791
  propertyValues: [String!]!
35792
+
35793
+ """
35794
+ The source of the property. Choose 'custom' or 'system'. Defaults to 'custom' if not specified
35795
+ """
35796
+ source: String
35447
35797
  }
35448
35798
 
35449
35799
  """
@@ -35459,6 +35809,11 @@ input PropertyTargetDefinitionInput {
35459
35809
  The values to match for
35460
35810
  """
35461
35811
  propertyValues: [String!]!
35812
+
35813
+ """
35814
+ The source of the property. Choose 'custom' or 'system'. Defaults to 'custom' if not specified
35815
+ """
35816
+ source: String
35462
35817
  }
35463
35818
 
35464
35819
  """
@@ -58916,6 +59271,56 @@ type UpdateProjectV2Payload {
58916
59271
  projectV2: ProjectV2
58917
59272
  }
58918
59273
 
59274
+ """
59275
+ Autogenerated input type of UpdateProjectV2StatusUpdate
59276
+ """
59277
+ input UpdateProjectV2StatusUpdateInput {
59278
+ """
59279
+ The body of the status update.
59280
+ """
59281
+ body: String
59282
+
59283
+ """
59284
+ A unique identifier for the client performing the mutation.
59285
+ """
59286
+ clientMutationId: String
59287
+
59288
+ """
59289
+ The start date of the status update.
59290
+ """
59291
+ startDate: Date
59292
+
59293
+ """
59294
+ The status of the status update.
59295
+ """
59296
+ status: ProjectV2StatusUpdateStatus
59297
+
59298
+ """
59299
+ The ID of the status update to be updated.
59300
+ """
59301
+ statusUpdateId: ID!
59302
+
59303
+ """
59304
+ The target date of the status update.
59305
+ """
59306
+ targetDate: Date
59307
+ }
59308
+
59309
+ """
59310
+ Autogenerated return type of UpdateProjectV2StatusUpdate.
59311
+ """
59312
+ type UpdateProjectV2StatusUpdatePayload {
59313
+ """
59314
+ A unique identifier for the client performing the mutation.
59315
+ """
59316
+ clientMutationId: String
59317
+
59318
+ """
59319
+ The status update updated in the project.
59320
+ """
59321
+ statusUpdate: ProjectV2StatusUpdate
59322
+ }
59323
+
58919
59324
  """
58920
59325
  Autogenerated input type of UpdatePullRequestBranch
58921
59326
  """
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "github-schema",
3
- "version": "1.8.1",
3
+ "version": "1.9.0",
4
4
  "description": "GitHub's GraphQL schema",
5
5
  "type": "module",
6
6
  "author": {