add blog post title validation config

This commit is contained in:
2026-09-15 20:05:25 +02:00
parent 40bf16c03e
commit 92ccbec545
4 changed files with 9 additions and 0 deletions
+6
View File
@@ -101,6 +101,12 @@ class EnvironmentVariables {
@Max(256)
VALIDATION_PRODUCT_TITLE_MAX_LENGTH: number;
@IsNotEmpty()
@IsNumber()
@Min(1)
@Max(256)
VALIDATION_BLOG_POST_TITLE_MAX_LENGTH: number;
@IsNotEmpty()
@IsNumber()
@Min(1)