refactor: Migrate config schema from Zod v3 to Zod v4 (#2357)

This commit is contained in:
Dermot Duffy authored and GitHub committed 2026-02-18 21:47:43 -08:00
1 parent a15376602f
commit 529500ed94
51 files changed
+1110 -443

No files matched your search

+1 -1
View File
@@ -167,7 +167,7 @@ export class CameraManager {
// order, to ensure that the defaults in the cameras global config do not
// override the values specified in the per-camera config.
const cameras = (config.cameras ?? []).map((camera) =>
recursivelyMergeObjectsNotArrays({}, cloneDeep(config?.cameras_global), camera),
recursivelyMergeObjectsNotArrays(config?.cameras_global, camera),
);
try {