mirror of
https://github.com/storytold/artcraft-services.git
synced 2026-11-20 17:31:45 +01:00
Clears the 93 open typescript:S7773 issues (40 files), only on the lines Sonar flagged. Same change as storytold/artcraft#2819 for the libraries both repos share. - `parseFloat` / `parseInt` / `NaN` → `Number.parseFloat` / `Number.parseInt` / `Number.NaN`: the same values. - `isFinite` / `isNaN` → `Number.isFinite` / `Number.isNaN`: they differ only for arguments that aren't numbers, and TypeScript types the globals as taking `number`. Typechecked locally against main: no new errors in the 9 projects touched (dashboard, webapp, website-next, and the input, modal, pagedraw, pagescene, promptbox and video-editor libraries). <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Bug Fixes** * Prompt limits now distinguish finite numeric values from non-numeric or unlimited values, improving limit checks and display. * Numeric inputs across prompt tools, editors, and controls retain their existing parsing, validation, and bounds behavior. <!-- end of auto-generated comment: release notes by coderabbit.ai -->