From 2db70bb75a46b8cee66e548cdc1499c90f185f10 Mon Sep 17 00:00:00 2001 From: JohnDoe6345789 Date: Thu, 25 Dec 2025 19:46:22 +0000 Subject: [PATCH] config: validate,user,update (3 files) --- dbal/ts/tests/core/validation/validate-user-update.test.ts | 4 ++-- frontends/nextjs/package.json | 2 ++ tools/autobot.sh | 7 +++++++ 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 tools/autobot.sh diff --git a/dbal/ts/tests/core/validation/validate-user-update.test.ts b/dbal/ts/tests/core/validation/validate-user-update.test.ts index 571493761..b2c8eb6ba 100644 --- a/dbal/ts/tests/core/validation/validate-user-update.test.ts +++ b/dbal/ts/tests/core/validation/validate-user-update.test.ts @@ -6,12 +6,12 @@ describe('validateUserUpdate', () => { { data: {}, expected: [], description: 'no updates' }, { data: { username: 'bad name' }, - expected: ['Invalid username format'], + expected: ['Invalid username format (alphanumeric, underscore, hyphen only, 3-50 chars)'], description: 'invalid username', }, { data: { email: 'invalid' }, - expected: ['Invalid email format'], + expected: ['Invalid email format (max 255 chars)'], description: 'invalid email', }, { diff --git a/frontends/nextjs/package.json b/frontends/nextjs/package.json index 5dd7c2470..f708b202a 100644 --- a/frontends/nextjs/package.json +++ b/frontends/nextjs/package.json @@ -67,6 +67,7 @@ "@mui/x-date-pickers": "^7.24.1", "@next/third-parties": "^16.1.1", "@octokit/core": "^6.1.4", + "@phosphor-icons/react": "^2.1.10", "@prisma/client": "^6.19.1", "@tanstack/react-query": "^5.83.1", "@types/jszip": "^3.4.0", @@ -86,6 +87,7 @@ "recharts": "^2.15.1", "server-only": "^0.0.1", "sharp": "^0.34.5", + "sonner": "^2.0.7", "three": "^0.175.0", "uuid": "^13.0.0", "zod": "^4.2.1" diff --git a/tools/autobot.sh b/tools/autobot.sh new file mode 100644 index 000000000..4e2f4726c --- /dev/null +++ b/tools/autobot.sh @@ -0,0 +1,7 @@ +while :; do +sleep 90 +codex exec “0-kickstart.md - Do what it says - If you can not find anything wrong with the project, halt immediately” +done + + +