diff --git a/src/api/article/content-types/article/schema.json b/src/api/article/content-types/article/schema.json index 4a3a8a5..19fc007 100644 --- a/src/api/article/content-types/article/schema.json +++ b/src/api/article/content-types/article/schema.json @@ -71,6 +71,14 @@ "type": "boolean", "default": false, "required": true + }, + "publishDate": { + "type": "datetime" + }, + "publishDateVisible": { + "type": "boolean", + "default": true, + "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 b97cd22..6ed8926 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-06-03T21:24:21.562Z" + "x-generation-date": "2024-06-07T17:23:18.291Z" }, "x-strapi-config": { "path": "/documentation", @@ -95,7 +95,8 @@ "data": { "required": [ "description", - "featured" + "featured", + "publishDateVisible" ], "type": "object", "properties": { @@ -185,6 +186,13 @@ }, "featured": { "type": "boolean" + }, + "publishDate": { + "type": "string", + "format": "date-time" + }, + "publishDateVisible": { + "type": "boolean" } } } @@ -240,7 +248,8 @@ "type": "object", "required": [ "description", - "featured" + "featured", + "publishDateVisible" ], "properties": { "title": { @@ -1903,6 +1912,13 @@ "featured": { "type": "boolean" }, + "publishDate": { + "type": "string", + "format": "date-time" + }, + "publishDateVisible": { + "type": "boolean" + }, "createdAt": { "type": "string", "format": "date-time" @@ -2215,6 +2231,13 @@ "featured": { "type": "boolean" }, + "publishDate": { + "type": "string", + "format": "date-time" + }, + "publishDateVisible": { + "type": "boolean" + }, "createdAt": { "type": "string", "format": "date-time" @@ -4733,6 +4756,13 @@ "featured": { "type": "boolean" }, + "publishDate": { + "type": "string", + "format": "date-time" + }, + "publishDateVisible": { + "type": "boolean" + }, "createdAt": { "type": "string", "format": "date-time" @@ -6679,6 +6709,13 @@ "featured": { "type": "boolean" }, + "publishDate": { + "type": "string", + "format": "date-time" + }, + "publishDateVisible": { + "type": "boolean" + }, "createdAt": { "type": "string", "format": "date-time" @@ -11002,6 +11039,13 @@ "featured": { "type": "boolean" }, + "publishDate": { + "type": "string", + "format": "date-time" + }, + "publishDateVisible": { + "type": "boolean" + }, "createdAt": { "type": "string", "format": "date-time" @@ -18168,6 +18212,13 @@ "featured": { "type": "boolean" }, + "publishDate": { + "type": "string", + "format": "date-time" + }, + "publishDateVisible": { + "type": "boolean" + }, "createdAt": { "type": "string", "format": "date-time" @@ -27386,4 +27437,4 @@ } } ] -} \ No newline at end of file +}