mirror of
https://github.com/aditama-labs/nest-autocrud.git
synced 2024-11-22 03:16:21 +00:00
18 lines
489 B
TypeScript
18 lines
489 B
TypeScript
import { PrismaModule } from '@aditama-labs/nest-autocrud/prisma';
|
|
import { Module } from '@nestjs/common';
|
|
import { AppController } from './app.controller';
|
|
import { AppService } from './app.service';
|
|
import { AppListProcess } from './processes/list.process';
|
|
|
|
@Module({
|
|
imports: [
|
|
PrismaModule.forRoot({
|
|
delegate: (prisma) => prisma.user,
|
|
processList: AppListProcess,
|
|
}),
|
|
],
|
|
controllers: [AppController],
|
|
providers: [AppService],
|
|
})
|
|
export class AppModule {}
|