Skip to content

Commit 6c179ff

Browse files
committed
♻️ Improve typing
1 parent b7a58de commit 6c179ff

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

src/api/landing-thematique/content-types/landing-thematique/schema.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,17 @@
128128
"type": "relation",
129129
"relation": "oneToOne",
130130
"target": "api::faq-category.faq-category"
131+
},
132+
"metadata": {
133+
"type": "component",
134+
"repeatable": false,
135+
"pluginOptions": {
136+
"i18n": {
137+
"localized": true
138+
}
139+
},
140+
"component": "pages.metas",
141+
"required": true
131142
}
132143
}
133144
}

src/components/blocks/carousel.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"allowedTypes": ["files", "images"]
1414
},
1515
"text": {
16-
"type": "richtext"
16+
"type": "richtext",
17+
"required": true
1718
},
1819
"htmlText": {
1920
"type": "richtext"

0 commit comments

Comments
 (0)