JS API Reference

Class: AgreementRepository

shared/yagna/repository/agreement-repository.AgreementRepository

Implements

Table of contents

Constructors

Methods

Constructors

constructor

new AgreementRepository(api, demandRepo): AgreementRepository

Parameters

NameType
apiRequestorService
demandRepoIDemandRepository

Returns

AgreementRepository

Defined in

src/shared/yagna/repository/agreement-repository.ts:9

Methods

getById

getById(id): Promise<Agreement>

Parameters

NameType
idstring

Returns

Promise<Agreement>

Implementation of

IAgreementRepository.getById

Defined in

src/shared/yagna/repository/agreement-repository.ts:14

Was this helpful?