mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-10 10:33:11 +03:00
chore(sections): remove legacy single-section components replaced by template
This commit is contained in:
parent
fdc0ef76c2
commit
c9c29b7c33
@ -1,12 +0,0 @@
|
||||
// Audio Section Component
|
||||
// Reusable for both global and camera-level audio settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const AudioSection = createConfigSection({
|
||||
sectionPath: "audio",
|
||||
defaultConfig: getSectionConfig("audio", "camera"),
|
||||
});
|
||||
|
||||
export default AudioSection;
|
||||
@ -1,12 +0,0 @@
|
||||
// Audio Transcription Section Component
|
||||
// Global and camera-level audio transcription settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const AudioTranscriptionSection = createConfigSection({
|
||||
sectionPath: "audio_transcription",
|
||||
defaultConfig: getSectionConfig("audio_transcription", "camera"),
|
||||
});
|
||||
|
||||
export default AudioTranscriptionSection;
|
||||
@ -1,12 +0,0 @@
|
||||
// Auth Section Component
|
||||
// Global authentication configuration settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const AuthSection = createConfigSection({
|
||||
sectionPath: "auth",
|
||||
defaultConfig: getSectionConfig("auth", "global"),
|
||||
});
|
||||
|
||||
export default AuthSection;
|
||||
@ -1,12 +0,0 @@
|
||||
// Birdseye Section Component
|
||||
// Camera-level birdseye settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const BirdseyeSection = createConfigSection({
|
||||
sectionPath: "birdseye",
|
||||
defaultConfig: getSectionConfig("birdseye", "camera"),
|
||||
});
|
||||
|
||||
export default BirdseyeSection;
|
||||
@ -1,12 +0,0 @@
|
||||
// Camera MQTT Section Component
|
||||
// Camera-specific MQTT image publishing settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const CameraMqttSection = createConfigSection({
|
||||
sectionPath: "mqtt",
|
||||
defaultConfig: getSectionConfig("mqtt", "camera"),
|
||||
});
|
||||
|
||||
export default CameraMqttSection;
|
||||
@ -1,12 +0,0 @@
|
||||
// Camera UI Section Component
|
||||
// Camera UI display settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const CameraUiSection = createConfigSection({
|
||||
sectionPath: "ui",
|
||||
defaultConfig: getSectionConfig("ui", "camera"),
|
||||
});
|
||||
|
||||
export default CameraUiSection;
|
||||
@ -1,12 +0,0 @@
|
||||
// Classification Section Component
|
||||
// Global classification configuration settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const ClassificationSection = createConfigSection({
|
||||
sectionPath: "classification",
|
||||
defaultConfig: getSectionConfig("classification", "global"),
|
||||
});
|
||||
|
||||
export default ClassificationSection;
|
||||
@ -1,12 +0,0 @@
|
||||
// Database Section Component
|
||||
// Global database configuration settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const DatabaseSection = createConfigSection({
|
||||
sectionPath: "database",
|
||||
defaultConfig: getSectionConfig("database", "global"),
|
||||
});
|
||||
|
||||
export default DatabaseSection;
|
||||
@ -1,12 +0,0 @@
|
||||
// Detect Section Component
|
||||
// Reusable for both global and camera-level detect settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const DetectSection = createConfigSection({
|
||||
sectionPath: "detect",
|
||||
defaultConfig: getSectionConfig("detect", "camera"),
|
||||
});
|
||||
|
||||
export default DetectSection;
|
||||
@ -1,12 +0,0 @@
|
||||
// Detectors Section Component
|
||||
// Global detectors configuration settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const DetectorsSection = createConfigSection({
|
||||
sectionPath: "detectors",
|
||||
defaultConfig: getSectionConfig("detectors", "global"),
|
||||
});
|
||||
|
||||
export default DetectorsSection;
|
||||
@ -1,12 +0,0 @@
|
||||
// Environment Variables Section Component
|
||||
// Global environment variables configuration settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const EnvironmentVarsSection = createConfigSection({
|
||||
sectionPath: "environment_vars",
|
||||
defaultConfig: getSectionConfig("environment_vars", "global"),
|
||||
});
|
||||
|
||||
export default EnvironmentVarsSection;
|
||||
@ -1,12 +0,0 @@
|
||||
// Face Recognition Section Component
|
||||
// Camera-level face recognition settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const FaceRecognitionSection = createConfigSection({
|
||||
sectionPath: "face_recognition",
|
||||
defaultConfig: getSectionConfig("face_recognition", "camera"),
|
||||
});
|
||||
|
||||
export default FaceRecognitionSection;
|
||||
@ -1,12 +0,0 @@
|
||||
// FFmpeg Section Component
|
||||
// Global and camera-level FFmpeg settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const FfmpegSection = createConfigSection({
|
||||
sectionPath: "ffmpeg",
|
||||
defaultConfig: getSectionConfig("ffmpeg", "camera"),
|
||||
});
|
||||
|
||||
export default FfmpegSection;
|
||||
@ -1,12 +0,0 @@
|
||||
// GenAI Section Component
|
||||
// Global GenAI configuration settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const GenaiSection = createConfigSection({
|
||||
sectionPath: "genai",
|
||||
defaultConfig: getSectionConfig("genai", "global"),
|
||||
});
|
||||
|
||||
export default GenaiSection;
|
||||
@ -1,12 +0,0 @@
|
||||
// Live Section Component
|
||||
// Reusable for both global and camera-level live settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const LiveSection = createConfigSection({
|
||||
sectionPath: "live",
|
||||
defaultConfig: getSectionConfig("live", "camera"),
|
||||
});
|
||||
|
||||
export default LiveSection;
|
||||
@ -1,12 +0,0 @@
|
||||
// Logger Section Component
|
||||
// Global logger configuration settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const LoggerSection = createConfigSection({
|
||||
sectionPath: "logger",
|
||||
defaultConfig: getSectionConfig("logger", "global"),
|
||||
});
|
||||
|
||||
export default LoggerSection;
|
||||
@ -1,12 +0,0 @@
|
||||
// License Plate Recognition Section Component
|
||||
// Camera-level LPR settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const LprSection = createConfigSection({
|
||||
sectionPath: "lpr",
|
||||
defaultConfig: getSectionConfig("lpr", "camera"),
|
||||
});
|
||||
|
||||
export default LprSection;
|
||||
@ -1,12 +0,0 @@
|
||||
// Model Section Component
|
||||
// Global model configuration settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const ModelSection = createConfigSection({
|
||||
sectionPath: "model",
|
||||
defaultConfig: getSectionConfig("model", "global"),
|
||||
});
|
||||
|
||||
export default ModelSection;
|
||||
@ -1,12 +0,0 @@
|
||||
// Motion Section Component
|
||||
// Reusable for both global and camera-level motion settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const MotionSection = createConfigSection({
|
||||
sectionPath: "motion",
|
||||
defaultConfig: getSectionConfig("motion", "camera"),
|
||||
});
|
||||
|
||||
export default MotionSection;
|
||||
@ -1,12 +0,0 @@
|
||||
// MQTT Section Component
|
||||
// Global MQTT configuration settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const MqttSection = createConfigSection({
|
||||
sectionPath: "mqtt",
|
||||
defaultConfig: getSectionConfig("mqtt", "global"),
|
||||
});
|
||||
|
||||
export default MqttSection;
|
||||
@ -1,12 +0,0 @@
|
||||
// Networking Section Component
|
||||
// Global networking configuration settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const NetworkingSection = createConfigSection({
|
||||
sectionPath: "networking",
|
||||
defaultConfig: getSectionConfig("networking", "global"),
|
||||
});
|
||||
|
||||
export default NetworkingSection;
|
||||
@ -1,12 +0,0 @@
|
||||
// Notifications Section Component
|
||||
// Reusable for both global and camera-level notification settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const NotificationsSection = createConfigSection({
|
||||
sectionPath: "notifications",
|
||||
defaultConfig: getSectionConfig("notifications", "camera"),
|
||||
});
|
||||
|
||||
export default NotificationsSection;
|
||||
@ -1,12 +0,0 @@
|
||||
// Objects Section Component
|
||||
// Reusable for both global and camera-level objects settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const ObjectsSection = createConfigSection({
|
||||
sectionPath: "objects",
|
||||
defaultConfig: getSectionConfig("objects", "camera"),
|
||||
});
|
||||
|
||||
export default ObjectsSection;
|
||||
@ -1,12 +0,0 @@
|
||||
// ONVIF Section Component
|
||||
// Camera-level ONVIF and autotracking settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const OnvifSection = createConfigSection({
|
||||
sectionPath: "onvif",
|
||||
defaultConfig: getSectionConfig("onvif", "camera"),
|
||||
});
|
||||
|
||||
export default OnvifSection;
|
||||
@ -1,12 +0,0 @@
|
||||
// Proxy Section Component
|
||||
// Global proxy configuration settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const ProxySection = createConfigSection({
|
||||
sectionPath: "proxy",
|
||||
defaultConfig: getSectionConfig("proxy", "global"),
|
||||
});
|
||||
|
||||
export default ProxySection;
|
||||
@ -1,12 +0,0 @@
|
||||
// Record Section Component
|
||||
// Reusable for both global and camera-level record settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const RecordSection = createConfigSection({
|
||||
sectionPath: "record",
|
||||
defaultConfig: getSectionConfig("record", "camera"),
|
||||
});
|
||||
|
||||
export default RecordSection;
|
||||
@ -1,12 +0,0 @@
|
||||
// Review Section Component
|
||||
// Reusable for both global and camera-level review settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const ReviewSection = createConfigSection({
|
||||
sectionPath: "review",
|
||||
defaultConfig: getSectionConfig("review", "camera"),
|
||||
});
|
||||
|
||||
export default ReviewSection;
|
||||
@ -1,12 +0,0 @@
|
||||
// Semantic Search Section Component
|
||||
// Camera-level semantic search trigger settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const SemanticSearchSection = createConfigSection({
|
||||
sectionPath: "semantic_search",
|
||||
defaultConfig: getSectionConfig("semantic_search", "camera"),
|
||||
});
|
||||
|
||||
export default SemanticSearchSection;
|
||||
@ -1,12 +0,0 @@
|
||||
// Snapshots Section Component
|
||||
// Reusable for both global and camera-level snapshots settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const SnapshotsSection = createConfigSection({
|
||||
sectionPath: "snapshots",
|
||||
defaultConfig: getSectionConfig("snapshots", "camera"),
|
||||
});
|
||||
|
||||
export default SnapshotsSection;
|
||||
@ -1,12 +0,0 @@
|
||||
// Telemetry Section Component
|
||||
// Global telemetry configuration settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const TelemetrySection = createConfigSection({
|
||||
sectionPath: "telemetry",
|
||||
defaultConfig: getSectionConfig("telemetry", "global"),
|
||||
});
|
||||
|
||||
export default TelemetrySection;
|
||||
@ -1,12 +0,0 @@
|
||||
// Timestamp Section Component
|
||||
// Reusable for both global and camera-level timestamp_style settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const TimestampSection = createConfigSection({
|
||||
sectionPath: "timestamp_style",
|
||||
defaultConfig: getSectionConfig("timestamp_style", "camera"),
|
||||
});
|
||||
|
||||
export default TimestampSection;
|
||||
@ -1,12 +0,0 @@
|
||||
// TLS Section Component
|
||||
// Global TLS configuration settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const TlsSection = createConfigSection({
|
||||
sectionPath: "tls",
|
||||
defaultConfig: getSectionConfig("tls", "global"),
|
||||
});
|
||||
|
||||
export default TlsSection;
|
||||
@ -1,12 +0,0 @@
|
||||
// UI Section Component
|
||||
// Global UI configuration settings
|
||||
|
||||
import { createConfigSection } from "./BaseSection";
|
||||
import { getSectionConfig } from "../sectionConfigs";
|
||||
|
||||
export const UiSection = createConfigSection({
|
||||
sectionPath: "ui",
|
||||
defaultConfig: getSectionConfig("ui", "global"),
|
||||
});
|
||||
|
||||
export default UiSection;
|
||||
Loading…
Reference in New Issue
Block a user