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
Name | Type |
---|---|
api | RequestorService |
demandRepo | IDemandRepository |
Returns
Defined in
src/shared/yagna/repository/agreement-repository.ts:9
Methods
getById
▸ getById(id
): Promise
<Agreement
>
Parameters
Name | Type |
---|---|
id | string |
Returns
Promise
<Agreement
>
Implementation of
Defined in
Was this helpful?