refactor: channel integration folders

This commit is contained in:
Davidson Gomes
2024-08-23 07:55:26 -03:00
parent fff11ea452
commit a83a358620
12 changed files with 209 additions and 93 deletions

View File

@@ -0,0 +1,15 @@
import { Router } from 'express';
import { EvolutionRouter } from './evolution/evolution.router';
import { MetaRouter } from './meta/meta.router';
export class ChannelRouter {
public readonly router: Router;
constructor(configService: any) {
this.router = Router();
this.router.use('/', new EvolutionRouter(configService).router);
this.router.use('/', new MetaRouter(configService).router);
}
}