move ports to libs
This commit is contained in:
parent
6c94330003
commit
2c6e045841
|
@ -1,7 +1,7 @@
|
||||||
import { Inject, Injectable } from '@nestjs/common';
|
import { Inject, Injectable } from '@nestjs/common';
|
||||||
import { MessageBrokerPublisher } from '@mobicoop/message-broker-module';
|
import { MessageBrokerPublisher } from '@mobicoop/message-broker-module';
|
||||||
import { MessagePublisherPort } from '@ports/message-publisher.port';
|
|
||||||
import { MESSAGE_BROKER_PUBLISHER } from '@src/app.constants';
|
import { MESSAGE_BROKER_PUBLISHER } from '@src/app.constants';
|
||||||
|
import { MessagePublisherPort } from '@libs/ports/message-publisher.port';
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class MessagePublisher implements MessagePublisherPort {
|
export class MessagePublisher implements MessagePublisherPort {
|
||||||
|
|
|
@ -9,8 +9,8 @@ import { CheckRepositoryPort } from '../ports/check-repository.port';
|
||||||
import { AD_REPOSITORY } from '@modules/health/health.di-tokens';
|
import { AD_REPOSITORY } from '@modules/health/health.di-tokens';
|
||||||
import { AdRepositoryPort } from '@modules/ad/core/ports/ad.repository.port';
|
import { AdRepositoryPort } from '@modules/ad/core/ports/ad.repository.port';
|
||||||
import { MESSAGE_PUBLISHER } from '@src/app.constants';
|
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 { LOGGING_AD_HEALTH_CRIT } from '@modules/health/health.constants';
|
||||||
|
import { MessagePublisherPort } from '@libs/ports/message-publisher.port';
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class RepositoriesHealthIndicatorUseCase extends HealthIndicator {
|
export class RepositoriesHealthIndicatorUseCase extends HealthIndicator {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { Inject, Injectable } from '@nestjs/common';
|
import { Inject, Injectable } from '@nestjs/common';
|
||||||
import { MESSAGE_BROKER_PUBLISHER } from '../../../app.constants';
|
import { MESSAGE_BROKER_PUBLISHER } from '../../../app.constants';
|
||||||
import { MessageBrokerPublisher } from '@mobicoop/message-broker-module';
|
import { MessageBrokerPublisher } from '@mobicoop/message-broker-module';
|
||||||
import { MessagePublisherPort } from '@ports/message-publisher.port';
|
import { MessagePublisherPort } from '@libs/ports/message-publisher.port';
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class MessagePublisher implements MessagePublisherPort {
|
export class MessagePublisher implements MessagePublisherPort {
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
"paths": {
|
"paths": {
|
||||||
"@libs/*": ["src/libs/*"],
|
"@libs/*": ["src/libs/*"],
|
||||||
"@modules/*": ["src/modules/*"],
|
"@modules/*": ["src/modules/*"],
|
||||||
"@ports/*": ["src/ports/*"],
|
|
||||||
"@src/*": ["src/*"],
|
"@src/*": ["src/*"],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue