mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 22:00:31 +00:00
feat: wip migrate to nestjs
This commit is contained in:
@@ -4,14 +4,40 @@ import { CreateBill } from './commands/CreateBill.service';
|
||||
import { DeleteBill } from './commands/DeleteBill.service';
|
||||
import { GetBill } from './queries/GetBill';
|
||||
import { BillDTOTransformer } from './commands/BillDTOTransformer.service';
|
||||
import { EditBillService } from './commands/EditBill.service';
|
||||
import { GetDueBills } from './queries/GetDueBills.service';
|
||||
import { OpenBillService } from './commands/OpenBill.service';
|
||||
import { BillsValidators } from './commands/BillsValidators.service';
|
||||
import { ItemsEntriesService } from '../Items/ItemsEntries.service';
|
||||
import { BranchTransactionDTOTransformer } from '../Branches/integrations/BranchTransactionDTOTransform';
|
||||
import { BranchesSettingsService } from '../Branches/BranchesSettings';
|
||||
import { WarehouseTransactionDTOTransform } from '../Warehouses/Integrations/WarehouseTransactionDTOTransform';
|
||||
import { WarehousesSettings } from '../Warehouses/WarehousesSettings';
|
||||
import { ItemEntriesTaxTransactions } from '../TaxRates/ItemEntriesTaxTransactions.service';
|
||||
import { TenancyContext } from '../Tenancy/TenancyContext.service';
|
||||
import { BillsController } from './Bills.controller';
|
||||
import { BillLandedCostsModule } from '../BillLandedCosts/BillLandedCosts.module';
|
||||
|
||||
@Module({
|
||||
imports: [BillLandedCostsModule],
|
||||
providers: [
|
||||
TenancyContext,
|
||||
BillsApplication,
|
||||
BranchTransactionDTOTransformer,
|
||||
WarehouseTransactionDTOTransform,
|
||||
WarehousesSettings,
|
||||
ItemEntriesTaxTransactions,
|
||||
BranchesSettingsService,
|
||||
CreateBill,
|
||||
EditBillService,
|
||||
GetDueBills,
|
||||
OpenBillService,
|
||||
GetBill,
|
||||
DeleteBill,
|
||||
BillDTOTransformer,
|
||||
BillsValidators,
|
||||
ItemsEntriesService
|
||||
],
|
||||
controllers: [BillsController],
|
||||
})
|
||||
export class BillsModule {}
|
||||
|
||||
Reference in New Issue
Block a user