mirror of
https://github.com/dadosfera/maestro.git
synced 2026-09-09 08:54:48 +00:00
23 lines
801 B
TypeScript
23 lines
801 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { ClientsModule } from '@nestjs/microservices';
|
|
import { DadosferaLogger } from '@dadosfera/dadosfera-logs';
|
|
|
|
import { TransformationsController } from './transformations.controller';
|
|
import { TransformationsService } from './transformations.service';
|
|
|
|
import { TransformationsClientConfiguration } from './transformations-client';
|
|
import { TransformationsClientService } from './client.service';
|
|
const client = new TransformationsClientConfiguration();
|
|
|
|
@Module({
|
|
imports: [ClientsModule.register([client.providerOptions])],
|
|
controllers: [TransformationsController],
|
|
providers: [
|
|
TransformationsService,
|
|
TransformationsClientService,
|
|
DadosferaLogger,
|
|
],
|
|
exports: [TransformationsService],
|
|
})
|
|
export class TransformationsModule {}
|