Add maxLength to 200 for chapeau
This commit is contained in:
@@ -52,7 +52,9 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"chapeau": {
|
"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;
|
date: Attribute.String;
|
||||||
chapeau: Attribute.Text;
|
chapeau: Attribute.Text &
|
||||||
|
Attribute.Required &
|
||||||
|
Attribute.SetMinMaxLength<{
|
||||||
|
maxLength: 200;
|
||||||
|
}>;
|
||||||
createdAt: Attribute.DateTime;
|
createdAt: Attribute.DateTime;
|
||||||
updatedAt: Attribute.DateTime;
|
updatedAt: Attribute.DateTime;
|
||||||
publishedAt: Attribute.DateTime;
|
publishedAt: Attribute.DateTime;
|
||||||
|
|||||||
Reference in New Issue
Block a user