mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-18 22:28:23 +03:00
Add camera ui.rotate config/type plumbing
This commit is contained in:
parent
e941561213
commit
931f1bfcc8
@ -16,3 +16,8 @@ class CameraUiConfig(FrigateBaseModel):
|
|||||||
title="Show in UI",
|
title="Show in UI",
|
||||||
description="Toggle whether this camera is visible everywhere in the Frigate UI. Disabling this will require manually editing the config to view this camera in the UI again.",
|
description="Toggle whether this camera is visible everywhere in the Frigate UI. Disabling this will require manually editing the config to view this camera in the UI again.",
|
||||||
)
|
)
|
||||||
|
rotate: bool = Field(
|
||||||
|
default=False,
|
||||||
|
title="Rotate in grid",
|
||||||
|
description="Rotate this camera 90 degrees clockwise in multi-camera dashboard/grid views.",
|
||||||
|
)
|
||||||
|
|||||||
@ -8,6 +8,7 @@ export interface UiConfig {
|
|||||||
time_style?: "full" | "long" | "medium" | "short";
|
time_style?: "full" | "long" | "medium" | "short";
|
||||||
dashboard: boolean;
|
dashboard: boolean;
|
||||||
order: number;
|
order: number;
|
||||||
|
rotate: boolean;
|
||||||
unit_system?: "metric" | "imperial";
|
unit_system?: "metric" | "imperial";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user