From 58606401ee3b5ed9fbc0ff1e61c0f547c7d97105 Mon Sep 17 00:00:00 2001 From: Dan Grebb Date: Fri, 22 Dec 2023 22:51:50 -0500 Subject: [PATCH] wip(back): removes legacy hero fields --- ...uration_content_types##api##post.post.json | 56 +++---------------- .../api/post/content-types/post/schema.json | 6 -- 2 files changed, 9 insertions(+), 53 deletions(-) diff --git a/back/config/sync/core-store.plugin_content_manager_configuration_content_types##api##post.post.json b/back/config/sync/core-store.plugin_content_manager_configuration_content_types##api##post.post.json index 5646fcd6b..806c98a8c 100644 --- a/back/config/sync/core-store.plugin_content_manager_configuration_content_types##api##post.post.json +++ b/back/config/sync/core-store.plugin_content_manager_configuration_content_types##api##post.post.json @@ -90,34 +90,6 @@ "sortable": true } }, - "heroAuthor": { - "edit": { - "label": "Hero Attribution", - "description": "", - "placeholder": "", - "visible": true, - "editable": true - }, - "list": { - "label": "heroAuthor", - "searchable": true, - "sortable": true - } - }, - "heroAuthorLink": { - "edit": { - "label": "Hero Attribution Link", - "description": "", - "placeholder": "", - "visible": true, - "editable": true - }, - "list": { - "label": "heroAuthorLink", - "searchable": true, - "sortable": true - } - }, "content": { "edit": { "label": "Content", @@ -250,6 +222,15 @@ } }, "layouts": { + "list": [ + "title", + "categories", + "related", + "hero", + "createdAt", + "updatedAt", + "slug" + ], "edit": [ [ { @@ -297,31 +278,12 @@ "size": 12 } ], - [ - { - "name": "heroAuthor", - "size": 4 - }, - { - "name": "heroAuthorLink", - "size": 4 - } - ], [ { "name": "seo", "size": 12 } ] - ], - "list": [ - "title", - "categories", - "related", - "hero", - "createdAt", - "updatedAt", - "slug" ] } }, diff --git a/back/src/api/post/content-types/post/schema.json b/back/src/api/post/content-types/post/schema.json index a9424a509..852365bfd 100644 --- a/back/src/api/post/content-types/post/schema.json +++ b/back/src/api/post/content-types/post/schema.json @@ -47,12 +47,6 @@ "right bottom" ] }, - "heroAuthor": { - "type": "string" - }, - "heroAuthorLink": { - "type": "string" - }, "content": { "type": "dynamiczone", "components": [