@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) • 1.13 kB
TypeScript
import { Logger } from '@flxbl-io/sfp-logger';
import SfpPackage from './SfpPackage';
/**
* Methods for getting information about artifacts
*/
export default class SfpPackageInquirer {
private readonly sfpPackages;
private packageLogger?;
private _latestPackageManifestFromArtifacts;
private _pathToLatestPackageManifestFromArtifacts;
private _prunedLatestPackageManifestFromArtifacts;
get pathToLatestPackageManifestFromArtifacts(): string;
get prunedLatestPackageManifestFromArtifacts(): any;
constructor(sfpPackages: SfpPackage[], packageLogger?: Logger);
getLatestProjectConfig(): any;
/**
* Gets latest package manifest from artifacts
* Returns null if unable to find latest package manifest
*/
private getLatestPackageManifestFromArtifacts;
/**
* Verify that artifacts are from the same source repository
*/
validateArtifactsSourceRepository(): void;
/**
* Remove packages that do not have an artifact from the package manifest
* @param latestPackageManifest
* @param artifacts
*/
private pruneLatestPackageManifest;
}