UNPKG

forest-cli

Version:

The Lumberjacks' toolbelt is the Forest CLI which makes easy to manage your back office application directly from the terminal.

8 lines 551 B
/** Human rendering of a diff plan, and translation of server errors. */ import type { LayoutApiError } from './errors'; import type { PlannedOp } from './types'; /** Render the plan grouped by domain, with warnings and a final count. */ export declare function formatPlan(ops: PlannedOp[], warnings: string[]): string; /** Map a Forest API error to an actionable message (422 path → JSON key, 403 premium…). */ export declare function explainApiError(error: LayoutApiError, sentOps: PlannedOp[]): string; //# sourceMappingURL=plan-format.d.ts.map