UNPKG

forest-cli

Version:

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

17 lines 961 B
/** * Read orchestration for `forest layout pull`: fetch the patchable documents of * the requested domains and rebuild the canonical layout from the rendering. * Kept free of the diff/apply engine so the read path stands on its own. */ import type LayoutManager from './layout-manager'; import type { LayoutDomain, LayoutFileDoc, LayoutScope } from './types'; /** The domains a `pull` captures (the layout rebuilt from the rendering, plus folders/workflows). */ export declare const PULL_DOMAINS: LayoutDomain[]; /** Fetch the remote patchable documents for the requested domains. */ export declare function fetchRemoteDocs(manager: LayoutManager, scope: LayoutScope, domains: LayoutDomain[]): Promise<LayoutFileDoc>; /** Count collections/workflows for a pull summary line (defensive against absent domains). */ export declare function summarize(docs: LayoutFileDoc): { collections: number; workflows: number; }; //# sourceMappingURL=read.d.ts.map