Merge branch 'canary' of https://github.com/Dokploy/dokploy into feat/refactor-format-and-lint

This commit is contained in:
Krzysztof Durek
2024-07-15 01:13:09 +02:00
7 changed files with 88 additions and 3 deletions

View File

@@ -40,7 +40,7 @@ const AddTemplateSchema = z.object({
})
.regex(/^[a-z](?!.*--)([a-z0-9-]*[a-z])?$/, {
message:
"App name supports letters, numbers, '-' and can only start and end letters, and does not support continuous '-'",
"App name supports lowercase letters, numbers, '-' and can only start and end letters, and does not support continuous '-'",
}),
description: z.string().optional(),
});

View File

@@ -48,7 +48,7 @@ const AddComposeSchema = z.object({
})
.regex(/^[a-z](?!.*--)([a-z0-9-]*[a-z])?$/, {
message:
"App name supports letters, numbers, '-' and can only start and end letters, and does not support continuous '-'",
"App name supports lowercase letters, numbers, '-' and can only start and end letters, and does not support continuous '-'",
}),
description: z.string().optional(),
});

View File

@@ -66,7 +66,7 @@ const baseDatabaseSchema = z.object({
})
.regex(/^[a-z](?!.*--)([a-z0-9-]*[a-z])?$/, {
message:
"App name supports letters, numbers, '-' and can only start and end letters, and does not support continuous '-'",
"App name supports lowercase letters, numbers, '-' and can only start and end letters, and does not support continuous '-'",
}),
databasePassword: z.string(),
dockerImage: z.string(),