Skip to content

Commit

Permalink
EDSC-3417: Adds cloud_hosted as boolean field to Collection type
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Dufour authored and DanielJDufour committed Jun 15, 2022
1 parent 487a92f commit 1c6a2e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/resolvers/__tests__/collection.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ describe('Collection', () => {
archive_center: 'CONDIMENTUM/TELLUS/PHARETRA',
boxes: [],
browse_flag: true,
cloud_hosted: false,
coordinate_system: 'CARTESIAN',
data_center: 'PORTA',
dataset_id: 'Condimentum Quam Mattis Cursus Pharetra',
Expand Down Expand Up @@ -245,6 +246,7 @@ describe('Collection', () => {
associatedDois
boxes
browseFlag
cloudHosted
collectionCitations
collectionProgress
conceptId
Expand Down Expand Up @@ -370,6 +372,7 @@ describe('Collection', () => {
}],
boxes: [],
browseFlag: true,
cloudHosted: false,
collectionCitations: [],
collectionProgress: 'ACTIVE',
conceptId: 'C100000-EDSC',
Expand Down
2 changes: 2 additions & 0 deletions src/types/collection.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ type Collection {
boxes: [String]
"True if the metadata contains browse imagery."
browseFlag: Boolean
"Data hosted in the cloud."
cloudHosted: Boolean
"The unique concept id assigned to the collection."
conceptId: String!
"Information required to properly cite the collection in professional scientific literature."
Expand Down

0 comments on commit 1c6a2e0

Please sign in to comment.