diff --git a/api/src/commonMain/graphql/com/materiiapps/gloom/gql/schemas/github.schema.graphqls b/api/src/commonMain/graphql/com/materiiapps/gloom/gql/schemas/github.schema.graphqls index 22c5f42..f885cbd 100644 --- a/api/src/commonMain/graphql/com/materiiapps/gloom/gql/schemas/github.schema.graphqls +++ b/api/src/commonMain/graphql/com/materiiapps/gloom/gql/schemas/github.schema.graphqls @@ -818,7 +818,7 @@ type AddMobileDevicePublicKeyPayload { """ The time that the mobile device key expires at """ - expiresAt: DateTime + expiresAt: DateTime @deprecated(reason: "We are deprecating expirations for mobile device keys used in mobile 2FA Do not rely on this field, it is currently set to a date far in the future if a device key is expirationless Removal on 2025-01-01 UTC.") } """ @@ -1677,6 +1677,11 @@ interface AnnouncementBanner { A GitHub App. """ type App implements Node { + """ + The client ID of the app. + """ + clientId: String + """ Identifies the date and time when the object was created. """ @@ -2911,6 +2916,11 @@ type Bot implements Actor & Node & UniformResourceLocatable { """ id: ID! + """ + Whether this bot's parent is a Copilot app + """ + isCopilot: Boolean! + """ The username of the actor. """ @@ -5535,11 +5545,6 @@ type CodeSearchSnippet { List of snippet format types """ enum CodeSearchSnippetType { - """ - Html format - """ - SNIPPET_FORMAT_HTML - """ Invalid format """ @@ -5549,6 +5554,11 @@ enum CodeSearchSnippetType { Plain text format """ SNIPPET_FORMAT_PLAIN_TEXT + + """ + Html format + """ + SNIPPET_FORMAT_HTML } """ @@ -7371,6 +7381,71 @@ type ConvertedToDiscussionEvent implements Node { id: ID! } +""" +Feedback option for a Copilot Code Review comment. +""" +enum CopilotCodeReviewFeedbackOption { + """ + Comment is harmful or unsafe + """ + OFFENSIVE_OR_DISCRIMINATORY + + """ + Comment is poorly formatted + """ + POORLY_FORMATTED + + """ + Comment is not true + """ + INCORRECT + + """ + Comment is not helpful + """ + UNHELPFUL + + """ + Comment is attached to the wrong line(s) + """ + INCORRECT_LINE + + """ + Code suggestion is harmful or unsafe + """ + SUGGESTION_OFFENSIVE_OR_DISCRIMINATORY + + """ + Code suggestion is poorly formatted + """ + SUGGESTION_POORLY_FORMATTED + + """ + Code suggestion does not solve the problem in the comment + """ + SUGGESTION_UNHELPFUL + + """ + Code suggestion is invalid + """ + SUGGESTION_INVALID +} + +""" +Type of feedback for a Copilot Code Review comment. +""" +enum CopilotCodeReviewFeedbackType { + """ + Content created by Copilot was high quality and/or helpful. + """ + POSITIVE + + """ + Content created by Copilot was low quality and/or not helpful + """ + NEGATIVE +} + """ Copilot endpoint information """ @@ -14033,6 +14108,21 @@ input DraftPullRequestReviewThread { body: String! } +""" +The Exploit Prediction Scoring System +""" +type EPSS { + """ + The EPSS percentage represents the likelihood of a CVE being exploited. + """ + percentage: Float + + """ + The EPSS percentile represents the relative rank of the CVE's likelihood of being exploited compared to other CVEs. + """ + percentile: Float +} + """ Autogenerated input type of EnablePullRequestAutoMerge """ @@ -14214,7 +14304,7 @@ type Enterprise implements AnnouncementBanner & Node { field: LOGIN direction: ASC } - , "The role of the user in the enterprise organization or server." role: EnterpriseUserAccountMembershipRole, "Only return members within the selected GitHub Enterprise deployment" deployment: EnterpriseUserDeployment, "Only return members with this two-factor authentication status. Does not include members who only have an account on a GitHub Enterprise Server instance." hasTwoFactorEnabled: Boolean = null, "Returns the elements in the list that come after the specified cursor." after: String, "Returns the elements in the list that come before the specified cursor." before: String, "Returns the first _n_ elements from the list." first: Int, "Returns the last _n_ elements from the list." last: Int): EnterpriseMemberConnection! + , "The role of the user in the enterprise organization or server." role: EnterpriseUserAccountMembershipRole, "Only return members within the selected GitHub Enterprise deployment" deployment: EnterpriseUserDeployment, "Only return members with this two-factor authentication status. Does not include members who only have an account on a GitHub Enterprise Server instance.\n\n**Upcoming Change on 2025-04-01 UTC**\n**Description:** `hasTwoFactorEnabled` will be removed. Use `two_factor_method_security` instead.\n**Reason:** `has_two_factor_enabled` will be removed.\n" hasTwoFactorEnabled: Boolean = null, "Only return members with this type of two-factor authentication method. Does not include members who only have an account on a GitHub Enterprise Server instance." twoFactorMethodSecurity: TwoFactorCredentialSecurityType = null, "Returns the elements in the list that come after the specified cursor." after: String, "Returns the elements in the list that come before the specified cursor." before: String, "Returns the first _n_ elements from the list." first: Int, "Returns the last _n_ elements from the list." last: Int): EnterpriseMemberConnection! """ The name of the enterprise. @@ -14601,6 +14691,21 @@ enum EnterpriseDefaultRepositoryPermissionSettingValue { NONE } +""" +The possible values for an enabled/no policy enterprise setting. +""" +enum EnterpriseDisallowedMethodsSettingValue { + """ + The setting prevents insecure 2FA methods from being used by members of the enterprise. + """ + INSECURE + + """ + There is no policy set for preventing insecure 2FA methods from being used by members of the enterprise. + """ + NO_POLICY +} + """ An edge in a connection. """ @@ -15121,7 +15226,7 @@ type EnterpriseOwnerInfo { field: LOGIN direction: ASC } - , "Only return administrators with this two-factor authentication status." hasTwoFactorEnabled: Boolean = null, "Returns the elements in the list that come after the specified cursor." after: String, "Returns the elements in the list that come before the specified cursor." before: String, "Returns the first _n_ elements from the list." first: Int, "Returns the last _n_ elements from the list." last: Int): EnterpriseAdministratorConnection! + , "Only return administrators with this two-factor authentication status.\n\n**Upcoming Change on 2025-04-01 UTC**\n**Description:** `hasTwoFactorEnabled` will be removed. Use `two_factor_method_security` instead.\n**Reason:** `has_two_factor_enabled` will be removed.\n" hasTwoFactorEnabled: Boolean = null, "Only return outside collaborators with this type of two-factor authentication method." twoFactorMethodSecurity: TwoFactorCredentialSecurityType = null, "Returns the elements in the list that come after the specified cursor." after: String, "Returns the elements in the list that come before the specified cursor." before: String, "Returns the first _n_ elements from the list." first: Int, "Returns the last _n_ elements from the list." last: Int): EnterpriseAdministratorConnection! """ A list of users in the enterprise who currently have two-factor authentication disabled. @@ -15367,7 +15472,7 @@ type EnterpriseOwnerInfo { field: LOGIN direction: ASC } - , "Only return outside collaborators on repositories with this visibility." visibility: RepositoryVisibility, "Only return outside collaborators with this two-factor authentication status." hasTwoFactorEnabled: Boolean = null, "Only return outside collaborators within the organizations with these logins" organizationLogins: [String!], "Returns the elements in the list that come after the specified cursor." after: String, "Returns the elements in the list that come before the specified cursor." before: String, "Returns the first _n_ elements from the list." first: Int, "Returns the last _n_ elements from the list." last: Int): EnterpriseOutsideCollaboratorConnection! + , "Only return outside collaborators on repositories with this visibility." visibility: RepositoryVisibility, "Only return outside collaborators with this two-factor authentication status.\n\n**Upcoming Change on 2025-04-01 UTC**\n**Description:** `hasTwoFactorEnabled` will be removed. Use `two_factor_method_security` instead.\n**Reason:** `has_two_factor_enabled` will be removed.\n" hasTwoFactorEnabled: Boolean = null, "Only return outside collaborators with this type of two-factor authentication method." twoFactorMethodSecurity: TwoFactorCredentialSecurityType = null, "Only return outside collaborators within the organizations with these logins" organizationLogins: [String!], "Returns the elements in the list that come after the specified cursor." after: String, "Returns the elements in the list that come before the specified cursor." before: String, "Returns the first _n_ elements from the list." first: Int, "Returns the last _n_ elements from the list." last: Int): EnterpriseOutsideCollaboratorConnection! """ A list of pending administrator invitations for the enterprise. @@ -15452,6 +15557,11 @@ type EnterpriseOwnerInfo { } ): OrganizationConnection! + """ + The setting value for what methods of two-factor authentication the enterprise prevents its users from having. + """ + twoFactorDisallowedMethodsSetting: EnterpriseDisallowedMethodsSettingValue! + """ The setting value for whether the enterprise requires two-factor authentication for its organizations and users. """ @@ -16920,7 +17030,7 @@ input FileDeletion { } """ -Prevent commits that include files with specified file extensions from being pushed to the commit graph. NOTE: This rule is in beta and subject to change +Prevent commits that include files with specified file extensions from being pushed to the commit graph. """ type FileExtensionRestrictionParameters { """ @@ -16930,7 +17040,7 @@ type FileExtensionRestrictionParameters { } """ -Prevent commits that include files with specified file extensions from being pushed to the commit graph. NOTE: This rule is in beta and subject to change +Prevent commits that include files with specified file extensions from being pushed to the commit graph. """ input FileExtensionRestrictionParametersInput { """ @@ -16960,7 +17070,7 @@ type FileLine { } """ -Prevent commits that include changes in specified file paths from being pushed to the commit graph. NOTE: This rule is in beta and subject to change +Prevent commits that include changes in specified file paths from being pushed to the commit graph. """ type FilePathRestrictionParameters { """ @@ -16970,7 +17080,7 @@ type FilePathRestrictionParameters { } """ -Prevent commits that include changes in specified file paths from being pushed to the commit graph. NOTE: This rule is in beta and subject to change +Prevent commits that include changes in specified file paths from being pushed to the commit graph. """ input FilePathRestrictionParametersInput { """ @@ -19185,6 +19295,11 @@ enum IssueClosedStateReason { An issue that has been closed as not planned """ NOT_PLANNED + + """ + An issue that has been closed as a duplicate + """ + DUPLICATE } """ @@ -19629,6 +19744,11 @@ enum IssueStateReason { An issue that has been closed as completed """ COMPLETED + + """ + An issue that has been closed as a duplicate + """ + DUPLICATE } """ @@ -21746,7 +21866,7 @@ type MarketplaceListingEdge { } """ -Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph. NOTE: This rule is in beta and subject to change +Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph. """ type MaxFilePathLengthParameters { """ @@ -21756,7 +21876,7 @@ type MaxFilePathLengthParameters { } """ -Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph. NOTE: This rule is in beta and subject to change +Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph. """ input MaxFilePathLengthParametersInput { """ @@ -21766,7 +21886,7 @@ input MaxFilePathLengthParametersInput { } """ -Prevent commits that exceed a specified file size limit from being pushed to the commit. NOTE: This rule is in beta and subject to change +Prevent commits that exceed a specified file size limit from being pushed to the commit. """ type MaxFileSizeParameters { """ @@ -21776,7 +21896,7 @@ type MaxFileSizeParameters { } """ -Prevent commits that exceed a specified file size limit from being pushed to the commit. NOTE: This rule is in beta and subject to change +Prevent commits that exceed a specified file size limit from being pushed to the commit. """ input MaxFileSizeParametersInput { """ @@ -23588,6 +23708,11 @@ enum MobileAppElement { """ HOME_IN_APP_UPDATE + """ + The list of notifications a user has i.e. inbox list + """ + NOTIFICATION_LIST + """ A list item in the notification list. """ @@ -23623,6 +23748,16 @@ enum MobileAppElement { """ NOTIFICATION_PUSH + """ + The allow button on the push notification permission request + """ + PUSH_NOTIFICATIONS_PERMISSION_DIALOG_ALLOW + + """ + The deny button on the push notification permission request + """ + PUSH_NOTIFICATIONS_PERMISSION_DIALOG_DENY + """ Used when the focused notification filter explainer sheet is shown to users """ @@ -23828,6 +23963,11 @@ enum MobileAppElement { """ TRIAGE_LINKED_ITEM_EDIT + """ + Triage sheet issue type edit. + """ + TRIAGE_ISSUE_TYPE_EDIT + """ Triage sheet project edit. """ @@ -23923,6 +24063,11 @@ enum MobileAppElement { """ REPOSITORY_EDIT_README + """ + Menu option to pin a shortcut. + """ + PIN_SHORTCUT + """ Option to disable sending analytics data """ @@ -24218,6 +24363,21 @@ enum MobileEventContext { """ UNSUBSCRIBE + """ + The notification list is in focused mode. + """ + FOCUSED + + """ + The notification list is not in focused mode. + """ + NOT_FOCUSED + + """ + The user has interacted with the notifications onboarding experience. + """ + NOTIFICATIONS_ONBOARDING_FLOW + """ The issue or pull request was created by the user. """ @@ -24603,6 +24763,11 @@ enum MobileSubjectType { """ FILTER_ISSUE_STATUS + """ + The subject of the event is an issue type filter. + """ + FILTER_ISSUE_TYPE + """ The subject of the event is an issue viewer filter. """ @@ -25984,6 +26149,11 @@ type Mutation { """ pinIssue("Parameters for PinIssue" input: PinIssueInput!): PinIssuePayload + """ + Provides positive or negative feedback on a Copilot Code Review comment. + """ + provideCopilotCodeReviewFeedback("Parameters for ProvideCopilotCodeReviewFeedback" input: ProvideCopilotCodeReviewFeedbackInput!): ProvideCopilotCodeReviewFeedbackPayload + """ Publish an existing sponsorship tier that is currently still a draft to a GitHub Sponsors profile. """ @@ -26349,6 +26519,11 @@ type Mutation { """ updateEnterpriseDefaultRepositoryPermissionSetting("Parameters for UpdateEnterpriseDefaultRepositoryPermissionSetting" input: UpdateEnterpriseDefaultRepositoryPermissionSettingInput!): UpdateEnterpriseDefaultRepositoryPermissionSettingPayload + """ + Sets whether deploy keys are allowed to be created and used for an enterprise. + """ + updateEnterpriseDeployKeySetting("Parameters for UpdateEnterpriseDeployKeySetting" input: UpdateEnterpriseDeployKeySettingInput!): UpdateEnterpriseDeployKeySettingPayload + """ Sets whether organization members with admin permissions on a repository can change repository visibility. """ @@ -26414,6 +26589,11 @@ type Mutation { """ updateEnterpriseTeamDiscussionsSetting("Parameters for UpdateEnterpriseTeamDiscussionsSetting" input: UpdateEnterpriseTeamDiscussionsSettingInput!): UpdateEnterpriseTeamDiscussionsSettingPayload + """ + Sets the two-factor authentication methods that users of an enterprise may not use. + """ + updateEnterpriseTwoFactorAuthenticationDisallowedMethodsSetting("Parameters for UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSetting" input: UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingInput!): UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingPayload + """ Sets whether two factor authentication is required for all users in an enterprise. """ @@ -31298,12 +31478,12 @@ type Organization implements Actor & AnnouncementBanner & MemberStatusable & Nod """ Returns a single ruleset from the current organization by ID. """ - ruleset("The ID of the ruleset to be returned." databaseId: Int!): RepositoryRuleset + ruleset("The ID of the ruleset to be returned." databaseId: Int!, "Include rulesets configured at higher levels that apply to this organization." includeParents: Boolean = true): RepositoryRuleset """ A list of rulesets for this organization. """ - rulesets("Returns the elements in the list that come after the specified cursor." after: String, "Returns the elements in the list that come before the specified cursor." before: String, "Returns the first _n_ elements from the list." first: Int, "Returns the last _n_ elements from the list." last: Int, "Return rulesets configured at higher levels that apply to this organization" includeParents: Boolean = true): RepositoryRulesetConnection + rulesets("Returns the elements in the list that come after the specified cursor." after: String, "Returns the elements in the list that come before the specified cursor." before: String, "Returns the first _n_ elements from the list." first: Int, "Returns the last _n_ elements from the list." last: Int, "Return rulesets configured at higher levels that apply to this organization" includeParents: Boolean = true, "Return rulesets that apply to the specified target" targets: [RepositoryRulesetTarget!] = null): RepositoryRulesetConnection """ The Organization's SAML identity provider. Visible to (1) organization owners, (2) organization owners' personal access tokens (classic) with read:org or admin:org scope, (3) GitHub App with an installation token with read or write access to members. @@ -35394,7 +35574,7 @@ type ProjectV2 implements Closable & Node & Updatable { """ Identifies the primary key from the database. """ - databaseId: Int + databaseId: Int @deprecated(reason: "`databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2025-04-01 UTC.") """ The default view for the project @@ -35415,6 +35595,11 @@ type ProjectV2 implements Closable & Node & Updatable { } ): ProjectV2FieldConfigurationConnection! + """ + Identifies the primary key from the database as a BigInt. + """ + fullDatabaseId: BigInt + """ The Node ID of the ProjectV2 object """ @@ -36222,7 +36407,7 @@ type ProjectV2Item implements Node { """ Identifies the primary key from the database. """ - databaseId: Int + databaseId: Int @deprecated(reason: "`databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2025-04-01 UTC.") """ The field value of the first project field which matches the 'name' argument that is set on the item. @@ -37409,7 +37594,12 @@ type ProjectV2StatusUpdate implements Node { """ Identifies the primary key from the database. """ - databaseId: Int + databaseId: Int @deprecated(reason: "`databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2025-04-01 UTC.") + + """ + Identifies the primary key from the database as a BigInt. + """ + fullDatabaseId: BigInt """ The Node ID of the ProjectV2StatusUpdate object @@ -37534,7 +37724,7 @@ type ProjectV2View implements Node { """ Identifies the primary key from the database. """ - databaseId: Int + databaseId: Int @deprecated(reason: "`databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2025-04-01 UTC.") """ The view's visible fields. @@ -37550,6 +37740,11 @@ type ProjectV2View implements Node { """ filter: String + """ + Identifies the primary key from the database as a BigInt. + """ + fullDatabaseId: BigInt + """ A single group based on the view's group by. """ @@ -37581,7 +37776,7 @@ type ProjectV2View implements Node { """ Pageable groups of items. """ - groups("Returns the elements in the list that come after the specified cursor." after: String, "Returns the elements in the list that come before the specified cursor." before: String, "Returns the first _n_ elements from the list." first: Int, "Returns the last _n_ elements from the list." last: Int, "If provided, will use to filter view items over the view's saved filter value. If omitted then the view's filter value will be used." query: String): ProjectV2GroupConnection! + groups("Returns the elements in the list that come after the specified cursor." after: String, "Returns the elements in the list that come before the specified cursor." before: String, "Returns the first _n_ elements from the list." first: Int, "Returns the last _n_ elements from the list." last: Int, "If provided, will use to filter view items over the view's saved filter value. If omitted then the view's filter value will be used." query: String, "Filter groups to only those that include items with the given database IDs. Does not return empty groups by default." withItemDatabaseIds: [BigInt!]): ProjectV2GroupConnection! """ The Node ID of the ProjectV2View object @@ -37822,13 +38017,18 @@ type ProjectV2Workflow implements Node { """ Identifies the primary key from the database. """ - databaseId: Int + databaseId: Int @deprecated(reason: "`databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2025-04-01 UTC.") """ Whether the workflow is enabled. """ enabled: Boolean! + """ + Identifies the primary key from the database as a BigInt. + """ + fullDatabaseId: BigInt + """ The Node ID of the ProjectV2Workflow object """ @@ -38110,6 +38310,51 @@ input PropertyTargetDefinitionInput { source: String } +""" +Autogenerated input type of ProvideCopilotCodeReviewFeedback +""" +input ProvideCopilotCodeReviewFeedbackInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + ID of the pull request comment to provide feedback for. + """ + commentId: ID! + + """ + Feedback to provide for the comment. + """ + feedback: CopilotCodeReviewFeedbackType! + + """ + Feedback choice to provide for the comment. + """ + feedbackChoice: [CopilotCodeReviewFeedbackOption!] + + """ + Text response to provide for the comment. + """ + textResponse: String +} + +""" +Autogenerated return type of ProvideCopilotCodeReviewFeedback. +""" +type ProvideCopilotCodeReviewFeedbackPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Comment to which feedback was provided for. + """ + comment: PullRequestReviewComment +} + """ A user's public key. """ @@ -38380,7 +38625,7 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab closedAt: DateTime """ - List of issues that were may be closed by this pull request + List of issues that may be closed by this pull request """ closingIssuesReferences("Return only manually linked Issues" userLinkedOnly: Boolean = false, "Returns the elements in the list that come after the specified cursor." after: String, "Returns the elements in the list that come before the specified cursor." before: String, "Returns the first _n_ elements from the list." first: Int, "Returns the last _n_ elements from the list." last: Int, "Ordering options for issues returned from the connection" orderBy: IssueOrder): IssueConnection @@ -40928,7 +41173,7 @@ enum PushNotificationService { """ The query root of GitHub's GraphQL interface. """ -type Query { +type Query implements Node { """ Look up a code of conduct by its key """ @@ -40979,6 +41224,11 @@ type Query { """ enterpriseSupportContact: SupportContact + """ + ID of the object. + """ + id: ID! + """ Look up an open source license by its key """ @@ -41086,7 +41336,7 @@ type Query { field: UPDATED_AT direction: DESC } - , "Filter advisories by identifier, e.g. GHSA or CVE." identifier: SecurityAdvisoryIdentifierFilter, "Filter advisories to those published since a time in the past." publishedSince: DateTime, "Filter advisories to those updated since a time in the past." updatedSince: DateTime, "A list of classifications to filter advisories by." classifications: [SecurityAdvisoryClassification!], "Returns the elements in the list that come after the specified cursor." after: String, "Returns the elements in the list that come before the specified cursor." before: String, "Returns the first _n_ elements from the list." first: Int, "Returns the last _n_ elements from the list." last: Int): SecurityAdvisoryConnection! + , "Filter advisories by identifier, e.g. GHSA or CVE." identifier: SecurityAdvisoryIdentifierFilter, "Filter advisories to those published since a time in the past." publishedSince: DateTime, "Filter advisories to those updated since a time in the past." updatedSince: DateTime, "A list of classifications to filter advisories by." classifications: [SecurityAdvisoryClassification!], "The EPSS percentage to filter advisories by." epssPercentage: Float, "The EPSS percentile to filter advisories by." epssPercentile: Float, "Returns the elements in the list that come after the specified cursor." after: String, "Returns the elements in the list that come before the specified cursor." before: String, "Returns the first _n_ elements from the list." first: Int, "Returns the last _n_ elements from the list." last: Int): SecurityAdvisoryConnection! """ Fetch a Security Advisory by its GHSA ID @@ -46177,7 +46427,7 @@ type Repository implements MarkdownPreviewable & Node & PackageOwner & ProjectNe """ A list of rulesets for this repository. """ - rulesets("Returns the elements in the list that come after the specified cursor." after: String, "Returns the elements in the list that come before the specified cursor." before: String, "Returns the first _n_ elements from the list." first: Int, "Returns the last _n_ elements from the list." last: Int, "Return rulesets configured at higher levels that apply to this repository" includeParents: Boolean = true): RepositoryRulesetConnection + rulesets("Returns the elements in the list that come after the specified cursor." after: String, "Returns the elements in the list that come before the specified cursor." before: String, "Returns the first _n_ elements from the list." first: Int, "Returns the last _n_ elements from the list." last: Int, "Return rulesets configured at higher levels that apply to this repository" includeParents: Boolean = true, "Return rulesets that apply to the specified target" targets: [RepositoryRulesetTarget!] = null): RepositoryRulesetConnection """ The security policy URL. @@ -48327,22 +48577,22 @@ enum RepositoryRuleType { TAG_NAME_PATTERN """ - Prevent commits that include changes in specified file paths from being pushed to the commit graph. NOTE: This rule is in beta and subject to change + Prevent commits that include changes in specified file paths from being pushed to the commit graph. """ FILE_PATH_RESTRICTION """ - Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph. NOTE: This rule is in beta and subject to change + Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph. """ MAX_FILE_PATH_LENGTH """ - Prevent commits that include files with specified file extensions from being pushed to the commit graph. NOTE: This rule is in beta and subject to change + Prevent commits that include files with specified file extensions from being pushed to the commit graph. """ FILE_EXTENSION_RESTRICTION """ - Prevent commits that exceed a specified file size limit from being pushed to the commit. NOTE: This rule is in beta and subject to change + Prevent commits that exceed a specified file size limit from being pushed to the commit. """ MAX_FILE_SIZE @@ -48446,6 +48696,11 @@ type RepositoryRulesetBypassActor implements Node { """ deployKey: Boolean! + """ + This actor represents the ability for an enterprise owner to bypass + """ + enterpriseOwner: Boolean! + """ The Node ID of the RepositoryRulesetBypassActor object """ @@ -48546,6 +48801,11 @@ input RepositoryRulesetBypassActorInput { """ organizationAdmin: Boolean + """ + For enterprise owner bypasses, true + """ + enterpriseOwner: Boolean + """ For deploy key bypasses, true. Can only use ALWAYS as the bypass mode """ @@ -48598,7 +48858,7 @@ type RepositoryRulesetEdge { } """ -The targets supported for rulesets. NOTE: The push target is in beta and subject to change. +The targets supported for rulesets. """ enum RepositoryRulesetTarget { """ @@ -50193,7 +50453,7 @@ input RuleParametersInput { """ Types which can have `RepositoryRule` objects. """ -union RuleSource = Organization|Repository +union RuleSource = Enterprise|Organization|Repository """ The possible digest algorithms used to sign SAML requests for an identity provider. @@ -51062,7 +51322,7 @@ type SecurityAdvisory implements Node { """ The CVSS associated with this advisory """ - cvss: CVSS! + cvss: CVSS! @deprecated(reason: "`cvss` will be removed. New `cvss_severities` field will now contain both `cvss_v3` and `cvss_v4` properties. Removal on 2025-10-01 UTC.") """ CWEs associated with this Advisory @@ -51079,6 +51339,11 @@ type SecurityAdvisory implements Node { """ description: String! + """ + The Exploit Prediction Scoring System + """ + epss: EPSS + """ The GitHub Security Advisory ID """ @@ -51342,6 +51607,16 @@ enum SecurityAdvisoryOrderField { Order advisories by update time """ UPDATED_AT + + """ + Order advisories by EPSS percentage + """ + EPSS_PERCENTAGE + + """ + Order advisories by EPSS percentile + """ + EPSS_PERCENTILE } """ @@ -51999,6 +52274,11 @@ enum SocialAccountProvider { """ YOUTUBE + """ + Decentralized microblogging social platform. + """ + BLUESKY + """ JavaScript package registry. """ @@ -58030,6 +58310,26 @@ enum TrendingPeriod { MONTHLY } +""" +Filters by whether or not 2FA is enabled and if the method configured is considered secure or insecure. +""" +enum TwoFactorCredentialSecurityType { + """ + Has only secure methods of two-factor authentication. + """ + SECURE + + """ + Has an insecure method of two-factor authentication. GitHub currently defines this as SMS two-factor authentication. + """ + INSECURE + + """ + No method of two-factor authentication. + """ + DISABLED +} + """ An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string. """ @@ -59510,6 +59810,46 @@ type UpdateEnterpriseDefaultRepositoryPermissionSettingPayload { message: String } +""" +Autogenerated input type of UpdateEnterpriseDeployKeySetting +""" +input UpdateEnterpriseDeployKeySettingInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the enterprise on which to set the deploy key setting. + """ + enterpriseId: ID! + + """ + The value for the deploy key setting on the enterprise. + """ + settingValue: EnterpriseEnabledDisabledSettingValue! +} + +""" +Autogenerated return type of UpdateEnterpriseDeployKeySetting. +""" +type UpdateEnterpriseDeployKeySettingPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The enterprise with the updated deploy key setting. + """ + enterprise: Enterprise + + """ + A message confirming the result of updating the deploy key setting. + """ + message: String +} + """ Autogenerated input type of UpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting """ @@ -60060,6 +60400,46 @@ type UpdateEnterpriseTeamDiscussionsSettingPayload { message: String } +""" +Autogenerated input type of UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSetting +""" +input UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the enterprise on which to set the two-factor authentication disallowed methods setting. + """ + enterpriseId: ID! + + """ + The value for the two-factor authentication disallowed methods setting on the enterprise. + """ + settingValue: EnterpriseDisallowedMethodsSettingValue! +} + +""" +Autogenerated return type of UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSetting. +""" +type UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The enterprise with the updated two-factor authentication disallowed methods setting. + """ + enterprise: Enterprise + + """ + A message confirming the result of updating the two-factor authentication disallowed methods setting. + """ + message: String +} + """ Autogenerated input type of UpdateEnterpriseTwoFactorAuthenticationRequiredSetting """ @@ -63030,6 +63410,11 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectNextOwn """ url: URI! + """ + Whether the request returns publicly visible information or privately visible information about the user + """ + userViewType: UserViewType! + """ If the user can access Copilot Workspace """ @@ -63720,6 +64105,21 @@ enum UserStatusOrderField { UPDATED_AT } +""" +Whether a user being viewed contains public or private information. +""" +enum UserViewType { + """ + A user that is publicly visible. + """ + PUBLIC + + """ + A user containing information only visible to the authenticated user. + """ + PRIVATE +} + """ A domain that can be verified or approved for an organization or an enterprise. """