Path mapping & deps fix & bundler changed to tsup

This commit is contained in:
Judson Cairo
2024-08-11 20:47:17 -03:00
parent feb7b795e9
commit 32e58debc6
90 changed files with 645 additions and 667 deletions

View File

@@ -1,8 +1,7 @@
import { ConfigService } from '@config/env.config';
import { Logger } from '@config/logger.config';
import { PrismaClient } from '@prisma/client';
import { ConfigService } from '../../config/env.config';
import { Logger } from '../../config/logger.config';
export class Query<T> {
where?: T;
sort?: 'asc' | 'desc';
@@ -15,7 +14,7 @@ export class PrismaRepository extends PrismaClient {
super();
}
private readonly logger = new Logger(PrismaRepository.name);
private readonly logger = new Logger('PrismaRepository');
public async onModuleInit() {
await this.$connect();