feat: import page permissions

This commit is contained in:
Philipinho
2026-06-12 12:59:31 +01:00
parent 812d0765b5
commit 79df1229cb
10 changed files with 187 additions and 31 deletions
@@ -17,8 +17,8 @@ const formSchema = z.object({
.min(2)
.max(100)
.regex(
/^[a-zA-Z0-9]+$/,
"Space slug must be alphanumeric. No special characters",
/^[a-zA-Z0-9-]+$/,
"Space slug can only contain letters, numbers, and hyphens",
),
description: z.string().max(500),
});
@@ -15,8 +15,8 @@ const formSchema = z.object({
.min(2)
.max(100)
.regex(
/^[a-zA-Z0-9]+$/,
"Space slug must be alphanumeric. No special characters",
/^[a-zA-Z0-9-]+$/,
"Space slug can only contain letters, numbers, and hyphens",
),
});