1
0
mirror of synced 2026-01-05 12:07:35 -05:00

Merge pull request #28791 from github/graphql-schema-update

GraphQL schema update
This commit is contained in:
docubot
2022-06-29 18:51:33 +02:00
committed by GitHub
8 changed files with 226 additions and 3 deletions

View File

@@ -32997,6 +32997,11 @@ type Repository implements Node & ProjectOwner & RepositoryInfo & Starrable & Su
"""
before: String
"""
Filter by the scope of the alert's dependency
"""
dependencyScopes: [RepositoryVulnerabilityAlertDependencyScope!]
"""
Returns the first _n_ elements from the list.
"""
@@ -34288,6 +34293,11 @@ type RepositoryVulnerabilityAlert implements Node & RepositoryNode {
"""
dependabotUpdate: DependabotUpdate
"""
The scope of an alert's dependency
"""
dependencyScope: RepositoryVulnerabilityAlertDependencyScope
"""
The reason the alert was dismissed
"""
@@ -34383,6 +34393,21 @@ type RepositoryVulnerabilityAlertConnection {
totalCount: Int!
}
"""
The possible scopes of an alert's dependency.
"""
enum RepositoryVulnerabilityAlertDependencyScope {
"""
A dependency that is only used in development
"""
DEVELOPMENT
"""
A dependency that is leveraged during application runtime
"""
RUNTIME
}
"""
An edge in a connection.
"""
@@ -35479,6 +35504,11 @@ enum SecurityAdvisoryEcosystem {
"""
COMPOSER
"""
Erlang/Elixir packages hosted at hex.pm
"""
ERLANG
"""
Go modules
"""

View File

@@ -40277,6 +40277,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
"""
before: String
"""
Filter by the scope of the alert's dependency
"""
dependencyScopes: [RepositoryVulnerabilityAlertDependencyScope!]
"""
Returns the first _n_ elements from the list.
"""
@@ -41658,6 +41663,11 @@ type RepositoryVulnerabilityAlert implements Node & RepositoryNode {
"""
dependabotUpdate: DependabotUpdate
"""
The scope of an alert's dependency
"""
dependencyScope: RepositoryVulnerabilityAlertDependencyScope
"""
The reason the alert was dismissed
"""
@@ -41753,6 +41763,21 @@ type RepositoryVulnerabilityAlertConnection {
totalCount: Int!
}
"""
The possible scopes of an alert's dependency.
"""
enum RepositoryVulnerabilityAlertDependencyScope {
"""
A dependency that is only used in development
"""
DEVELOPMENT
"""
A dependency that is leveraged during application runtime
"""
RUNTIME
}
"""
An edge in a connection.
"""
@@ -42894,6 +42919,11 @@ enum SecurityAdvisoryEcosystem {
"""
COMPOSER
"""
Erlang/Elixir packages hosted at hex.pm
"""
ERLANG
"""
Go modules
"""

View File

@@ -40277,6 +40277,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
"""
before: String
"""
Filter by the scope of the alert's dependency
"""
dependencyScopes: [RepositoryVulnerabilityAlertDependencyScope!]
"""
Returns the first _n_ elements from the list.
"""
@@ -41658,6 +41663,11 @@ type RepositoryVulnerabilityAlert implements Node & RepositoryNode {
"""
dependabotUpdate: DependabotUpdate
"""
The scope of an alert's dependency
"""
dependencyScope: RepositoryVulnerabilityAlertDependencyScope
"""
The reason the alert was dismissed
"""
@@ -41753,6 +41763,21 @@ type RepositoryVulnerabilityAlertConnection {
totalCount: Int!
}
"""
The possible scopes of an alert's dependency.
"""
enum RepositoryVulnerabilityAlertDependencyScope {
"""
A dependency that is only used in development
"""
DEVELOPMENT
"""
A dependency that is leveraged during application runtime
"""
RUNTIME
}
"""
An edge in a connection.
"""
@@ -42894,6 +42919,11 @@ enum SecurityAdvisoryEcosystem {
"""
COMPOSER
"""
Erlang/Elixir packages hosted at hex.pm
"""
ERLANG
"""
Go modules
"""

View File

@@ -1,4 +1,20 @@
[
{
"schemaChanges": [
{
"title": "The GraphQL schema includes these changes:",
"changes": [
"Type `RepositoryVulnerabilityAlertDependencyScope` was added",
"Argument 'dependencyScopes: [RepositoryVulnerabilityAlertDependencyScope!]` added to field `Repository.vulnerabilityAlerts'",
"Field `dependencyScope` was added to object type `RepositoryVulnerabilityAlert`",
"Enum value `ERLANG` was added to enum `SecurityAdvisoryEcosystem`"
]
}
],
"previewChanges": [],
"upcomingChanges": [],
"date": "2022-06-29"
},
{
"schemaChanges": [
{

File diff suppressed because one or more lines are too long

View File

@@ -57084,6 +57084,16 @@
"href": "/graphql/reference/scalars#string"
}
},
{
"name": "dependencyScopes",
"description": "<p>Filter by the scope of the alert's dependency.</p>",
"type": {
"name": "[RepositoryVulnerabilityAlertDependencyScope!]",
"id": "repositoryvulnerabilityalertdependencyscope",
"kind": "enums",
"href": "/graphql/reference/enums#repositoryvulnerabilityalertdependencyscope"
}
},
{
"name": "first",
"description": "<p>Returns the first <em>n</em> elements from the list.</p>",
@@ -58273,6 +58283,14 @@
"kind": "objects",
"href": "/graphql/reference/objects#dependabotupdate"
},
{
"name": "dependencyScope",
"description": "<p>The scope of an alert's dependency.</p>",
"type": "RepositoryVulnerabilityAlertDependencyScope",
"id": "repositoryvulnerabilityalertdependencyscope",
"kind": "enums",
"href": "/graphql/reference/enums#repositoryvulnerabilityalertdependencyscope"
},
{
"name": "dismissReason",
"description": "<p>The reason the alert was dismissed.</p>",
@@ -76752,6 +76770,23 @@
}
]
},
{
"name": "RepositoryVulnerabilityAlertDependencyScope",
"kind": "enums",
"id": "repositoryvulnerabilityalertdependencyscope",
"href": "/graphql/reference/enums#repositoryvulnerabilityalertdependencyscope",
"description": "<p>The possible scopes of an alert's dependency.</p>",
"values": [
{
"name": "DEVELOPMENT",
"description": "<p>A dependency that is only used in development.</p>"
},
{
"name": "RUNTIME",
"description": "<p>A dependency that is leveraged during application runtime.</p>"
}
]
},
{
"name": "RepositoryVulnerabilityAlertState",
"kind": "enums",
@@ -76939,6 +76974,10 @@
"name": "COMPOSER",
"description": "<p>PHP packages hosted at packagist.org.</p>"
},
{
"name": "ERLANG",
"description": "<p>Erlang/Elixir packages hosted at hex.pm.</p>"
},
{
"name": "GO",
"description": "<p>Go modules.</p>"

View File

@@ -47018,6 +47018,16 @@
"href": "/graphql/reference/scalars#string"
}
},
{
"name": "dependencyScopes",
"description": "<p>Filter by the scope of the alert's dependency.</p>",
"type": {
"name": "[RepositoryVulnerabilityAlertDependencyScope!]",
"id": "repositoryvulnerabilityalertdependencyscope",
"kind": "enums",
"href": "/graphql/reference/enums#repositoryvulnerabilityalertdependencyscope"
}
},
{
"name": "first",
"description": "<p>Returns the first <em>n</em> elements from the list.</p>",
@@ -48174,6 +48184,14 @@
"kind": "objects",
"href": "/graphql/reference/objects#dependabotupdate"
},
{
"name": "dependencyScope",
"description": "<p>The scope of an alert's dependency.</p>",
"type": "RepositoryVulnerabilityAlertDependencyScope",
"id": "repositoryvulnerabilityalertdependencyscope",
"kind": "enums",
"href": "/graphql/reference/enums#repositoryvulnerabilityalertdependencyscope"
},
{
"name": "dismissReason",
"description": "<p>The reason the alert was dismissed.</p>",
@@ -62856,6 +62874,23 @@
}
]
},
{
"name": "RepositoryVulnerabilityAlertDependencyScope",
"kind": "enums",
"id": "repositoryvulnerabilityalertdependencyscope",
"href": "/graphql/reference/enums#repositoryvulnerabilityalertdependencyscope",
"description": "<p>The possible scopes of an alert's dependency.</p>",
"values": [
{
"name": "DEVELOPMENT",
"description": "<p>A dependency that is only used in development.</p>"
},
{
"name": "RUNTIME",
"description": "<p>A dependency that is leveraged during application runtime.</p>"
}
]
},
{
"name": "RepositoryVulnerabilityAlertState",
"kind": "enums",
@@ -63043,6 +63078,10 @@
"name": "COMPOSER",
"description": "<p>PHP packages hosted at packagist.org.</p>"
},
{
"name": "ERLANG",
"description": "<p>Erlang/Elixir packages hosted at hex.pm.</p>"
},
{
"name": "GO",
"description": "<p>Go modules.</p>"

View File

@@ -57084,6 +57084,16 @@
"href": "/graphql/reference/scalars#string"
}
},
{
"name": "dependencyScopes",
"description": "<p>Filter by the scope of the alert's dependency.</p>",
"type": {
"name": "[RepositoryVulnerabilityAlertDependencyScope!]",
"id": "repositoryvulnerabilityalertdependencyscope",
"kind": "enums",
"href": "/graphql/reference/enums#repositoryvulnerabilityalertdependencyscope"
}
},
{
"name": "first",
"description": "<p>Returns the first <em>n</em> elements from the list.</p>",
@@ -58273,6 +58283,14 @@
"kind": "objects",
"href": "/graphql/reference/objects#dependabotupdate"
},
{
"name": "dependencyScope",
"description": "<p>The scope of an alert's dependency.</p>",
"type": "RepositoryVulnerabilityAlertDependencyScope",
"id": "repositoryvulnerabilityalertdependencyscope",
"kind": "enums",
"href": "/graphql/reference/enums#repositoryvulnerabilityalertdependencyscope"
},
{
"name": "dismissReason",
"description": "<p>The reason the alert was dismissed.</p>",
@@ -76752,6 +76770,23 @@
}
]
},
{
"name": "RepositoryVulnerabilityAlertDependencyScope",
"kind": "enums",
"id": "repositoryvulnerabilityalertdependencyscope",
"href": "/graphql/reference/enums#repositoryvulnerabilityalertdependencyscope",
"description": "<p>The possible scopes of an alert's dependency.</p>",
"values": [
{
"name": "DEVELOPMENT",
"description": "<p>A dependency that is only used in development.</p>"
},
{
"name": "RUNTIME",
"description": "<p>A dependency that is leveraged during application runtime.</p>"
}
]
},
{
"name": "RepositoryVulnerabilityAlertState",
"kind": "enums",
@@ -76939,6 +76974,10 @@
"name": "COMPOSER",
"description": "<p>PHP packages hosted at packagist.org.</p>"
},
{
"name": "ERLANG",
"description": "<p>Erlang/Elixir packages hosted at hex.pm.</p>"
},
{
"name": "GO",
"description": "<p>Go modules.</p>"