JS API Reference

Interface: IProposalRepository

market/proposal/market-proposal.IProposalRepository

Implemented by

Table of contents

Methods

Methods

add

add(proposal): MarketProposal

Parameters

NameType
proposalMarketProposal

Returns

MarketProposal

Defined in

src/market/proposal/market-proposal.ts:7


getById

getById(id): undefined | MarketProposal

Parameters

NameType
idstring

Returns

undefined | MarketProposal

Defined in

src/market/proposal/market-proposal.ts:9


getByDemandAndId

getByDemandAndId(demand, id): Promise<MarketProposal>

Parameters

NameType
demandDemand
idstring

Returns

Promise<MarketProposal>

Defined in

src/market/proposal/market-proposal.ts:11

Was this helpful?