@jayree/sfdx-plugin-manifest
Version:
A powerful Salesforce CLI plugin and Node.js library to effortlessly generate, clean up, and manage package.xml and destructiveChanges.xml manifests directly from your Salesforce orgs or from Git changes in your SF projects. Unlock faster, safer, and smar
17 lines (16 loc) • 854 B
TypeScript
import { RegistryAccess } from '@salesforce/source-deploy-retrieve';
import { StringMap } from '@salesforce/source-tracking/lib/shared/local/types.js';
type AddedAndDeletedFilenames = {
added: Set<string>;
deleted: Set<string>;
};
type StringMapsForMatches = {
/** these matches filename=>basename, metadata type/name, and git object hash */
fullMatches: StringMap;
/** these did not match the hash. They *probably* are matches where the "add" is also modified */
deleteOnly: StringMap;
};
/** composed functions to simplified use by the shadowRepo class */
export declare const filenameMatchesToMap: (registry: RegistryAccess) => (projectPath: string) => ({ added, deleted }: AddedAndDeletedFilenames) => Promise<StringMapsForMatches>;
export declare const getLogMessage: (matches: StringMapsForMatches) => string[];
export {};