@salesforce/packaging
Version:
Packaging library for the Salesforce packaging platform
20 lines (19 loc) • 850 B
TypeScript
import { Connection } from '@salesforce/core';
import { BundleSObjects } from '../interfaces';
export declare class PackageBundleInstalledList {
/**
* Get all installed package bundles in the target org
*
* @param connection - Connection to the target org (where bundles are installed)
* @returns Array of installed bundle versions with their component packages
*/
static getInstalledBundles(connection: Connection): Promise<BundleSObjects.InstalledPackageBundleVersion[]>;
/**
* Get the component packages for a specific installed bundle
*
* @param connection - Connection to the target org
* @param installedBundleVersionId - The InstalledPackageBundleVersion ID
* @returns Array of components with expected and actual package versions
*/
private static getBundleComponents;
}