Remove deprecated files and scripts to streamline the codebase

- Deleted unused API test files, RTSP diagnostic scripts, and development utility scripts to reduce clutter.
- Removed outdated database schema and modularization proposal documents to maintain focus on current architecture.
- Cleaned up configuration files and logging scripts that are no longer in use, enhancing project maintainability.
This commit is contained in:
salirezav
2025-11-02 10:07:59 -05:00
parent 952ca09c61
commit 6b0738839b
50 changed files with 7057 additions and 368 deletions

View File

@@ -3,6 +3,7 @@ export type FeatureFlags = {
enableVideoModule: boolean
enableExperimentModule: boolean
enableCameraModule: boolean
enableVisionSystemModule: boolean
}
const toBool = (v: unknown, fallback = false): boolean => {
@@ -19,6 +20,7 @@ export const featureFlags: FeatureFlags = {
enableVideoModule: toBool(import.meta.env.VITE_ENABLE_VIDEO_MODULE ?? false),
enableExperimentModule: toBool(import.meta.env.VITE_ENABLE_EXPERIMENT_MODULE ?? false),
enableCameraModule: toBool(import.meta.env.VITE_ENABLE_CAMERA_MODULE ?? false),
enableVisionSystemModule: toBool(import.meta.env.VITE_ENABLE_VISION_SYSTEM_MODULE ?? false),
}
export const isFeatureEnabled = (flag: keyof FeatureFlags): boolean => featureFlags[flag]