mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-18 06:08:22 +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",
|
||||
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";
|
||||
dashboard: boolean;
|
||||
order: number;
|
||||
rotate: boolean;
|
||||
unit_system?: "metric" | "imperial";
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user