JS API Reference

Interface: IDemandRepository

market/demand/demand.IDemandRepository

Implemented by

Table of contents

Methods

Methods

getById

getById(id): undefined | Demand

Parameters

NameType
idstring

Returns

undefined | Demand

Defined in

src/market/demand/demand.ts:95


add

add(demand): Demand

Parameters

NameType
demandDemand

Returns

Demand

Defined in

src/market/demand/demand.ts:97


getAll

getAll(): Demand[]

Returns

Demand[]

Defined in

src/market/demand/demand.ts:99

Was this helpful?