@flxbl-io/sfp
Version:
sfp is a CLI tool to help you manage your Salesforce projects in an artifact centric model
19 lines (18 loc) • 791 B
TypeScript
import { Logger } from '@flxbl-io/sfp-logger';
import Package2Detail from '../Package2Detail';
import SFPOrg from '../../org/SFPOrg';
export default class InstallUnlockedPackageCollection {
private sfpOrg;
private logger;
private dryRun;
private installedPackages;
constructor(sfpOrg: SFPOrg, logger: Logger, dryRun?: boolean);
install(package2s: Package2Detail[], skipIfInstalled: boolean, ignoreErrorIfAHigherVersionPackageIsInstalled?: boolean): Promise<void>;
/**
* Checks whether unlocked package version is installed in org.
* Overrides base class method.
* @param skipIfPackageInstalled
* @returns
*/
protected isPackageToBeInstalled(skipIfPackageInstalled: boolean, packageVersionId: string, pacakgeName?: string): boolean;
}