venue-js 1.4.0-next.2 → 1.4.0-next.3
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.d.mts +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -102,6 +102,7 @@ type AmenityProperties = EntityTimestamps & {
|
|
|
102
102
|
style: unknown;
|
|
103
103
|
unit_ids: Id[];
|
|
104
104
|
venue_id: Id;
|
|
105
|
+
hours: string | null;
|
|
105
106
|
};
|
|
106
107
|
type AmenityFeature = ImdfFeature<AmenityGeometry, AmenityProperties> & {
|
|
107
108
|
feature_type: "amenity";
|
|
@@ -456,9 +457,13 @@ type AmenityFeaturePopulated = AmenityFeature & {
|
|
|
456
457
|
*/
|
|
457
458
|
units: UnitFeaturePopulated[];
|
|
458
459
|
/**
|
|
459
|
-
* [venue.in.th] Venue that
|
|
460
|
+
* [venue.in.th] Venue that amenity is in
|
|
460
461
|
*/
|
|
461
462
|
venue: VenueFeaturePopulated;
|
|
463
|
+
/**
|
|
464
|
+
* [IMDF] Level that amenity is on
|
|
465
|
+
*/
|
|
466
|
+
level: LevelFeaturePopulated;
|
|
462
467
|
/**
|
|
463
468
|
* [Derived] From units[0] --> level's ordinal
|
|
464
469
|
* This is added during feature enrichment and not part of the original IMDF dataset.
|
package/dist/index.d.ts
CHANGED
|
@@ -102,6 +102,7 @@ type AmenityProperties = EntityTimestamps & {
|
|
|
102
102
|
style: unknown;
|
|
103
103
|
unit_ids: Id[];
|
|
104
104
|
venue_id: Id;
|
|
105
|
+
hours: string | null;
|
|
105
106
|
};
|
|
106
107
|
type AmenityFeature = ImdfFeature<AmenityGeometry, AmenityProperties> & {
|
|
107
108
|
feature_type: "amenity";
|
|
@@ -456,9 +457,13 @@ type AmenityFeaturePopulated = AmenityFeature & {
|
|
|
456
457
|
*/
|
|
457
458
|
units: UnitFeaturePopulated[];
|
|
458
459
|
/**
|
|
459
|
-
* [venue.in.th] Venue that
|
|
460
|
+
* [venue.in.th] Venue that amenity is in
|
|
460
461
|
*/
|
|
461
462
|
venue: VenueFeaturePopulated;
|
|
463
|
+
/**
|
|
464
|
+
* [IMDF] Level that amenity is on
|
|
465
|
+
*/
|
|
466
|
+
level: LevelFeaturePopulated;
|
|
462
467
|
/**
|
|
463
468
|
* [Derived] From units[0] --> level's ordinal
|
|
464
469
|
* This is added during feature enrichment and not part of the original IMDF dataset.
|
package/dist/index.js
CHANGED
|
@@ -447,6 +447,7 @@ var createPopulator = ({
|
|
|
447
447
|
...amenity.properties,
|
|
448
448
|
ordinal: defaultLevel.properties.ordinal,
|
|
449
449
|
level_name: defaultLevel.properties.name.en,
|
|
450
|
+
level: defaultLevel,
|
|
450
451
|
units: populatedUnits,
|
|
451
452
|
venue,
|
|
452
453
|
_experimental_kiosk: kiosk ? await populateKiosk(kiosk) : null
|