diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-12-09 16:06:30 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-12-09 16:06:30 -0400 |
commit | a38dc428670ffa520b804f675ded9d11d468f15e (patch) | |
tree | 2308fb5538b20880d46615b435336f49048d5cc6 /src | |
parent | 6ddc14218d1e2c6afde5469c61c626dfbda6974d (diff) |
content: generateCoverArtwork: pass-through warnings slot
Diffstat (limited to 'src')
-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: |