move ports to libs

This commit is contained in:
sbriat 2023-06-27 14:27:21 +02:00
parent 6c94330003
commit 2c6e045841
5 changed files with 3 additions and 4 deletions

View File

@ -1,7 +1,7 @@
import { Inject, Injectable } from '@nestjs/common';
import { MessageBrokerPublisher } from '@mobicoop/message-broker-module';
import { MessagePublisherPort } from '@ports/message-publisher.port';
import { MESSAGE_BROKER_PUBLISHER } from '@src/app.constants';
import { MessagePublisherPort } from '@libs/ports/message-publisher.port';
@Injectable()
export class MessagePublisher implements MessagePublisherPort {

View File

@ -9,8 +9,8 @@ import { CheckRepositoryPort } from '../ports/check-repository.port';
import { AD_REPOSITORY } from '@modules/health/health.di-tokens';
import { AdRepositoryPort } from '@modules/ad/core/ports/ad.repository.port';
import { MESSAGE_PUBLISHER } from '@src/app.constants';
import { MessagePublisherPort } from '@ports/message-publisher.port';
import { LOGGING_AD_HEALTH_CRIT } from '@modules/health/health.constants';
import { MessagePublisherPort } from '@libs/ports/message-publisher.port';
@Injectable()
export class RepositoriesHealthIndicatorUseCase extends HealthIndicator {

View File

@ -1,7 +1,7 @@
import { Inject, Injectable } from '@nestjs/common';
import { MESSAGE_BROKER_PUBLISHER } from '../../../app.constants';
import { MessageBrokerPublisher } from '@mobicoop/message-broker-module';
import { MessagePublisherPort } from '@ports/message-publisher.port';
import { MessagePublisherPort } from '@libs/ports/message-publisher.port';
@Injectable()
export class MessagePublisher implements MessagePublisherPort {

View File

@ -20,7 +20,6 @@
"paths": {
"@libs/*": ["src/libs/*"],
"@modules/*": ["src/modules/*"],
"@ports/*": ["src/ports/*"],
"@src/*": ["src/*"],
}
}