From 540ad7897d4cf3b939de6f1a06b40c517878d198 Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Thu, 11 Sep 2025 09:25:15 -0600 Subject: [PATCH] feat: update TypeScript definitions for ICSStatus Literal type - OpenAPI generation now properly reflects Literal['enabled', 'disabled'] type - Improves type safety for frontend consumers of the API - Applied automatic formatting via pre-commit hooks --- www/app/reflector-api.d.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/www/app/reflector-api.d.ts b/www/app/reflector-api.d.ts index 3eac8421..0b404692 100644 --- a/www/app/reflector-api.d.ts +++ b/www/app/reflector-api.d.ts @@ -953,8 +953,11 @@ export interface components { }; /** ICSStatus */ ICSStatus: { - /** Status */ - status: string; + /** + * Status + * @enum {string} + */ + status: "enabled" | "disabled"; /** Last Sync */ last_sync?: string | null; /** Next Sync */