sf-decomposer
Version:
Split large Salesforce metadata files into version-control-friendly pieces and rebuild deployment-ready files.
18 lines (17 loc) • 907 B
TypeScript
/**
* Built-in `multiLevel` rules applied when the user does not supply their own
* `multiLevel` override for a metadata suffix and `strategy === 'unique-id'`.
*
* Rule shape: `<file_pattern>:<root_to_strip>:<unique_id_elements>` (the third
* segment is itself a comma-separated list). See the `multiLevel` JSDoc on
* `DecomposerOverride` in src/helpers/types.ts for the full grammar.
*
* Adding an entry here makes the rule the default for that metadata suffix.
* User-supplied overrides always win because the resolver only falls back to
* this map when `options.multiLevel === undefined`.
*
* To use a different multi-level layout, supply your own `multiLevel` in
* `.sfdecomposer.config.json` (component- or type-scoped). To get fully flat
* output, pass `--strategy grouped-by-tag`, which skips multi-level entirely.
*/
export declare const multiLevelDefaults: Record<string, string[]>;