UNPKG

@code-pushup/models

Version:

Model definitions and validators for the Code PushUp CLI

17 lines (16 loc) 532 B
import { z } from 'zod'; export declare const commitSchema: z.ZodObject<{ hash: z.ZodString; message: z.ZodString; date: z.ZodCoercedDate<unknown>; author: z.ZodString; }, z.core.$strip>; /** * Type Definition: `Commit` * * This type is derived from a Zod schema and represents * the validated structure of `Commit` used within the application. * * @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#commit} */ export type Commit = z.infer<typeof commitSchema>;