mirror of
https://github.com/aditama-labs/nest-autocrud.git
synced 2025-05-04 20:39:53 +00:00
16 lines
418 B
TypeScript
16 lines
418 B
TypeScript
import { READ_ENTIRE_PROCESS } from '@autocrud/skeleton';
|
|
import { Module } from '@nestjs/common';
|
|
import { PrismaService } from './prisma.service';
|
|
import { PrismaListProcess } from './processes/list.process';
|
|
|
|
export const configServiceProvider = {
|
|
provide: READ_ENTIRE_PROCESS,
|
|
useClass: PrismaListProcess,
|
|
};
|
|
|
|
@Module({
|
|
providers: [PrismaService],
|
|
exports: [PrismaService],
|
|
})
|
|
export class PrismaModule {}
|