diff --git a/pkg/assembler/clients/generated/operations.go b/pkg/assembler/clients/generated/operations.go index b4eed577ec..bbc5e0a5ac 100644 --- a/pkg/assembler/clients/generated/operations.go +++ b/pkg/assembler/clients/generated/operations.go @@ -21425,6 +21425,9 @@ const ( // that level. For example, to get all packages in GUAC backend, use a PkgSpec // where every field is null. // +// The id field can be used to match on a specific node in the trie to match packageTypeID, +// packageNamespaceID, packageNameID, or packageVersionID. +// // Empty string at a field means matching with the empty string. If passing in // qualifiers, all of the values in the list must match. Since we want to return // nodes with any number of qualifiers if no qualifiers are passed in the input, diff --git a/pkg/assembler/graphql/generated/root_.generated.go b/pkg/assembler/graphql/generated/root_.generated.go index 2cc44789f1..3d0fe27deb 100644 --- a/pkg/assembler/graphql/generated/root_.generated.go +++ b/pkg/assembler/graphql/generated/root_.generated.go @@ -4752,6 +4752,9 @@ Each field matches a qualifier from pURL. Use null to match on all values at that level. For example, to get all packages in GUAC backend, use a PkgSpec where every field is null. +The id field can be used to match on a specific node in the trie to match packageTypeID, +packageNamespaceID, packageNameID, or packageVersionID. + Empty string at a field means matching with the empty string. If passing in qualifiers, all of the values in the list must match. Since we want to return nodes with any number of qualifiers if no qualifiers are passed in the input, diff --git a/pkg/assembler/graphql/model/nodes.go b/pkg/assembler/graphql/model/nodes.go index 44e9dbb4c3..2e7649ac2b 100644 --- a/pkg/assembler/graphql/model/nodes.go +++ b/pkg/assembler/graphql/model/nodes.go @@ -991,6 +991,9 @@ type PkgInputSpec struct { // that level. For example, to get all packages in GUAC backend, use a PkgSpec // where every field is null. // +// The id field can be used to match on a specific node in the trie to match packageTypeID, +// packageNamespaceID, packageNameID, or packageVersionID. +// // Empty string at a field means matching with the empty string. If passing in // qualifiers, all of the values in the list must match. Since we want to return // nodes with any number of qualifiers if no qualifiers are passed in the input, diff --git a/pkg/assembler/graphql/schema/package.graphql b/pkg/assembler/graphql/schema/package.graphql index 05d2470982..96934bb6c8 100644 --- a/pkg/assembler/graphql/schema/package.graphql +++ b/pkg/assembler/graphql/schema/package.graphql @@ -133,6 +133,9 @@ Each field matches a qualifier from pURL. Use null to match on all values at that level. For example, to get all packages in GUAC backend, use a PkgSpec where every field is null. +The id field can be used to match on a specific node in the trie to match packageTypeID, +packageNamespaceID, packageNameID, or packageVersionID. + Empty string at a field means matching with the empty string. If passing in qualifiers, all of the values in the list must match. Since we want to return nodes with any number of qualifiers if no qualifiers are passed in the input,