import { DomainEvent , IDomainEvent } from '@centsideas/event-sourcing' ; import { PrivateUserEventNames } from '@centsideas/enums' ; import { UserModels } from '@centsideas/models' ; @ DomainEvent ( PrivateUserEventNames . EmailChangeConfirmed ) export class EmailChangeConfirmed implements IDomainEvent { serialize ( ) { return { } ; } static deserialize ( { } ) { return new EmailChangeConfirmed ( ) ; } }