import { Module } from '@nestjs/common'; import { TypeOrmModule } from '@nestjs/typeorm'; import { AuthModule } from './auth/auth.module'; import { DataSource } from 'typeorm'; import { RtgsModule } from './tables/rtgs/rtgs.module'; import getTypeOrmConfig from './config/typeorm.config'; @Module({ imports: [ // TypeOrmModule.forRootAsync({ // useFactory: async () => await getTypeOrmConfig(), // }), AuthModule, RtgsModule, ], controllers: [], providers: [], }) export class AppModule { constructor() {} }