Add maxLength to 200 for chapeau
This commit is contained in:
@@ -52,7 +52,9 @@
|
||||
"type": "string"
|
||||
},
|
||||
"chapeau": {
|
||||
"type": "text"
|
||||
"type": "text",
|
||||
"maxLength": 200,
|
||||
"required": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+5
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user