Skip to content

Commit

Permalink
Merge pull request github#25029 from github/graphql-schema-update
Browse files Browse the repository at this point in the history
GraphQL schema update
  • Loading branch information
docubot authored Feb 16, 2022
2 parents eb6c09e + dd5830e commit f3f12f7
Show file tree
Hide file tree
Showing 10 changed files with 1,765 additions and 11 deletions.
119 changes: 118 additions & 1 deletion data/graphql/ghae/schema.docs-ghae.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -14388,11 +14388,18 @@ input IssueFilters {

"""
List issues by given milestone argument. If an string representation of an
integer is passed, it should refer to a milestone by its number field. Pass in
integer is passed, it should refer to a milestone by its database ID. Pass in
`null` for issues with no milestone, and `*` for issues that are assigned to any milestone.
"""
milestone: String

"""
List issues by given milestone argument. If an string representation of an
integer is passed, it should refer to a milestone by its number field. Pass in
`null` for issues with no milestone, and `*` for issues that are assigned to any milestone.
"""
milestoneNumber: String

"""
List issues that have been updated at or after the given date.
"""
Expand Down Expand Up @@ -24708,6 +24715,11 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
Ordering options for issues returned from the connection
"""
orderBy: IssueOrder

"""
Return only manually linked Issues
"""
userLinkedOnly: Boolean = false
): IssueConnection

"""
Expand Down Expand Up @@ -31581,6 +31593,16 @@ type Repository implements Node & ProjectOwner & RepositoryInfo & Starrable & Su
"""
codeOfConduct: CodeOfConduct

"""
Information extracted from the repository's `CODEOWNERS` file.
"""
codeowners(
"""
The ref name used to return the associated `CODEOWNERS` file.
"""
refName: String
): RepositoryCodeowners

"""
A list of collaborators associated with the repository.
"""
Expand Down Expand Up @@ -32796,6 +32818,11 @@ type Repository implements Node & ProjectOwner & RepositoryInfo & Starrable & Su
Returns the last _n_ elements from the list.
"""
last: Int

"""
Filter by the state of the alert
"""
states: [RepositoryVulnerabilityAlertState!]
): RepositoryVulnerabilityAlertConnection

"""
Expand Down Expand Up @@ -32870,6 +32897,56 @@ interface RepositoryAuditEntryData {
repositoryUrl: URI
}

"""
Information extracted from a repository's `CODEOWNERS` file.
"""
type RepositoryCodeowners {
"""
Any problems that were encountered while parsing the `CODEOWNERS` file.
"""
errors: [RepositoryCodeownersError!]!
}

"""
An error in a `CODEOWNERS` file.
"""
type RepositoryCodeownersError {
"""
The column number where the error occurs.
"""
column: Int!

"""
A short string describing the type of error.
"""
kind: String!

"""
The line number where the error occurs.
"""
line: Int!

"""
A complete description of the error, combining information from other fields.
"""
message: String!

"""
The path to the file when the error occurs.
"""
path: String!

"""
The content of the line where the error occurs.
"""
source: String!

"""
A suggestion of how to fix the error.
"""
suggestion: String
}

"""
The connection type for User.
"""
Expand Down Expand Up @@ -34030,8 +34107,23 @@ type RepositoryVulnerabilityAlert implements Node & RepositoryNode {
The user who dismissed the alert
"""
dismisser: User

"""
The reason the alert was marked as fixed.
"""
fixReason: String

"""
When was the alert fixed?
"""
fixedAt: DateTime
id: ID!

"""
Identifies the alert number.
"""
number: Int!

"""
The associated repository
"""
Expand All @@ -34047,6 +34139,11 @@ type RepositoryVulnerabilityAlert implements Node & RepositoryNode {
"""
securityVulnerability: SecurityVulnerability

"""
Identifies the state of the alert.
"""
state: RepositoryVulnerabilityAlertState!

"""
The vulnerable manifest filename
"""
Expand Down Expand Up @@ -34103,6 +34200,26 @@ type RepositoryVulnerabilityAlertEdge {
node: RepositoryVulnerabilityAlert
}

"""
The possible states of an alert
"""
enum RepositoryVulnerabilityAlertState {
"""
An alert that has been manually closed by a user.
"""
DISMISSED

"""
An alert that has been resolved by a code change.
"""
FIXED

"""
An alert that is still open.
"""
OPEN
}

"""
Autogenerated input type of RequestReviews
"""
Expand Down
Loading

0 comments on commit f3f12f7

Please sign in to comment.