UNPKG

sf-decomposer

Version:

Split large Salesforce metadata files into version-control-friendly pieces and rebuild deployment-ready files.

13 lines (12 loc) 720 B
import { VerifyOptions, VerifyResult } from '../helpers/types.js'; /** * Run a non-destructive round-trip check: copy the user's package directories into a scratch * directory under the OS temp folder, decompose + recompose them there, and diff the rebuilt * parents against the originals. * * The temp directory is always removed before this function returns, and the user's working tree * is never modified. The returned `drift` array is empty when every parent XML survived the round * trip byte-identically; otherwise each entry names the offending file (relative to its package * directory) and a short reason. */ export declare function verifyMetadataTypes(options: VerifyOptions): Promise<VerifyResult>;