UNPKG

donobu

Version:

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

36 lines 1.29 kB
import type { Request, Response } from 'express'; import type { SuitesManager } from '../managers/SuitesManager'; import type { TestsManager } from '../managers/TestsManager'; /** * API controller for managing suites. */ export declare class SuitesApi { private readonly suitesManager; private readonly testsManager; constructor(suitesManager: SuitesManager, testsManager: TestsManager); /** * GET /api/suites — list suites with optional filtering and pagination. */ getSuites(req: Request, res: Response): Promise<void>; /** * POST /api/suites — create a new suite. */ createSuite(req: Request, res: Response): Promise<void>; /** * GET /api/suites/:suiteId — get a suite by ID. */ getSuite(req: Request, res: Response): Promise<void>; /** * PUT /api/suites/:suiteId — update an existing suite. */ updateSuite(req: Request, res: Response): Promise<void>; /** * DELETE /api/suites/:suiteId — delete a suite (tests are orphaned). */ deleteSuite(req: Request, res: Response): Promise<void>; /** * GET /api/suites/:suiteId/tests — list tests in a suite. */ getSuiteTests(req: Request, res: Response): Promise<void>; } //# sourceMappingURL=SuitesApi.d.ts.map