Add maxLength to 200 for chapeau

This commit is contained in:
2024-03-21 07:05:43 +01:00
parent a0c7381c94
commit c5af97b9a4
2 changed files with 8 additions and 2 deletions
+5 -1
View File
@@ -388,7 +388,11 @@ export interface ApiArticleArticle extends Schema.CollectionType {
}
>;
date: Attribute.String;
chapeau: Attribute.Text;
chapeau: Attribute.Text &
Attribute.Required &
Attribute.SetMinMaxLength<{
maxLength: 200;
}>;
createdAt: Attribute.DateTime;
updatedAt: Attribute.DateTime;
publishedAt: Attribute.DateTime;