Skip to content

lhciAssertSchema

const lhciAssertSchema: ZodObject<{
assertions: ZodOptional<ZodRecord<ZodString, ZodUnion<[ZodTuple<[ZodEnum<{
error: "error";
warn: "warn";
}>, ZodObject<{
maxLength: ZodNumber;
minScore: ZodNumber;
}, $strip>], null>, ZodEnum<{
off: "off";
}>]>>>;
budgetsFile: ZodOptional<ZodString>;
includePassedAssertions: ZodOptional<ZodBoolean>;
preset: ZodOptional<ZodEnum<{
lighthouse:all: "lighthouse:all";
lighthouse:no-pwa: "lighthouse:no-pwa";
lighthouse:recommended: "lighthouse:recommended";
}>>;
}, $strip>;

Defined in: core/types-lhci/src/index.ts:10