Skip to content

Commit

Permalink
fix: improve the strapi displayName property
Browse files Browse the repository at this point in the history
  • Loading branch information
AliKdhim87 committed Aug 18, 2023
1 parent f24f851 commit 7f0f961
Show file tree
Hide file tree
Showing 13 changed files with 40 additions and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"info": {
"singularName": "price",
"pluralName": "prices",
"displayName": "price",
"displayName": "Price",
"description": ""
},
"options": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,31 @@
}
}
},
"slug": {
"sections": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "string",
"required": true
"type": "dynamiczone",
"components": [
"components.block-content",
"components.logo-button",
"components.spotlight",
"components.faq",
"components.multi-columns-button",
"components.button-link",
"components.accordion-section",
"components.image"
],
"required": true,
"min": 1
},
"price": {
"type": "relation",
"relation": "manyToOne",
"target": "api::price.price",
"inversedBy": "products"
},
"metaTags": {
"type": "component",
Expand All @@ -45,12 +62,6 @@
},
"component": "seo.meta"
},
"price": {
"type": "relation",
"relation": "manyToOne",
"target": "api::price.price",
"inversedBy": "products"
},
"catalogiMeta": {
"type": "component",
"repeatable": false,
Expand All @@ -62,36 +73,25 @@
"component": "components.catalogi-meta",
"required": false
},
"sections": {
"vngAttributes": {
"type": "component",
"repeatable": false,
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "dynamiczone",
"components": [
"components.block-content",
"components.logo-button",
"components.spotlight",
"components.faq",
"components.multi-columns-button",
"components.button-link",
"components.accordion-section",
"components.image"
],
"required": true,
"min": 1
"component": "components.vng-attributes",
"private": true
},
"vngAttributes": {
"type": "component",
"repeatable": false,
"slug": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"component": "components.vng-attributes",
"private": true
"type": "string",
"required": true
}
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"collectionName": "components_components_accordions",
"info": {
"displayName": "accordion"
"displayName": "Accordion"
},
"options": {},
"attributes": {
Expand Down
2 changes: 1 addition & 1 deletion apps/pdc-dashboard/src/components/components/audience.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"collectionName": "components_components_audiences",
"info": {
"displayName": "audience",
"displayName": "Audience",
"description": ""
},
"options": {},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"collectionName": "components_components_catalogi_metas",
"info": {
"displayName": "catalogi-meta",
"displayName": "Catalogi metadata",
"icon": "database",
"description": ""
},
Expand Down
2 changes: 1 addition & 1 deletion apps/pdc-dashboard/src/components/components/contact.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"collectionName": "components_components_contacts",
"info": {
"displayName": "contact",
"displayName": "Contact",
"description": ""
},
"options": {},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"collectionName": "components_components_group_headings",
"info": {
"displayName": "groupHeading",
"displayName": "Group Heading",
"description": ""
},
"options": {},
Expand Down
2 changes: 1 addition & 1 deletion apps/pdc-dashboard/src/components/components/link.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"collectionName": "components_components_links",
"info": {
"displayName": "link",
"displayName": "Link",
"icon": "link"
},
"options": {},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"collectionName": "components_components_multi_columns_button_items",
"info": {
"displayName": "multiColumnsButtonItem",
"displayName": "Multi Columns Button Item",
"description": ""
},
"options": {},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"collectionName": "components_components_online_requests",
"info": {
"displayName": "onlineRequest",
"displayName": "Online Request",
"description": ""
},
"options": {},
Expand Down
2 changes: 1 addition & 1 deletion apps/pdc-dashboard/src/components/components/price.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"collectionName": "components_components_prices",
"info": {
"displayName": "price",
"displayName": "Price",
"icon": "euro-sign",
"description": ""
},
Expand Down
2 changes: 1 addition & 1 deletion apps/pdc-dashboard/src/components/components/spatial.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"collectionName": "components_components_spatials",
"info": {
"displayName": "spatial",
"displayName": "Spatial",
"description": ""
},
"options": {},
Expand Down
2 changes: 1 addition & 1 deletion apps/pdc-dashboard/src/components/seo/meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"collectionName": "components_seo_metas",
"info": {
"displayName": "metaTags",
"displayName": "Metadata Tags",
"icon": "address-card",
"description": ""
},
Expand Down

0 comments on commit 7f0f961

Please sign in to comment.