@minmaps-dev/mm-web-sdk 1.0.0-rc.52 → 1.0.0-rc.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +127 -5
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.ts +9 -1
- package/dist/react.js +1 -1
- package/dist/react.js.map +1 -1
- package/package.json +1 -1
- package/src/themes/alt3-hybrid-style.json +10 -13
package/dist/react.d.ts
CHANGED
|
@@ -47,6 +47,10 @@ interface POI {
|
|
|
47
47
|
* type-level name shared by every instance — see `Amenity.name`. Amenities
|
|
48
48
|
* only, and only set when JACS actually returned an instance name. */
|
|
49
49
|
instanceName?: string;
|
|
50
|
+
/** The instance flags set to Yes on this placement (`mm_baby_changing`,
|
|
51
|
+
* `mm_wheelchair_accessible`), in `INSTANCE_FLAG_KEYS` order. Amenities
|
|
52
|
+
* only; absent when none. Drives the flag bubble on the map pin. */
|
|
53
|
+
instanceFlags?: string[];
|
|
50
54
|
}
|
|
51
55
|
/**
|
|
52
56
|
* Waypoint - a specific point location
|
|
@@ -68,10 +72,14 @@ interface Waypoint {
|
|
|
68
72
|
* "Parking" amenity placed twice as "Parking Lot A" / "Parking Lot B").
|
|
69
73
|
* `id` matches an `Amenity.id`, not this waypoint — a waypoint can carry
|
|
70
74
|
* more than one amenity, so a consumer must find the entry for the
|
|
71
|
-
* specific amenity it's rendering rather than assuming index 0.
|
|
75
|
+
* specific amenity it's rendering rather than assuming index 0.
|
|
76
|
+
* `extensors` are per-instance flags (e.g. baby changing at this one
|
|
77
|
+
* restroom), layered over the amenity's own `extensors`; omitted when the
|
|
78
|
+
* instance has none. */
|
|
72
79
|
amenityAssociations?: Array<{
|
|
73
80
|
id: string | number;
|
|
74
81
|
name: string;
|
|
82
|
+
extensors?: Record<string, string>;
|
|
75
83
|
}>;
|
|
76
84
|
}
|
|
77
85
|
|