diff --git a/src/api/article/content-types/article/schema.json b/src/api/article/content-types/article/schema.json index 5dfbd3e..4a3a8a5 100644 --- a/src/api/article/content-types/article/schema.json +++ b/src/api/article/content-types/article/schema.json @@ -66,6 +66,11 @@ "relation": "manyToMany", "target": "api::tag.tag", "mappedBy": "articles" + }, + "featured": { + "type": "boolean", + "default": false, + "required": true } } } diff --git a/src/extensions/documentation/documentation/1.0.0/full_documentation.json b/src/extensions/documentation/documentation/1.0.0/full_documentation.json index 7291a5c..b97cd22 100644 --- a/src/extensions/documentation/documentation/1.0.0/full_documentation.json +++ b/src/extensions/documentation/documentation/1.0.0/full_documentation.json @@ -14,7 +14,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "x-generation-date": "2024-05-15T10:34:01.347Z" + "x-generation-date": "2024-06-03T21:24:21.562Z" }, "x-strapi-config": { "path": "/documentation", @@ -94,7 +94,8 @@ "properties": { "data": { "required": [ - "description" + "description", + "featured" ], "type": "object", "properties": { @@ -181,6 +182,9 @@ ], "example": "string or id" } + }, + "featured": { + "type": "boolean" } } } @@ -235,7 +239,8 @@ "Article": { "type": "object", "required": [ - "description" + "description", + "featured" ], "properties": { "title": { @@ -1895,6 +1900,9 @@ } } }, + "featured": { + "type": "boolean" + }, "createdAt": { "type": "string", "format": "date-time" @@ -2204,6 +2212,9 @@ } } }, + "featured": { + "type": "boolean" + }, "createdAt": { "type": "string", "format": "date-time" @@ -4719,6 +4730,9 @@ } } }, + "featured": { + "type": "boolean" + }, "createdAt": { "type": "string", "format": "date-time" @@ -6662,6 +6676,9 @@ } } }, + "featured": { + "type": "boolean" + }, "createdAt": { "type": "string", "format": "date-time" @@ -10982,6 +10999,9 @@ } } }, + "featured": { + "type": "boolean" + }, "createdAt": { "type": "string", "format": "date-time" @@ -18145,6 +18165,9 @@ } } }, + "featured": { + "type": "boolean" + }, "createdAt": { "type": "string", "format": "date-time" @@ -27363,4 +27386,4 @@ } } ] -} +} \ No newline at end of file