UNPKG

@flxbl-io/sfp

Version:

sfp is a CLI tool to help you manage your Salesforce projects in an artifact centric model

32 lines (31 loc) 954 B
import { Logger } from '@flxbl-io/sfp-logger'; export default class PackageComponentDiff { private logger; private sfdxPackage; private revisionFrom?; private revisionTo?; private isDestructive?; private gitDiffUtils; destructivePackageObjPre: any[]; destructivePackageObjPost: any[]; resultOutput: { action: string; metadataType: string; componentName: string; message: string; path: string; }[]; constructor(logger: Logger, sfdxPackage: string, revisionFrom?: string, revisionTo?: string, isDestructive?: boolean); build(outputFolder: string): Promise<{ action: string; metadataType: string; componentName: string; message: string; path: string; }[]>; private checkForIngore; private createDestructiveChanges; private writeDestructivechanges; private buildDestructiveTypeObj; private parseContent; }