add worker service binding + inactivity detection

This commit is contained in:
Ishaan Dey
2024-05-06 21:29:25 -07:00
parent c5762d430c
commit 84c49f0d9d
8 changed files with 99 additions and 21 deletions

View File

@ -60,7 +60,8 @@ const data: {
]
const formSchema = z.object({
name: z.string().min(1).max(16),
name: z.string().min(1).max(16)
.refine((value) => /^[a-zA-Z0-9_]+$/.test(value), "Name must be alphanumeric and can contain underscores"),
visibility: z.enum(["public", "private"]),
})