import { Registry } from '@radiantearth/stac-fields'; // For details, please consult // https://github.com/radiantearth/stac-browser/blob/main/docs/metadata.md // ADD ADDITIONAL FIELDS AND EXTENSIONS HERE // Registry.addExtension('radiant', 'Radiant Earth'); // Registry.addMetadataField('radiant:public_access', { // label: "Data Access", // formatter: value => value ? "Public" : "Private" // }); // DEFINE FIELDS TO IGNORE IN METADATA RENDERING /** * Function that can be used to change the ignored fields in the metadata rendering. * * @type {function|null} * @param {STACObject|Object} object The entity for which the metadata is rendered. * @param {string[]} fields The fields ignored by default. * @param {string} type The type of the entity (e.g. `CatalogLike`, `Item`, `Asset`, `Link`, `Provider`). * @returns {string[]} The fields to ignore in the metadata rendering. */ const ignoreMetadata = null; export { ignoreMetadata };