@salesforce/source-deploy-retrieve
Version:
JavaScript library to run Salesforce metadata deploys and retrieves
21 lines (20 loc) • 947 B
TypeScript
import { MetadataRegistry } from './types';
type ProjectVariants = {
registryCustomizations?: MetadataRegistry;
presets?: MetadataRegistry[];
projectDir?: never;
};
export type RegistryLoadInput = {
/** The project directory to look at sfdx-project.json file
* will default to the current working directory
* if no project file is found, the standard registry will be returned without modifications
*/
projectDir?: string;
registryCustomizations?: never;
presets?: never;
} | ProjectVariants;
/** combine the standard registration with any overrides specific in the sfdx-project.json */
export declare const getEffectiveRegistry: (input?: RegistryLoadInput) => MetadataRegistry;
/** merge the children of the top-level properties (ex: types, suffixes, etc) on 2 registries */
export declare const firstLevelMerge: (original: MetadataRegistry, overrides: MetadataRegistry) => MetadataRegistry;
export {};