Skip to content

@eodash/eodash / @eodash/stac / BaseItem

Type Alias: BaseItem<Extensions, Link, Asset> ​

An entry in a STAC catalog.

ts
type BaseItem<Extensions, Link, Asset> = GeoJSONFeature & Extensions & object;

Type Declaration ​

assets ​

ts
assets: Record<string, Asset>;

collection? ​

Set only where the item's links carry a collection rel.

ts
optional collection?: string;

id ​

ts
id: string;
ts
links: Link[];

properties ​

ts
properties: CommonMetadata & Record<string, unknown>;

stac_extensions? ​

ts
optional stac_extensions?: string[];

stac_version ​

ts
stac_version: string;

Type Parameters ​

Extensions ​

Extensions = unknown

Link extends BaseLink = BaseLink

Asset ​

Asset extends BaseAsset = BaseAsset