mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-12 23:56:36 +08:00
b4bb57b2a5
Co-authored-by: Himself65 <himself65@outlook.com>
12 lines
247 B
TypeScript
12 lines
247 B
TypeScript
import { Global, Module } from '@nestjs/common';
|
|
|
|
import { PrismaService } from './service';
|
|
|
|
@Global()
|
|
@Module({
|
|
providers: [PrismaService],
|
|
exports: [PrismaService],
|
|
})
|
|
export class PrismaModule {}
|
|
export { PrismaService } from './service';
|