typescript-github-action-template 0.2.38 → 0.2.40

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.
@@ -280,7 +280,7 @@ export type ActorType =
280
280
  export type AddAssigneesToAssignableInput = {
281
281
  /** The id of the assignable object to add assignees to. */
282
282
  assignableId: Scalars['ID']['input'];
283
- /** The id of users to add as assignees. */
283
+ /** The ids of actors (users or bots) to add as assignees. */
284
284
  assigneeIds: Array<Scalars['ID']['input']>;
285
285
  /** A unique identifier for the client performing the mutation. */
286
286
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
@@ -813,6 +813,15 @@ export type AddedToProjectV2Event = Node & ProjectV2Event & {
813
813
  /** Did this event result from workflow automation? */
814
814
  wasAutomated: Scalars['Boolean']['output'];
815
815
  };
816
+ /** Copilot Agentic fields in context of the current viewer. */
817
+ export type Agentic = {
818
+ /** Channel value for subscribing to live updates for session creations. */
819
+ viewerCopilotAgentCreatesChannel?: Maybe<Scalars['String']['output']>;
820
+ /** Channel value for subscribing to live updates for session log updates. */
821
+ viewerCopilotAgentLogUpdatesChannel?: Maybe<Scalars['String']['output']>;
822
+ /** Channel value for subscribing to live updates for session updates. */
823
+ viewerCopilotAgentUpdatesChannel?: Maybe<Scalars['String']['output']>;
824
+ };
816
825
  /** An announcement banner for an enterprise or organization. */
817
826
  export type AnnouncementBanner = {
818
827
  __typename: 'AnnouncementBanner';
@@ -3962,6 +3971,8 @@ export type CreateIssueInput = {
3962
3971
  parentIssueId?: InputMaybe<Scalars['ID']['input']>;
3963
3972
  /** An array of Node IDs for projects associated with this issue. */
3964
3973
  projectIds?: InputMaybe<Array<Scalars['ID']['input']>>;
3974
+ /** An array of Node IDs for Projects V2 associated with this issue. */
3975
+ projectV2Ids?: InputMaybe<Array<Scalars['ID']['input']>>;
3965
3976
  /** The Node ID of the repository. */
3966
3977
  repositoryId: Scalars['ID']['input'];
3967
3978
  /** The title for the issue. */
@@ -17061,6 +17072,36 @@ export type OrganizationOrderField =
17061
17072
  'CREATED_AT'
17062
17073
  /** Order organizations by login */
17063
17074
  | 'LOGIN';
17075
+ /** Parameters to be used for the organization_property condition */
17076
+ export type OrganizationPropertyConditionTarget = {
17077
+ __typename: 'OrganizationPropertyConditionTarget';
17078
+ /** Array of organization properties that must not match. */
17079
+ exclude: Array<OrganizationPropertyTargetDefinition>;
17080
+ /** Array of organization properties that must match */
17081
+ include: Array<OrganizationPropertyTargetDefinition>;
17082
+ };
17083
+ /** Parameters to be used for the organization_property condition */
17084
+ export type OrganizationPropertyConditionTargetInput = {
17085
+ /** Array of organization properties that must not match. */
17086
+ exclude: Array<OrganizationPropertyTargetDefinitionInput>;
17087
+ /** Array of organization properties that must match */
17088
+ include: Array<OrganizationPropertyTargetDefinitionInput>;
17089
+ };
17090
+ /** A property that must match */
17091
+ export type OrganizationPropertyTargetDefinition = {
17092
+ __typename: 'OrganizationPropertyTargetDefinition';
17093
+ /** The name of the property */
17094
+ name: Scalars['String']['output'];
17095
+ /** The values to match for */
17096
+ propertyValues: Array<Scalars['String']['output']>;
17097
+ };
17098
+ /** A property that must match */
17099
+ export type OrganizationPropertyTargetDefinitionInput = {
17100
+ /** The name of the property */
17101
+ name: Scalars['String']['input'];
17102
+ /** The values to match for */
17103
+ propertyValues: Array<Scalars['String']['input']>;
17104
+ };
17064
17105
  /** An organization teams hovercard context */
17065
17106
  export type OrganizationTeamsHovercardContext = HovercardContext & {
17066
17107
  __typename: 'OrganizationTeamsHovercardContext';
@@ -18473,6 +18514,7 @@ export type ProjectV2ItemsArgs = {
18473
18514
  first?: InputMaybe<Scalars['Int']['input']>;
18474
18515
  last?: InputMaybe<Scalars['Int']['input']>;
18475
18516
  orderBy?: InputMaybe<ProjectV2ItemOrder>;
18517
+ query?: InputMaybe<Scalars['String']['input']>;
18476
18518
  };
18477
18519
  /** New projects that manage issues, pull requests and drafts using tables and boards. */
18478
18520
  export type ProjectV2RepositoriesArgs = {
@@ -20330,6 +20372,12 @@ export type PullRequestParameters = {
20330
20372
  requiredApprovingReviewCount: Scalars['Int']['output'];
20331
20373
  /** All conversations on code must be resolved before a pull request can be merged. */
20332
20374
  requiredReviewThreadResolution: Scalars['Boolean']['output'];
20375
+ /**
20376
+ * This field is in beta and subject to change. A collection of reviewers and
20377
+ * associated file patterns. Each reviewer has a list of file patterns which
20378
+ * determine the files that reviewer is required to review.
20379
+ */
20380
+ requiredReviewers?: Maybe<Array<RequiredReviewerConfiguration>>;
20333
20381
  };
20334
20382
  /** Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. */
20335
20383
  export type PullRequestParametersInput = {
@@ -20350,6 +20398,12 @@ export type PullRequestParametersInput = {
20350
20398
  requiredApprovingReviewCount: Scalars['Int']['input'];
20351
20399
  /** All conversations on code must be resolved before a pull request can be merged. */
20352
20400
  requiredReviewThreadResolution: Scalars['Boolean']['input'];
20401
+ /**
20402
+ * This argument is in beta and subject to change. A collection of reviewers and
20403
+ * associated file patterns. Each reviewer has a list of file patterns which
20404
+ * determine the files that reviewer is required to review.
20405
+ */
20406
+ requiredReviewers?: InputMaybe<Array<RequiredReviewerConfigurationInput>>;
20353
20407
  };
20354
20408
  /** A review object for a given pull request. */
20355
20409
  export type PullRequestReview = Comment & Deletable & Minimizable & Node & Reactable & RepositoryNode & Updatable & UpdatableComment & {
@@ -25528,6 +25582,8 @@ export type RepositoryRule = Node & {
25528
25582
  /** Set of conditions that determine if a ruleset will evaluate */
25529
25583
  export type RepositoryRuleConditions = {
25530
25584
  __typename: 'RepositoryRuleConditions';
25585
+ /** Configuration for the organization_property condition */
25586
+ organizationProperty?: Maybe<OrganizationPropertyConditionTarget>;
25531
25587
  /** Configuration for the ref_name condition */
25532
25588
  refName?: Maybe<RefNameConditionTarget>;
25533
25589
  /** Configuration for the repository_id condition */
@@ -25539,6 +25595,8 @@ export type RepositoryRuleConditions = {
25539
25595
  };
25540
25596
  /** Specifies the conditions required for a ruleset to evaluate */
25541
25597
  export type RepositoryRuleConditionsInput = {
25598
+ /** Configuration for the organization_property condition */
25599
+ organizationProperty?: InputMaybe<OrganizationPropertyConditionTargetInput>;
25542
25600
  /** Configuration for the ref_name condition */
25543
25601
  refName?: InputMaybe<RefNameConditionTargetInput>;
25544
25602
  /** Configuration for the repository_id condition */
@@ -26110,6 +26168,8 @@ export type RepositoryVulnerabilityAlertConnection = {
26110
26168
  export type RepositoryVulnerabilityAlertDependencyRelationship =
26111
26169
  /** A direct dependency of your project */
26112
26170
  'DIRECT'
26171
+ /** The relationship could not be determined */
26172
+ | 'INCONCLUSIVE'
26113
26173
  /** A transitive dependency of your project */
26114
26174
  | 'TRANSITIVE'
26115
26175
  /** The relationship is unknown */
@@ -26241,6 +26301,37 @@ export type RequiredDeploymentsParametersInput = {
26241
26301
  /** The environments that must be successfully deployed to before branches can be merged. */
26242
26302
  requiredDeploymentEnvironments: Array<Scalars['String']['input']>;
26243
26303
  };
26304
+ /** A reviewing team, and file patterns describing which files they must approve changes to. */
26305
+ export type RequiredReviewerConfiguration = {
26306
+ __typename: 'RequiredReviewerConfiguration';
26307
+ /**
26308
+ * Array of file patterns. Pull requests which change matching files must be
26309
+ * approved by the specified team. File patterns use fnmatch syntax.
26310
+ */
26311
+ filePatterns: Array<Scalars['String']['output']>;
26312
+ /**
26313
+ * Minimum number of approvals required from the specified team. If set to zero,
26314
+ * the team will be added to the pull request but approval is optional.
26315
+ */
26316
+ minimumApprovals: Scalars['Int']['output'];
26317
+ /** Node ID of the team which must review changes to matching files. */
26318
+ reviewerId: Scalars['ID']['output'];
26319
+ };
26320
+ /** A reviewing team, and file patterns describing which files they must approve changes to. */
26321
+ export type RequiredReviewerConfigurationInput = {
26322
+ /**
26323
+ * Array of file patterns. Pull requests which change matching files must be
26324
+ * approved by the specified team. File patterns use fnmatch syntax.
26325
+ */
26326
+ filePatterns: Array<Scalars['String']['input']>;
26327
+ /**
26328
+ * Minimum number of approvals required from the specified team. If set to zero,
26329
+ * the team will be added to the pull request but approval is optional.
26330
+ */
26331
+ minimumApprovals: Scalars['Int']['input'];
26332
+ /** Node ID of the team which must review changes to matching files. */
26333
+ reviewerId: Scalars['ID']['input'];
26334
+ };
26244
26335
  /** Represents a required status check for a protected branch, but not any specific run of that check. */
26245
26336
  export type RequiredStatusCheckDescription = {
26246
26337
  __typename: 'RequiredStatusCheckDescription';
@@ -31632,14 +31723,18 @@ export type UpdateProjectV2FieldInput = {
31632
31723
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
31633
31724
  /** The ID of the field to update. */
31634
31725
  fieldId: Scalars['ID']['input'];
31635
- /** Configuration for an iteration field. */
31726
+ /**
31727
+ * Configuration for a field of type ITERATION. Empty input is ignored, provided
31728
+ * values overwrite the existing configuration, and existing configuration should
31729
+ * be fetched for partial updates.
31730
+ */
31636
31731
  iterationConfiguration?: InputMaybe<ProjectV2IterationFieldConfigurationInput>;
31637
31732
  /** The name to update. */
31638
31733
  name?: InputMaybe<Scalars['String']['input']>;
31639
31734
  /**
31640
- * Options for a field of type SINGLE_SELECT. If empty, no changes will be made
31641
- * to the options. If values are present, they will overwrite the existing
31642
- * options for the field.
31735
+ * Options for a field of type SINGLE_SELECT. Empty input is ignored, provided
31736
+ * values overwrite existing options, and existing options should be fetched for
31737
+ * partial updates.
31643
31738
  */
31644
31739
  singleSelectOptions?: InputMaybe<Array<ProjectV2SingleSelectFieldOptionInput>>;
31645
31740
  };
@@ -32165,7 +32260,7 @@ export type UpdateUserListsForItemPayload = {
32165
32260
  user?: Maybe<User>;
32166
32261
  };
32167
32262
  /** A user is an individual's account on GitHub that owns repositories and can make new content. */
32168
- export type User = Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & ProjectV2Owner & ProjectV2Recent & RepositoryDiscussionAuthor & RepositoryDiscussionCommentAuthor & RepositoryOwner & Sponsorable & UniformResourceLocatable & {
32263
+ export type User = Actor & Agentic & Node & PackageOwner & ProfileOwner & ProjectOwner & ProjectV2Owner & ProjectV2Recent & RepositoryDiscussionAuthor & RepositoryDiscussionCommentAuthor & RepositoryOwner & Sponsorable & UniformResourceLocatable & {
32169
32264
  __typename: 'User';
32170
32265
  /** Determine if this repository owner has any items that can be pinned to their profile. */
32171
32266
  anyPinnableItems: Scalars['Boolean']['output'];
@@ -32368,6 +32463,12 @@ export type User = Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & P
32368
32463
  viewerCanFollow: Scalars['Boolean']['output'];
32369
32464
  /** Whether or not the viewer is able to sponsor this user/organization. */
32370
32465
  viewerCanSponsor: Scalars['Boolean']['output'];
32466
+ /** Channel value for subscribing to live updates for session creations. */
32467
+ viewerCopilotAgentCreatesChannel?: Maybe<Scalars['String']['output']>;
32468
+ /** Channel value for subscribing to live updates for session log updates. */
32469
+ viewerCopilotAgentLogUpdatesChannel?: Maybe<Scalars['String']['output']>;
32470
+ /** Channel value for subscribing to live updates for session updates. */
32471
+ viewerCopilotAgentUpdatesChannel?: Maybe<Scalars['String']['output']>;
32371
32472
  /** Whether or not this user is followed by the viewer. Inverse of isFollowingViewer. */
32372
32473
  viewerIsFollowing: Scalars['Boolean']['output'];
32373
32474
  /** True if the viewer is sponsoring this user/organization. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "typescript-github-action-template",
3
- "version": "0.2.38",
3
+ "version": "0.2.40",
4
4
  "description": "A template to create custom GitHub Action with TypeScript/JavaScript.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.js",
@@ -30,7 +30,7 @@
30
30
  "@0no-co/graphqlsp": "^1.12.12",
31
31
  "@eslint/eslintrc": "^3.0.2",
32
32
  "@eslint/js": "^9.2.0",
33
- "@graphql-codegen/cli": "6.0.0",
33
+ "@graphql-codegen/cli": "6.0.1",
34
34
  "@graphql-codegen/near-operation-file-preset": "^3.0.0",
35
35
  "@graphql-codegen/typescript": "5.0.2",
36
36
  "@graphql-codegen/typescript-document-nodes": "5.0.2",