UNPKG

salesforce-alm

Version:

This package contains tools, and APIs, for an improved salesforce.com developer experience.

12 lines (11 loc) 673 B
import { MetadataDocument } from '../metadataDocument'; /** * Strategy for comiting decompositions to the file system. * * Of particular interest is deletion. If an aggregate object has fine grain tracking for its bits then these will be * deleted independently of a decomposition. If not, then deletion might be the responsibility of this strategy (by * looking at what's "missing" from the decompositions viz a viz the workspace). */ export interface DecompositionCommitStrategy { commit(documents: Map<string, MetadataDocument>, existingPaths: string[], createDuplicates: boolean, forceoverwrite: boolean): Promise<[string[], string[], string[], string[]]>; }