@camera.ui/browser 0.0.175 → 0.0.176
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.ts +83 -0
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -292,6 +292,7 @@ export declare interface CoreManagerInterface {
|
|
|
292
292
|
getCloudServerId(): Promise<string>;
|
|
293
293
|
getPlugin(pluginName: string): Promise<HostPluginInfo | undefined>;
|
|
294
294
|
getPluginsByInterface(interfaceName: PluginInterface): Promise<HostPluginInfo[]>;
|
|
295
|
+
getFloorPlan(): Promise<FloorPlan>;
|
|
295
296
|
}
|
|
296
297
|
|
|
297
298
|
export declare interface CoreManagerNamespaces {
|
|
@@ -322,6 +323,83 @@ export declare function createSensorManager(rpcOrContext: RPCClient | ReactiveCa
|
|
|
322
323
|
declare interface DBCamera extends BaseCamera {
|
|
323
324
|
sources: CameraInputSettings[];
|
|
324
325
|
workerAgentId?: string;
|
|
326
|
+
roomId: string | null;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
declare interface DBFloorPlan {
|
|
330
|
+
version: number;
|
|
331
|
+
updatedAt: number;
|
|
332
|
+
north: number | null;
|
|
333
|
+
rooms: DBFloorPlanRoom[];
|
|
334
|
+
connections: DBFloorPlanConnection[];
|
|
335
|
+
cameras: DBFloorPlanCamera[];
|
|
336
|
+
sensors: DBFloorPlanSensor[];
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
declare interface DBFloorPlanCamera {
|
|
340
|
+
cameraId: string;
|
|
341
|
+
roomId: string;
|
|
342
|
+
note: string;
|
|
343
|
+
x: number;
|
|
344
|
+
y: number;
|
|
345
|
+
rotation: number;
|
|
346
|
+
fov: number;
|
|
347
|
+
range: number;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
declare interface DBFloorPlanConnection {
|
|
351
|
+
id: string;
|
|
352
|
+
fromRoomId: string;
|
|
353
|
+
toRoomId: string;
|
|
354
|
+
fromShapeId: string | null;
|
|
355
|
+
toShapeId: string | null;
|
|
356
|
+
offset: number | null;
|
|
357
|
+
width: number;
|
|
358
|
+
note: string;
|
|
359
|
+
type: DBFloorPlanConnectionType;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
declare type DBFloorPlanConnectionType = 'door' | 'opening' | 'stairs';
|
|
363
|
+
|
|
364
|
+
declare interface DBFloorPlanRoom {
|
|
365
|
+
id: string;
|
|
366
|
+
roomId: string;
|
|
367
|
+
x: number;
|
|
368
|
+
y: number;
|
|
369
|
+
width: number;
|
|
370
|
+
height: number;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
declare interface DBFloorPlanSensor {
|
|
374
|
+
sensorId: string;
|
|
375
|
+
sensorType: string;
|
|
376
|
+
roomId: string;
|
|
377
|
+
connectionId: string | null;
|
|
378
|
+
note: string;
|
|
379
|
+
x: number;
|
|
380
|
+
y: number;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
declare interface DBLevel {
|
|
384
|
+
id: string;
|
|
385
|
+
name: string;
|
|
386
|
+
order: number;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
declare interface DBRoom {
|
|
390
|
+
id: string;
|
|
391
|
+
name: string;
|
|
392
|
+
levelId: string | null;
|
|
393
|
+
outdoor: boolean;
|
|
394
|
+
publicSpace: boolean;
|
|
395
|
+
note: string;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
declare interface DBRoomCatalog {
|
|
399
|
+
version: number;
|
|
400
|
+
updatedAt: number;
|
|
401
|
+
levels: DBLevel[];
|
|
402
|
+
rooms: DBRoom[];
|
|
325
403
|
}
|
|
326
404
|
|
|
327
405
|
declare interface DetectionEventNamespaces {
|
|
@@ -354,6 +432,11 @@ declare interface DownloadManagerNamespaces {
|
|
|
354
432
|
|
|
355
433
|
/* Excluded from this release type: FaceSensorProperties */
|
|
356
434
|
|
|
435
|
+
declare interface FloorPlan {
|
|
436
|
+
rooms: DBRoomCatalog;
|
|
437
|
+
plan: DBFloorPlan;
|
|
438
|
+
}
|
|
439
|
+
|
|
357
440
|
declare interface FrameWorkerDetectionNamespaces {
|
|
358
441
|
detectionRpc: string;
|
|
359
442
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camera.ui/browser",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.176",
|
|
4
4
|
"description": "camera.ui browser client",
|
|
5
5
|
"author": "seydx (https://github.com/cameraui/clients)",
|
|
6
6
|
"type": "module",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@camera.ui/logger": "file:../../packages/logger",
|
|
41
41
|
"@camera.ui/rpc": "^1.0.11",
|
|
42
|
-
"@camera.ui/sdk": "~1.2.
|
|
42
|
+
"@camera.ui/sdk": "~1.2.32",
|
|
43
43
|
"@camera.ui/transport": "file:../../packages/transport",
|
|
44
44
|
"@eneris/push-receiver": "^4.3.1",
|
|
45
45
|
"@microsoft/api-extractor": "^7.59.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"typescript": "5.9.3",
|
|
62
62
|
"typescript-eslint": "^8.68.0",
|
|
63
63
|
"unplugin-dts": "^1.0.3",
|
|
64
|
-
"updates": "^18.0.
|
|
64
|
+
"updates": "^18.0.7",
|
|
65
65
|
"vite": "^8.2.2",
|
|
66
66
|
"vitest": "^4.1.11",
|
|
67
67
|
"vue": "^3.5.41",
|