Skip to content

Commit

Permalink
chore: improved doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mgordel committed Jun 26, 2024
1 parent f1b6370 commit 36626b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/market/draft-offer-proposal-pool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ export type OfferProposalSelector = (proposals: OfferProposal[]) => OfferProposa

export interface ProposalPoolOptions {
/**
* A user-defined function that will be used by {@link DraftOfferProposalPool.acquire} to pick the best fitting proposal from available ones
* A user-defined function that will be used by {@link DraftOfferProposalPool.acquire} to pick the best fitting offer proposal from available ones
*/
selectOfferProposal?: OfferProposalSelector;

/**
* User defined filter function which will determine if the proposal is valid for use.
* User defined filter function which will determine if the offer proposal is valid for use.
*
* Proposals are validated before being handled to the caller of {@link DraftOfferProposalPool.acquire}
* Offer proposals are validated before being handled to the caller of {@link DraftOfferProposalPool.acquire}
*/
validateOfferProposal?: OfferProposalFilter;

Expand Down
4 changes: 2 additions & 2 deletions src/market/market.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ export interface MarketOptions {
/** Pricing strategy that will be used to filter the offers from the market */
pricing: PricingOptions;

/** A user-defined filter function which will determine if the proposal is valid for use. */
/** A user-defined filter function which will determine if the offer proposal is valid for use. */
offerProposalFilter?: OfferProposalFilter;

/** A user-defined function that will be used to pick the best fitting proposal from available ones */
/** A user-defined function that will be used to pick the best fitting offer proposal from available ones */
offerProposalSelector?: OfferProposalSelector;
}

Expand Down

0 comments on commit 36626b8

Please sign in to comment.