-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMR-10184: Add link to collection if a STAC API is present in the rel…
…ated urls of collection metadata. (#356) * Added documentation for running tests, added implementation and tests for inserting STAC API as rel=items link at the collection level if an appropriate RelatedURL exista * Added browse implementation and tests to provide the appropriate STAC API if a CMR collection has defined one. * Remove console logging * Added comments and used type definitions * Fixed typos * Prettified * Better testing * Update src/routes/browse.ts Co-authored-by: Matthew Crouch <matthew.a.crouch@gmail.com> * Update src/domains/collections.ts Co-authored-by: Matthew Crouch <matthew.a.crouch@gmail.com> * Added linting instructions * Suggested modifications applied * Linting --------- Co-authored-by: doug-newman-nasa <douglas.j.newamn@nasa.gov> Co-authored-by: Matthew Crouch <matthew.a.crouch@gmail.com>
- Loading branch information
1 parent
0590a70
commit 2449123
Showing
6 changed files
with
222 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters