fix: byte formatting + exactOptionalPropertyTypes

fmtBytes used 1<<40 — a 32-bit shift in JS evaluates to 1<<8=256, so every
value >=256 bytes rendered as TB. Also drop undefined-valued props that
exactOptionalPropertyTypes rejects in incident/status-page bodies.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
Tomas DvorakandDevin committed 2026-09-21 19:38:19 +02:00
1 parent c84a4be876
commit 97b8f5e87f
4 files changed
+16 -6

No files matched your search

+1
View File
@@ -23,3 +23,4 @@ coverage/
# local tooling artifacts
.playwright-mcp/
.playwright-cli/