From a38dc428670ffa520b804f675ded9d11d468f15e Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 9 Dec 2024 16:06:30 -0400 Subject: content: generateCoverArtwork: pass-through warnings slot --- src/content/dependencies/generateCoverArtwork.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/content/dependencies') 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: -- cgit 1.3.0-6-gf8a5