@code-pushup/models
Version:
Model definitions and validators for the Code PushUp CLI
14 lines (13 loc) • 658 B
TypeScript
import { z } from 'zod';
export declare const cacheConfigObjectSchema: z.ZodObject<{
read: z.ZodDefault<z.ZodBoolean>;
write: z.ZodDefault<z.ZodBoolean>;
}, z.core.$strip>;
export type CacheConfigObject = z.infer<typeof cacheConfigObjectSchema>;
export declare const cacheConfigShorthandSchema: z.ZodBoolean;
export type CacheConfigShorthand = z.infer<typeof cacheConfigShorthandSchema>;
export declare const cacheConfigSchema: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
read: z.ZodDefault<z.ZodBoolean>;
write: z.ZodDefault<z.ZodBoolean>;
}, z.core.$strip>]>>;
export type CacheConfig = z.infer<typeof cacheConfigSchema>;