Skip to content

Documentation / @expofp/schema / RawPoiType

Type Alias: RawPoiType ​

ts
type RawPoiType = object;

A point-of-interest type — an entry in the config's poiTypes list. parentId nests them into a shallow tree.

Type Declaration ​

Index Signature ​

ts
[key: string]: unknown

iconUrl? ​

ts
optional iconUrl?: string;

Icon shown for this type; overrides the built-in glyph. A resource like the event logo, and optional like it too: serialization (offline copies, normalized folders) copies the file best-effort and drops the field when it is missing — the built-in glyph is the fallback either way.

id ​

ts
id: number;

name ​

ts
name: string;

parentId? ​

ts
optional parentId?: number;