Skip to content

Commit

Permalink
GQL-91: Added "standardProduct" to schema (#142)
Browse files Browse the repository at this point in the history
* EDSC-4306: Added "standardProduct" as a valid param for collection queries.

* EDSC-4306: fixed up the way we put in standard_product to make sure the query is made with the param correctly.

* Update collection.js
  • Loading branch information
bnp26 authored Nov 13, 2024
1 parent 8f7da17 commit c3cf318
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cmr/concepts/collection.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ export default class Collection extends Concept {
'service_type',
'short_name',
'spatial_keyword',
'standard_product',
'tag_key',
'temporal',
'tool_concept_id',
Expand Down Expand Up @@ -147,6 +148,7 @@ export default class Collection extends Concept {
'service_type',
'short_name',
'spatial_keyword',
'standard_product',
'tag_key',
'temporal',
'tool_concept_id',
Expand Down
3 changes: 3 additions & 0 deletions src/types/collection.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,9 @@ input CollectionsInput {
"Keywords relating to spatial aspects of the collection."
spatialKeyword: String

"Boolean to query for collections in the Standard Product portal"
standardProduct: Boolean

"Tags associated with the collection."
tagKey: [String]

Expand Down

0 comments on commit c3cf318

Please sign in to comment.