1.0.5 • Published 1 year ago
@sayil/wingman v1.0.5
@sayil/wingman
Welcome to the @sayil/wingman
project! This package aims to provide a response types guides and utility services for nestjs.
The Utility services are tailored mainly to use typeorm.
Installation
To install the package, run the following command in your terminal:
npm i @sayil/wingman
How to Use the Project
DTO
- using the Utility Entity, there will be no need to add the CreatedAt, DeletedAt, and UpdatedAt columns
@Entity()
export class BloodPressure extends UtilityEntity {}
- Fetching a single Record
export class FetchSingleRecord extends ReadOneResponse {}
- Fetching a multiple Records
export class FetchNultipleRecords extends ReadManyResponse {}