6 lines
348 B
TypeScript
6 lines
348 B
TypeScript
|
|
// packages/db-cn/src/index.ts —— CN 侧唯一 Prisma client 出口。
|
|||
|
|
// api(PrismaService)与 worker(Task 20)都从本包导入,schema/迁移只此一份。
|
|||
|
|
// commonjs 包:消费方(api/worker)均为 CJS,tsc 直出无需打包。
|
|||
|
|
export { PrismaClient } from '@prisma/client';
|
|||
|
|
export type { Prisma } from '@prisma/client';
|