mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-02 17:12:16 +03:00
39 lines
846 B
TypeScript
39 lines
846 B
TypeScript
import type { SectionConfigOverrides } from "./types";
|
|
|
|
const snapshots: SectionConfigOverrides = {
|
|
base: {
|
|
sectionDocs: "/configuration/snapshots",
|
|
restartRequired: [],
|
|
fieldOrder: [
|
|
"enabled",
|
|
"bounding_box",
|
|
"crop",
|
|
"quality",
|
|
"timestamp",
|
|
"retain",
|
|
],
|
|
fieldGroups: {
|
|
display: ["enabled", "bounding_box", "crop", "quality", "timestamp"],
|
|
},
|
|
hiddenFields: ["enabled_in_config"],
|
|
advancedFields: ["height", "quality", "retain"],
|
|
uiSchema: {
|
|
required_zones: {
|
|
"ui:widget": "zoneNames",
|
|
"ui:options": {
|
|
suppressMultiSchema: true,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
global: {
|
|
restartRequired: [],
|
|
hiddenFields: ["enabled_in_config", "required_zones"],
|
|
},
|
|
camera: {
|
|
restartRequired: [],
|
|
},
|
|
};
|
|
|
|
export default snapshots;
|