mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-10 10:33:11 +03:00
19 lines
611 B
Python
19 lines
611 B
Python
from pydantic import Field
|
|
|
|
from ..base import FrigateBaseModel
|
|
|
|
__all__ = ["CameraUiConfig"]
|
|
|
|
|
|
class CameraUiConfig(FrigateBaseModel):
|
|
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.",
|
|
)
|
|
dashboard: bool = Field(
|
|
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.",
|
|
)
|