« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generateListingPage.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/dependencies/generateListingPage.js')
-rw-r--r--src/content/dependencies/generateListingPage.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/content/dependencies/generateListingPage.js b/src/content/dependencies/generateListingPage.js
index cab80a7..c01d3b3 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'},
   },