22 lines
778 B
TypeScript
22 lines
778 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { DatabaseModule } from '../database/database.module';
|
|
import { IdentityModule } from '../identity/identity.module';
|
|
import { StockStore } from './stock.store';
|
|
import { AdjustmentStore } from './adjustment.store';
|
|
import { ReservationStore } from './reservation.store';
|
|
import { ReservationTransitionStore } from './reservation-transition.store';
|
|
import { StockController } from './stock.controller';
|
|
import { ReservationsController } from './reservations.controller';
|
|
|
|
@Module({
|
|
imports: [DatabaseModule, IdentityModule],
|
|
providers: [
|
|
StockStore,
|
|
AdjustmentStore,
|
|
ReservationStore,
|
|
ReservationTransitionStore,
|
|
],
|
|
controllers: [StockController, ReservationsController],
|
|
})
|
|
export class InventoryModule {}
|