This commit is contained in:
2025-12-11 13:50:38 +01:00
parent e4c1be628d
commit c7e5de40d6
212 changed files with 2965 additions and 763 deletions

View File

@@ -10,7 +10,7 @@ import type {
INotificationGateway,
NotificationDeliveryResult
} from '../../application/ports/INotificationGateway';
import type { NotificationChannel } from '../../domain/value-objects/NotificationChannel';
import type { NotificationChannel } from '../../domain/types/NotificationTypes';
export interface DiscordAdapterConfig {
webhookUrl?: string;

View File

@@ -10,7 +10,7 @@ import type {
INotificationGateway,
NotificationDeliveryResult
} from '../../application/ports/INotificationGateway';
import type { NotificationChannel } from '../../domain/value-objects/NotificationChannel';
import type { NotificationChannel } from '../../domain/types/NotificationTypes';
export interface EmailAdapterConfig {
smtpHost?: string;

View File

@@ -10,7 +10,7 @@ import type {
INotificationGateway,
NotificationDeliveryResult
} from '../../application/ports/INotificationGateway';
import type { NotificationChannel } from '../../domain/value-objects/NotificationChannel';
import type { NotificationChannel } from '../../domain/types/NotificationTypes';
export class InAppNotificationAdapter implements INotificationGateway {
private readonly channel: NotificationChannel = 'in_app';

View File

@@ -5,7 +5,7 @@
*/
import type { Notification } from '../../domain/entities/Notification';
import type { NotificationChannel } from '../../domain/value-objects/NotificationChannel';
import type { NotificationChannel } from '../../domain/types/NotificationTypes';
import type {
INotificationGateway,
INotificationGatewayRegistry,

View File

@@ -6,7 +6,7 @@
import { Notification } from '../../domain/entities/Notification';
import type { INotificationRepository } from '../../domain/repositories/INotificationRepository';
import type { NotificationType } from '../../domain/value-objects/NotificationType';
import type { NotificationType } from '../../domain/types/NotificationTypes';
export class InMemoryNotificationRepository implements INotificationRepository {
private notifications: Map<string, Notification> = new Map();