28 lines
1.1 KiB
TypeScript
28 lines
1.1 KiB
TypeScript
import { PrismaModule } from "src/prisma/prisma.module";
|
|
import { PayPeriodsController } from "./controllers/pay-periods.controller";
|
|
import { Module } from "@nestjs/common";
|
|
import { PayPeriodsCommandService } from "./services/pay-periods-command.service";
|
|
import { PayPeriodsQueryService } from "./services/pay-periods-query.service";
|
|
import { TimesheetsModule } from "../timesheets/timesheets.module";
|
|
import { TimesheetsCommandService } from "../timesheets/services/timesheets-command.service";
|
|
import { ExpensesCommandService } from "../expenses/services/expenses-command.service";
|
|
import { ShiftsCommandService } from "../shifts/services/shifts-command.service";
|
|
|
|
@Module({
|
|
imports: [PrismaModule, TimesheetsModule],
|
|
providers: [
|
|
PayPeriodsQueryService,
|
|
PayPeriodsCommandService,
|
|
TimesheetsCommandService,
|
|
ExpensesCommandService,
|
|
ShiftsCommandService,
|
|
],
|
|
controllers: [PayPeriodsController],
|
|
exports: [
|
|
PayPeriodsQueryService,
|
|
PayPeriodsCommandService,
|
|
PayPeriodsQueryService,
|
|
]
|
|
})
|
|
|
|
export class PayperiodsModule {} |