chore: fixing cookiecutter input values

Signed-off-by: benjdlambert <ben@blam.sh>
This commit is contained in:
benjdlambert
2025-06-19 11:29:50 +02:00
parent a7554ba479
commit cf9ba6f0ab
2 changed files with 13 additions and 3 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder-backend-module-cookiecutter': patch
---
Fixing the typescript issue with using `z.unknown()`
@@ -169,9 +169,14 @@ export function createFetchCookiecutterAction(options: {
})
.optional(),
values: z =>
z.record(z.unknown(), {
description: 'Values to pass on to cookiecutter for templating',
}),
z
.object(
{},
{
description: 'Values to pass on to cookiecutter for templating',
},
)
.passthrough(),
copyWithoutRender: z =>
z
.array(z.string(), {