@tomsd/github-repo-js 0.4.0 → 0.4.2
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.
- package/dist/generated/github/schema.d.ts +97 -17
- package/dist/generated/github/types.d.ts +32 -3
- package/dist/index.iife.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/repl.mjs +1 -1
- package/package.json +16 -6
|
@@ -1790,6 +1790,22 @@ export interface ConnectedEvent {
|
|
|
1790
1790
|
subject: ReferencedSubject;
|
|
1791
1791
|
__typename: 'ConnectedEvent';
|
|
1792
1792
|
}
|
|
1793
|
+
/** The content warning for a repository */
|
|
1794
|
+
export interface ContentWarning {
|
|
1795
|
+
/** The content warning' category. E.g. 'mis_dis_information' */
|
|
1796
|
+
category: Scalars['String'];
|
|
1797
|
+
/** The content warning's custom sub category text. E.g. 'dangerous stuff.' */
|
|
1798
|
+
customSubCategory: (Scalars['String'] | null);
|
|
1799
|
+
/** The content warning's sub category. E.g. 'medical_scientific' */
|
|
1800
|
+
subCategory: (Scalars['String'] | null);
|
|
1801
|
+
/** The content warning's sub title. E.g. 'The information contained in this page has not been verified.' */
|
|
1802
|
+
subTitle: (Scalars['String'] | null);
|
|
1803
|
+
/** The content warning's title. E.g. 'This page may contain false or misleading information.' */
|
|
1804
|
+
title: Scalars['String'];
|
|
1805
|
+
/** The type of content warning. E.g. 'interstitial' */
|
|
1806
|
+
type: Scalars['String'];
|
|
1807
|
+
__typename: 'ContentWarning';
|
|
1808
|
+
}
|
|
1793
1809
|
/** The Contributing Guidelines for a repository. */
|
|
1794
1810
|
export interface ContributingGuidelines {
|
|
1795
1811
|
/** The body of the Contributing Guidelines. */
|
|
@@ -12275,7 +12291,7 @@ export interface ProjectV2FieldEdge {
|
|
|
12275
12291
|
/** Properties by which project v2 field connections can be ordered. */
|
|
12276
12292
|
export type ProjectV2FieldOrderField = 'POSITION' | 'CREATED_AT' | 'NAME';
|
|
12277
12293
|
/** The type of a project field. */
|
|
12278
|
-
export type ProjectV2FieldType = 'ASSIGNEES' | 'LINKED_PULL_REQUESTS' | 'REVIEWERS' | 'LABELS' | 'MILESTONE' | 'REPOSITORY' | 'TITLE' | 'TEXT' | 'SINGLE_SELECT' | 'NUMBER' | 'DATE' | 'ITERATION' | 'TRACKS' | 'TRACKED_BY' | 'ISSUE_TYPE' | 'PARENT_ISSUE' | 'SUB_ISSUES_PROGRESS';
|
|
12294
|
+
export type ProjectV2FieldType = 'ASSIGNEES' | 'LINKED_PULL_REQUESTS' | 'REVIEWERS' | 'LABELS' | 'MILESTONE' | 'REPOSITORY' | 'TITLE' | 'TEXT' | 'SINGLE_SELECT' | 'NUMBER' | 'DATE' | 'ITERATION' | 'TRACKS' | 'TRACKED_BY' | 'ISSUE_TYPE' | 'PARENT_ISSUE' | 'SUB_ISSUES_PROGRESS' | 'CREATED' | 'UPDATED' | 'CLOSED';
|
|
12279
12295
|
/** Possible issue field values for a Project item. */
|
|
12280
12296
|
export type ProjectV2IssueFieldValues = (IssueFieldDateValue | IssueFieldNumberValue | IssueFieldSingleSelectValue | IssueFieldTextValue) & {
|
|
12281
12297
|
__isUnion?: true;
|
|
@@ -16771,6 +16787,8 @@ export interface Repository {
|
|
|
16771
16787
|
viewerCanSubscribe: Scalars['Boolean'];
|
|
16772
16788
|
/** Indicates whether the viewer can update the topics of this repository. */
|
|
16773
16789
|
viewerCanUpdateTopics: Scalars['Boolean'];
|
|
16790
|
+
/** The content warning for this repository for the viewer. */
|
|
16791
|
+
viewerContentWarning: (ContentWarning | null);
|
|
16774
16792
|
/** The last commit email for the viewer. */
|
|
16775
16793
|
viewerDefaultCommitEmail: (Scalars['String'] | null);
|
|
16776
16794
|
/** The last used merge method by the viewer or the default for the repository. */
|
|
@@ -17179,7 +17197,7 @@ export interface RepositoryRuleEdge {
|
|
|
17179
17197
|
/** Properties by which repository rule connections can be ordered. */
|
|
17180
17198
|
export type RepositoryRuleOrderField = 'UPDATED_AT' | 'CREATED_AT' | 'TYPE';
|
|
17181
17199
|
/** The rule types supported in rulesets */
|
|
17182
|
-
export type RepositoryRuleType = 'CREATION' | 'UPDATE' | 'DELETION' | 'REQUIRED_LINEAR_HISTORY' | 'MERGE_QUEUE' | 'REQUIRED_REVIEW_THREAD_RESOLUTION' | 'REQUIRED_DEPLOYMENTS' | 'REQUIRED_SIGNATURES' | 'PULL_REQUEST' | 'REQUIRED_STATUS_CHECKS' | 'REQUIRED_WORKFLOW_STATUS_CHECKS' | 'NON_FAST_FORWARD' | 'AUTHORIZATION' | 'TAG' | 'MERGE_QUEUE_LOCKED_REF' | 'LOCK_BRANCH' | 'MAX_REF_UPDATES' | 'COMMIT_MESSAGE_PATTERN' | 'COMMIT_AUTHOR_EMAIL_PATTERN' | 'COMMITTER_EMAIL_PATTERN' | 'BRANCH_NAME_PATTERN' | 'TAG_NAME_PATTERN' | '
|
|
17200
|
+
export type RepositoryRuleType = 'CREATION' | 'UPDATE' | 'DELETION' | 'REQUIRED_LINEAR_HISTORY' | 'MERGE_QUEUE' | 'REQUIRED_REVIEW_THREAD_RESOLUTION' | 'REQUIRED_DEPLOYMENTS' | 'REQUIRED_SIGNATURES' | 'PULL_REQUEST' | 'REQUIRED_STATUS_CHECKS' | 'REQUIRED_WORKFLOW_STATUS_CHECKS' | 'NON_FAST_FORWARD' | 'AUTHORIZATION' | 'TAG' | 'MERGE_QUEUE_LOCKED_REF' | 'LOCK_BRANCH' | 'MAX_REF_UPDATES' | 'COMMIT_MESSAGE_PATTERN' | 'COMMIT_AUTHOR_EMAIL_PATTERN' | 'COMMITTER_EMAIL_PATTERN' | 'BRANCH_NAME_PATTERN' | 'TAG_NAME_PATTERN' | 'WORKFLOWS' | 'WORKFLOW_UPDATES' | 'CODE_SCANNING' | 'COPILOT_CODE_REVIEW' | 'FILE_PATH_RESTRICTION' | 'MAX_FILE_PATH_LENGTH' | 'FILE_EXTENSION_RESTRICTION' | 'MAX_FILE_SIZE' | 'SECRET_SCANNING';
|
|
17183
17201
|
/** A repository ruleset. */
|
|
17184
17202
|
export interface RepositoryRuleset {
|
|
17185
17203
|
/** The actors that can bypass this ruleset */
|
|
@@ -17206,7 +17224,7 @@ export interface RepositoryRuleset {
|
|
|
17206
17224
|
updatedAt: Scalars['DateTime'];
|
|
17207
17225
|
__typename: 'RepositoryRuleset';
|
|
17208
17226
|
}
|
|
17209
|
-
/** A team or
|
|
17227
|
+
/** A team, app or user that has the ability to bypass rules defined on a ruleset */
|
|
17210
17228
|
export interface RepositoryRulesetBypassActor {
|
|
17211
17229
|
/** The actor that can bypass rules. */
|
|
17212
17230
|
actor: (BypassActor | null);
|
|
@@ -17216,6 +17234,8 @@ export interface RepositoryRulesetBypassActor {
|
|
|
17216
17234
|
deployKey: Scalars['Boolean'];
|
|
17217
17235
|
/** This actor represents the ability for an enterprise owner to bypass */
|
|
17218
17236
|
enterpriseOwner: Scalars['Boolean'];
|
|
17237
|
+
/** This actor represents the ability for an enterprise role to bypass */
|
|
17238
|
+
enterpriseRole: Scalars['Boolean'];
|
|
17219
17239
|
/** The Node ID of the RepositoryRulesetBypassActor object */
|
|
17220
17240
|
id: Scalars['ID'];
|
|
17221
17241
|
/** This actor represents the ability for an organization owner to bypass */
|
|
@@ -18076,7 +18096,7 @@ export interface SecurityAdvisoryReference {
|
|
|
18076
18096
|
__typename: 'SecurityAdvisoryReference';
|
|
18077
18097
|
}
|
|
18078
18098
|
/** Severity of the vulnerability. */
|
|
18079
|
-
export type SecurityAdvisorySeverity = 'LOW' | 'MODERATE' | 'HIGH' | 'CRITICAL';
|
|
18099
|
+
export type SecurityAdvisorySeverity = 'LOW' | 'MODERATE' | 'HIGH' | 'CRITICAL' | 'UNKNOWN';
|
|
18080
18100
|
/** An individual vulnerability within an Advisory */
|
|
18081
18101
|
export interface SecurityVulnerability {
|
|
18082
18102
|
/** The Advisory associated with this Vulnerability */
|
|
@@ -19768,6 +19788,10 @@ export interface TeamRepositoryEdge {
|
|
|
19768
19788
|
export type TeamRepositoryOrderField = 'CREATED_AT' | 'UPDATED_AT' | 'PUSHED_AT' | 'NAME' | 'PERMISSION' | 'STARGAZERS';
|
|
19769
19789
|
/** The possible team review assignment algorithms */
|
|
19770
19790
|
export type TeamReviewAssignmentAlgorithm = 'ROUND_ROBIN' | 'LOAD_BALANCE';
|
|
19791
|
+
/** Represents a team that can be requested to review a pull request. */
|
|
19792
|
+
export type TeamReviewRequestable = (Team) & {
|
|
19793
|
+
__isUnion?: true;
|
|
19794
|
+
};
|
|
19771
19795
|
/** The role of a user on a team. */
|
|
19772
19796
|
export type TeamRole = 'ADMIN' | 'MEMBER';
|
|
19773
19797
|
/** A text match within a search result. */
|
|
@@ -22899,6 +22923,7 @@ export interface BranchActorAllowanceActorGenqlSelection {
|
|
|
22899
22923
|
on_Node?: NodeGenqlSelection;
|
|
22900
22924
|
on_MemberStatusable?: MemberStatusableGenqlSelection;
|
|
22901
22925
|
on_Subscribable?: SubscribableGenqlSelection;
|
|
22926
|
+
on_TeamReviewRequestable?: TeamReviewRequestableGenqlSelection;
|
|
22902
22927
|
on_Actor?: ActorGenqlSelection;
|
|
22903
22928
|
on_Agentic?: AgenticGenqlSelection;
|
|
22904
22929
|
on_PackageOwner?: PackageOwnerGenqlSelection;
|
|
@@ -23148,6 +23173,7 @@ export interface BypassActorGenqlSelection {
|
|
|
23148
23173
|
on_Node?: NodeGenqlSelection;
|
|
23149
23174
|
on_MemberStatusable?: MemberStatusableGenqlSelection;
|
|
23150
23175
|
on_Subscribable?: SubscribableGenqlSelection;
|
|
23176
|
+
on_TeamReviewRequestable?: TeamReviewRequestableGenqlSelection;
|
|
23151
23177
|
on_Actor?: ActorGenqlSelection;
|
|
23152
23178
|
on_Agentic?: AgenticGenqlSelection;
|
|
23153
23179
|
on_PackageOwner?: PackageOwnerGenqlSelection;
|
|
@@ -24719,6 +24745,23 @@ export interface ConnectedEventGenqlSelection {
|
|
|
24719
24745
|
__typename?: boolean | number;
|
|
24720
24746
|
__scalar?: boolean | number;
|
|
24721
24747
|
}
|
|
24748
|
+
/** The content warning for a repository */
|
|
24749
|
+
export interface ContentWarningGenqlSelection {
|
|
24750
|
+
/** The content warning' category. E.g. 'mis_dis_information' */
|
|
24751
|
+
category?: boolean | number;
|
|
24752
|
+
/** The content warning's custom sub category text. E.g. 'dangerous stuff.' */
|
|
24753
|
+
customSubCategory?: boolean | number;
|
|
24754
|
+
/** The content warning's sub category. E.g. 'medical_scientific' */
|
|
24755
|
+
subCategory?: boolean | number;
|
|
24756
|
+
/** The content warning's sub title. E.g. 'The information contained in this page has not been verified.' */
|
|
24757
|
+
subTitle?: boolean | number;
|
|
24758
|
+
/** The content warning's title. E.g. 'This page may contain false or misleading information.' */
|
|
24759
|
+
title?: boolean | number;
|
|
24760
|
+
/** The type of content warning. E.g. 'interstitial' */
|
|
24761
|
+
type?: boolean | number;
|
|
24762
|
+
__typename?: boolean | number;
|
|
24763
|
+
__scalar?: boolean | number;
|
|
24764
|
+
}
|
|
24722
24765
|
/** The Contributing Guidelines for a repository. */
|
|
24723
24766
|
export interface ContributingGuidelinesGenqlSelection {
|
|
24724
24767
|
/** The body of the Contributing Guidelines. */
|
|
@@ -27428,6 +27471,7 @@ export interface DeploymentReviewerGenqlSelection {
|
|
|
27428
27471
|
on_MemberStatusable?: MemberStatusableGenqlSelection;
|
|
27429
27472
|
on_Node?: NodeGenqlSelection;
|
|
27430
27473
|
on_Subscribable?: SubscribableGenqlSelection;
|
|
27474
|
+
on_TeamReviewRequestable?: TeamReviewRequestableGenqlSelection;
|
|
27431
27475
|
on_Actor?: ActorGenqlSelection;
|
|
27432
27476
|
on_Agentic?: AgenticGenqlSelection;
|
|
27433
27477
|
on_PackageOwner?: PackageOwnerGenqlSelection;
|
|
@@ -40414,6 +40458,7 @@ export interface PermissionGranterGenqlSelection {
|
|
|
40414
40458
|
on_RepositoryInfo?: RepositoryInfoGenqlSelection;
|
|
40415
40459
|
on_Starrable?: StarrableGenqlSelection;
|
|
40416
40460
|
on_Subscribable?: SubscribableGenqlSelection;
|
|
40461
|
+
on_TeamReviewRequestable?: TeamReviewRequestableGenqlSelection;
|
|
40417
40462
|
__typename?: boolean | number;
|
|
40418
40463
|
}
|
|
40419
40464
|
/** A level of permission and source for a user's access to a repository. */
|
|
@@ -41645,6 +41690,7 @@ export interface ProjectV2ActorGenqlSelection {
|
|
|
41645
41690
|
on_MemberStatusable?: MemberStatusableGenqlSelection;
|
|
41646
41691
|
on_Node?: NodeGenqlSelection;
|
|
41647
41692
|
on_Subscribable?: SubscribableGenqlSelection;
|
|
41693
|
+
on_TeamReviewRequestable?: TeamReviewRequestableGenqlSelection;
|
|
41648
41694
|
on_Actor?: ActorGenqlSelection;
|
|
41649
41695
|
on_Agentic?: AgenticGenqlSelection;
|
|
41650
41696
|
on_PackageOwner?: PackageOwnerGenqlSelection;
|
|
@@ -42454,6 +42500,8 @@ export interface ProjectV2SingleSelectFieldOptionGenqlSelection {
|
|
|
42454
42500
|
}
|
|
42455
42501
|
/** Represents a single select field option */
|
|
42456
42502
|
export interface ProjectV2SingleSelectFieldOptionInput {
|
|
42503
|
+
/** The ID of an existing single select option. Include this to preserve the option's identity during updates, preventing item field values from being cleared. */
|
|
42504
|
+
id?: (Scalars['String'] | null);
|
|
42457
42505
|
/** The name of the option */
|
|
42458
42506
|
name: Scalars['String'];
|
|
42459
42507
|
/** The display color of the option */
|
|
@@ -44358,6 +44406,7 @@ export interface PushAllowanceActorGenqlSelection {
|
|
|
44358
44406
|
on_Node?: NodeGenqlSelection;
|
|
44359
44407
|
on_MemberStatusable?: MemberStatusableGenqlSelection;
|
|
44360
44408
|
on_Subscribable?: SubscribableGenqlSelection;
|
|
44409
|
+
on_TeamReviewRequestable?: TeamReviewRequestableGenqlSelection;
|
|
44361
44410
|
on_Actor?: ActorGenqlSelection;
|
|
44362
44411
|
on_Agentic?: AgenticGenqlSelection;
|
|
44363
44412
|
on_PackageOwner?: PackageOwnerGenqlSelection;
|
|
@@ -48638,6 +48687,8 @@ export interface RepositoryGenqlSelection {
|
|
|
48638
48687
|
viewerCanSubscribe?: boolean | number;
|
|
48639
48688
|
/** Indicates whether the viewer can update the topics of this repository. */
|
|
48640
48689
|
viewerCanUpdateTopics?: boolean | number;
|
|
48690
|
+
/** The content warning for this repository for the viewer. */
|
|
48691
|
+
viewerContentWarning?: ContentWarningGenqlSelection;
|
|
48641
48692
|
/** The last commit email for the viewer. */
|
|
48642
48693
|
viewerDefaultCommitEmail?: boolean | number;
|
|
48643
48694
|
/** The last used merge method by the viewer or the default for the repository. */
|
|
@@ -49427,7 +49478,7 @@ export interface RepositoryRulesetGenqlSelection {
|
|
|
49427
49478
|
__typename?: boolean | number;
|
|
49428
49479
|
__scalar?: boolean | number;
|
|
49429
49480
|
}
|
|
49430
|
-
/** A team or
|
|
49481
|
+
/** A team, app or user that has the ability to bypass rules defined on a ruleset */
|
|
49431
49482
|
export interface RepositoryRulesetBypassActorGenqlSelection {
|
|
49432
49483
|
/** The actor that can bypass rules. */
|
|
49433
49484
|
actor?: BypassActorGenqlSelection;
|
|
@@ -49437,6 +49488,8 @@ export interface RepositoryRulesetBypassActorGenqlSelection {
|
|
|
49437
49488
|
deployKey?: boolean | number;
|
|
49438
49489
|
/** This actor represents the ability for an enterprise owner to bypass */
|
|
49439
49490
|
enterpriseOwner?: boolean | number;
|
|
49491
|
+
/** This actor represents the ability for an enterprise role to bypass */
|
|
49492
|
+
enterpriseRole?: boolean | number;
|
|
49440
49493
|
/** The Node ID of the RepositoryRulesetBypassActor object */
|
|
49441
49494
|
id?: boolean | number;
|
|
49442
49495
|
/** This actor represents the ability for an organization owner to bypass */
|
|
@@ -49472,9 +49525,9 @@ export interface RepositoryRulesetBypassActorEdgeGenqlSelection {
|
|
|
49472
49525
|
__typename?: boolean | number;
|
|
49473
49526
|
__scalar?: boolean | number;
|
|
49474
49527
|
}
|
|
49475
|
-
/** Specifies the attributes for a new or updated ruleset bypass actor. Only one of `actor_id`, `repository_role_database_id`, `organization_admin`, or `deploy_key` should be specified. */
|
|
49528
|
+
/** Specifies the attributes for a new or updated ruleset bypass actor. Only one of `actor_id`, `repository_role_database_id`, `organization_admin`, `enterprise_owner`, or `deploy_key` should be specified. */
|
|
49476
49529
|
export interface RepositoryRulesetBypassActorInput {
|
|
49477
|
-
/** For Team and
|
|
49530
|
+
/** For Team, Integration and User bypasses, the Team, Integration, or User ID */
|
|
49478
49531
|
actorId?: (Scalars['ID'] | null);
|
|
49479
49532
|
/** For role bypasses, the role database ID */
|
|
49480
49533
|
repositoryRoleDatabaseId?: (Scalars['Int'] | null);
|
|
@@ -49482,6 +49535,8 @@ export interface RepositoryRulesetBypassActorInput {
|
|
|
49482
49535
|
organizationAdmin?: (Scalars['Boolean'] | null);
|
|
49483
49536
|
/** For enterprise owner bypasses, true */
|
|
49484
49537
|
enterpriseOwner?: (Scalars['Boolean'] | null);
|
|
49538
|
+
/** For enterprise role bypasses, true. NOTE: This bypass actor is in beta. */
|
|
49539
|
+
enterpriseRole?: (Scalars['Boolean'] | null);
|
|
49485
49540
|
/** For deploy key bypasses, true. Can only use ALWAYS as the bypass mode */
|
|
49486
49541
|
deployKey?: (Scalars['Boolean'] | null);
|
|
49487
49542
|
/** The bypass mode for this actor. */
|
|
@@ -49894,6 +49949,7 @@ export interface RequestedReviewerGenqlSelection {
|
|
|
49894
49949
|
on_UniformResourceLocatable?: UniformResourceLocatableGenqlSelection;
|
|
49895
49950
|
on_MemberStatusable?: MemberStatusableGenqlSelection;
|
|
49896
49951
|
on_Subscribable?: SubscribableGenqlSelection;
|
|
49952
|
+
on_TeamReviewRequestable?: TeamReviewRequestableGenqlSelection;
|
|
49897
49953
|
on_Agentic?: AgenticGenqlSelection;
|
|
49898
49954
|
on_PackageOwner?: PackageOwnerGenqlSelection;
|
|
49899
49955
|
on_ProfileOwner?: ProfileOwnerGenqlSelection;
|
|
@@ -50128,6 +50184,7 @@ export interface ReviewDismissalAllowanceActorGenqlSelection {
|
|
|
50128
50184
|
on_Node?: NodeGenqlSelection;
|
|
50129
50185
|
on_MemberStatusable?: MemberStatusableGenqlSelection;
|
|
50130
50186
|
on_Subscribable?: SubscribableGenqlSelection;
|
|
50187
|
+
on_TeamReviewRequestable?: TeamReviewRequestableGenqlSelection;
|
|
50131
50188
|
on_Actor?: ActorGenqlSelection;
|
|
50132
50189
|
on_Agentic?: AgenticGenqlSelection;
|
|
50133
50190
|
on_PackageOwner?: PackageOwnerGenqlSelection;
|
|
@@ -50367,6 +50424,12 @@ export interface RuleParametersInput {
|
|
|
50367
50424
|
branchNamePattern?: (BranchNamePatternParametersInput | null);
|
|
50368
50425
|
/** Parameters used for the `tag_name_pattern` rule type */
|
|
50369
50426
|
tagNamePattern?: (TagNamePatternParametersInput | null);
|
|
50427
|
+
/** Parameters used for the `workflows` rule type */
|
|
50428
|
+
workflows?: (WorkflowsParametersInput | null);
|
|
50429
|
+
/** Parameters used for the `code_scanning` rule type */
|
|
50430
|
+
codeScanning?: (CodeScanningParametersInput | null);
|
|
50431
|
+
/** Parameters used for the `copilot_code_review` rule type */
|
|
50432
|
+
copilotCodeReview?: (CopilotCodeReviewParametersInput | null);
|
|
50370
50433
|
/** Parameters used for the `file_path_restriction` rule type */
|
|
50371
50434
|
filePathRestriction?: (FilePathRestrictionParametersInput | null);
|
|
50372
50435
|
/** Parameters used for the `max_file_path_length` rule type */
|
|
@@ -50375,12 +50438,6 @@ export interface RuleParametersInput {
|
|
|
50375
50438
|
fileExtensionRestriction?: (FileExtensionRestrictionParametersInput | null);
|
|
50376
50439
|
/** Parameters used for the `max_file_size` rule type */
|
|
50377
50440
|
maxFileSize?: (MaxFileSizeParametersInput | null);
|
|
50378
|
-
/** Parameters used for the `workflows` rule type */
|
|
50379
|
-
workflows?: (WorkflowsParametersInput | null);
|
|
50380
|
-
/** Parameters used for the `code_scanning` rule type */
|
|
50381
|
-
codeScanning?: (CodeScanningParametersInput | null);
|
|
50382
|
-
/** Parameters used for the `copilot_code_review` rule type */
|
|
50383
|
-
copilotCodeReview?: (CopilotCodeReviewParametersInput | null);
|
|
50384
50441
|
}
|
|
50385
50442
|
/** Types which can have `RepositoryRule` objects. */
|
|
50386
50443
|
export interface RuleSourceGenqlSelection {
|
|
@@ -53097,6 +53154,18 @@ export interface TeamRepositoryOrder {
|
|
|
53097
53154
|
/** The ordering direction. */
|
|
53098
53155
|
direction: OrderDirection;
|
|
53099
53156
|
}
|
|
53157
|
+
/** Represents a team that can be requested to review a pull request. */
|
|
53158
|
+
export interface TeamReviewRequestableGenqlSelection {
|
|
53159
|
+
/** The Node ID of the TeamReviewRequestable object */
|
|
53160
|
+
id?: boolean | number;
|
|
53161
|
+
/** The name of the team. */
|
|
53162
|
+
name?: boolean | number;
|
|
53163
|
+
/** A unique, human-readable identifier for the team. */
|
|
53164
|
+
slug?: boolean | number;
|
|
53165
|
+
on_Team?: TeamGenqlSelection;
|
|
53166
|
+
__typename?: boolean | number;
|
|
53167
|
+
__scalar?: boolean | number;
|
|
53168
|
+
}
|
|
53100
53169
|
/** A text match within a search result. */
|
|
53101
53170
|
export interface TextMatchGenqlSelection {
|
|
53102
53171
|
/** The specific text fragment within the property matched on. */
|
|
@@ -57047,6 +57116,7 @@ export interface _EntityGenqlSelection {
|
|
|
57047
57116
|
on_TopicAuditEntryData?: TopicAuditEntryDataGenqlSelection;
|
|
57048
57117
|
on_RepositoryInfo?: RepositoryInfoGenqlSelection;
|
|
57049
57118
|
on_Migration?: MigrationGenqlSelection;
|
|
57119
|
+
on_TeamReviewRequestable?: TeamReviewRequestableGenqlSelection;
|
|
57050
57120
|
on_TeamAuditEntryData?: TeamAuditEntryDataGenqlSelection;
|
|
57051
57121
|
on_Agentic?: AgenticGenqlSelection;
|
|
57052
57122
|
__typename?: boolean | number;
|
|
@@ -57459,6 +57529,9 @@ export declare const isComparisonCommitConnection: (obj?: {
|
|
|
57459
57529
|
export declare const isConnectedEvent: (obj?: {
|
|
57460
57530
|
__typename?: any;
|
|
57461
57531
|
} | null) => obj is ConnectedEvent;
|
|
57532
|
+
export declare const isContentWarning: (obj?: {
|
|
57533
|
+
__typename?: any;
|
|
57534
|
+
} | null) => obj is ContentWarning;
|
|
57462
57535
|
export declare const isContributingGuidelines: (obj?: {
|
|
57463
57536
|
__typename?: any;
|
|
57464
57537
|
} | null) => obj is ContributingGuidelines;
|
|
@@ -59892,6 +59965,9 @@ export declare const isTeamRepositoryConnection: (obj?: {
|
|
|
59892
59965
|
export declare const isTeamRepositoryEdge: (obj?: {
|
|
59893
59966
|
__typename?: any;
|
|
59894
59967
|
} | null) => obj is TeamRepositoryEdge;
|
|
59968
|
+
export declare const isTeamReviewRequestable: (obj?: {
|
|
59969
|
+
__typename?: any;
|
|
59970
|
+
} | null) => obj is TeamReviewRequestable;
|
|
59895
59971
|
export declare const isTextMatch: (obj?: {
|
|
59896
59972
|
__typename?: any;
|
|
59897
59973
|
} | null) => obj is TextMatch;
|
|
@@ -61126,6 +61202,9 @@ export declare const enumProjectV2FieldType: {
|
|
|
61126
61202
|
ISSUE_TYPE: "ISSUE_TYPE";
|
|
61127
61203
|
PARENT_ISSUE: "PARENT_ISSUE";
|
|
61128
61204
|
SUB_ISSUES_PROGRESS: "SUB_ISSUES_PROGRESS";
|
|
61205
|
+
CREATED: "CREATED";
|
|
61206
|
+
UPDATED: "UPDATED";
|
|
61207
|
+
CLOSED: "CLOSED";
|
|
61129
61208
|
};
|
|
61130
61209
|
export declare const enumProjectV2ItemFieldValueOrderField: {
|
|
61131
61210
|
POSITION: "POSITION";
|
|
@@ -61495,15 +61574,15 @@ export declare const enumRepositoryRuleType: {
|
|
|
61495
61574
|
COMMITTER_EMAIL_PATTERN: "COMMITTER_EMAIL_PATTERN";
|
|
61496
61575
|
BRANCH_NAME_PATTERN: "BRANCH_NAME_PATTERN";
|
|
61497
61576
|
TAG_NAME_PATTERN: "TAG_NAME_PATTERN";
|
|
61577
|
+
WORKFLOWS: "WORKFLOWS";
|
|
61578
|
+
WORKFLOW_UPDATES: "WORKFLOW_UPDATES";
|
|
61579
|
+
CODE_SCANNING: "CODE_SCANNING";
|
|
61580
|
+
COPILOT_CODE_REVIEW: "COPILOT_CODE_REVIEW";
|
|
61498
61581
|
FILE_PATH_RESTRICTION: "FILE_PATH_RESTRICTION";
|
|
61499
61582
|
MAX_FILE_PATH_LENGTH: "MAX_FILE_PATH_LENGTH";
|
|
61500
61583
|
FILE_EXTENSION_RESTRICTION: "FILE_EXTENSION_RESTRICTION";
|
|
61501
61584
|
MAX_FILE_SIZE: "MAX_FILE_SIZE";
|
|
61502
|
-
WORKFLOWS: "WORKFLOWS";
|
|
61503
61585
|
SECRET_SCANNING: "SECRET_SCANNING";
|
|
61504
|
-
WORKFLOW_UPDATES: "WORKFLOW_UPDATES";
|
|
61505
|
-
CODE_SCANNING: "CODE_SCANNING";
|
|
61506
|
-
COPILOT_CODE_REVIEW: "COPILOT_CODE_REVIEW";
|
|
61507
61586
|
};
|
|
61508
61587
|
export declare const enumRepositoryRulesetBypassActorBypassMode: {
|
|
61509
61588
|
ALWAYS: "ALWAYS";
|
|
@@ -61615,6 +61694,7 @@ export declare const enumSecurityAdvisorySeverity: {
|
|
|
61615
61694
|
MODERATE: "MODERATE";
|
|
61616
61695
|
HIGH: "HIGH";
|
|
61617
61696
|
CRITICAL: "CRITICAL";
|
|
61697
|
+
UNKNOWN: "UNKNOWN";
|
|
61618
61698
|
};
|
|
61619
61699
|
export declare const enumSecurityVulnerabilityOrderField: {
|
|
61620
61700
|
UPDATED_AT: "UPDATED_AT";
|
|
@@ -823,6 +823,7 @@ declare const _default: {
|
|
|
823
823
|
on_Node: number[];
|
|
824
824
|
on_MemberStatusable: number[];
|
|
825
825
|
on_Subscribable: number[];
|
|
826
|
+
on_TeamReviewRequestable: number[];
|
|
826
827
|
on_Actor: number[];
|
|
827
828
|
on_Agentic: number[];
|
|
828
829
|
on_PackageOwner: number[];
|
|
@@ -961,6 +962,7 @@ declare const _default: {
|
|
|
961
962
|
on_Node: number[];
|
|
962
963
|
on_MemberStatusable: number[];
|
|
963
964
|
on_Subscribable: number[];
|
|
965
|
+
on_TeamReviewRequestable: number[];
|
|
964
966
|
on_Actor: number[];
|
|
965
967
|
on_Agentic: number[];
|
|
966
968
|
on_PackageOwner: number[];
|
|
@@ -1828,6 +1830,15 @@ declare const _default: {
|
|
|
1828
1830
|
subject: number[];
|
|
1829
1831
|
__typename: number[];
|
|
1830
1832
|
};
|
|
1833
|
+
ContentWarning: {
|
|
1834
|
+
category: number[];
|
|
1835
|
+
customSubCategory: number[];
|
|
1836
|
+
subCategory: number[];
|
|
1837
|
+
subTitle: number[];
|
|
1838
|
+
title: number[];
|
|
1839
|
+
type: number[];
|
|
1840
|
+
__typename: number[];
|
|
1841
|
+
};
|
|
1831
1842
|
ContributingGuidelines: {
|
|
1832
1843
|
body: number[];
|
|
1833
1844
|
resourcePath: number[];
|
|
@@ -3318,6 +3329,7 @@ declare const _default: {
|
|
|
3318
3329
|
on_MemberStatusable: number[];
|
|
3319
3330
|
on_Node: number[];
|
|
3320
3331
|
on_Subscribable: number[];
|
|
3332
|
+
on_TeamReviewRequestable: number[];
|
|
3321
3333
|
on_Actor: number[];
|
|
3322
3334
|
on_Agentic: number[];
|
|
3323
3335
|
on_PackageOwner: number[];
|
|
@@ -9244,6 +9256,7 @@ declare const _default: {
|
|
|
9244
9256
|
on_RepositoryInfo: number[];
|
|
9245
9257
|
on_Starrable: number[];
|
|
9246
9258
|
on_Subscribable: number[];
|
|
9259
|
+
on_TeamReviewRequestable: number[];
|
|
9247
9260
|
__typename: number[];
|
|
9248
9261
|
};
|
|
9249
9262
|
PermissionSource: {
|
|
@@ -9778,6 +9791,7 @@ declare const _default: {
|
|
|
9778
9791
|
on_MemberStatusable: number[];
|
|
9779
9792
|
on_Node: number[];
|
|
9780
9793
|
on_Subscribable: number[];
|
|
9794
|
+
on_TeamReviewRequestable: number[];
|
|
9781
9795
|
on_Actor: number[];
|
|
9782
9796
|
on_Agentic: number[];
|
|
9783
9797
|
on_PackageOwner: number[];
|
|
@@ -10260,6 +10274,7 @@ declare const _default: {
|
|
|
10260
10274
|
};
|
|
10261
10275
|
ProjectV2SingleSelectFieldOptionColor: {};
|
|
10262
10276
|
ProjectV2SingleSelectFieldOptionInput: {
|
|
10277
|
+
id: number[];
|
|
10263
10278
|
name: number[];
|
|
10264
10279
|
color: number[];
|
|
10265
10280
|
description: number[];
|
|
@@ -11297,6 +11312,7 @@ declare const _default: {
|
|
|
11297
11312
|
on_Node: number[];
|
|
11298
11313
|
on_MemberStatusable: number[];
|
|
11299
11314
|
on_Subscribable: number[];
|
|
11315
|
+
on_TeamReviewRequestable: number[];
|
|
11300
11316
|
on_Actor: number[];
|
|
11301
11317
|
on_Agentic: number[];
|
|
11302
11318
|
on_PackageOwner: number[];
|
|
@@ -13001,6 +13017,7 @@ declare const _default: {
|
|
|
13001
13017
|
viewerCanSeeIssueFields: number[];
|
|
13002
13018
|
viewerCanSubscribe: number[];
|
|
13003
13019
|
viewerCanUpdateTopics: number[];
|
|
13020
|
+
viewerContentWarning: number[];
|
|
13004
13021
|
viewerDefaultCommitEmail: number[];
|
|
13005
13022
|
viewerDefaultMergeMethod: number[];
|
|
13006
13023
|
viewerHasStarred: number[];
|
|
@@ -13464,6 +13481,7 @@ declare const _default: {
|
|
|
13464
13481
|
bypassMode: number[];
|
|
13465
13482
|
deployKey: number[];
|
|
13466
13483
|
enterpriseOwner: number[];
|
|
13484
|
+
enterpriseRole: number[];
|
|
13467
13485
|
id: number[];
|
|
13468
13486
|
organizationAdmin: number[];
|
|
13469
13487
|
repositoryRoleDatabaseId: number[];
|
|
@@ -13489,6 +13507,7 @@ declare const _default: {
|
|
|
13489
13507
|
repositoryRoleDatabaseId: number[];
|
|
13490
13508
|
organizationAdmin: number[];
|
|
13491
13509
|
enterpriseOwner: number[];
|
|
13510
|
+
enterpriseRole: number[];
|
|
13492
13511
|
deployKey: number[];
|
|
13493
13512
|
bypassMode: number[];
|
|
13494
13513
|
__typename: number[];
|
|
@@ -13668,6 +13687,7 @@ declare const _default: {
|
|
|
13668
13687
|
on_UniformResourceLocatable: number[];
|
|
13669
13688
|
on_MemberStatusable: number[];
|
|
13670
13689
|
on_Subscribable: number[];
|
|
13690
|
+
on_TeamReviewRequestable: number[];
|
|
13671
13691
|
on_Agentic: number[];
|
|
13672
13692
|
on_PackageOwner: number[];
|
|
13673
13693
|
on_ProfileOwner: number[];
|
|
@@ -13809,6 +13829,7 @@ declare const _default: {
|
|
|
13809
13829
|
on_Node: number[];
|
|
13810
13830
|
on_MemberStatusable: number[];
|
|
13811
13831
|
on_Subscribable: number[];
|
|
13832
|
+
on_TeamReviewRequestable: number[];
|
|
13812
13833
|
on_Actor: number[];
|
|
13813
13834
|
on_Agentic: number[];
|
|
13814
13835
|
on_PackageOwner: number[];
|
|
@@ -13953,13 +13974,13 @@ declare const _default: {
|
|
|
13953
13974
|
committerEmailPattern: number[];
|
|
13954
13975
|
branchNamePattern: number[];
|
|
13955
13976
|
tagNamePattern: number[];
|
|
13977
|
+
workflows: number[];
|
|
13978
|
+
codeScanning: number[];
|
|
13979
|
+
copilotCodeReview: number[];
|
|
13956
13980
|
filePathRestriction: number[];
|
|
13957
13981
|
maxFilePathLength: number[];
|
|
13958
13982
|
fileExtensionRestriction: number[];
|
|
13959
13983
|
maxFileSize: number[];
|
|
13960
|
-
workflows: number[];
|
|
13961
|
-
codeScanning: number[];
|
|
13962
|
-
copilotCodeReview: number[];
|
|
13963
13984
|
__typename: number[];
|
|
13964
13985
|
};
|
|
13965
13986
|
RuleSource: {
|
|
@@ -15341,6 +15362,13 @@ declare const _default: {
|
|
|
15341
15362
|
};
|
|
15342
15363
|
TeamRepositoryOrderField: {};
|
|
15343
15364
|
TeamReviewAssignmentAlgorithm: {};
|
|
15365
|
+
TeamReviewRequestable: {
|
|
15366
|
+
id: number[];
|
|
15367
|
+
name: number[];
|
|
15368
|
+
slug: number[];
|
|
15369
|
+
on_Team: number[];
|
|
15370
|
+
__typename: number[];
|
|
15371
|
+
};
|
|
15344
15372
|
TeamRole: {};
|
|
15345
15373
|
TextMatch: {
|
|
15346
15374
|
fragment: number[];
|
|
@@ -17691,6 +17719,7 @@ declare const _default: {
|
|
|
17691
17719
|
on_TopicAuditEntryData: number[];
|
|
17692
17720
|
on_RepositoryInfo: number[];
|
|
17693
17721
|
on_Migration: number[];
|
|
17722
|
+
on_TeamReviewRequestable: number[];
|
|
17694
17723
|
on_TeamAuditEntryData: number[];
|
|
17695
17724
|
on_Agentic: number[];
|
|
17696
17725
|
__typename: number[];
|