targo-backend/src/modules/shifts/shifts.module.ts

16 lines
789 B
TypeScript

import { Module } from '@nestjs/common';
import { ShiftsController } from './controllers/shifts.controller';
import { BusinessLogicsModule } from 'src/modules/business-logics/business-logics.module';
import { ShiftsCommandService } from './services/shifts-command.service';
import { NotificationsModule } from '../notifications/notifications.module';
import { ShiftsQueryService } from './services/shifts-query.service';
import { ShiftsArchivalService } from './services/shifts-archival.service';
@Module({
imports: [BusinessLogicsModule, NotificationsModule],
controllers: [ShiftsController],
providers: [ShiftsQueryService, ShiftsCommandService, ShiftsArchivalService],
exports: [ShiftsQueryService, ShiftsCommandService, ShiftsArchivalService],
})
export class ShiftsModule {}