@vertigis/viewer-spec
Version:
VertiGIS Viewer Specification
19 lines (18 loc) • 439 B
TypeScript
/**
* An item in an {@link AppConfig}.
*/
export interface ItemConfig {
/**
* The item's type. See {@link ItemType}.
*/
$type?: string;
/**
* The item's ID. No two items of the same type within an App can have the
* same ID (however, items of different types can have the same ID).
*/
id?: string;
/**
* Type-specific properties of the item.
*/
[properties: string]: unknown;
}