config: validate,user,update (3 files)

This commit is contained in:
2025-12-25 19:46:22 +00:00
parent 7aeb232cc9
commit 2db70bb75a
3 changed files with 11 additions and 2 deletions

View File

@@ -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',
},
{

View File

@@ -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"

7
tools/autobot.sh Normal file
View File

@@ -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