Skip to content

Commit

Permalink
chore: jsdoc improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-Hibbert committed Jan 6, 2025
1 parent f8f3b30 commit f7b444c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
8 changes: 1 addition & 7 deletions packages/zoe/src/zoeService/internal-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,6 @@
* @returns {Promise<BundleCap>}
*/

/**
* @callback GetProposalShapeForInvitation
* @param {InvitationHandle} invitationHandle
* @returns {Pattern | undefined}
*/

/**
* @typedef ZoeStorageManager
* @property {MakeZoeInstanceStorageManager} makeZoeInstanceStorageManager
Expand All @@ -138,7 +132,7 @@
* @property {GetInstallationForInstance} getInstallationForInstance
* @property {GetInstanceAdmin} getInstanceAdmin
* @property {UnwrapInstallation} unwrapInstallation
* @property {GetProposalShapeForInvitation} getProposalShapeForInvitation
* @property {(invitationHandle: InvitationHandle) => Pattern | undefined} getProposalShapeForInvitation
*/

/**
Expand Down
6 changes: 4 additions & 2 deletions packages/zoe/src/zoeService/types-ambient.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,14 @@
* @property {GetInstance} getInstance
* @property {GetInstallation} getInstallation
* @property {GetInvitationDetails} getInvitationDetails
* Return an object with the instance, installation, description, invitation
* handle, and any custom properties specific to the contract.
* Return an object with the instance, installation, description, invitation
* handle, and any custom properties specific to the contract.
* @property {GetFeeIssuer} getFeeIssuer
* @property {GetConfiguration} getConfiguration
* @property {GetBundleIDFromInstallation} getBundleIDFromInstallation
* @property {(invitationHandle: InvitationHandle) => Pattern | undefined} getProposalShapeForInvitation
* Return the pattern (if any) associated with the invitationHandle that a
* proposal is required to match to be accepted by zoe.offer().
*/

/**
Expand Down

0 comments on commit f7b444c

Please sign in to comment.