Skip to content

Commit e4d9f5f

Browse files
committed
re-structure the projects
1 parent 100b01f commit e4d9f5f

25 files changed

Lines changed: 12 additions & 54 deletions

src/app.controller.spec.ts

Lines changed: 0 additions & 22 deletions
This file was deleted.

src/app.controller.ts

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/app.service.ts

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/application/factories/common/notification.factory.ts renamed to src/notification/application/factories/common/notification.factory.ts

File renamed without changes.
File renamed without changes.
File renamed without changes.

src/application/services/registration.service.ts renamed to src/notification/application/services/registration.service.ts

File renamed without changes.

src/application/strategies/email-notification.strategy.ts renamed to src/notification/application/strategies/email-notification.strategy.ts

File renamed without changes.

src/application/strategies/sms-notification.strategy.ts renamed to src/notification/application/strategies/sms-notification.strategy.ts

File renamed without changes.

src/application/use-cases/send-notification.use-case.ts renamed to src/notification/application/use-cases/send-notification.use-case.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Injectable } from '@nestjs/common';
22
import { Notification } from '../../domain/entities/common/notification.entity';
33
import { INotificationStrategy } from '../../domain/interfaces/common/notification-strategy.interface';
44
import { NotificationFactory } from '../../infrastructure/factories/notification.factory';
5-
import { NotificationChannel } from '../../config/notification.config';
5+
import { NotificationChannel } from '../../../config/notification.config';
66
import { NotificationRepository } from '../../infrastructure/repositories/notification.repository';
77
import { NotificationValidator } from '../validators/notification.validator';
88

0 commit comments

Comments
 (0)