- Remove `type` keyword from NestJS injectable class imports across all modules to fix runtime DI resolution (330+ handler/listener files) - Offset CI docker-compose ports (5433/6380/8109/9002) to avoid conflicts with running dev containers - Update .env.test, playwright.config.ts, and e2e workflow to use isolated CI ports with configurable overrides - Fix prisma/seed.ts to use deterministic IDs for Prisma 7 upsert compatibility (phoneHash replaced phone as unique index) - Add dedicated Docker bridge network for CI service containers Co-Authored-By: Claude Opus 4 (1M context) <noreply@anthropic.com>
14 lines
389 B
TypeScript
14 lines
389 B
TypeScript
import { type KYCStatus } from '@prisma/client';
|
|
import { DomainEvent } from '@modules/shared';
|
|
|
|
export class UserKycUpdatedEvent implements DomainEvent {
|
|
readonly eventName = 'user.kyc_updated';
|
|
readonly occurredAt = new Date();
|
|
|
|
constructor(
|
|
public readonly aggregateId: string,
|
|
public readonly newStatus: KYCStatus,
|
|
public readonly previousStatus: KYCStatus,
|
|
) {}
|
|
}
|