From ce3ff199e90b816d3116d06e35d964e377bc2df6 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Sun, 9 Nov 2025 12:17:23 -0600 Subject: [PATCH] improve types --- web/src/types/cameraWizard.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/web/src/types/cameraWizard.ts b/web/src/types/cameraWizard.ts index f5ebbcc2c..d758cfba8 100644 --- a/web/src/types/cameraWizard.ts +++ b/web/src/types/cameraWizard.ts @@ -99,6 +99,11 @@ export type TestResult = { error?: string; }; +export type CandidateTestMap = Record< + string, + TestResult | { success: false; error: string } +>; + export type WizardFormData = { cameraName?: string; host?: string; @@ -115,7 +120,7 @@ export type WizardFormData = { // API Response Types export type FfprobeResponse = { return_code: number; - stderr: string; + stderr: string | string[]; stdout: FfprobeData | string; };