typescript-github-action-template 0.2.54 → 0.2.55

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.
Binary file
@@ -1,5 +1,5 @@
1
- import type { DocumentTypeDecoration, ResultOf } from '@graphql-typed-document-node/core';
2
1
  import type { Incremental, TypedDocumentString } from './graphql.js';
2
+ import type { DocumentTypeDecoration, ResultOf } from '@graphql-typed-document-node/core';
3
3
  export type FragmentType<TDocumentType extends DocumentTypeDecoration<any, any>> = TDocumentType extends DocumentTypeDecoration<infer TType, any> ? [TType] extends [{
4
4
  ' $fragmentName'?: infer TKey;
5
5
  }] ? TKey extends string ? {
@@ -841,6 +841,8 @@ export type Agentic = {
841
841
  viewerCopilotAgentCreatesChannel?: Maybe<Scalars['String']['output']>;
842
842
  /** Channel value for subscribing to live updates for session log updates. */
843
843
  viewerCopilotAgentLogUpdatesChannel?: Maybe<Scalars['String']['output']>;
844
+ /** Channel value for subscribing to live updates for task updates. */
845
+ viewerCopilotAgentTaskUpdatesChannel?: Maybe<Scalars['String']['output']>;
844
846
  /** Channel value for subscribing to live updates for session updates. */
845
847
  viewerCopilotAgentUpdatesChannel?: Maybe<Scalars['String']['output']>;
846
848
  };
@@ -3986,6 +3988,50 @@ export type CreateIpAllowListEntryPayload = {
3986
3988
  /** The IP allow list entry that was created. */
3987
3989
  ipAllowListEntry?: Maybe<IpAllowListEntry>;
3988
3990
  };
3991
+ /** Autogenerated input type of CreateIssueField */
3992
+ export type CreateIssueFieldInput = {
3993
+ /** A unique identifier for the client performing the mutation. */
3994
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
3995
+ /** The data type of the issue field. */
3996
+ dataType: IssueFieldDataType;
3997
+ /** A description of the issue field. */
3998
+ description?: InputMaybe<Scalars['String']['input']>;
3999
+ /** The name of the issue field. */
4000
+ name: Scalars['String']['input'];
4001
+ /** The options for the issue field if applicable. */
4002
+ options?: InputMaybe<Array<IssueFieldSingleSelectOptionInput>>;
4003
+ /** The ID of the organization where the issue field will be created. */
4004
+ ownerId: Scalars['ID']['input'];
4005
+ /** The visibility of the issue field. */
4006
+ visibility?: InputMaybe<IssueFieldVisibility>;
4007
+ };
4008
+ /** Autogenerated return type of CreateIssueField. */
4009
+ export type CreateIssueFieldPayload = {
4010
+ __typename: 'CreateIssueFieldPayload';
4011
+ /** A unique identifier for the client performing the mutation. */
4012
+ clientMutationId?: Maybe<Scalars['String']['output']>;
4013
+ /** The newly created issue field. */
4014
+ issueField?: Maybe<IssueFields>;
4015
+ };
4016
+ /** Autogenerated input type of CreateIssueFieldValue */
4017
+ export type CreateIssueFieldValueInput = {
4018
+ /** A unique identifier for the client performing the mutation. */
4019
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
4020
+ /** The field value to create. */
4021
+ issueField: IssueFieldCreateOrUpdateInput;
4022
+ /** The ID of the issue. */
4023
+ issueId: Scalars['ID']['input'];
4024
+ };
4025
+ /** Autogenerated return type of CreateIssueFieldValue. */
4026
+ export type CreateIssueFieldValuePayload = {
4027
+ __typename: 'CreateIssueFieldValuePayload';
4028
+ /** A unique identifier for the client performing the mutation. */
4029
+ clientMutationId?: Maybe<Scalars['String']['output']>;
4030
+ /** The issue object. */
4031
+ issue?: Maybe<Issue>;
4032
+ /** The newly created issue field value. */
4033
+ issueFieldValue?: Maybe<IssueFieldValue>;
4034
+ };
3989
4035
  /** Autogenerated input type of CreateIssue */
3990
4036
  export type CreateIssueInput = {
3991
4037
  /** Configuration for assigning Copilot to this issue. */
@@ -3996,6 +4042,8 @@ export type CreateIssueInput = {
3996
4042
  body?: InputMaybe<Scalars['String']['input']>;
3997
4043
  /** A unique identifier for the client performing the mutation. */
3998
4044
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
4045
+ /** An array of issue fields to set on the issue during creation */
4046
+ issueFields?: InputMaybe<Array<IssueFieldCreateOrUpdateInput>>;
3999
4047
  /** The name of an issue template in the repository, assigns labels and assignees from the template to the issue */
4000
4048
  issueTemplate?: InputMaybe<Scalars['String']['input']>;
4001
4049
  /** The Node ID of the issue type for this issue */
@@ -4174,6 +4222,23 @@ export type CreateProjectV2Input = {
4174
4222
  /** The title of the project. */
4175
4223
  title: Scalars['String']['input'];
4176
4224
  };
4225
+ /** Autogenerated input type of CreateProjectV2IssueField */
4226
+ export type CreateProjectV2IssueFieldInput = {
4227
+ /** A unique identifier for the client performing the mutation. */
4228
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
4229
+ /** The ID of the IssueField to create the field for. */
4230
+ issueFieldId: Scalars['ID']['input'];
4231
+ /** The ID of the Project to create the field in. */
4232
+ projectId: Scalars['ID']['input'];
4233
+ };
4234
+ /** Autogenerated return type of CreateProjectV2IssueField. */
4235
+ export type CreateProjectV2IssueFieldPayload = {
4236
+ __typename: 'CreateProjectV2IssueFieldPayload';
4237
+ /** A unique identifier for the client performing the mutation. */
4238
+ clientMutationId?: Maybe<Scalars['String']['output']>;
4239
+ /** The new field. */
4240
+ projectV2Field?: Maybe<ProjectV2FieldConfiguration>;
4241
+ };
4177
4242
  /** Autogenerated return type of CreateProjectV2. */
4178
4243
  export type CreateProjectV2Payload = {
4179
4244
  __typename: 'CreateProjectV2Payload';
@@ -4980,6 +5045,40 @@ export type DeleteIssueCommentPayload = {
4980
5045
  /** A unique identifier for the client performing the mutation. */
4981
5046
  clientMutationId?: Maybe<Scalars['String']['output']>;
4982
5047
  };
5048
+ /** Autogenerated input type of DeleteIssueField */
5049
+ export type DeleteIssueFieldInput = {
5050
+ /** A unique identifier for the client performing the mutation. */
5051
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
5052
+ /** The ID of the field to delete. */
5053
+ fieldId: Scalars['ID']['input'];
5054
+ };
5055
+ /** Autogenerated return type of DeleteIssueField. */
5056
+ export type DeleteIssueFieldPayload = {
5057
+ __typename: 'DeleteIssueFieldPayload';
5058
+ /** A unique identifier for the client performing the mutation. */
5059
+ clientMutationId?: Maybe<Scalars['String']['output']>;
5060
+ /** The deleted issue field. */
5061
+ issueField?: Maybe<IssueFields>;
5062
+ };
5063
+ /** Autogenerated input type of DeleteIssueFieldValue */
5064
+ export type DeleteIssueFieldValueInput = {
5065
+ /** A unique identifier for the client performing the mutation. */
5066
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
5067
+ /** The ID of the field to delete. */
5068
+ fieldId: Scalars['ID']['input'];
5069
+ /** The ID of the issue. */
5070
+ issueId: Scalars['ID']['input'];
5071
+ };
5072
+ /** Autogenerated return type of DeleteIssueFieldValue. */
5073
+ export type DeleteIssueFieldValuePayload = {
5074
+ __typename: 'DeleteIssueFieldValuePayload';
5075
+ /** A unique identifier for the client performing the mutation. */
5076
+ clientMutationId?: Maybe<Scalars['String']['output']>;
5077
+ /** The issue object. */
5078
+ issue?: Maybe<Issue>;
5079
+ /** Whether the field value was successfully deleted. */
5080
+ success?: Maybe<Scalars['Boolean']['output']>;
5081
+ };
4983
5082
  /** Autogenerated input type of DeleteIssue */
4984
5083
  export type DeleteIssueInput = {
4985
5084
  /** A unique identifier for the client performing the mutation. */
@@ -8962,6 +9061,8 @@ export type Issue = Assignable & Closable & Comment & Deletable & Labelable & Lo
8962
9061
  isReadByViewer?: Maybe<Scalars['Boolean']['output']>;
8963
9062
  /** Summary of the state of an issue's dependencies */
8964
9063
  issueDependenciesSummary: IssueDependenciesSummary;
9064
+ /** Fields that are set on this issue */
9065
+ issueFieldValues?: Maybe<IssueFieldValueConnection>;
8965
9066
  /** The issue type for this Issue */
8966
9067
  issueType?: Maybe<IssueType>;
8967
9068
  /** A list of labels associated with the object. */
@@ -8980,6 +9081,8 @@ export type Issue = Assignable & Closable & Comment & Deletable & Labelable & Lo
8980
9081
  parent?: Maybe<Issue>;
8981
9082
  /** A list of Users that are participating in the Issue conversation. */
8982
9083
  participants: UserConnection;
9084
+ /** The pinned comment for this issue. */
9085
+ pinnedIssueComment?: Maybe<PinnedIssueComment>;
8983
9086
  /**
8984
9087
  * List of project cards associated with this issue.
8985
9088
  * @deprecated Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.
@@ -9114,6 +9217,13 @@ export type IssueHovercardArgs = {
9114
9217
  includeNotificationContexts?: InputMaybe<Scalars['Boolean']['input']>;
9115
9218
  };
9116
9219
  /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */
9220
+ export type IssueIssueFieldValuesArgs = {
9221
+ after?: InputMaybe<Scalars['String']['input']>;
9222
+ before?: InputMaybe<Scalars['String']['input']>;
9223
+ first?: InputMaybe<Scalars['Int']['input']>;
9224
+ last?: InputMaybe<Scalars['Int']['input']>;
9225
+ };
9226
+ /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */
9117
9227
  export type IssueLabelsArgs = {
9118
9228
  after?: InputMaybe<Scalars['String']['input']>;
9119
9229
  before?: InputMaybe<Scalars['String']['input']>;
@@ -9245,7 +9355,7 @@ export type IssueClosedStateReason =
9245
9355
  /** An issue that has been closed as not planned */
9246
9356
  | 'NOT_PLANNED';
9247
9357
  /** Represents a comment on an Issue. */
9248
- export type IssueComment = Comment & Deletable & Minimizable & Node & Reactable & RepositoryNode & Updatable & UpdatableComment & {
9358
+ export type IssueComment = Comment & Deletable & Minimizable & Node & Pinnable & Reactable & RepositoryNode & Updatable & UpdatableComment & {
9249
9359
  __typename: 'IssueComment';
9250
9360
  /** The actor who authored the comment. */
9251
9361
  author?: Maybe<Actor>;
@@ -9273,6 +9383,8 @@ export type IssueComment = Comment & Deletable & Minimizable & Node & Reactable
9273
9383
  includesCreatedEdit: Scalars['Boolean']['output'];
9274
9384
  /** Returns whether or not a comment has been minimized. */
9275
9385
  isMinimized: Scalars['Boolean']['output'];
9386
+ /** Indicates whether or not this entity is currently pinned. */
9387
+ isPinned?: Maybe<Scalars['Boolean']['output']>;
9276
9388
  /** Identifies the issue associated with the comment. */
9277
9389
  issue: Issue;
9278
9390
  /** The moment the editor made the last edit */
@@ -9283,6 +9395,10 @@ export type IssueComment = Comment & Deletable & Minimizable & Node & Reactable
9283
9395
  * formatting of these values differs from the inputs to the `MinimizeComment` mutation.
9284
9396
  */
9285
9397
  minimizedReason?: Maybe<Scalars['String']['output']>;
9398
+ /** Identifies the date and time when this entity was pinned. */
9399
+ pinnedAt?: Maybe<Scalars['DateTime']['output']>;
9400
+ /** The user who pinned this entity. */
9401
+ pinnedBy?: Maybe<User>;
9286
9402
  /** Identifies when the comment was published at. */
9287
9403
  publishedAt?: Maybe<Scalars['DateTime']['output']>;
9288
9404
  /**
@@ -9308,10 +9424,14 @@ export type IssueComment = Comment & Deletable & Minimizable & Node & Reactable
9308
9424
  viewerCanDelete: Scalars['Boolean']['output'];
9309
9425
  /** Check if the current viewer can minimize this object. */
9310
9426
  viewerCanMinimize: Scalars['Boolean']['output'];
9427
+ /** Check if the current viewer can pin this entity. */
9428
+ viewerCanPin: Scalars['Boolean']['output'];
9311
9429
  /** Can user react to this subject */
9312
9430
  viewerCanReact: Scalars['Boolean']['output'];
9313
9431
  /** Check if the current viewer can unminimize this object. */
9314
9432
  viewerCanUnminimize: Scalars['Boolean']['output'];
9433
+ /** Check if the current viewer can unpin this entity. */
9434
+ viewerCanUnpin: Scalars['Boolean']['output'];
9315
9435
  /** Check if the current viewer can update this object. */
9316
9436
  viewerCanUpdate: Scalars['Boolean']['output'];
9317
9437
  /** Reasons why the current viewer can not update this comment. */
@@ -9366,6 +9486,30 @@ export type IssueCommentOrder = {
9366
9486
  export type IssueCommentOrderField =
9367
9487
  /** Order issue comments by update time */
9368
9488
  'UPDATED_AT';
9489
+ /** Represents a 'issue_comment_pinned' event on a given issue. */
9490
+ export type IssueCommentPinnedEvent = Node & {
9491
+ __typename: 'IssueCommentPinnedEvent';
9492
+ /** Identifies the actor who performed the event. */
9493
+ actor?: Maybe<Actor>;
9494
+ /** Identifies the date and time when the object was created. */
9495
+ createdAt: Scalars['DateTime']['output'];
9496
+ /** The Node ID of the IssueCommentPinnedEvent object */
9497
+ id: Scalars['ID']['output'];
9498
+ /** Identifies the issue comment associated with the 'issue_comment_pinned' event. */
9499
+ issueComment?: Maybe<IssueComment>;
9500
+ };
9501
+ /** Represents a 'issue_comment_unpinned' event on a given issue. */
9502
+ export type IssueCommentUnpinnedEvent = Node & {
9503
+ __typename: 'IssueCommentUnpinnedEvent';
9504
+ /** Identifies the actor who performed the event. */
9505
+ actor?: Maybe<Actor>;
9506
+ /** Identifies the date and time when the object was created. */
9507
+ createdAt: Scalars['DateTime']['output'];
9508
+ /** The Node ID of the IssueCommentUnpinnedEvent object */
9509
+ id: Scalars['ID']['output'];
9510
+ /** Identifies the issue comment associated with the 'issue_comment_unpinned' event. */
9511
+ issueComment?: Maybe<IssueComment>;
9512
+ };
9369
9513
  /** The connection type for Issue. */
9370
9514
  export type IssueConnection = {
9371
9515
  __typename: 'IssueConnection';
@@ -9427,6 +9571,265 @@ export type IssueEdge = {
9427
9571
  /** The item at the end of the edge. */
9428
9572
  node?: Maybe<Issue>;
9429
9573
  };
9574
+ /** Common fields across different issue field types */
9575
+ export type IssueFieldCommon = {
9576
+ /** The issue field's creation timestamp. */
9577
+ createdAt: Scalars['DateTime']['output'];
9578
+ /** The issue field's data type. */
9579
+ dataType: IssueFieldDataType;
9580
+ /** The issue field's description. */
9581
+ description?: Maybe<Scalars['String']['output']>;
9582
+ /** The issue field's name. */
9583
+ name: Scalars['String']['output'];
9584
+ /** The issue field's visibility. */
9585
+ visibility: IssueFieldVisibility;
9586
+ };
9587
+ /** Represents an issue field value that must be set on an issue during issue creation */
9588
+ export type IssueFieldCreateOrUpdateInput = {
9589
+ /** The date value, for a date field */
9590
+ dateValue?: InputMaybe<Scalars['String']['input']>;
9591
+ /** Set to true to delete the field value */
9592
+ delete?: InputMaybe<Scalars['Boolean']['input']>;
9593
+ /** The ID of the issue field */
9594
+ fieldId: Scalars['ID']['input'];
9595
+ /** The numeric value, for a number field */
9596
+ numberValue?: InputMaybe<Scalars['Float']['input']>;
9597
+ /** The ID of the selected option, for a single select field */
9598
+ singleSelectOptionId?: InputMaybe<Scalars['ID']['input']>;
9599
+ /** The text value, for a text field */
9600
+ textValue?: InputMaybe<Scalars['String']['input']>;
9601
+ };
9602
+ /** The type of an issue field. */
9603
+ export type IssueFieldDataType =
9604
+ /** Date */
9605
+ 'DATE'
9606
+ /** Number */
9607
+ | 'NUMBER'
9608
+ /** Single Select */
9609
+ | 'SINGLE_SELECT'
9610
+ /** Text */
9611
+ | 'TEXT';
9612
+ /** Represents a date issue field. */
9613
+ export type IssueFieldDate = IssueFieldCommon & Node & {
9614
+ __typename: 'IssueFieldDate';
9615
+ /** The issue field's creation timestamp. */
9616
+ createdAt: Scalars['DateTime']['output'];
9617
+ /** The issue field's data type. */
9618
+ dataType: IssueFieldDataType;
9619
+ /** The issue field's description. */
9620
+ description?: Maybe<Scalars['String']['output']>;
9621
+ /** The Node ID of the IssueFieldDate object */
9622
+ id: Scalars['ID']['output'];
9623
+ /** The issue field's name. */
9624
+ name: Scalars['String']['output'];
9625
+ /** The issue field's visibility. */
9626
+ visibility: IssueFieldVisibility;
9627
+ };
9628
+ /** The value of a date field in an Issue item. */
9629
+ export type IssueFieldDateValue = IssueFieldValueCommon & Node & {
9630
+ __typename: 'IssueFieldDateValue';
9631
+ /** The issue field that contains this value. */
9632
+ field?: Maybe<IssueFields>;
9633
+ /** The Node ID of the IssueFieldDateValue object */
9634
+ id: Scalars['ID']['output'];
9635
+ /** Value of the field. */
9636
+ value: Scalars['String']['output'];
9637
+ };
9638
+ /** Represents a number issue field. */
9639
+ export type IssueFieldNumber = IssueFieldCommon & Node & {
9640
+ __typename: 'IssueFieldNumber';
9641
+ /** The issue field's creation timestamp. */
9642
+ createdAt: Scalars['DateTime']['output'];
9643
+ /** The issue field's data type. */
9644
+ dataType: IssueFieldDataType;
9645
+ /** The issue field's description. */
9646
+ description?: Maybe<Scalars['String']['output']>;
9647
+ /** The Node ID of the IssueFieldNumber object */
9648
+ id: Scalars['ID']['output'];
9649
+ /** The issue field's name. */
9650
+ name: Scalars['String']['output'];
9651
+ /** The issue field's visibility. */
9652
+ visibility: IssueFieldVisibility;
9653
+ };
9654
+ /** The value of a number field in an Issue item. */
9655
+ export type IssueFieldNumberValue = IssueFieldValueCommon & Node & {
9656
+ __typename: 'IssueFieldNumberValue';
9657
+ /** The issue field that contains this value. */
9658
+ field?: Maybe<IssueFields>;
9659
+ /** The Node ID of the IssueFieldNumberValue object */
9660
+ id: Scalars['ID']['output'];
9661
+ /** Value of the field. */
9662
+ value: Scalars['Float']['output'];
9663
+ };
9664
+ /** Ordering options for issue field connections */
9665
+ export type IssueFieldOrder = {
9666
+ /** The ordering direction. */
9667
+ direction: OrderDirection;
9668
+ /** The field to order issue fields by. */
9669
+ field: IssueFieldOrderField;
9670
+ };
9671
+ /** Properties by which issue field connections can be ordered. */
9672
+ export type IssueFieldOrderField =
9673
+ /** Order issue fields by creation time */
9674
+ 'CREATED_AT'
9675
+ /** Order issue fields by name */
9676
+ | 'NAME';
9677
+ /** Represents a single select issue field. */
9678
+ export type IssueFieldSingleSelect = IssueFieldCommon & Node & {
9679
+ __typename: 'IssueFieldSingleSelect';
9680
+ /** The issue field's creation timestamp. */
9681
+ createdAt: Scalars['DateTime']['output'];
9682
+ /** The issue field's data type. */
9683
+ dataType: IssueFieldDataType;
9684
+ /** The issue field's description. */
9685
+ description?: Maybe<Scalars['String']['output']>;
9686
+ /** The Node ID of the IssueFieldSingleSelect object */
9687
+ id: Scalars['ID']['output'];
9688
+ /** The issue field's name. */
9689
+ name: Scalars['String']['output'];
9690
+ /** Options for the single select field */
9691
+ options: Array<IssueFieldSingleSelectOption>;
9692
+ /** The issue field's visibility. */
9693
+ visibility: IssueFieldVisibility;
9694
+ };
9695
+ /** Represents an option in a single-select issue field. */
9696
+ export type IssueFieldSingleSelectOption = Node & {
9697
+ __typename: 'IssueFieldSingleSelectOption';
9698
+ /** The option's display color. */
9699
+ color: IssueFieldSingleSelectOptionColor;
9700
+ /** The option's plain-text description. */
9701
+ description?: Maybe<Scalars['String']['output']>;
9702
+ /** The Node ID of the IssueFieldSingleSelectOption object */
9703
+ id: Scalars['ID']['output'];
9704
+ /** The option's name. */
9705
+ name: Scalars['String']['output'];
9706
+ /** The option's priority order. */
9707
+ priority?: Maybe<Scalars['Int']['output']>;
9708
+ };
9709
+ /** The display color of a single-select field option. */
9710
+ export type IssueFieldSingleSelectOptionColor =
9711
+ /** blue */
9712
+ 'BLUE'
9713
+ /** gray */
9714
+ | 'GRAY'
9715
+ /** green */
9716
+ | 'GREEN'
9717
+ /** orange */
9718
+ | 'ORANGE'
9719
+ /** pink */
9720
+ | 'PINK'
9721
+ /** purple */
9722
+ | 'PURPLE'
9723
+ /** red */
9724
+ | 'RED'
9725
+ /** yellow */
9726
+ | 'YELLOW';
9727
+ /** A single selection option for an issue field. */
9728
+ export type IssueFieldSingleSelectOptionInput = {
9729
+ /** The color associated with the option. */
9730
+ color: IssueFieldSingleSelectOptionColor;
9731
+ /** A description of the option. */
9732
+ description?: InputMaybe<Scalars['String']['input']>;
9733
+ /** The name of the option. */
9734
+ name: Scalars['String']['input'];
9735
+ /** The priority of the option in the list. */
9736
+ priority: Scalars['Int']['input'];
9737
+ };
9738
+ /** The value of a single select field in an Issue item. */
9739
+ export type IssueFieldSingleSelectValue = IssueFieldValueCommon & Node & {
9740
+ __typename: 'IssueFieldSingleSelectValue';
9741
+ /** The option's display color. */
9742
+ color: IssueFieldSingleSelectOptionColor;
9743
+ /** The option's plain-text description. */
9744
+ description?: Maybe<Scalars['String']['output']>;
9745
+ /** The issue field that contains this value. */
9746
+ field?: Maybe<IssueFields>;
9747
+ /** The Node ID of the IssueFieldSingleSelectValue object */
9748
+ id: Scalars['ID']['output'];
9749
+ /** The option's name. */
9750
+ name: Scalars['String']['output'];
9751
+ };
9752
+ /** Represents a text issue field. */
9753
+ export type IssueFieldText = IssueFieldCommon & Node & {
9754
+ __typename: 'IssueFieldText';
9755
+ /** The issue field's creation timestamp. */
9756
+ createdAt: Scalars['DateTime']['output'];
9757
+ /** The issue field's data type. */
9758
+ dataType: IssueFieldDataType;
9759
+ /** The issue field's description. */
9760
+ description?: Maybe<Scalars['String']['output']>;
9761
+ /** The Node ID of the IssueFieldText object */
9762
+ id: Scalars['ID']['output'];
9763
+ /** The issue field's name. */
9764
+ name: Scalars['String']['output'];
9765
+ /** The issue field's visibility. */
9766
+ visibility: IssueFieldVisibility;
9767
+ };
9768
+ /** The value of a text field in an Issue item. */
9769
+ export type IssueFieldTextValue = IssueFieldValueCommon & Node & {
9770
+ __typename: 'IssueFieldTextValue';
9771
+ /** The issue field that contains this value. */
9772
+ field?: Maybe<IssueFields>;
9773
+ /** The Node ID of the IssueFieldTextValue object */
9774
+ id: Scalars['ID']['output'];
9775
+ /** Value of the field. */
9776
+ value: Scalars['String']['output'];
9777
+ };
9778
+ /** Issue field values */
9779
+ export type IssueFieldValue = IssueFieldDateValue | IssueFieldNumberValue | IssueFieldSingleSelectValue | IssueFieldTextValue;
9780
+ /** Common fields across different issue field value types */
9781
+ export type IssueFieldValueCommon = {
9782
+ /** The issue field that contains this value. */
9783
+ field?: Maybe<IssueFields>;
9784
+ };
9785
+ /** The connection type for IssueFieldValue. */
9786
+ export type IssueFieldValueConnection = {
9787
+ __typename: 'IssueFieldValueConnection';
9788
+ /** A list of edges. */
9789
+ edges?: Maybe<Array<Maybe<IssueFieldValueEdge>>>;
9790
+ /** A list of nodes. */
9791
+ nodes?: Maybe<Array<Maybe<IssueFieldValue>>>;
9792
+ /** Information to aid in pagination. */
9793
+ pageInfo: PageInfo;
9794
+ /** Identifies the total count of items in the connection. */
9795
+ totalCount: Scalars['Int']['output'];
9796
+ };
9797
+ /** An edge in a connection. */
9798
+ export type IssueFieldValueEdge = {
9799
+ __typename: 'IssueFieldValueEdge';
9800
+ /** A cursor for use in pagination. */
9801
+ cursor: Scalars['String']['output'];
9802
+ /** The item at the end of the edge. */
9803
+ node?: Maybe<IssueFieldValue>;
9804
+ };
9805
+ /** The visibility of an issue field. */
9806
+ export type IssueFieldVisibility =
9807
+ /** All */
9808
+ 'ALL'
9809
+ /** Org Only */
9810
+ | 'ORG_ONLY';
9811
+ /** Possible issue fields. */
9812
+ export type IssueFields = IssueFieldDate | IssueFieldNumber | IssueFieldSingleSelect | IssueFieldText;
9813
+ /** The connection type for IssueFields. */
9814
+ export type IssueFieldsConnection = {
9815
+ __typename: 'IssueFieldsConnection';
9816
+ /** A list of edges. */
9817
+ edges?: Maybe<Array<Maybe<IssueFieldsEdge>>>;
9818
+ /** A list of nodes. */
9819
+ nodes?: Maybe<Array<Maybe<IssueFields>>>;
9820
+ /** Information to aid in pagination. */
9821
+ pageInfo: PageInfo;
9822
+ /** Identifies the total count of items in the connection. */
9823
+ totalCount: Scalars['Int']['output'];
9824
+ };
9825
+ /** An edge in a connection. */
9826
+ export type IssueFieldsEdge = {
9827
+ __typename: 'IssueFieldsEdge';
9828
+ /** A cursor for use in pagination. */
9829
+ cursor: Scalars['String']['output'];
9830
+ /** The item at the end of the edge. */
9831
+ node?: Maybe<IssueFields>;
9832
+ };
9430
9833
  /** Ways in which to filter lists of issues. */
9431
9834
  export type IssueFilters = {
9432
9835
  /**
@@ -9552,7 +9955,7 @@ export type IssueTimelineItemEdge = {
9552
9955
  node?: Maybe<IssueTimelineItem>;
9553
9956
  };
9554
9957
  /** An item in an issue timeline */
9555
- export type IssueTimelineItems = AddedToProjectEvent | AddedToProjectV2Event | AssignedEvent | BlockedByAddedEvent | BlockedByRemovedEvent | BlockingAddedEvent | BlockingRemovedEvent | ClosedEvent | CommentDeletedEvent | ConnectedEvent | ConvertedFromDraftEvent | ConvertedNoteToIssueEvent | ConvertedToDiscussionEvent | CrossReferencedEvent | DemilestonedEvent | DisconnectedEvent | IssueComment | IssueTypeAddedEvent | IssueTypeChangedEvent | IssueTypeRemovedEvent | LabeledEvent | LockedEvent | MarkedAsDuplicateEvent | MentionedEvent | MilestonedEvent | MovedColumnsInProjectEvent | ParentIssueAddedEvent | ParentIssueRemovedEvent | PinnedEvent | ProjectV2ItemStatusChangedEvent | ReferencedEvent | RemovedFromProjectEvent | RemovedFromProjectV2Event | RenamedTitleEvent | ReopenedEvent | SubIssueAddedEvent | SubIssueRemovedEvent | SubscribedEvent | TransferredEvent | UnassignedEvent | UnlabeledEvent | UnlockedEvent | UnmarkedAsDuplicateEvent | UnpinnedEvent | UnsubscribedEvent | UserBlockedEvent;
9958
+ export type IssueTimelineItems = AddedToProjectEvent | AddedToProjectV2Event | AssignedEvent | BlockedByAddedEvent | BlockedByRemovedEvent | BlockingAddedEvent | BlockingRemovedEvent | ClosedEvent | CommentDeletedEvent | ConnectedEvent | ConvertedFromDraftEvent | ConvertedNoteToIssueEvent | ConvertedToDiscussionEvent | CrossReferencedEvent | DemilestonedEvent | DisconnectedEvent | IssueComment | IssueCommentPinnedEvent | IssueCommentUnpinnedEvent | IssueTypeAddedEvent | IssueTypeChangedEvent | IssueTypeRemovedEvent | LabeledEvent | LockedEvent | MarkedAsDuplicateEvent | MentionedEvent | MilestonedEvent | MovedColumnsInProjectEvent | ParentIssueAddedEvent | ParentIssueRemovedEvent | PinnedEvent | ProjectV2ItemStatusChangedEvent | ReferencedEvent | RemovedFromProjectEvent | RemovedFromProjectV2Event | RenamedTitleEvent | ReopenedEvent | SubIssueAddedEvent | SubIssueRemovedEvent | SubscribedEvent | TransferredEvent | UnassignedEvent | UnlabeledEvent | UnlockedEvent | UnmarkedAsDuplicateEvent | UnpinnedEvent | UnsubscribedEvent | UserBlockedEvent;
9556
9959
  /** The connection type for IssueTimelineItems. */
9557
9960
  export type IssueTimelineItemsConnection = {
9558
9961
  __typename: 'IssueTimelineItemsConnection';
@@ -9703,6 +10106,8 @@ export type IssueType = Node & {
9703
10106
  issues: IssueConnection;
9704
10107
  /** The issue type's name. */
9705
10108
  name: Scalars['String']['output'];
10109
+ /** An ordered list of issue fields pinned to this type. */
10110
+ pinnedFields?: Maybe<Array<IssueFields>>;
9706
10111
  };
9707
10112
  /** Represents the type of Issue. */
9708
10113
  export type IssueTypeIssuesArgs = {
@@ -11616,6 +12021,10 @@ export type Mutation = {
11616
12021
  createIpAllowListEntry?: Maybe<CreateIpAllowListEntryPayload>;
11617
12022
  /** Creates a new issue. */
11618
12023
  createIssue?: Maybe<CreateIssuePayload>;
12024
+ /** Creates a new issue field. */
12025
+ createIssueField?: Maybe<CreateIssueFieldPayload>;
12026
+ /** Creates a new issue field value for an issue. */
12027
+ createIssueFieldValue?: Maybe<CreateIssueFieldValuePayload>;
11619
12028
  /** Creates a new issue type */
11620
12029
  createIssueType?: Maybe<CreateIssueTypePayload>;
11621
12030
  /** Creates a new label. */
@@ -11633,6 +12042,8 @@ export type Mutation = {
11633
12042
  createProjectV2?: Maybe<CreateProjectV2Payload>;
11634
12043
  /** Create a new project field. */
11635
12044
  createProjectV2Field?: Maybe<CreateProjectV2FieldPayload>;
12045
+ /** Create a new project issue field. */
12046
+ createProjectV2IssueField?: Maybe<CreateProjectV2IssueFieldPayload>;
11636
12047
  /** Creates a status update within a Project. */
11637
12048
  createProjectV2StatusUpdate?: Maybe<CreateProjectV2StatusUpdatePayload>;
11638
12049
  /** Create a new pull request */
@@ -11676,6 +12087,10 @@ export type Mutation = {
11676
12087
  deleteIssue?: Maybe<DeleteIssuePayload>;
11677
12088
  /** Deletes an IssueComment object. */
11678
12089
  deleteIssueComment?: Maybe<DeleteIssueCommentPayload>;
12090
+ /** Deletes an issue field. */
12091
+ deleteIssueField?: Maybe<DeleteIssueFieldPayload>;
12092
+ /** Deletes an issue field value from an issue. */
12093
+ deleteIssueFieldValue?: Maybe<DeleteIssueFieldValuePayload>;
11679
12094
  /** Delete an issue type */
11680
12095
  deleteIssueType?: Maybe<DeleteIssueTypePayload>;
11681
12096
  /** Deletes a label. */
@@ -11791,6 +12206,8 @@ export type Mutation = {
11791
12206
  pinEnvironment?: Maybe<PinEnvironmentPayload>;
11792
12207
  /** Pin an issue to a repository */
11793
12208
  pinIssue?: Maybe<PinIssuePayload>;
12209
+ /** Pins an Issue Comment. */
12210
+ pinIssueComment?: Maybe<PinIssueCommentPayload>;
11794
12211
  /** Promote a repository custom property to the enterprise level. */
11795
12212
  promoteRepositoryCustomProperty?: Maybe<PromoteRepositoryCustomPropertyPayload>;
11796
12213
  /** Publish an existing sponsorship tier that is currently still a draft to a GitHub Sponsors profile. */
@@ -11860,6 +12277,8 @@ export type Mutation = {
11860
12277
  revokeMigratorRole?: Maybe<RevokeMigratorRolePayload>;
11861
12278
  /** Creates or updates the identity provider for an enterprise. */
11862
12279
  setEnterpriseIdentityProvider?: Maybe<SetEnterpriseIdentityProviderPayload>;
12280
+ /** Sets the value of an IssueFieldValue. */
12281
+ setIssueFieldValue?: Maybe<SetIssueFieldValuePayload>;
11863
12282
  /** Set an organization level interaction limit for an organization's public repositories. */
11864
12283
  setOrganizationInteractionLimit?: Maybe<SetOrganizationInteractionLimitPayload>;
11865
12284
  /** Set repository custom property values for a repository. */
@@ -11909,6 +12328,8 @@ export type Mutation = {
11909
12328
  unminimizeComment?: Maybe<UnminimizeCommentPayload>;
11910
12329
  /** Unpin a pinned issue from a repository */
11911
12330
  unpinIssue?: Maybe<UnpinIssuePayload>;
12331
+ /** Unpins an Issue Comment. */
12332
+ unpinIssueComment?: Maybe<UnpinIssueCommentPayload>;
11912
12333
  /** Marks a review thread as unresolved. */
11913
12334
  unresolveReviewThread?: Maybe<UnresolveReviewThreadPayload>;
11914
12335
  /** Update a branch protection rule */
@@ -11971,6 +12392,10 @@ export type Mutation = {
11971
12392
  updateIssue?: Maybe<UpdateIssuePayload>;
11972
12393
  /** Updates an IssueComment object. */
11973
12394
  updateIssueComment?: Maybe<UpdateIssueCommentPayload>;
12395
+ /** Updates an issue field. */
12396
+ updateIssueField?: Maybe<UpdateIssueFieldPayload>;
12397
+ /** Updates an existing issue field value for an issue. */
12398
+ updateIssueFieldValue?: Maybe<UpdateIssueFieldValuePayload>;
11974
12399
  /** Updates the issue type on an issue */
11975
12400
  updateIssueIssueType?: Maybe<UpdateIssueIssueTypePayload>;
11976
12401
  /** Update an issue type */
@@ -12311,6 +12736,14 @@ export type MutationCreateIssueArgs = {
12311
12736
  input: CreateIssueInput;
12312
12737
  };
12313
12738
  /** The root query for implementing GraphQL mutations. */
12739
+ export type MutationCreateIssueFieldArgs = {
12740
+ input: CreateIssueFieldInput;
12741
+ };
12742
+ /** The root query for implementing GraphQL mutations. */
12743
+ export type MutationCreateIssueFieldValueArgs = {
12744
+ input: CreateIssueFieldValueInput;
12745
+ };
12746
+ /** The root query for implementing GraphQL mutations. */
12314
12747
  export type MutationCreateIssueTypeArgs = {
12315
12748
  input: CreateIssueTypeInput;
12316
12749
  };
@@ -12339,6 +12772,10 @@ export type MutationCreateProjectV2FieldArgs = {
12339
12772
  input: CreateProjectV2FieldInput;
12340
12773
  };
12341
12774
  /** The root query for implementing GraphQL mutations. */
12775
+ export type MutationCreateProjectV2IssueFieldArgs = {
12776
+ input: CreateProjectV2IssueFieldInput;
12777
+ };
12778
+ /** The root query for implementing GraphQL mutations. */
12342
12779
  export type MutationCreateProjectV2StatusUpdateArgs = {
12343
12780
  input: CreateProjectV2StatusUpdateInput;
12344
12781
  };
@@ -12419,6 +12856,14 @@ export type MutationDeleteIssueCommentArgs = {
12419
12856
  input: DeleteIssueCommentInput;
12420
12857
  };
12421
12858
  /** The root query for implementing GraphQL mutations. */
12859
+ export type MutationDeleteIssueFieldArgs = {
12860
+ input: DeleteIssueFieldInput;
12861
+ };
12862
+ /** The root query for implementing GraphQL mutations. */
12863
+ export type MutationDeleteIssueFieldValueArgs = {
12864
+ input: DeleteIssueFieldValueInput;
12865
+ };
12866
+ /** The root query for implementing GraphQL mutations. */
12422
12867
  export type MutationDeleteIssueTypeArgs = {
12423
12868
  input: DeleteIssueTypeInput;
12424
12869
  };
@@ -12607,6 +13052,10 @@ export type MutationPinIssueArgs = {
12607
13052
  input: PinIssueInput;
12608
13053
  };
12609
13054
  /** The root query for implementing GraphQL mutations. */
13055
+ export type MutationPinIssueCommentArgs = {
13056
+ input: PinIssueCommentInput;
13057
+ };
13058
+ /** The root query for implementing GraphQL mutations. */
12610
13059
  export type MutationPromoteRepositoryCustomPropertyArgs = {
12611
13060
  input: PromoteRepositoryCustomPropertyInput;
12612
13061
  };
@@ -12739,6 +13188,10 @@ export type MutationSetEnterpriseIdentityProviderArgs = {
12739
13188
  input: SetEnterpriseIdentityProviderInput;
12740
13189
  };
12741
13190
  /** The root query for implementing GraphQL mutations. */
13191
+ export type MutationSetIssueFieldValueArgs = {
13192
+ input: SetIssueFieldValueInput;
13193
+ };
13194
+ /** The root query for implementing GraphQL mutations. */
12742
13195
  export type MutationSetOrganizationInteractionLimitArgs = {
12743
13196
  input: SetOrganizationInteractionLimitInput;
12744
13197
  };
@@ -12831,6 +13284,10 @@ export type MutationUnpinIssueArgs = {
12831
13284
  input: UnpinIssueInput;
12832
13285
  };
12833
13286
  /** The root query for implementing GraphQL mutations. */
13287
+ export type MutationUnpinIssueCommentArgs = {
13288
+ input: UnpinIssueCommentInput;
13289
+ };
13290
+ /** The root query for implementing GraphQL mutations. */
12834
13291
  export type MutationUnresolveReviewThreadArgs = {
12835
13292
  input: UnresolveReviewThreadInput;
12836
13293
  };
@@ -12955,6 +13412,14 @@ export type MutationUpdateIssueCommentArgs = {
12955
13412
  input: UpdateIssueCommentInput;
12956
13413
  };
12957
13414
  /** The root query for implementing GraphQL mutations. */
13415
+ export type MutationUpdateIssueFieldArgs = {
13416
+ input: UpdateIssueFieldInput;
13417
+ };
13418
+ /** The root query for implementing GraphQL mutations. */
13419
+ export type MutationUpdateIssueFieldValueArgs = {
13420
+ input: UpdateIssueFieldValueInput;
13421
+ };
13422
+ /** The root query for implementing GraphQL mutations. */
12958
13423
  export type MutationUpdateIssueIssueTypeArgs = {
12959
13424
  input: UpdateIssueIssueTypeInput;
12960
13425
  };
@@ -16311,6 +16776,8 @@ export type Organization = Actor & MemberStatusable & Node & PackageOwner & Prof
16311
16776
  isSponsoringViewer: Scalars['Boolean']['output'];
16312
16777
  /** Whether the organization has verified its profile email and website. */
16313
16778
  isVerified: Scalars['Boolean']['output'];
16779
+ /** A list of the organization's issue fields */
16780
+ issueFields?: Maybe<IssueFieldsConnection>;
16314
16781
  /** A list of the organization's issue types */
16315
16782
  issueTypes?: Maybe<IssueTypeConnection>;
16316
16783
  /**
@@ -16523,6 +16990,14 @@ export type OrganizationIsSponsoredByArgs = {
16523
16990
  accountLogin: Scalars['String']['input'];
16524
16991
  };
16525
16992
  /** An account on GitHub, with one or more owners, that has repositories, members and teams. */
16993
+ export type OrganizationIssueFieldsArgs = {
16994
+ after?: InputMaybe<Scalars['String']['input']>;
16995
+ before?: InputMaybe<Scalars['String']['input']>;
16996
+ first?: InputMaybe<Scalars['Int']['input']>;
16997
+ last?: InputMaybe<Scalars['Int']['input']>;
16998
+ orderBy?: InputMaybe<IssueFieldOrder>;
16999
+ };
17000
+ /** An account on GitHub, with one or more owners, that has repositories, members and teams. */
16526
17001
  export type OrganizationIssueTypesArgs = {
16527
17002
  after?: InputMaybe<Scalars['String']['input']>;
16528
17003
  before?: InputMaybe<Scalars['String']['input']>;
@@ -17489,6 +17964,21 @@ export type PinEnvironmentPayload = {
17489
17964
  /** The pinned environment if we pinned */
17490
17965
  pinnedEnvironment?: Maybe<PinnedEnvironment>;
17491
17966
  };
17967
+ /** Autogenerated input type of PinIssueComment */
17968
+ export type PinIssueCommentInput = {
17969
+ /** A unique identifier for the client performing the mutation. */
17970
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
17971
+ /** The ID of the Issue Comment to pin. Comment pinning is not supported on Pull Requests. */
17972
+ issueCommentId: Scalars['ID']['input'];
17973
+ };
17974
+ /** Autogenerated return type of PinIssueComment. */
17975
+ export type PinIssueCommentPayload = {
17976
+ __typename: 'PinIssueCommentPayload';
17977
+ /** A unique identifier for the client performing the mutation. */
17978
+ clientMutationId?: Maybe<Scalars['String']['output']>;
17979
+ /** The Issue Comment that was pinned */
17980
+ issueComment?: Maybe<IssueComment>;
17981
+ };
17492
17982
  /** Autogenerated input type of PinIssue */
17493
17983
  export type PinIssueInput = {
17494
17984
  /** A unique identifier for the client performing the mutation. */
@@ -17504,6 +17994,19 @@ export type PinIssuePayload = {
17504
17994
  /** The issue that was pinned */
17505
17995
  issue?: Maybe<Issue>;
17506
17996
  };
17997
+ /** Entities that can be pinned. */
17998
+ export type Pinnable = {
17999
+ /** Indicates whether or not this entity is currently pinned. */
18000
+ isPinned?: Maybe<Scalars['Boolean']['output']>;
18001
+ /** Identifies the date and time when this entity was pinned. */
18002
+ pinnedAt?: Maybe<Scalars['DateTime']['output']>;
18003
+ /** The user who pinned this entity. */
18004
+ pinnedBy?: Maybe<User>;
18005
+ /** Check if the current viewer can pin this entity. */
18006
+ viewerCanPin: Scalars['Boolean']['output'];
18007
+ /** Check if the current viewer can unpin this entity. */
18008
+ viewerCanUnpin: Scalars['Boolean']['output'];
18009
+ };
17507
18010
  /** Types that can be pinned to a profile page. */
17508
18011
  export type PinnableItem = Gist | Repository;
17509
18012
  /** The connection type for PinnableItem. */
@@ -17689,6 +18192,24 @@ export type PinnedIssue = Node & {
17689
18192
  /** The repository that this issue was pinned to. */
17690
18193
  repository: Repository;
17691
18194
  };
18195
+ /** A comment pinned to an Issue. */
18196
+ export type PinnedIssueComment = Node & {
18197
+ __typename: 'PinnedIssueComment';
18198
+ /** Identifies the primary key from the database. */
18199
+ databaseId?: Maybe<Scalars['Int']['output']>;
18200
+ /** Identifies the primary key from the database as a BigInt. */
18201
+ fullDatabaseId?: Maybe<Scalars['BigInt']['output']>;
18202
+ /** The Node ID of the PinnedIssueComment object */
18203
+ id: Scalars['ID']['output'];
18204
+ /** The issue that this comment belongs to. */
18205
+ issue: Issue;
18206
+ /** The comment that was pinned. */
18207
+ issueComment: IssueComment;
18208
+ /** Identifies when the comment was pinned. */
18209
+ pinnedAt: Scalars['DateTime']['output'];
18210
+ /** The actor that pinned this comment. */
18211
+ pinnedBy: Actor;
18212
+ };
17692
18213
  /** The connection type for PinnedIssue. */
17693
18214
  export type PinnedIssueConnection = {
17694
18215
  __typename: 'PinnedIssueConnection';
@@ -18806,10 +19327,12 @@ export type ProjectV2Filters = {
18806
19327
  /** List project v2 filtered by the state given. */
18807
19328
  state?: InputMaybe<ProjectV2State>;
18808
19329
  };
19330
+ /** Possible issue field values for a Project item. */
19331
+ export type ProjectV2IssueFieldValues = IssueFieldDateValue | IssueFieldNumberValue | IssueFieldSingleSelectValue | IssueFieldTextValue;
18809
19332
  /** An item within a Project. */
18810
19333
  export type ProjectV2Item = Node & {
18811
19334
  __typename: 'ProjectV2Item';
18812
- /** The content of the referenced draft issue, issue, or pull request */
19335
+ /** The content of the referenced draft issue, issue, pull request */
18813
19336
  content?: Maybe<ProjectV2ItemContent>;
18814
19337
  /** Identifies the date and time when the object was created. */
18815
19338
  createdAt: Scalars['DateTime']['output'];
@@ -19067,7 +19590,7 @@ export type ProjectV2ItemFieldUserValueUsersArgs = {
19067
19590
  last?: InputMaybe<Scalars['Int']['input']>;
19068
19591
  };
19069
19592
  /** Project field values */
19070
- export type ProjectV2ItemFieldValue = ProjectV2ItemFieldDateValue | ProjectV2ItemFieldIterationValue | ProjectV2ItemFieldLabelValue | ProjectV2ItemFieldMilestoneValue | ProjectV2ItemFieldNumberValue | ProjectV2ItemFieldPullRequestValue | ProjectV2ItemFieldRepositoryValue | ProjectV2ItemFieldReviewerValue | ProjectV2ItemFieldSingleSelectValue | ProjectV2ItemFieldTextValue | ProjectV2ItemFieldUserValue;
19593
+ export type ProjectV2ItemFieldValue = ProjectV2ItemFieldDateValue | ProjectV2ItemFieldIterationValue | ProjectV2ItemFieldLabelValue | ProjectV2ItemFieldMilestoneValue | ProjectV2ItemFieldNumberValue | ProjectV2ItemFieldPullRequestValue | ProjectV2ItemFieldRepositoryValue | ProjectV2ItemFieldReviewerValue | ProjectV2ItemFieldSingleSelectValue | ProjectV2ItemFieldTextValue | ProjectV2ItemFieldUserValue | ProjectV2ItemIssueFieldValue;
19071
19594
  /** Common fields across different project field value types */
19072
19595
  export type ProjectV2ItemFieldValueCommon = {
19073
19596
  /** Identifies the date and time when the object was created. */
@@ -19116,6 +19639,14 @@ export type ProjectV2ItemFieldValueOrder = {
19116
19639
  export type ProjectV2ItemFieldValueOrderField =
19117
19640
  /** Order project v2 item field values by the their position in the project */
19118
19641
  'POSITION';
19642
+ /** The value of an issue field in a Project item. */
19643
+ export type ProjectV2ItemIssueFieldValue = {
19644
+ __typename: 'ProjectV2ItemIssueFieldValue';
19645
+ /** Field that contains this value. */
19646
+ field: ProjectV2FieldConfiguration;
19647
+ /** Value of the Issue Field */
19648
+ issueFieldValue?: Maybe<ProjectV2IssueFieldValues>;
19649
+ };
19119
19650
  /** Ordering options for project v2 item connections */
19120
19651
  export type ProjectV2ItemOrder = {
19121
19652
  /** The ordering direction. */
@@ -20965,7 +21496,7 @@ export type PullRequestTimelineItemEdge = {
20965
21496
  node?: Maybe<PullRequestTimelineItem>;
20966
21497
  };
20967
21498
  /** An item in a pull request timeline */
20968
- export type PullRequestTimelineItems = AddedToMergeQueueEvent | AddedToProjectEvent | AddedToProjectV2Event | AssignedEvent | AutoMergeDisabledEvent | AutoMergeEnabledEvent | AutoRebaseEnabledEvent | AutoSquashEnabledEvent | AutomaticBaseChangeFailedEvent | AutomaticBaseChangeSucceededEvent | BaseRefChangedEvent | BaseRefDeletedEvent | BaseRefForcePushedEvent | BlockedByAddedEvent | BlockedByRemovedEvent | BlockingAddedEvent | BlockingRemovedEvent | ClosedEvent | CommentDeletedEvent | ConnectedEvent | ConvertToDraftEvent | ConvertedFromDraftEvent | ConvertedNoteToIssueEvent | ConvertedToDiscussionEvent | CrossReferencedEvent | DemilestonedEvent | DeployedEvent | DeploymentEnvironmentChangedEvent | DisconnectedEvent | HeadRefDeletedEvent | HeadRefForcePushedEvent | HeadRefRestoredEvent | IssueComment | IssueTypeAddedEvent | IssueTypeChangedEvent | IssueTypeRemovedEvent | LabeledEvent | LockedEvent | MarkedAsDuplicateEvent | MentionedEvent | MergedEvent | MilestonedEvent | MovedColumnsInProjectEvent | ParentIssueAddedEvent | ParentIssueRemovedEvent | PinnedEvent | ProjectV2ItemStatusChangedEvent | PullRequestCommit | PullRequestCommitCommentThread | PullRequestReview | PullRequestReviewThread | PullRequestRevisionMarker | ReadyForReviewEvent | ReferencedEvent | RemovedFromMergeQueueEvent | RemovedFromProjectEvent | RemovedFromProjectV2Event | RenamedTitleEvent | ReopenedEvent | ReviewDismissedEvent | ReviewRequestRemovedEvent | ReviewRequestedEvent | SubIssueAddedEvent | SubIssueRemovedEvent | SubscribedEvent | TransferredEvent | UnassignedEvent | UnlabeledEvent | UnlockedEvent | UnmarkedAsDuplicateEvent | UnpinnedEvent | UnsubscribedEvent | UserBlockedEvent;
21499
+ export type PullRequestTimelineItems = AddedToMergeQueueEvent | AddedToProjectEvent | AddedToProjectV2Event | AssignedEvent | AutoMergeDisabledEvent | AutoMergeEnabledEvent | AutoRebaseEnabledEvent | AutoSquashEnabledEvent | AutomaticBaseChangeFailedEvent | AutomaticBaseChangeSucceededEvent | BaseRefChangedEvent | BaseRefDeletedEvent | BaseRefForcePushedEvent | BlockedByAddedEvent | BlockedByRemovedEvent | BlockingAddedEvent | BlockingRemovedEvent | ClosedEvent | CommentDeletedEvent | ConnectedEvent | ConvertToDraftEvent | ConvertedFromDraftEvent | ConvertedNoteToIssueEvent | ConvertedToDiscussionEvent | CrossReferencedEvent | DemilestonedEvent | DeployedEvent | DeploymentEnvironmentChangedEvent | DisconnectedEvent | HeadRefDeletedEvent | HeadRefForcePushedEvent | HeadRefRestoredEvent | IssueComment | IssueCommentPinnedEvent | IssueCommentUnpinnedEvent | IssueTypeAddedEvent | IssueTypeChangedEvent | IssueTypeRemovedEvent | LabeledEvent | LockedEvent | MarkedAsDuplicateEvent | MentionedEvent | MergedEvent | MilestonedEvent | MovedColumnsInProjectEvent | ParentIssueAddedEvent | ParentIssueRemovedEvent | PinnedEvent | ProjectV2ItemStatusChangedEvent | PullRequestCommit | PullRequestCommitCommentThread | PullRequestReview | PullRequestReviewThread | PullRequestRevisionMarker | ReadyForReviewEvent | ReferencedEvent | RemovedFromMergeQueueEvent | RemovedFromProjectEvent | RemovedFromProjectV2Event | RenamedTitleEvent | ReopenedEvent | ReviewDismissedEvent | ReviewRequestRemovedEvent | ReviewRequestedEvent | SubIssueAddedEvent | SubIssueRemovedEvent | SubscribedEvent | TransferredEvent | UnassignedEvent | UnlabeledEvent | UnlockedEvent | UnmarkedAsDuplicateEvent | UnpinnedEvent | UnsubscribedEvent | UserBlockedEvent;
20969
21500
  /** The connection type for PullRequestTimelineItems. */
20970
21501
  export type PullRequestTimelineItemsConnection = {
20971
21502
  __typename: 'PullRequestTimelineItemsConnection';
@@ -27323,6 +27854,25 @@ export type SetEnterpriseIdentityProviderPayload = {
27323
27854
  /** The identity provider for the enterprise. */
27324
27855
  identityProvider?: Maybe<EnterpriseIdentityProvider>;
27325
27856
  };
27857
+ /** Autogenerated input type of SetIssueFieldValue */
27858
+ export type SetIssueFieldValueInput = {
27859
+ /** A unique identifier for the client performing the mutation. */
27860
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
27861
+ /** The issue fields to set on the issue */
27862
+ issueFields: Array<IssueFieldCreateOrUpdateInput>;
27863
+ /** The ID of the Issue to set the field value on. */
27864
+ issueId: Scalars['ID']['input'];
27865
+ };
27866
+ /** Autogenerated return type of SetIssueFieldValue. */
27867
+ export type SetIssueFieldValuePayload = {
27868
+ __typename: 'SetIssueFieldValuePayload';
27869
+ /** A unique identifier for the client performing the mutation. */
27870
+ clientMutationId?: Maybe<Scalars['String']['output']>;
27871
+ /** The issue where the field values were set. */
27872
+ issue?: Maybe<Issue>;
27873
+ /** The issue field values that were created or updated. */
27874
+ issueFieldValues?: Maybe<Array<IssueFieldValue>>;
27875
+ };
27326
27876
  /** Autogenerated input type of SetOrganizationInteractionLimit */
27327
27877
  export type SetOrganizationInteractionLimitInput = {
27328
27878
  /** A unique identifier for the client performing the mutation. */
@@ -30675,6 +31225,21 @@ export type UnminimizeCommentPayload = {
30675
31225
  /** The comment that was unminimized. */
30676
31226
  unminimizedComment?: Maybe<Minimizable>;
30677
31227
  };
31228
+ /** Autogenerated input type of UnpinIssueComment */
31229
+ export type UnpinIssueCommentInput = {
31230
+ /** A unique identifier for the client performing the mutation. */
31231
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
31232
+ /** The ID of the Issue Comment to unpin. Comment pinning is not supported on Pull Requests. */
31233
+ issueCommentId: Scalars['ID']['input'];
31234
+ };
31235
+ /** Autogenerated return type of UnpinIssueComment. */
31236
+ export type UnpinIssueCommentPayload = {
31237
+ __typename: 'UnpinIssueCommentPayload';
31238
+ /** A unique identifier for the client performing the mutation. */
31239
+ clientMutationId?: Maybe<Scalars['String']['output']>;
31240
+ /** The Issue Comment that was unpinned */
31241
+ issueComment?: Maybe<IssueComment>;
31242
+ };
30678
31243
  /** Autogenerated input type of UnpinIssue */
30679
31244
  export type UnpinIssueInput = {
30680
31245
  /** A unique identifier for the client performing the mutation. */
@@ -31374,6 +31939,48 @@ export type UpdateIssueCommentPayload = {
31374
31939
  /** The updated comment. */
31375
31940
  issueComment?: Maybe<IssueComment>;
31376
31941
  };
31942
+ /** Autogenerated input type of UpdateIssueField */
31943
+ export type UpdateIssueFieldInput = {
31944
+ /** A unique identifier for the client performing the mutation. */
31945
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
31946
+ /** A description of the issue field. */
31947
+ description?: InputMaybe<Scalars['String']['input']>;
31948
+ /** The ID of the issue field to update. */
31949
+ id: Scalars['ID']['input'];
31950
+ /** The name of the issue field. */
31951
+ name?: InputMaybe<Scalars['String']['input']>;
31952
+ /** The options for the issue field if applicable. */
31953
+ options?: InputMaybe<Array<IssueFieldSingleSelectOptionInput>>;
31954
+ /** The visibility of the issue field. */
31955
+ visibility?: InputMaybe<IssueFieldVisibility>;
31956
+ };
31957
+ /** Autogenerated return type of UpdateIssueField. */
31958
+ export type UpdateIssueFieldPayload = {
31959
+ __typename: 'UpdateIssueFieldPayload';
31960
+ /** A unique identifier for the client performing the mutation. */
31961
+ clientMutationId?: Maybe<Scalars['String']['output']>;
31962
+ /** The updated issue field. */
31963
+ issueField?: Maybe<IssueFields>;
31964
+ };
31965
+ /** Autogenerated input type of UpdateIssueFieldValue */
31966
+ export type UpdateIssueFieldValueInput = {
31967
+ /** A unique identifier for the client performing the mutation. */
31968
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
31969
+ /** The field value to update. */
31970
+ issueField: IssueFieldCreateOrUpdateInput;
31971
+ /** The ID of the issue. */
31972
+ issueId: Scalars['ID']['input'];
31973
+ };
31974
+ /** Autogenerated return type of UpdateIssueFieldValue. */
31975
+ export type UpdateIssueFieldValuePayload = {
31976
+ __typename: 'UpdateIssueFieldValuePayload';
31977
+ /** A unique identifier for the client performing the mutation. */
31978
+ clientMutationId?: Maybe<Scalars['String']['output']>;
31979
+ /** The issue object. */
31980
+ issue?: Maybe<Issue>;
31981
+ /** The updated issue field value. */
31982
+ issueFieldValue?: Maybe<IssueFieldValue>;
31983
+ };
31377
31984
  /** Autogenerated input type of UpdateIssue */
31378
31985
  export type UpdateIssueInput = {
31379
31986
  /** Configuration for assigning an AI agent to this issue. */
@@ -32401,6 +33008,8 @@ export type User = Actor & Agentic & Node & PackageOwner & ProfileOwner & Projec
32401
33008
  viewerCopilotAgentCreatesChannel?: Maybe<Scalars['String']['output']>;
32402
33009
  /** Channel value for subscribing to live updates for session log updates. */
32403
33010
  viewerCopilotAgentLogUpdatesChannel?: Maybe<Scalars['String']['output']>;
33011
+ /** Channel value for subscribing to live updates for task updates. */
33012
+ viewerCopilotAgentTaskUpdatesChannel?: Maybe<Scalars['String']['output']>;
32404
33013
  /** Channel value for subscribing to live updates for session updates. */
32405
33014
  viewerCopilotAgentUpdatesChannel?: Maybe<Scalars['String']['output']>;
32406
33015
  /** Whether or not this user is followed by the viewer. Inverse of isFollowingViewer. */
@@ -1,4 +1,4 @@
1
- import { GitHub, getOctokitOptions } from '@actions/github/lib/utils';
1
+ import { getOctokitOptions, GitHub } from '@actions/github/lib/utils';
2
2
  import { retry } from '@octokit/plugin-retry';
3
3
  import { throttling } from '@octokit/plugin-throttling';
4
4
  export function getOctokit(githubToken) {
package/package.json CHANGED
@@ -1,41 +1,47 @@
1
1
  {
2
2
  "name": "typescript-github-action-template",
3
- "version": "0.2.54",
3
+ "version": "0.2.55",
4
4
  "description": "A template to create custom GitHub Action with TypeScript/JavaScript.",
5
- "packageManager": "yarn@4.13.0",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/CatChen/typescript-github-action-template.git"
9
+ },
10
+ "author": "Cat Chen",
11
+ "homepage": "https://github.com/CatChen/typescript-github-action-template#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/CatChen/typescript-github-action-template/issues"
14
+ },
6
15
  "main": "dist/index.js",
7
- "types": "dist/index.d.js",
8
16
  "type": "module",
9
17
  "scripts": {
10
- "codegen": "rm -rf src/__graphql__ && graphql-codegen-esm --config codegen.ts",
11
18
  "build": "rm -rf dist && tsc",
12
19
  "bundle": "rm -rf bundle && ncc build src/index.ts --source-map --license licenses.txt --out bundle",
13
- "test": "echo \"Error: no test specified\" && exit 1",
20
+ "codegen": "rm -rf src/__graphql__ && graphql-codegen-esm --config codegen.ts",
21
+ "format": "prettier --write .",
14
22
  "lint": "eslint -c eslint.config.js",
15
- "prepublishOnly": "pinst --disable && yarn build",
16
23
  "postpublish": "pinst --enable",
17
- "prepare": "is-ci || husky"
18
- },
19
- "repository": {
20
- "type": "git",
21
- "url": "git+https://github.com/CatChen/typescript-github-action-template.git"
24
+ "prepare": "is-ci || husky",
25
+ "prepublishOnly": "pinst --disable && yarn build",
26
+ "test": "echo \"Error: no test specified\" && exit 1"
22
27
  },
23
- "author": "Cat Chen",
24
- "license": "MIT",
25
- "bugs": {
26
- "url": "https://github.com/CatChen/typescript-github-action-template/issues"
28
+ "dependencies": {
29
+ "@actions/core": "^3.0.0",
30
+ "@actions/github": "^9.0.0",
31
+ "@graphql-typed-document-node/core": "^3.2.0",
32
+ "@octokit/core": "^7.0.0",
33
+ "@octokit/plugin-retry": "^8.0.1",
34
+ "@octokit/plugin-throttling": "^11.0.1"
27
35
  },
28
- "homepage": "https://github.com/CatChen/typescript-github-action-template#readme",
29
- "funding": "https://github.com/CatChen/typescript-github-action-template?sponsor=1",
30
36
  "devDependencies": {
31
37
  "@0no-co/graphqlsp": "^1.12.12",
32
38
  "@eslint/eslintrc": "^3.0.2",
33
39
  "@eslint/js": "^10.0.1",
34
- "@graphql-codegen/cli": "6.1.3",
40
+ "@graphql-codegen/cli": "6.2.1",
35
41
  "@graphql-codegen/typescript": "5.0.9",
36
42
  "@graphql-codegen/typescript-document-nodes": "5.0.9",
37
43
  "@graphql-eslint/eslint-plugin": "^4.4.0",
38
- "@serverless-guru/prettier-plugin-import-order": "^0.4.2",
44
+ "@ianvs/prettier-plugin-sort-imports": "^4.7.1",
39
45
  "@types/node": "^25.0.0",
40
46
  "@typescript-eslint/eslint-plugin": "^8.0.0",
41
47
  "@typescript-eslint/parser": "^8.0.0",
@@ -49,20 +55,18 @@
49
55
  "lint-staged": "^16.0.0",
50
56
  "pinst": "^3.0.0",
51
57
  "prettier": "^3.0.2",
58
+ "prettier-plugin-package": "^2.0.0",
52
59
  "typescript": "^5.0.2",
53
60
  "typescript-eslint": "^8.0.0"
54
61
  },
55
- "dependencies": {
56
- "@actions/core": "^3.0.0",
57
- "@actions/github": "^9.0.0",
58
- "@graphql-typed-document-node/core": "^3.2.0",
59
- "@octokit/plugin-retry": "^8.0.1",
60
- "@octokit/plugin-throttling": "^11.0.1"
61
- },
62
+ "types": "dist/index.d.js",
63
+ "funding": "https://github.com/CatChen/typescript-github-action-template?sponsor=1",
62
64
  "lint-staged": {
63
- "*.(ts,js)": "yarn lint --fix",
64
- "*.json": "yarn prettier -w",
65
- "*.(yml,yaml)": "yarn prettier -w",
66
- "*.(md,markdown)": "yarn prettier -w"
67
- }
65
+ "*.{ts,js}": [
66
+ "yarn format",
67
+ "yarn lint --fix"
68
+ ],
69
+ "*.{json,yml,yaml,md,markdown}": "yarn format"
70
+ },
71
+ "packageManager": "yarn@4.13.0"
68
72
  }