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