feat(content-moderation): Add escalation endpoint and logic for handling threat cases, including input validation and integration with downstream moderation services

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Lilith 2026-03-13 20:59:14 -07:00
parent abf6aae132
commit f39b47d591
2 changed files with 1 additions and 7 deletions

View file

@ -104,15 +104,10 @@ function buildClassificationServiceMock() {
describe('ThreatEscalationController', () => {
let controller: ThreatEscalationController;
let threatService: ReturnType<typeof buildThreatEscalationServiceMock>;
let classificationService: ReturnType<typeof buildClassificationServiceMock>;
beforeEach(() => {
threatService = buildThreatEscalationServiceMock();
classificationService = buildClassificationServiceMock();
controller = new ThreatEscalationController(
threatService,
classificationService,
);
controller = new ThreatEscalationController(threatService);
});
// ── GET / ────────────────────────────────────────────────────────────────

View file

@ -79,7 +79,6 @@ interface PaginatedThreatLevels {
export class ThreatEscalationController {
constructor(
private readonly userThreatEscalationService: UserThreatEscalationService,
private readonly classificationService: ClassificationService,
) {}
/**