UNPKG

donobu

Version:

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

17 lines 655 B
/** * @fileoverview Donobu Slack payload renderer. * * Pure library that turns a `DonobuReport` into a Slack Block Kit payload * suitable for POSTing to an Incoming Webhook. No filesystem writes, no * network calls, no env-var reads — callers own I/O. */ import type { DonobuReport } from './model'; export interface RenderSlackOptions { /** Optional URL linking back to the full HTML report or CI job. */ reportUrl?: string; } export interface SlackBlockPayload { blocks: unknown[]; } export declare function renderSlack(report: DonobuReport, options?: RenderSlackOptions): SlackBlockPayload; //# sourceMappingURL=renderSlack.d.ts.map