2024-09-28 22:21:42 +03:00
from pydantic import Field
from ..base import FrigateBaseModel
__all__ = [ "CameraUiConfig" ]
class CameraUiConfig ( FrigateBaseModel ):
2026-02-27 09:55:36 -06:00
order : int = Field (
default = 0 ,
title = "UI order" ,
description = "Numeric order used to sort the camera in the UI (default dashboard and lists); larger numbers appear later." ,
)
2024-09-28 22:21:42 +03:00
dashboard : bool = Field (
2026-02-27 09:55:36 -06:00
default = True ,
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." ,
2024-09-28 22:21:42 +03:00
)
2026-06-02 15:11:42 -06:00
review : bool = Field (
default = True ,
title = "Show in review" ,
description = "Toggle whether this camera is visible in review (the review page and its camera filter, motion review, and the history view)." ,
)