@baseplate-dev/sync
Version:
Library for syncing Baseplate descriptions
12 lines • 729 B
TypeScript
import type { TemplateExtractorContext } from '../runner/template-extractor-context.js';
/**
* Writes extractor.json files for the specified generators to the file system.
* This function reads the current configurations from the context and writes them
* to their respective extractor.json files.
*
* @param generatorNames - Array of generator names to write extractor.json files for
* @param context - Template extractor context containing config lookup and file container
* @throws Error if no config is found for a generator
*/
export declare function writeExtractorTemplateJsons(generatorNames: string[], context: TemplateExtractorContext): Promise<void>;
//# sourceMappingURL=write-extractor-template-jsons.d.ts.map