chore: fixing cookiecutter input values
Signed-off-by: benjdlambert <ben@blam.sh>
This commit is contained in:
@@ -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(), {
|
||||
|
||||
Reference in New Issue
Block a user