@baseplate-dev/sync
Version:
Library for syncing Baseplate descriptions
9 lines • 557 B
TypeScript
import type { ExtractorConfig, TemplateConfig } from '../configs/extractor-config.schema.js';
export declare function sortExtractorConfigTemplateKeys(template: TemplateConfig): TemplateConfig;
/**
* Sorts the extractor.json configs in a standardized way.
* @param extractorConfig - The extractor.json config to sort
* @returns The sorted extractor.json config
*/
export declare function sortExtractorConfigKeys({ name, extractors, plugins, templates, ...rest }: ExtractorConfig): ExtractorConfig;
//# sourceMappingURL=sort-extractor-config-keys.d.ts.map