refactor: wip to nestjs

This commit is contained in:
Ahmed Bouhuolia
2024-12-25 00:43:55 +02:00
parent 336171081e
commit a6932d76f3
249 changed files with 21314 additions and 1616 deletions

View File

@@ -0,0 +1,33 @@
import { Module } from '@nestjs/common';
import { TenancyDatabaseModule } from '../Tenancy/TenancyDB/TenancyDB.module';
import { TransformerInjectable } from '../Transformer/TransformerInjectable.service';
import { ActivateVendorService } from './commands/ActivateVendor.service';
import { CreateEditVendorDTOService } from './commands/CreateEditVendorDTO';
import { CreateVendorService } from './commands/CreateVendor.service';
import { DeleteVendorService } from './commands/DeleteVendor.service';
import { EditOpeningBalanceVendorService } from './commands/EditOpeningBalanceVendor.service';
import { EditVendorService } from './commands/EditVendor.service';
import { GetVendorService } from './queries/GetVendor';
import { VendorValidators } from './commands/VendorValidators';
import { VendorsApplication } from './VendorsApplication.service';
import { TenancyContext } from '../Tenancy/TenancyContext.service';
import { VendorsController } from './Vendors.controller';
@Module({
imports: [TenancyDatabaseModule],
controllers: [VendorsController],
providers: [
ActivateVendorService,
CreateEditVendorDTOService,
CreateVendorService,
EditVendorService,
EditOpeningBalanceVendorService,
GetVendorService,
VendorValidators,
DeleteVendorService,
VendorsApplication,
TransformerInjectable,
TenancyContext,
],
})
export class VendorsModule {}