@samudai_xyz/gateway-consumer-types
v0.8.96
Published
## Usage
Downloads
411
Maintainers
Readme
gateway-consumer-types
Usage
Install Package
npm i gateway-consumer-types
Import types
import {ServiceAMS} from "gateway-consumer-types
Types available
Gateway consumer currently uses the following as required types
| service-name | type |
| ----------------- | ---------------- |
| service-ams
| 'ServiceAMS' |
| service-project
| 'ServiceProject' |
| service-member
| 'ServiceMember |
| service-job
| 'ServiceJob' |
| service-dao
| 'ServiceDAO' |
Standard response from gateway-consumer
- Success response
{ message: "Success message" data: response data }
- Error response
{ message: "Error message" error: Actual error }