resolvePackageNamesByApiName
resolvePackageNamesByApiName(
connection,apiNames,options):Promise<Map<string,string>>
Defined in: packages/simply-core/src/metadata/packageAttribution.ts:128
Resolve the publishing package of each named object, via EntityDefinition.Publisher.Name.
This covers managed packages and standard objects; unlocked-package components need resolvePackageNamesBySubjectId instead.
Parameters
Section titled “Parameters”connection
Section titled “connection”Connection
The org connection to query against.
apiNames
Section titled “apiNames”readonly string[]
Object API names to resolve.
options
Section titled “options”ResolvePackageNamesByApiNameOptions
Chunk size, failure tolerance, and the no-publisher label.
Returns
Section titled “Returns”Promise<Map<string, string>>
Package label by object API name, for every object the query returned.