Skip to content

Commit

Permalink
Merge pull request #480 from ClayChipps/main
Browse files Browse the repository at this point in the history
feat: add dependencies getter
  • Loading branch information
shetzel authored Jan 4, 2024
2 parents 5928325 + e055890 commit 587f576
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/package/subscriberPackageVersion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,15 @@ export class SubscriberPackageVersion {
return sites.length > 0 ? sites : undefined;
}

/**
* Return dependencies for the SubscriberPackageVersion.
*
* @returns {Dependencies} The dependencies.
*/
public async getDependencies(): Promise<PackagingSObjects.SubscriberPackageDependencies> {
return this.getField<SPV['Dependencies']>('Dependencies');
}

/**
* Return a field value from the SubscriberPackageVersion SObject using the field name.
*
Expand Down

0 comments on commit 587f576

Please sign in to comment.