@mdfriday/foundry
Version:
The core engine of MDFriday. Convert Markdown and shortcodes into fully themed static sites – Hugo-style, powered by TypeScript.
32 lines (31 loc) • 1.03 kB
TypeScript
import { Fs as IFs } from '../type';
import { OverlayFs } from '../entity/overlayfs';
import { Modules } from '../../module';
export declare class RootMapping {
readonly from: string;
readonly to: string;
readonly toBase: string;
constructor(from: string, to: string, toBase?: string);
fs(sourceProject: IFs): IFs;
}
export declare class FilesystemsCollector {
readonly sourceProject: IFs;
overlayMountsPrompt: OverlayFs;
overlayMountsWorkflow: OverlayFs;
overlayMountsContent: OverlayFs[];
overlayMountsLayouts: OverlayFs;
overlayMountsStatics: OverlayFs;
overlayMountsAssets: OverlayFs;
overlayMountsI18n: OverlayFs;
constructor(sourceProject: IFs);
collect(mods: Modules): Promise<void>;
private isPrompts;
private isWorkflows;
private isContent;
private isLayouts;
private isStatics;
private isAssets;
private isI18n;
private absPathify;
}
export declare function newFilesystemsCollector(sourceProject: IFs): FilesystemsCollector;