textile-repository

0.1.0 • Public • Published

Textile Repository

A utility, wrapper class to query your collection in threadsDB of Textile (IPFS).

Textile repository class is a wrapper class that will help you to give you always the Model class with the generic interface.

When you develop with Textile ThreadsDB, this will be very helpfull.

export interface ISearch extends Model {
    name: string;
    blob: any;
}

const repo = new Repository<ISearch>(searchCollectionName, db, threadId);
repo.findById(id);

Readme

Keywords

none

Package Sidebar

Install

npm i textile-repository

Weekly Downloads

0

Version

0.1.0

License

ISC

Unpacked Size

10.1 kB

Total Files

12

Last publish

Collaborators

  • jorishermans