UNPKG

@code-pushup/models

Version:

Model definitions and validators for the Code PushUp CLI

18 lines (17 loc) 605 B
import { z } from 'zod'; export declare const uploadConfigSchema: z.ZodObject<{ server: z.ZodString; apiKey: z.ZodString; organization: z.ZodString; project: z.ZodString; timeout: z.ZodOptional<z.ZodNumber>; }, z.core.$strip>; /** * Type Definition: `UploadConfig` * * This type is derived from a Zod schema and represents * the validated structure of `UploadConfig` used within the application. * * @see {@link https://github.com/code-pushup/cli/blob/main/packages/models/docs/models-reference.md#uploadconfig} */ export type UploadConfig = z.infer<typeof uploadConfigSchema>;