feat: Make cameras optional (#2343)

This commit is contained in:
Dermot Duffy
2026-02-13 20:21:05 -08:00
committed by GitHub
parent 21f9469784
commit 93f1f08e51
61 changed files with 1312 additions and 557 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
import { z } from 'zod';
import { actionsSchema } from './actions/types';
import { VIEW_DEFAULT, VIEWS_USER_SPECIFIED } from './common/const';
import { VIEWS_USER_SPECIFIED } from './common/const';
const keyboardShortcut = z.object({
key: z.string(),
@@ -46,7 +46,7 @@ export type PTZKeyboardShortcutName =
| 'ptz_zoom_out';
export const viewConfigDefault = {
default: VIEW_DEFAULT,
default: 'auto' as const,
camera_select: 'current' as const,
interaction_seconds: 300,
default_reset: {