website refactor

This commit is contained in:
2026-01-16 16:46:57 +01:00
parent 37b1aa626c
commit 2f53727702
445 changed files with 1160 additions and 1150 deletions

View File

@@ -1,4 +1,4 @@
import type { ValueObject } from '@core/shared/domain';
import type { ValueObject } from '@core/shared/domain/ValueObject';
import { NotificationDomainError } from '../errors/NotificationDomainError';
export interface NotificationIdProps {
@@ -37,7 +37,7 @@ export class NotificationId implements ValueObject<NotificationIdProps> {
return this.props.value;
}
equals(other: IValueObject<NotificationIdProps>): boolean {
equals(other: ValueObject<NotificationIdProps>): boolean {
return this.props.value === other.props.value;
}
}

View File

@@ -1,4 +1,4 @@
import type { ValueObject } from '@core/shared/domain';
import type { ValueObject } from '@core/shared/domain/ValueObject';
import { NotificationDomainError } from '../errors/NotificationDomainError';
export interface QuietHoursProps {
@@ -63,7 +63,7 @@ export class QuietHours implements ValueObject<QuietHoursProps> {
return hour >= startHour || hour < endHour;
}
equals(other: IValueObject<QuietHoursProps>): boolean {
equals(other: ValueObject<QuietHoursProps>): boolean {
return (
this.props.startHour === other.props.startHour &&
this.props.endHour === other.props.endHour