fix(issues): S4a typecheck — allow null color in updateSystem param
CI & Build / Python lint (push) Successful in 2s
CI & Build / TypeScript typecheck (push) Successful in 34s
CI & Build / Python tests (push) Successful in 50s
CI & Build / Build & push image (push) Successful in 37s

vue-tsc TS2345: System.color is string|null, but updateSystem's data param
typed color as string, so the store's Partial<Pick<System,...>> wasn't
assignable. Widen the param's color to string|null (clearing a color is valid).

Refs plan 825 (S4a).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-13 23:46:40 -04:00
parent 4da29562bd
commit 9293a9b198
+1 -1
View File
@@ -31,7 +31,7 @@ export async function updateSystem(
data: Partial<{
name: string;
description: string;
color: string;
color: string | null;
status: "active" | "archived";
order_index: number;
}>,