Files
goodgo-platform/apps/api/src/modules/auth/domain/events/email-change-requested.event.ts
Ho Ngoc Hai c920934fb6 fix(lint): enforce consistent-type-imports and fix import ordering across codebase
Auto-fix 862 lint errors: convert value imports used only as types to
`import type`, fix import group ordering in seed.ts and du-an-api.ts,
remove unused imports in auth controller, and clean up stale eslint-disable
comments referencing non-existent rules.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-16 05:13:56 +07:00

13 lines
348 B
TypeScript

import { type DomainEvent } from '@modules/shared';
export class EmailChangeRequestedEvent implements DomainEvent {
readonly eventName = 'user.email_change_requested';
readonly occurredAt = new Date();
constructor(
public readonly aggregateId: string,
public readonly newEmail: string,
public readonly otpCode: string,
) {}
}