Skip to content

Commit

Permalink
wip(back): removes legacy hero fields
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrebb committed Dec 23, 2023
1 parent ecaee77 commit 5860640
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 53 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -250,6 +222,15 @@
}
},
"layouts": {
"list": [
"title",
"categories",
"related",
"hero",
"createdAt",
"updatedAt",
"slug"
],
"edit": [
[
{
Expand Down Expand Up @@ -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"
]
}
},
Expand Down
6 changes: 0 additions & 6 deletions back/src/api/post/content-types/post/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,6 @@
"right bottom"
]
},
"heroAuthor": {
"type": "string"
},
"heroAuthorLink": {
"type": "string"
},
"content": {
"type": "dynamiczone",
"components": [
Expand Down

0 comments on commit 5860640

Please sign in to comment.