Skip to content

Commit

Permalink
Better naming
Browse files Browse the repository at this point in the history
  • Loading branch information
dorneanu committed Aug 21, 2024
1 parent 9893afa commit 7b5e9ee
Show file tree
Hide file tree
Showing 7 changed files with 124 additions and 137 deletions.
228 changes: 102 additions & 126 deletions scanner/nvd/client/generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions scanner/nvd/client/queries/issue_create.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# SPDX-License-Identifier: Apache-2.0

mutation CreateIssue ($input: IssueInput!) {
# @genqlient(typename: Issue)
createIssue (
input: $input
) {
Expand Down
1 change: 1 addition & 0 deletions scanner/nvd/client/queries/issuerepository_create.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# SPDX-License-Identifier: Apache-2.0

mutation CreateIssueRepository ($input: IssueRepositoryInput!) {
# @genqlient(typename: IssueRepository)
createIssueRepository (
input: $input
) {
Expand Down
4 changes: 4 additions & 0 deletions scanner/nvd/client/queries/issuerepository_query.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@
# SPDX-License-Identifier: Apache-2.0

query GetIssueRepositories ($filter: IssueRepositoryFilter) {
# @genqlient(typename: IssueRepositoryConnection)
IssueRepositories (
filter: $filter,
) {
totalCount
edges {
# @genqlient(typename: IssueRepository)
node {
id
name
url
}
}
}
Expand Down
5 changes: 5 additions & 0 deletions scanner/nvd/client/queries/issues_query.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,18 @@
# SPDX-License-Identifier: Apache-2.0

query GetIssues ($filter: IssueFilter) {
# @genqlient(typename: IssueConnection)
Issues (
filter: $filter,
) {
totalCount
edges {
# @genqlient(typename: Issue)
node {
id
primaryName
description
type
}
}
}
Expand Down
1 change: 1 addition & 0 deletions scanner/nvd/client/queries/issuevariant_create.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# SPDX-License-Identifier: Apache-2.0

mutation CreateIssueVariant ($input: IssueVariantInput!) {
# @genqlient(typename: IssueVariant)
createIssueVariant (
input: $input
) {
Expand Down
Loading

0 comments on commit 7b5e9ee

Please sign in to comment.