UNPKG

donobu

Version:

Create browser automations with an LLM agent and replay them as Playwright scripts.

27 lines 942 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CreateSuiteSchema = void 0; const v4_1 = require("zod/v4"); const BrowserConfig_1 = require("./BrowserConfig"); const RunConfig_1 = require("./RunConfig"); /** * Payload for creating a new suite. Uses the RunConfig fields (all made * optional as defaults) plus suite-specific fields like name and description. */ exports.CreateSuiteSchema = RunConfig_1.RunConfigSchema.partial() .extend({ name: v4_1.z.string().max(256).describe('The name for this suite (required).'), description: v4_1.z .string() .nullable() .optional() .describe('An optional description of the suite.'), web: v4_1.z .object({ browser: BrowserConfig_1.BrowserConfigSchema.nullable().optional(), targetWebsite: v4_1.z.string(), }) .optional(), }) .loose(); //# sourceMappingURL=CreateSuite.js.map