floor-editor-ts 1.2.4 → 1.2.6

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.
@@ -1,4 +1,9 @@
1
1
  import { Project } from '../../lib/models/types';
2
+ /** Camera from host app — used to assign floor camera furniture via select. */
3
+ export interface SiteCameraOption {
4
+ serial: string;
5
+ name: string;
6
+ }
2
7
  export interface FloorEditorConfig {
3
8
  viewOnly: boolean;
4
9
  floorMaxWidth: number;
@@ -10,6 +15,8 @@ export interface FloorEditorConfig {
10
15
  showCameraCones?: boolean;
11
16
  showCameraLabels?: boolean;
12
17
  cameraHeatmapMatrix?: number[][];
18
+ /** When set, camera properties use a select of site cameras instead of free-text name/serial. */
19
+ siteCameras?: SiteCameraOption[];
13
20
  }
14
21
  export declare const DEFAULT_CONFIG: FloorEditorConfig;
15
22
  export declare function normalizeConfig(value: Partial<FloorEditorConfig> | null | undefined): FloorEditorConfig;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "floor-editor-ts",
3
3
  "private": false,
4
- "version": "1.2.4",
4
+ "version": "1.2.6",
5
5
  "type": "module",
6
6
  "main": "./dist/floor-editor.es.js",
7
7
  "module": "./dist/floor-editor.es.js",