scaffolder: make dry-run secrets optional to match task execution
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -340,7 +340,7 @@ export async function createRouter(
|
||||
const bodySchema = z.object({
|
||||
template: z.unknown(),
|
||||
values: z.record(z.unknown()),
|
||||
secrets: z.record(z.string()),
|
||||
secrets: z.record(z.string()).optional(),
|
||||
directoryContents: z.array(
|
||||
z.object({ path: z.string(), base64Content: z.string() }),
|
||||
),
|
||||
|
||||
@@ -154,7 +154,7 @@ export interface ScaffolderStreamLogsOptions {
|
||||
export interface ScaffolderDryRunOptions {
|
||||
template: JsonValue;
|
||||
values: JsonObject;
|
||||
secrets: JsonObject;
|
||||
secrets?: Record<string, string>;
|
||||
directoryContents: { path: string; base64Content: string }[];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user