diff options
Diffstat (limited to 'src/content/dependencies/generateListingPage.js')
-rw-r--r-- | src/content/dependencies/generateListingPage.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/content/dependencies/generateListingPage.js b/src/content/dependencies/generateListingPage.js index cab80a7f..c01d3b35 100644 --- a/src/content/dependencies/generateListingPage.js +++ b/src/content/dependencies/generateListingPage.js @@ -60,10 +60,10 @@ export default { slots: { type: {validate: v => v.is('rows', 'chunks', 'custom')}, - rows: {validate: v => v.arrayOf(v.isObject)}, + rows: {validate: v => v.strictArrayOf(v.isObject)}, - chunkTitles: {validate: v => v.arrayOf(v.isObject)}, - chunkRows: {validate: v => v.arrayOf(v.isObject)}, + chunkTitles: {validate: v => v.strictArrayOf(v.isObject)}, + chunkRows: {validate: v => v.strictArrayOf(v.isObject)}, content: {type: 'html'}, }, |