@tomsd/github-repo-js 0.4.0 → 0.4.1

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.
@@ -17206,7 +17206,7 @@ export interface RepositoryRuleset {
17206
17206
  updatedAt: Scalars['DateTime'];
17207
17207
  __typename: 'RepositoryRuleset';
17208
17208
  }
17209
- /** A team or app that has the ability to bypass a rules defined on a ruleset */
17209
+ /** A team, app or user that has the ability to bypass rules defined on a ruleset */
17210
17210
  export interface RepositoryRulesetBypassActor {
17211
17211
  /** The actor that can bypass rules. */
17212
17212
  actor: (BypassActor | null);
@@ -17216,6 +17216,8 @@ export interface RepositoryRulesetBypassActor {
17216
17216
  deployKey: Scalars['Boolean'];
17217
17217
  /** This actor represents the ability for an enterprise owner to bypass */
17218
17218
  enterpriseOwner: Scalars['Boolean'];
17219
+ /** This actor represents the ability for an enterprise role to bypass */
17220
+ enterpriseRole: Scalars['Boolean'];
17219
17221
  /** The Node ID of the RepositoryRulesetBypassActor object */
17220
17222
  id: Scalars['ID'];
17221
17223
  /** This actor represents the ability for an organization owner to bypass */
@@ -18076,7 +18078,7 @@ export interface SecurityAdvisoryReference {
18076
18078
  __typename: 'SecurityAdvisoryReference';
18077
18079
  }
18078
18080
  /** Severity of the vulnerability. */
18079
- export type SecurityAdvisorySeverity = 'LOW' | 'MODERATE' | 'HIGH' | 'CRITICAL';
18081
+ export type SecurityAdvisorySeverity = 'LOW' | 'MODERATE' | 'HIGH' | 'CRITICAL' | 'UNKNOWN';
18080
18082
  /** An individual vulnerability within an Advisory */
18081
18083
  export interface SecurityVulnerability {
18082
18084
  /** The Advisory associated with this Vulnerability */
@@ -19768,6 +19770,10 @@ export interface TeamRepositoryEdge {
19768
19770
  export type TeamRepositoryOrderField = 'CREATED_AT' | 'UPDATED_AT' | 'PUSHED_AT' | 'NAME' | 'PERMISSION' | 'STARGAZERS';
19769
19771
  /** The possible team review assignment algorithms */
19770
19772
  export type TeamReviewAssignmentAlgorithm = 'ROUND_ROBIN' | 'LOAD_BALANCE';
19773
+ /** Represents a team that can be requested to review a pull request. */
19774
+ export type TeamReviewRequestable = (Team) & {
19775
+ __isUnion?: true;
19776
+ };
19771
19777
  /** The role of a user on a team. */
19772
19778
  export type TeamRole = 'ADMIN' | 'MEMBER';
19773
19779
  /** A text match within a search result. */
@@ -22899,6 +22905,7 @@ export interface BranchActorAllowanceActorGenqlSelection {
22899
22905
  on_Node?: NodeGenqlSelection;
22900
22906
  on_MemberStatusable?: MemberStatusableGenqlSelection;
22901
22907
  on_Subscribable?: SubscribableGenqlSelection;
22908
+ on_TeamReviewRequestable?: TeamReviewRequestableGenqlSelection;
22902
22909
  on_Actor?: ActorGenqlSelection;
22903
22910
  on_Agentic?: AgenticGenqlSelection;
22904
22911
  on_PackageOwner?: PackageOwnerGenqlSelection;
@@ -23148,6 +23155,7 @@ export interface BypassActorGenqlSelection {
23148
23155
  on_Node?: NodeGenqlSelection;
23149
23156
  on_MemberStatusable?: MemberStatusableGenqlSelection;
23150
23157
  on_Subscribable?: SubscribableGenqlSelection;
23158
+ on_TeamReviewRequestable?: TeamReviewRequestableGenqlSelection;
23151
23159
  on_Actor?: ActorGenqlSelection;
23152
23160
  on_Agentic?: AgenticGenqlSelection;
23153
23161
  on_PackageOwner?: PackageOwnerGenqlSelection;
@@ -27428,6 +27436,7 @@ export interface DeploymentReviewerGenqlSelection {
27428
27436
  on_MemberStatusable?: MemberStatusableGenqlSelection;
27429
27437
  on_Node?: NodeGenqlSelection;
27430
27438
  on_Subscribable?: SubscribableGenqlSelection;
27439
+ on_TeamReviewRequestable?: TeamReviewRequestableGenqlSelection;
27431
27440
  on_Actor?: ActorGenqlSelection;
27432
27441
  on_Agentic?: AgenticGenqlSelection;
27433
27442
  on_PackageOwner?: PackageOwnerGenqlSelection;
@@ -40414,6 +40423,7 @@ export interface PermissionGranterGenqlSelection {
40414
40423
  on_RepositoryInfo?: RepositoryInfoGenqlSelection;
40415
40424
  on_Starrable?: StarrableGenqlSelection;
40416
40425
  on_Subscribable?: SubscribableGenqlSelection;
40426
+ on_TeamReviewRequestable?: TeamReviewRequestableGenqlSelection;
40417
40427
  __typename?: boolean | number;
40418
40428
  }
40419
40429
  /** A level of permission and source for a user's access to a repository. */
@@ -41645,6 +41655,7 @@ export interface ProjectV2ActorGenqlSelection {
41645
41655
  on_MemberStatusable?: MemberStatusableGenqlSelection;
41646
41656
  on_Node?: NodeGenqlSelection;
41647
41657
  on_Subscribable?: SubscribableGenqlSelection;
41658
+ on_TeamReviewRequestable?: TeamReviewRequestableGenqlSelection;
41648
41659
  on_Actor?: ActorGenqlSelection;
41649
41660
  on_Agentic?: AgenticGenqlSelection;
41650
41661
  on_PackageOwner?: PackageOwnerGenqlSelection;
@@ -42454,6 +42465,8 @@ export interface ProjectV2SingleSelectFieldOptionGenqlSelection {
42454
42465
  }
42455
42466
  /** Represents a single select field option */
42456
42467
  export interface ProjectV2SingleSelectFieldOptionInput {
42468
+ /** 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. */
42469
+ id?: (Scalars['String'] | null);
42457
42470
  /** The name of the option */
42458
42471
  name: Scalars['String'];
42459
42472
  /** The display color of the option */
@@ -44358,6 +44371,7 @@ export interface PushAllowanceActorGenqlSelection {
44358
44371
  on_Node?: NodeGenqlSelection;
44359
44372
  on_MemberStatusable?: MemberStatusableGenqlSelection;
44360
44373
  on_Subscribable?: SubscribableGenqlSelection;
44374
+ on_TeamReviewRequestable?: TeamReviewRequestableGenqlSelection;
44361
44375
  on_Actor?: ActorGenqlSelection;
44362
44376
  on_Agentic?: AgenticGenqlSelection;
44363
44377
  on_PackageOwner?: PackageOwnerGenqlSelection;
@@ -49427,7 +49441,7 @@ export interface RepositoryRulesetGenqlSelection {
49427
49441
  __typename?: boolean | number;
49428
49442
  __scalar?: boolean | number;
49429
49443
  }
49430
- /** A team or app that has the ability to bypass a rules defined on a ruleset */
49444
+ /** A team, app or user that has the ability to bypass rules defined on a ruleset */
49431
49445
  export interface RepositoryRulesetBypassActorGenqlSelection {
49432
49446
  /** The actor that can bypass rules. */
49433
49447
  actor?: BypassActorGenqlSelection;
@@ -49437,6 +49451,8 @@ export interface RepositoryRulesetBypassActorGenqlSelection {
49437
49451
  deployKey?: boolean | number;
49438
49452
  /** This actor represents the ability for an enterprise owner to bypass */
49439
49453
  enterpriseOwner?: boolean | number;
49454
+ /** This actor represents the ability for an enterprise role to bypass */
49455
+ enterpriseRole?: boolean | number;
49440
49456
  /** The Node ID of the RepositoryRulesetBypassActor object */
49441
49457
  id?: boolean | number;
49442
49458
  /** This actor represents the ability for an organization owner to bypass */
@@ -49474,7 +49490,7 @@ export interface RepositoryRulesetBypassActorEdgeGenqlSelection {
49474
49490
  }
49475
49491
  /** 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. */
49476
49492
  export interface RepositoryRulesetBypassActorInput {
49477
- /** For Team and Integration bypasses, the Team or Integration ID */
49493
+ /** For Team, Integration and User bypasses, the Team, Integration, or User ID */
49478
49494
  actorId?: (Scalars['ID'] | null);
49479
49495
  /** For role bypasses, the role database ID */
49480
49496
  repositoryRoleDatabaseId?: (Scalars['Int'] | null);
@@ -49482,6 +49498,8 @@ export interface RepositoryRulesetBypassActorInput {
49482
49498
  organizationAdmin?: (Scalars['Boolean'] | null);
49483
49499
  /** For enterprise owner bypasses, true */
49484
49500
  enterpriseOwner?: (Scalars['Boolean'] | null);
49501
+ /** For enterprise role bypasses, true. NOTE: This bypass actor is in beta. */
49502
+ enterpriseRole?: (Scalars['Boolean'] | null);
49485
49503
  /** For deploy key bypasses, true. Can only use ALWAYS as the bypass mode */
49486
49504
  deployKey?: (Scalars['Boolean'] | null);
49487
49505
  /** The bypass mode for this actor. */
@@ -49894,6 +49912,7 @@ export interface RequestedReviewerGenqlSelection {
49894
49912
  on_UniformResourceLocatable?: UniformResourceLocatableGenqlSelection;
49895
49913
  on_MemberStatusable?: MemberStatusableGenqlSelection;
49896
49914
  on_Subscribable?: SubscribableGenqlSelection;
49915
+ on_TeamReviewRequestable?: TeamReviewRequestableGenqlSelection;
49897
49916
  on_Agentic?: AgenticGenqlSelection;
49898
49917
  on_PackageOwner?: PackageOwnerGenqlSelection;
49899
49918
  on_ProfileOwner?: ProfileOwnerGenqlSelection;
@@ -50128,6 +50147,7 @@ export interface ReviewDismissalAllowanceActorGenqlSelection {
50128
50147
  on_Node?: NodeGenqlSelection;
50129
50148
  on_MemberStatusable?: MemberStatusableGenqlSelection;
50130
50149
  on_Subscribable?: SubscribableGenqlSelection;
50150
+ on_TeamReviewRequestable?: TeamReviewRequestableGenqlSelection;
50131
50151
  on_Actor?: ActorGenqlSelection;
50132
50152
  on_Agentic?: AgenticGenqlSelection;
50133
50153
  on_PackageOwner?: PackageOwnerGenqlSelection;
@@ -53097,6 +53117,18 @@ export interface TeamRepositoryOrder {
53097
53117
  /** The ordering direction. */
53098
53118
  direction: OrderDirection;
53099
53119
  }
53120
+ /** Represents a team that can be requested to review a pull request. */
53121
+ export interface TeamReviewRequestableGenqlSelection {
53122
+ /** The Node ID of the TeamReviewRequestable object */
53123
+ id?: boolean | number;
53124
+ /** The name of the team. */
53125
+ name?: boolean | number;
53126
+ /** A unique, human-readable identifier for the team. */
53127
+ slug?: boolean | number;
53128
+ on_Team?: TeamGenqlSelection;
53129
+ __typename?: boolean | number;
53130
+ __scalar?: boolean | number;
53131
+ }
53100
53132
  /** A text match within a search result. */
53101
53133
  export interface TextMatchGenqlSelection {
53102
53134
  /** The specific text fragment within the property matched on. */
@@ -57047,6 +57079,7 @@ export interface _EntityGenqlSelection {
57047
57079
  on_TopicAuditEntryData?: TopicAuditEntryDataGenqlSelection;
57048
57080
  on_RepositoryInfo?: RepositoryInfoGenqlSelection;
57049
57081
  on_Migration?: MigrationGenqlSelection;
57082
+ on_TeamReviewRequestable?: TeamReviewRequestableGenqlSelection;
57050
57083
  on_TeamAuditEntryData?: TeamAuditEntryDataGenqlSelection;
57051
57084
  on_Agentic?: AgenticGenqlSelection;
57052
57085
  __typename?: boolean | number;
@@ -59892,6 +59925,9 @@ export declare const isTeamRepositoryConnection: (obj?: {
59892
59925
  export declare const isTeamRepositoryEdge: (obj?: {
59893
59926
  __typename?: any;
59894
59927
  } | null) => obj is TeamRepositoryEdge;
59928
+ export declare const isTeamReviewRequestable: (obj?: {
59929
+ __typename?: any;
59930
+ } | null) => obj is TeamReviewRequestable;
59895
59931
  export declare const isTextMatch: (obj?: {
59896
59932
  __typename?: any;
59897
59933
  } | null) => obj is TextMatch;
@@ -61615,6 +61651,7 @@ export declare const enumSecurityAdvisorySeverity: {
61615
61651
  MODERATE: "MODERATE";
61616
61652
  HIGH: "HIGH";
61617
61653
  CRITICAL: "CRITICAL";
61654
+ UNKNOWN: "UNKNOWN";
61618
61655
  };
61619
61656
  export declare const enumSecurityVulnerabilityOrderField: {
61620
61657
  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[];
@@ -3318,6 +3320,7 @@ declare const _default: {
3318
3320
  on_MemberStatusable: number[];
3319
3321
  on_Node: number[];
3320
3322
  on_Subscribable: number[];
3323
+ on_TeamReviewRequestable: number[];
3321
3324
  on_Actor: number[];
3322
3325
  on_Agentic: number[];
3323
3326
  on_PackageOwner: number[];
@@ -9244,6 +9247,7 @@ declare const _default: {
9244
9247
  on_RepositoryInfo: number[];
9245
9248
  on_Starrable: number[];
9246
9249
  on_Subscribable: number[];
9250
+ on_TeamReviewRequestable: number[];
9247
9251
  __typename: number[];
9248
9252
  };
9249
9253
  PermissionSource: {
@@ -9778,6 +9782,7 @@ declare const _default: {
9778
9782
  on_MemberStatusable: number[];
9779
9783
  on_Node: number[];
9780
9784
  on_Subscribable: number[];
9785
+ on_TeamReviewRequestable: number[];
9781
9786
  on_Actor: number[];
9782
9787
  on_Agentic: number[];
9783
9788
  on_PackageOwner: number[];
@@ -10260,6 +10265,7 @@ declare const _default: {
10260
10265
  };
10261
10266
  ProjectV2SingleSelectFieldOptionColor: {};
10262
10267
  ProjectV2SingleSelectFieldOptionInput: {
10268
+ id: number[];
10263
10269
  name: number[];
10264
10270
  color: number[];
10265
10271
  description: number[];
@@ -11297,6 +11303,7 @@ declare const _default: {
11297
11303
  on_Node: number[];
11298
11304
  on_MemberStatusable: number[];
11299
11305
  on_Subscribable: number[];
11306
+ on_TeamReviewRequestable: number[];
11300
11307
  on_Actor: number[];
11301
11308
  on_Agentic: number[];
11302
11309
  on_PackageOwner: number[];
@@ -13464,6 +13471,7 @@ declare const _default: {
13464
13471
  bypassMode: number[];
13465
13472
  deployKey: number[];
13466
13473
  enterpriseOwner: number[];
13474
+ enterpriseRole: number[];
13467
13475
  id: number[];
13468
13476
  organizationAdmin: number[];
13469
13477
  repositoryRoleDatabaseId: number[];
@@ -13489,6 +13497,7 @@ declare const _default: {
13489
13497
  repositoryRoleDatabaseId: number[];
13490
13498
  organizationAdmin: number[];
13491
13499
  enterpriseOwner: number[];
13500
+ enterpriseRole: number[];
13492
13501
  deployKey: number[];
13493
13502
  bypassMode: number[];
13494
13503
  __typename: number[];
@@ -13668,6 +13677,7 @@ declare const _default: {
13668
13677
  on_UniformResourceLocatable: number[];
13669
13678
  on_MemberStatusable: number[];
13670
13679
  on_Subscribable: number[];
13680
+ on_TeamReviewRequestable: number[];
13671
13681
  on_Agentic: number[];
13672
13682
  on_PackageOwner: number[];
13673
13683
  on_ProfileOwner: number[];
@@ -13809,6 +13819,7 @@ declare const _default: {
13809
13819
  on_Node: number[];
13810
13820
  on_MemberStatusable: number[];
13811
13821
  on_Subscribable: number[];
13822
+ on_TeamReviewRequestable: number[];
13812
13823
  on_Actor: number[];
13813
13824
  on_Agentic: number[];
13814
13825
  on_PackageOwner: number[];
@@ -15341,6 +15352,13 @@ declare const _default: {
15341
15352
  };
15342
15353
  TeamRepositoryOrderField: {};
15343
15354
  TeamReviewAssignmentAlgorithm: {};
15355
+ TeamReviewRequestable: {
15356
+ id: number[];
15357
+ name: number[];
15358
+ slug: number[];
15359
+ on_Team: number[];
15360
+ __typename: number[];
15361
+ };
15344
15362
  TeamRole: {};
15345
15363
  TextMatch: {
15346
15364
  fragment: number[];
@@ -17691,6 +17709,7 @@ declare const _default: {
17691
17709
  on_TopicAuditEntryData: number[];
17692
17710
  on_RepositoryInfo: number[];
17693
17711
  on_Migration: number[];
17712
+ on_TeamReviewRequestable: number[];
17694
17713
  on_TeamAuditEntryData: number[];
17695
17714
  on_Agentic: number[];
17696
17715
  __typename: number[];