mirror of
https://github.com/dadosfera/maestro.git
synced 2026-09-05 14:14:48 +00:00
21 lines
582 B
TypeScript
21 lines
582 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { DadosferaLogger } from '@dadosfera/dadosfera-logs';
|
|
import { ClientsModule } from '@nestjs/microservices';
|
|
import { ThemeController } from './theme.controller';
|
|
import { ThemeService } from './theme.service';
|
|
import { DucClient } from '../duc/client.config';
|
|
|
|
const ducClient = new DucClient();
|
|
|
|
@Module({
|
|
imports: [
|
|
ClientsModule.register([
|
|
ducClient.providerOptions,
|
|
]),
|
|
],
|
|
controllers: [ThemeController],
|
|
providers: [ThemeService, DadosferaLogger],
|
|
exports: [ThemeService],
|
|
})
|
|
export class ThemeModule {}
|