website refactor
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { IValueObject } from '@core/shared/domain';
|
||||
import type { ValueObject } from '@core/shared/domain';
|
||||
import type { EmailValidationResult } from '../types/EmailAddress';
|
||||
import { validateEmail, isDisposableEmail } from '../types/EmailAddress';
|
||||
|
||||
@@ -12,7 +12,7 @@ export interface EmailAddressProps {
|
||||
* Wraps a validated, normalized email string and provides equality semantics.
|
||||
* Validation and helper utilities live in domain/types/EmailAddress.
|
||||
*/
|
||||
export class EmailAddress implements IValueObject<EmailAddressProps> {
|
||||
export class EmailAddress implements ValueObject<EmailAddressProps> {
|
||||
public readonly props: EmailAddressProps;
|
||||
|
||||
private constructor(value: string) {
|
||||
|
||||
Reference in New Issue
Block a user