UNPKG

sf-decomposer

Version:

Decompose Salesforce metadata into granular, VCS-friendly files; recompose for deployment.

22 lines (21 loc) 1.15 kB
import { ResolvedDecomposeTypeOptions } from '../../helpers/configOverrides.js'; export type EffectiveDisassembleOptions = { strategy: string; multiLevel?: string | string[]; splitTags?: string; sidecarElements?: string; }; /** * Hard plugin rules that always win over user-provided strategies. `labels`, * `loyaltyProgramSetup`, and `externalServiceRegistration` are forced to `unique-id` * regardless of run-, type-, or component-scope configuration because their on-disk * layout depends on it. */ export declare function applyHardStrategyRules(metaSuffix: string, strategy: string): string; /** * Resolve the strategy/multiLevel/splitTags/sidecarElements a real disassemble call would use * for this metadata suffix, given already component-or-type-resolved options. Shared by the real * disassembler (`decomposeFileHandler.ts`) and the verify round-trip check, so the two can never * silently diverge on what "the effective disassemble options" are for a given component. */ export declare function resolveEffectiveDisassembleOptions(metaSuffix: string, options: ResolvedDecomposeTypeOptions): EffectiveDisassembleOptions;