mirror of
https://github.com/docmost/docmost.git
synced 2026-08-20 16:41:37 +10:00
feat: import page permissions
This commit is contained in:
@@ -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",
|
||||
),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user