typescript-github-action-template 0.2.34 → 0.2.36
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.
|
@@ -2812,6 +2812,8 @@ export type CommitComment = Comment & Deletable & Minimizable & Node & Reactable
|
|
|
2812
2812
|
viewerCanMinimize: Scalars['Boolean']['output'];
|
|
2813
2813
|
/** Can user react to this subject */
|
|
2814
2814
|
viewerCanReact: Scalars['Boolean']['output'];
|
|
2815
|
+
/** Check if the current viewer can unminimize this object. */
|
|
2816
|
+
viewerCanUnminimize: Scalars['Boolean']['output'];
|
|
2815
2817
|
/** Check if the current viewer can update this object. */
|
|
2816
2818
|
viewerCanUpdate: Scalars['Boolean']['output'];
|
|
2817
2819
|
/** Reasons why the current viewer can not update this comment. */
|
|
@@ -3541,6 +3543,21 @@ export type ConvertedToDiscussionEvent = Node & {
|
|
|
3541
3543
|
/** The Node ID of the ConvertedToDiscussionEvent object */
|
|
3542
3544
|
id: Scalars['ID']['output'];
|
|
3543
3545
|
};
|
|
3546
|
+
/** Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. */
|
|
3547
|
+
export type CopilotCodeReviewParameters = {
|
|
3548
|
+
__typename: 'CopilotCodeReviewParameters';
|
|
3549
|
+
/** Copilot automatically reviews draft pull requests before they are marked as ready for review. */
|
|
3550
|
+
reviewDraftPullRequests: Scalars['Boolean']['output'];
|
|
3551
|
+
/** Copilot automatically reviews each new push to the pull request. */
|
|
3552
|
+
reviewOnPush: Scalars['Boolean']['output'];
|
|
3553
|
+
};
|
|
3554
|
+
/** Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. */
|
|
3555
|
+
export type CopilotCodeReviewParametersInput = {
|
|
3556
|
+
/** Copilot automatically reviews draft pull requests before they are marked as ready for review. */
|
|
3557
|
+
reviewDraftPullRequests?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3558
|
+
/** Copilot automatically reviews each new push to the pull request. */
|
|
3559
|
+
reviewOnPush?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3560
|
+
};
|
|
3544
3561
|
/** Copilot endpoint information */
|
|
3545
3562
|
export type CopilotEndpoints = {
|
|
3546
3563
|
__typename: 'CopilotEndpoints';
|
|
@@ -5849,7 +5866,7 @@ export type Discussion = Closable & Comment & Deletable & Labelable & Lockable &
|
|
|
5849
5866
|
answerChosenAt?: Maybe<Scalars['DateTime']['output']>;
|
|
5850
5867
|
/** The user who chose this discussion's answer, if answered. */
|
|
5851
5868
|
answerChosenBy?: Maybe<Actor>;
|
|
5852
|
-
/** The actor who authored the
|
|
5869
|
+
/** The actor who authored the discussion. */
|
|
5853
5870
|
author?: Maybe<Actor>;
|
|
5854
5871
|
/** Author's association with the subject of the comment. */
|
|
5855
5872
|
authorAssociation: CommentAuthorAssociation;
|
|
@@ -6090,6 +6107,8 @@ export type DiscussionComment = Comment & Deletable & Minimizable & Node & React
|
|
|
6090
6107
|
viewerCanReact: Scalars['Boolean']['output'];
|
|
6091
6108
|
/** Can the current user unmark this comment as an answer? */
|
|
6092
6109
|
viewerCanUnmarkAsAnswer: Scalars['Boolean']['output'];
|
|
6110
|
+
/** Check if the current viewer can unminimize this object. */
|
|
6111
|
+
viewerCanUnminimize: Scalars['Boolean']['output'];
|
|
6093
6112
|
/** Check if the current viewer can update this object. */
|
|
6094
6113
|
viewerCanUpdate: Scalars['Boolean']['output'];
|
|
6095
6114
|
/** Whether or not the current user can add or remove an upvote on this subject. */
|
|
@@ -8347,6 +8366,8 @@ export type GistComment = Comment & Deletable & Minimizable & Node & Updatable &
|
|
|
8347
8366
|
viewerCanDelete: Scalars['Boolean']['output'];
|
|
8348
8367
|
/** Check if the current viewer can minimize this object. */
|
|
8349
8368
|
viewerCanMinimize: Scalars['Boolean']['output'];
|
|
8369
|
+
/** Check if the current viewer can unminimize this object. */
|
|
8370
|
+
viewerCanUnminimize: Scalars['Boolean']['output'];
|
|
8350
8371
|
/** Check if the current viewer can update this object. */
|
|
8351
8372
|
viewerCanUpdate: Scalars['Boolean']['output'];
|
|
8352
8373
|
/** Reasons why the current viewer can not update this comment. */
|
|
@@ -9249,6 +9270,8 @@ export type IssueComment = Comment & Deletable & Minimizable & Node & Reactable
|
|
|
9249
9270
|
viewerCanMinimize: Scalars['Boolean']['output'];
|
|
9250
9271
|
/** Can user react to this subject */
|
|
9251
9272
|
viewerCanReact: Scalars['Boolean']['output'];
|
|
9273
|
+
/** Check if the current viewer can unminimize this object. */
|
|
9274
|
+
viewerCanUnminimize: Scalars['Boolean']['output'];
|
|
9252
9275
|
/** Check if the current viewer can update this object. */
|
|
9253
9276
|
viewerCanUpdate: Scalars['Boolean']['output'];
|
|
9254
9277
|
/** Reasons why the current viewer can not update this comment. */
|
|
@@ -11255,6 +11278,8 @@ export type Minimizable = {
|
|
|
11255
11278
|
minimizedReason?: Maybe<Scalars['String']['output']>;
|
|
11256
11279
|
/** Check if the current viewer can minimize this object. */
|
|
11257
11280
|
viewerCanMinimize: Scalars['Boolean']['output'];
|
|
11281
|
+
/** Check if the current viewer can unminimize this object. */
|
|
11282
|
+
viewerCanUnminimize: Scalars['Boolean']['output'];
|
|
11258
11283
|
};
|
|
11259
11284
|
/** Autogenerated input type of MinimizeComment */
|
|
11260
11285
|
export type MinimizeCommentInput = {
|
|
@@ -11727,7 +11752,7 @@ export type Mutation = {
|
|
|
11727
11752
|
* with and without Enterprise Managed Users may use this mutation.
|
|
11728
11753
|
*/
|
|
11729
11754
|
removeEnterpriseIdentityProvider?: Maybe<RemoveEnterpriseIdentityProviderPayload>;
|
|
11730
|
-
/**
|
|
11755
|
+
/** Completely removes a user from the enterprise */
|
|
11731
11756
|
removeEnterpriseMember?: Maybe<RemoveEnterpriseMemberPayload>;
|
|
11732
11757
|
/** Removes an organization from the enterprise */
|
|
11733
11758
|
removeEnterpriseOrganization?: Maybe<RemoveEnterpriseOrganizationPayload>;
|
|
@@ -20337,6 +20362,8 @@ export type PullRequestReview = Comment & Deletable & Minimizable & Node & React
|
|
|
20337
20362
|
viewerCanMinimize: Scalars['Boolean']['output'];
|
|
20338
20363
|
/** Can user react to this subject */
|
|
20339
20364
|
viewerCanReact: Scalars['Boolean']['output'];
|
|
20365
|
+
/** Check if the current viewer can unminimize this object. */
|
|
20366
|
+
viewerCanUnminimize: Scalars['Boolean']['output'];
|
|
20340
20367
|
/** Check if the current viewer can update this object. */
|
|
20341
20368
|
viewerCanUpdate: Scalars['Boolean']['output'];
|
|
20342
20369
|
/** Reasons why the current viewer can not update this comment. */
|
|
@@ -20476,6 +20503,8 @@ export type PullRequestReviewComment = Comment & Deletable & Minimizable & Node
|
|
|
20476
20503
|
viewerCanMinimize: Scalars['Boolean']['output'];
|
|
20477
20504
|
/** Can user react to this subject */
|
|
20478
20505
|
viewerCanReact: Scalars['Boolean']['output'];
|
|
20506
|
+
/** Check if the current viewer can unminimize this object. */
|
|
20507
|
+
viewerCanUnminimize: Scalars['Boolean']['output'];
|
|
20479
20508
|
/** Check if the current viewer can update this object. */
|
|
20480
20509
|
viewerCanUpdate: Scalars['Boolean']['output'];
|
|
20481
20510
|
/** Reasons why the current viewer can not update this comment. */
|
|
@@ -25494,6 +25523,8 @@ export type RepositoryRuleType =
|
|
|
25494
25523
|
| 'COMMIT_AUTHOR_EMAIL_PATTERN'
|
|
25495
25524
|
/** Commit message pattern */
|
|
25496
25525
|
| 'COMMIT_MESSAGE_PATTERN'
|
|
25526
|
+
/** Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. */
|
|
25527
|
+
| 'COPILOT_CODE_REVIEW'
|
|
25497
25528
|
/** Only allow users with bypass permission to create matching refs. */
|
|
25498
25529
|
| 'CREATION'
|
|
25499
25530
|
/** Only allow users with bypass permissions to delete matching refs. */
|
|
@@ -25621,6 +25652,8 @@ export type RepositoryRulesetBypassActor = Node & {
|
|
|
25621
25652
|
export type RepositoryRulesetBypassActorBypassMode =
|
|
25622
25653
|
/** The actor can always bypass rules */
|
|
25623
25654
|
'ALWAYS'
|
|
25655
|
+
/** The actor is exempt from rules without generating a pass / fail result */
|
|
25656
|
+
| 'EXEMPT'
|
|
25624
25657
|
/** The actor can only bypass rules via a pull request */
|
|
25625
25658
|
| 'PULL_REQUEST';
|
|
25626
25659
|
/** The connection type for RepositoryRulesetBypassActor. */
|
|
@@ -26459,7 +26492,7 @@ export type RuleEnforcement =
|
|
|
26459
26492
|
*/
|
|
26460
26493
|
| 'EVALUATE';
|
|
26461
26494
|
/** Types which can be parameters for `RepositoryRule` objects. */
|
|
26462
|
-
export type RuleParameters = BranchNamePatternParameters | CodeScanningParameters | CommitAuthorEmailPatternParameters | CommitMessagePatternParameters | CommitterEmailPatternParameters | FileExtensionRestrictionParameters | FilePathRestrictionParameters | MaxFilePathLengthParameters | MaxFileSizeParameters | MergeQueueParameters | PullRequestParameters | RequiredDeploymentsParameters | RequiredStatusChecksParameters | TagNamePatternParameters | UpdateParameters | WorkflowsParameters;
|
|
26495
|
+
export type RuleParameters = BranchNamePatternParameters | CodeScanningParameters | CommitAuthorEmailPatternParameters | CommitMessagePatternParameters | CommitterEmailPatternParameters | CopilotCodeReviewParameters | FileExtensionRestrictionParameters | FilePathRestrictionParameters | MaxFilePathLengthParameters | MaxFileSizeParameters | MergeQueueParameters | PullRequestParameters | RequiredDeploymentsParameters | RequiredStatusChecksParameters | TagNamePatternParameters | UpdateParameters | WorkflowsParameters;
|
|
26463
26496
|
/** Specifies the parameters for a `RepositoryRule` object. Only one of the fields should be specified. */
|
|
26464
26497
|
export type RuleParametersInput = {
|
|
26465
26498
|
/** Parameters used for the `branch_name_pattern` rule type */
|
|
@@ -26472,6 +26505,8 @@ export type RuleParametersInput = {
|
|
|
26472
26505
|
commitMessagePattern?: InputMaybe<CommitMessagePatternParametersInput>;
|
|
26473
26506
|
/** Parameters used for the `committer_email_pattern` rule type */
|
|
26474
26507
|
committerEmailPattern?: InputMaybe<CommitterEmailPatternParametersInput>;
|
|
26508
|
+
/** Parameters used for the `copilot_code_review` rule type */
|
|
26509
|
+
copilotCodeReview?: InputMaybe<CopilotCodeReviewParametersInput>;
|
|
26475
26510
|
/** Parameters used for the `file_extension_restriction` rule type */
|
|
26476
26511
|
fileExtensionRestriction?: InputMaybe<FileExtensionRestrictionParametersInput>;
|
|
26477
26512
|
/** Parameters used for the `file_path_restriction` rule type */
|
|
@@ -27786,6 +27821,8 @@ export type SponsorsCountryOrRegionCode =
|
|
|
27786
27821
|
| 'SV'
|
|
27787
27822
|
/** Sint Maarten (Dutch part) */
|
|
27788
27823
|
| 'SX'
|
|
27824
|
+
/** Syria */
|
|
27825
|
+
| 'SY'
|
|
27789
27826
|
/** Swaziland */
|
|
27790
27827
|
| 'SZ'
|
|
27791
27828
|
/** Turks and Caicos Islands */
|
|
@@ -33195,7 +33232,7 @@ export type ViewerLoginQuery = {
|
|
|
33195
33232
|
};
|
|
33196
33233
|
};
|
|
33197
33234
|
export declare class TypedDocumentString<TResult, TVariables> extends String implements DocumentTypeDecoration<TResult, TVariables> {
|
|
33198
|
-
__apiType?: DocumentTypeDecoration<TResult, TVariables>['__apiType']
|
|
33235
|
+
__apiType?: NonNullable<DocumentTypeDecoration<TResult, TVariables>['__apiType']>;
|
|
33199
33236
|
private value;
|
|
33200
33237
|
__meta__?: Record<string, any> | undefined;
|
|
33201
33238
|
constructor(value: string, __meta__?: Record<string, any> | undefined);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "typescript-github-action-template",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.36",
|
|
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,10 +30,10 @@
|
|
|
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": "
|
|
33
|
+
"@graphql-codegen/cli": "6.0.0",
|
|
34
34
|
"@graphql-codegen/near-operation-file-preset": "^3.0.0",
|
|
35
|
-
"@graphql-codegen/typescript": "
|
|
36
|
-
"@graphql-codegen/typescript-document-nodes": "
|
|
35
|
+
"@graphql-codegen/typescript": "5.0.0",
|
|
36
|
+
"@graphql-codegen/typescript-document-nodes": "5.0.0",
|
|
37
37
|
"@serverless-guru/prettier-plugin-import-order": "^0.4.2",
|
|
38
38
|
"@types/node": "^24.0.0",
|
|
39
39
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|