UNPKG

@jayree/sfdx-plugin-manifest

Version:

A Salesforce CLI plugin containing commands for creating manifest files from Salesforce orgs or git commits of sfdx projects.

17 lines (16 loc) 861 B
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>; }; export 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 {};