fix issues in adapters

This commit is contained in:
2025-12-22 22:46:15 +01:00
parent 41b27402dc
commit 1efd971032
25 changed files with 144 additions and 103 deletions

View File

@@ -163,12 +163,6 @@ export function loadAutomationConfig(): AutomationEnvironmentConfig {
};
}
/**
* Type guard to validate automation mode string.
*/
function isValidAutomationMode(value: string | undefined): value is AutomationMode {
return value === 'production' || value === 'development' || value === 'test';
}
/**
* Type guard to validate legacy automation mode string.