import { Module } from "@nestjs/common"; import { NotificationsModule } from "../notifications/notifications.module.js"; import { TasksController } from "./tasks.controller.js"; import { TasksService } from "./tasks.service.js"; /** * T-159 — the Tasks module (page-backed first-class tasks, A-006). * A new module is justified beyond Ponytail's "6 endpoints in an existing * module" bar: it owns 5 task routes + the T-160 due-reminder worker job + * the task transition matrix, and it must not bloat the pages module. * PrismaService/AuditService/EventBus are GLOBAL (CoreModule); only * NotificationsService is imported. */ @Module({ imports: [NotificationsModule], controllers: [TasksController], providers: [TasksService], exports: [TasksService] }) export class TasksModule {}