diff options
Diffstat (limited to 'src/content/dependencies/generateCoverArtwork.js')
-rw-r--r-- | src/content/dependencies/generateCoverArtwork.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/content/dependencies/generateCoverArtwork.js b/src/content/dependencies/generateCoverArtwork.js index 27133b9d..50ca89ae 100644 --- a/src/content/dependencies/generateCoverArtwork.js +++ b/src/content/dependencies/generateCoverArtwork.js @@ -17,6 +17,10 @@ export default { validate: v => v.isDimensions, }, + warnings: { + validate: v => v.looseArrayOf(v.isString), + }, + details: { type: 'html', mutable: false, @@ -41,6 +45,8 @@ export default { thumb: 'medium', reveal: true, link: true, + + warnings: slots.warnings, ...sizeSlots, }), @@ -53,6 +59,8 @@ export default { thumb: 'small', reveal: false, link: false, + + warnings: slots.warnings, ...sizeSlots, })); @@ -63,6 +71,8 @@ export default { reveal: true, link: true, lazy: true, + + warnings: slots.warnings, ...sizeSlots, attributes: |