@code-pushup/models
Version:
Model definitions and validators for the Code PushUp CLI
17 lines (16 loc) • 529 B
TypeScript
import { z } from 'zod';
export declare const formatSchema: z.ZodEnum<{
json: "json";
md: "md";
}>;
export type Format = z.infer<typeof formatSchema>;
export declare const persistConfigSchema: z.ZodObject<{
outputDir: z.ZodOptional<z.ZodString>;
filename: z.ZodOptional<z.ZodString>;
format: z.ZodOptional<z.ZodArray<z.ZodEnum<{
json: "json";
md: "md";
}>>>;
skipReports: z.ZodOptional<z.ZodBoolean>;
}, z.core.$strip>;
export type PersistConfig = z.infer<typeof persistConfigSchema>;