reaction_types
v1.1.3
Published
<a href="https://freeimage.host/i/UPif2V"><img src="https://iili.io/UPif2V.md.png" alt="UPif2V.md.png" border="0"></a>
Downloads
3
Maintainers
Readme
types package
This package contains important types for communication with and within ReactionLabs services, including:
- message contracts for communication between services
- common data types interfaces
- reactionlabs-specific data structures
Usage
- Install ReactionLabs Types package using NPM
npm i reaction_types
- Import your required interfaces using JavaScript's import module syntax
import {
UserModel,
TransactionModel,
ProfileImgAssets,
CoverImgAssets,
} from "reaction_types"
Interfaces
We believe that the definition of the typescript interfaces are their best documentation themselves. Find all models here:
- General interfaces for data structures
- Business-specific interfaces
- Contracts for messages between services
Development
tsc
npm run git deploy
Deployment
npm run build