@mdfriday/foundry
Version:
The core engine of MDFriday. Convert Markdown and shortcodes into fully themed static sites – Hugo-style, powered by TypeScript.
11 lines • 518 B
TypeScript
import { Resource, TemplateClient as ITemplateClient, TemplateSvc } from '../type';
/**
* TemplateClient provides template execution functionality for resources
* This implements the ExecuteAsTemplate operation following golang version
*/
export declare class TemplateClient implements ITemplateClient {
private templateExecutor;
constructor(templateExecutor: TemplateSvc);
executeAsTemplate(resource: Resource, targetPath: string, data: any): Promise<Resource>;
}
//# sourceMappingURL=template.d.ts.map