@code-pushup/models
Advanced tools
Comparing version 0.5.2 to 0.5.3
@@ -214,4 +214,3 @@ // packages/models/src/lib/category-config.ts | ||
).optional(), | ||
format: z3.array(formatSchema).default(["json"]).optional() | ||
// @TODO remove default or optional value and otherwise it will not set defaults. | ||
format: z3.array(formatSchema).optional() | ||
}); | ||
@@ -218,0 +217,0 @@ |
{ | ||
"name": "@code-pushup/models", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "zod": "^3.22.1", |
@@ -7,3 +7,3 @@ import { z } from 'zod'; | ||
filename: z.ZodOptional<z.ZodString>; | ||
format: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<["json", "md"]>, "many">>>; | ||
format: z.ZodOptional<z.ZodArray<z.ZodEnum<["json", "md"]>, "many">>; | ||
}, "strip", z.ZodTypeAny, { | ||
@@ -10,0 +10,0 @@ outputDir?: string | undefined; |
Sorry, the diff of this file is too big to display
1190101
15685