website refactor
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import { IMagicLinkNotificationPort, MagicLinkNotificationInput } from '@core/identity/domain/ports/IMagicLinkNotificationPort';
|
||||
import { Logger } from '@core/shared/application';
|
||||
import { MagicLinkNotificationPort, MagicLinkNotificationInput } from '@core/identity/domain/ports/MagicLinkNotificationPort';
|
||||
import { Logger } from '@core/shared/domain';
|
||||
|
||||
/**
|
||||
* Console adapter for magic link notifications
|
||||
* Logs to console for development/testing purposes
|
||||
*/
|
||||
export class ConsoleMagicLinkNotificationAdapter implements IMagicLinkNotificationPort {
|
||||
export class ConsoleMagicLinkNotificationAdapter implements MagicLinkNotificationPort {
|
||||
constructor(private readonly logger: Logger) {}
|
||||
|
||||
async sendMagicLink(input: MagicLinkNotificationInput): Promise<void> {
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import type { NotificationService, SendNotificationCommand } from '@core/notifications/application/ports/NotificationService';
|
||||
import type { INotificationRepository } from '@core/notifications/domain/repositories/INotificationRepository';
|
||||
import type { INotificationPreferenceRepository } from '@core/notifications/domain/repositories/INotificationPreferenceRepository';
|
||||
import type { NotificationRepository } from '@core/notifications/domain/repositories/NotificationRepository';
|
||||
import type { NotificationPreferenceRepository } from '@core/notifications/domain/repositories/NotificationPreferenceRepository';
|
||||
import type { NotificationGatewayRegistry } from '@core/notifications/application/ports/NotificationGateway';
|
||||
import { SendNotificationUseCase } from '@core/notifications/application/use-cases/SendNotificationUseCase';
|
||||
import type { Logger } from '@core/shared/application';
|
||||
import type { Logger } from '@core/shared/domain';
|
||||
|
||||
export class NotificationServiceAdapter implements NotificationService {
|
||||
private readonly useCase: SendNotificationUseCase;
|
||||
|
||||
Reference in New Issue
Block a user