@code-pushup/models 0.5.2 → 0.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js
CHANGED
|
@@ -211,8 +211,7 @@ var persistConfigSchema = z3.object({
|
|
|
211
211
|
filename: fileNameSchema(
|
|
212
212
|
"Artifacts file name (without extension)"
|
|
213
213
|
).optional(),
|
|
214
|
-
format: z3.array(formatSchema).
|
|
215
|
-
// @TODO remove default or optional value and otherwise it will not set defaults.
|
|
214
|
+
format: z3.array(formatSchema).optional()
|
|
216
215
|
});
|
|
217
216
|
|
|
218
217
|
// packages/models/src/lib/plugin-config.ts
|
package/package.json
CHANGED
package/src/lib/core-config.d.ts
CHANGED
|
@@ -1691,7 +1691,7 @@ export declare const unrefinedCoreConfigSchema: z.ZodObject<{
|
|
|
1691
1691
|
persist: z.ZodOptional<z.ZodObject<{
|
|
1692
1692
|
outputDir: z.ZodOptional<z.ZodString>;
|
|
1693
1693
|
filename: z.ZodOptional<z.ZodString>;
|
|
1694
|
-
format: z.ZodOptional<z.
|
|
1694
|
+
format: z.ZodOptional<z.ZodArray<z.ZodEnum<["json", "md"]>, "many">>;
|
|
1695
1695
|
}, "strip", z.ZodTypeAny, {
|
|
1696
1696
|
outputDir?: string | undefined;
|
|
1697
1697
|
filename?: string | undefined;
|
|
@@ -3944,7 +3944,7 @@ export declare const coreConfigSchema: z.ZodObject<{
|
|
|
3944
3944
|
persist: z.ZodOptional<z.ZodObject<{
|
|
3945
3945
|
outputDir: z.ZodOptional<z.ZodString>;
|
|
3946
3946
|
filename: z.ZodOptional<z.ZodString>;
|
|
3947
|
-
format: z.ZodOptional<z.
|
|
3947
|
+
format: z.ZodOptional<z.ZodArray<z.ZodEnum<["json", "md"]>, "many">>;
|
|
3948
3948
|
}, "strip", z.ZodTypeAny, {
|
|
3949
3949
|
outputDir?: string | undefined;
|
|
3950
3950
|
filename?: string | undefined;
|
|
@@ -6202,7 +6202,7 @@ export declare function refineCoreConfig(schema: typeof unrefinedCoreConfigSchem
|
|
|
6202
6202
|
persist: z.ZodOptional<z.ZodObject<{
|
|
6203
6203
|
outputDir: z.ZodOptional<z.ZodString>;
|
|
6204
6204
|
filename: z.ZodOptional<z.ZodString>;
|
|
6205
|
-
format: z.ZodOptional<z.
|
|
6205
|
+
format: z.ZodOptional<z.ZodArray<z.ZodEnum<["json", "md"]>, "many">>;
|
|
6206
6206
|
}, "strip", z.ZodTypeAny, {
|
|
6207
6207
|
outputDir?: string | undefined;
|
|
6208
6208
|
filename?: string | undefined;
|
|
@@ -4,7 +4,7 @@ export type Format = z.infer<typeof formatSchema>;
|
|
|
4
4
|
export declare const persistConfigSchema: z.ZodObject<{
|
|
5
5
|
outputDir: z.ZodOptional<z.ZodString>;
|
|
6
6
|
filename: z.ZodOptional<z.ZodString>;
|
|
7
|
-
format: z.ZodOptional<z.
|
|
7
|
+
format: z.ZodOptional<z.ZodArray<z.ZodEnum<["json", "md"]>, "many">>;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
outputDir?: string | undefined;
|
|
10
10
|
filename?: string | undefined;
|