UNPKG

@syngrisi/syngrisi

Version:
18 lines (17 loc) 768 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createCheckParamsSchema = void 0; const zod_1 = require("zod"); exports.createCheckParamsSchema = zod_1.z.object({ branch: zod_1.z.string().min(1), appName: zod_1.z.string().min(1), suitename: zod_1.z.string().min(1), testid: zod_1.z.string().regex(/^[a-f0-9]{24}$/), // Regex for 24 hex characters name: zod_1.z.string().min(1), viewport: zod_1.z.string().regex(/^\d+x\d+$/), // "WidthxHeight" format browserName: zod_1.z.string().min(1), browserVersion: zod_1.z.string().min(1), browserFullVersion: zod_1.z.string(), os: zod_1.z.string().min(1), hashcode: zod_1.z.string().length(128) // Assuming hashcode is always 128 chars length });