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>
13 lines
348 B
TypeScript
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,
|
|
) {}
|
|
}
|