JS API Reference
Interface: IProposalRepository
market/proposal/market-proposal.IProposalRepository
Implemented by
Table of contents
Methods
Methods
add
▸ add(proposal
): MarketProposal
Parameters
Name | Type |
---|---|
proposal | MarketProposal |
Returns
Defined in
src/market/proposal/market-proposal.ts:7
getById
▸ getById(id
): undefined
| MarketProposal
Parameters
Name | Type |
---|---|
id | string |
Returns
undefined
| MarketProposal
Defined in
src/market/proposal/market-proposal.ts:9
getByDemandAndId
▸ getByDemandAndId(demand
, id
): Promise
<MarketProposal
>
Parameters
Name | Type |
---|---|
demand | Demand |
id | string |
Returns
Promise
<MarketProposal
>