rozwiązanie kolejnych todo i pozbycie się zbędnych paczek npm.

This commit is contained in:
GarandPLG committed 2025-10-10 14:45:04 +02:00
1 parent d4dfed9603
commit 827b53e630
5 files changed
+179 -458

No files matched your search

+1 -1
View File
@@ -42,7 +42,7 @@ export const pbJsonField = (maxSizeInBytes: number = 1048576) => {
const stringTransform = z.string()
.max(maxSizeInBytes, `JSON field cannot exceed ${maxSizeInBytes} bytes`)
.transform((val) => {
.transform((val: string) => {
if (val === "true") return true;
if (val === "false") return false;
if (val === "null") return null;