@mappedin/mappedin-js 5.30.0 → 5.31.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.
@@ -520,11 +520,11 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/Mappedin' {
520
520
  * @param mappedinSerializableData Mappedin data that was serialized or exported as JSON
521
521
  * @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
522
522
  */
523
- hydrate(mappedinSerializableData: string | Record<string, unknown>, shouldPopulateBundledImagesAsBlobs?: boolean): Promise<undefined>;
523
+ hydrate(mappedinSerializableData: string | Record<string, unknown>, shouldPopulateBundledImagesAsBlobs?: boolean, updateInPlace?: boolean): Promise<undefined>;
524
524
  images: any;
525
525
  imageBinaries?: Map<string, Uint8Array>;
526
526
  scenes: any;
527
- fetch(): Promise<void>;
527
+ fetch(updateInPlace?: boolean): Promise<void>;
528
528
  /**
529
529
  * @deprecated Use {@link hydrateVenue} instead
530
530
  */
@@ -935,6 +935,7 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/MappedinLocation' {
935
935
  clone(): MappedinLocation;
936
936
  get nodeOperationHours(): TOperationHoursMap;
937
937
  static hydrate(locations: any, mappedin: Mappedin): MappedinLocation[];
938
+ static updateInPlace(mappedin: Mappedin, hydrateData?: any): Promise<void>;
938
939
  static fetch(mappedin: Mappedin): Promise<MappedinLocation[]>;
939
940
  /**
940
941
  *
@@ -2271,6 +2272,7 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/MappedinCategory' {
2271
2272
  */
2272
2273
  get children(): MappedinCategory[];
2273
2274
  static hydrate(categories: any, mappedin: Mappedin): MappedinCategory[];
2275
+ static updateInPlace(mappedin: Mappedin, hydrateData?: any): Promise<void>;
2274
2276
  static fetch(mappedin: Mappedin): Promise<MappedinCategory[]>;
2275
2277
  toJSON(): any;
2276
2278
  }
@@ -2492,6 +2494,7 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/MappedinEvent' {
2492
2494
  * @internal
2493
2495
  */
2494
2496
  static hydrate(events: any, mappedin: Mappedin): MappedinEvent[];
2497
+ static updateInPlace(mappedin: Mappedin, hydrateData?: any): Promise<void>;
2495
2498
  /**
2496
2499
  * @internal
2497
2500
  */
@@ -2516,6 +2519,7 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/MappedinLocationState' {
2516
2519
  * @internal
2517
2520
  */
2518
2521
  static hydrate(locationStates: any): MappedinLocationState[];
2522
+ static updateInPlace(mappedin: Mappedin, hydrateData?: any): Promise<void>;
2519
2523
  id: string;
2520
2524
  name: string;
2521
2525
  value: string;
@@ -2609,6 +2613,7 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/MappedinMap' {
2609
2613
  */
2610
2614
  getNorth(): any;
2611
2615
  static hydrate(maps: any, mappedin: Mappedin): MappedinMap[];
2616
+ static updateInPlace(mappedin: Mappedin, hydrateData?: any): Promise<void>;
2612
2617
  static fetch(mappedin: Mappedin): Promise<MappedinMap[]>;
2613
2618
  get center(): any;
2614
2619
  toJSON(): any;
@@ -2634,6 +2639,7 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/MappedinMapGroup' {
2634
2639
  */
2635
2640
  get maps(): MappedinMap[];
2636
2641
  static hydrate(mapGroups: any, mappedin: Mappedin): MappedinMapGroup[];
2642
+ static updateInPlace(mappedin: Mappedin, hydrateData?: any): Promise<void>;
2637
2643
  static fetch(mappedin: Mappedin): Promise<MappedinMapGroup[]>;
2638
2644
  toJSON(): any;
2639
2645
  }