@mappedin/mappedin-js 5.7.0 → 5.8.0

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.
@@ -49,9 +49,9 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue' {
49
49
  export type { TMappedinCoordinateOptions } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/MappedinCoordinate';
50
50
  export type { TDirectionToOptions } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/MappedinNavigatable';
51
51
  export { OfflineSearch } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/Mappedin.OfflineSearch';
52
- export type { TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineAllSearchMatch, TMappedinOfflineSearchAllOptions } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/Mappedin.OfflineSearch';
52
+ export type { TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineAllSearchMatch, TMappedinOfflineSearchAllOptions, } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/Mappedin.OfflineSearch';
53
53
  /** API data types */
54
- export type { TLocationType, TNode, TImage, TLogo, TGalleryImage, TPhone, TSocial, TColor, TVortex, TPicture, TOpeningHours, TSiblingGroup, TState, TCategory, TEvent, TGeoReference, TMap, TMapGroup, TBuilding, TLocation, TPolygon, TPolygonRanking, TVenue, TMappedinAPI } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/Mappedin.API.types';
54
+ export type { TLocationType, TNode, TImage, TLogo, TGalleryImage, TPhone, TSocial, TColor, TVortex, TPicture, TOpeningHours, TSiblingGroup, TState, TCategory, TEvent, TGeoReference, TMap, TMapGroup, TBuilding, TLocation, TPolygon, TPolygonRanking, TVenue, TMappedinAPI, } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/Mappedin.API.types';
55
55
  export type { TGetVenueOptions } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/Mappedin.types';
56
56
  import { MAP_RENDER_MODE } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/Mappedin.types';
57
57
  export type TShowVenueOptions = {
@@ -454,7 +454,7 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/Mappedin' {
454
454
  * @param mappedinSerializableData Mappedin data that was serialized or exported as JSON
455
455
  * @param shouldPopulateBundledImagesAsBlobs Takes the scenes and images from a bundle and maps them as blobs to where they exist as URLs in the bundle. False by default
456
456
  */
457
- hydrate(mappedinSerializableData: string | object, shouldPopulateBundledImagesAsBlobs?: boolean): Promise<undefined>;
457
+ hydrate(mappedinSerializableData: string | Record<string, unknown>, shouldPopulateBundledImagesAsBlobs?: boolean): Promise<undefined>;
458
458
  images: any;
459
459
  imageBinaries?: Map<string, Uint8Array>;
460
460
  scenes: any;
@@ -2194,9 +2194,9 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/get-venue' {
2194
2194
  export type { TMappedinCoordinateOptions } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/MappedinCoordinate';
2195
2195
  export type { TDirectionToOptions } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/MappedinNavigatable';
2196
2196
  export { OfflineSearch } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/Mappedin.OfflineSearch';
2197
- export type { TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineAllSearchMatch, TMappedinOfflineSearchAllOptions } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/Mappedin.OfflineSearch';
2197
+ export type { TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineAllSearchMatch, TMappedinOfflineSearchAllOptions, } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/Mappedin.OfflineSearch';
2198
2198
  /** API data types */
2199
- export type { TLocationType, TNode, TImage, TLogo, TGalleryImage, TPhone, TSocial, TColor, TVortex, TPicture, TOpeningHours, TSiblingGroup, TState, TCategory, TEvent, TGeoReference, TMap, TMapGroup, TBuilding, TLocation, TPolygon, TPolygonRanking, TVenue, TMappedinAPI } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/Mappedin.API.types';
2199
+ export type { TLocationType, TNode, TImage, TLogo, TGalleryImage, TPhone, TSocial, TColor, TVortex, TPicture, TOpeningHours, TSiblingGroup, TState, TCategory, TEvent, TGeoReference, TMap, TMapGroup, TBuilding, TLocation, TPolygon, TPolygonRanking, TVenue, TMappedinAPI, } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/Mappedin.API.types';
2200
2200
  export type { TGetVenueOptions } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/Mappedin.types';
2201
2201
  import { MAP_RENDER_MODE } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/Mappedin.types';
2202
2202
  export type TShowVenueOptions = {
@@ -2351,7 +2351,7 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/navigator/Directive' {
2351
2351
  atLocation?: ILocation;
2352
2352
  type?: BEARING_TYPE;
2353
2353
  distance: number;
2354
- constructor({ origin, action, distance, atLocation, instruction }: {
2354
+ constructor({ origin, action, distance, atLocation, instruction, }: {
2355
2355
  origin?: INode;
2356
2356
  action?: IAction;
2357
2357
  distance?: number;
@@ -2379,7 +2379,7 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/navigator/NavigationGrap
2379
2379
  mapsById: {
2380
2380
  [propName: string]: IMap;
2381
2381
  };
2382
- constructor({ nodes, vortexes, maps, showVortexNames }: {
2382
+ constructor({ nodes, vortexes, maps, showVortexNames, }: {
2383
2383
  nodes: INode[];
2384
2384
  vortexes: IVortex[];
2385
2385
  maps: IMap[];
@@ -2418,7 +2418,7 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/navigator/Navigator' {
2418
2418
  instructions: Directive[];
2419
2419
  }
2420
2420
  class Navigator {
2421
- constructor({ locations, nodes, vortexes, maps, showVortexNames }: {
2421
+ constructor({ locations, nodes, vortexes, maps, showVortexNames, }: {
2422
2422
  locations: ILocation[];
2423
2423
  nodes: INode[];
2424
2424
  vortexes: IVortex[];
@@ -2440,7 +2440,7 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/navigator/Navigator' {
2440
2440
  * @param departFrom ILocation - optional, id and name of a location to represent start of journey
2441
2441
  * @param arriveAt ILocation - optional, id and name of a location to represent end of journey
2442
2442
  */
2443
- getDirections({ originIds, destinationNodeIds, accessible, departFrom, arriveAt }: {
2443
+ getDirections({ originIds, destinationNodeIds, accessible, departFrom, arriveAt, }: {
2444
2444
  originIds: string[];
2445
2445
  destinationNodeIds: string[];
2446
2446
  accessible: boolean;
@@ -2506,7 +2506,7 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/navigator/Edge' {
2506
2506
  distance: number;
2507
2507
  angle: number;
2508
2508
  weight: number;
2509
- constructor({ origin, destination, vortex, elevationDelta, distance, angle }: {
2509
+ constructor({ origin, destination, vortex, elevationDelta, distance, angle, }: {
2510
2510
  origin: INode;
2511
2511
  destination: INode;
2512
2512
  vortex?: IVortex;