@code-pushup/models
Version:
Model definitions and validators for the Code PushUp CLI
12 lines (11 loc) • 442 B
TypeScript
import { z } from 'zod';
export declare const sourceFileLocationSchema: z.ZodObject<{
file: z.ZodString;
position: z.ZodOptional<z.ZodObject<{
startLine: z.ZodNumber;
startColumn: z.ZodOptional<z.ZodNumber>;
endLine: z.ZodOptional<z.ZodNumber>;
endColumn: z.ZodOptional<z.ZodNumber>;
}, z.core.$strip>>;
}, z.core.$strip>;
export type SourceFileLocation = z.infer<typeof sourceFileLocationSchema>;