Private
Readonly
metadataReturns true
if the package is empty otherwise false
Gets a new package manifest with just the specified metadata types. If no metadata types are specified a copy of the current manifest is returned.
Filter expression or metadata types to include in the new manifest
Merge another package into this package
Other package to merge into this package
This manifest with all members of the other package added
Removes one or more members from the manifest, if no member is specified all members of the specified type are removed.
Type of component to remove
Optional
member: string | Iterable<string>If specified, the name of the component to remove. If not specified, all components of the specified type are removed.
Converts the contents of the package to a JSON structure that can be use for retrieval
Optional
$?: Record<string, undefined | string>Static
fromCreates a package XML structure object from a MetadataManifest
The manifest to create a PackageXML from
Static
fromCreates a new package XML structure object from a JSON structure or a package.xml file
Deserialized JSON structure or package.xml file
New PackageManifest object
Static
fromDeserializes a package.xml file into a package XML structure object
Buffer or string containing the package.xml file contents
New PackageManifest object
Object that describe the salesforce package XML, can be converted into a package.xml file body or JSON structure