mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-17 16:44:29 +03:00
fix types
This commit is contained in:
parent
f2943834fc
commit
d865b08a6e
@ -8,6 +8,7 @@ export type Polygon = {
|
|||||||
objects: string[];
|
objects: string[];
|
||||||
points: number[][];
|
points: number[][];
|
||||||
pointsOrder?: number[];
|
pointsOrder?: number[];
|
||||||
|
distances: number[];
|
||||||
isFinished: boolean;
|
isFinished: boolean;
|
||||||
color: number[];
|
color: number[];
|
||||||
};
|
};
|
||||||
|
|||||||
@ -214,7 +214,7 @@ export interface CameraConfig {
|
|||||||
zones: {
|
zones: {
|
||||||
[zoneName: string]: {
|
[zoneName: string]: {
|
||||||
coordinates: string;
|
coordinates: string;
|
||||||
distances: string;
|
distances: string[];
|
||||||
filters: Record<string, unknown>;
|
filters: Record<string, unknown>;
|
||||||
inertia: number;
|
inertia: number;
|
||||||
loitering_time: number;
|
loitering_time: number;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user