feat: wip migrate to nestjs

This commit is contained in:
Ahmed Bouhuolia
2024-12-26 15:40:29 +02:00
parent a6932d76f3
commit cd84872a61
96 changed files with 2051 additions and 745 deletions

View File

@@ -1,7 +1,7 @@
import * as R from 'ramda';
import { Inject, Injectable } from '@nestjs/common';
import { omit, sumBy } from 'lodash';
import composeAsync from 'async/compose';
import * as composeAsync from 'async/compose';
import {
IPaymentReceivedCreateDTO,
IPaymentReceivedEditDTO,
@@ -78,6 +78,6 @@ export class PaymentReceiveDTOTransformer {
return R.compose(
this.branchDTOTransform.transformDTO<PaymentReceived>
)(initialAsyncDTO);
)(initialAsyncDTO) as PaymentReceived;
}
}