refactor(server): split HistoryModel from DocModel (#10604)

This commit is contained in:
fengmk2
2025-03-05 12:10:28 +00:00
parent fed0e0add3
commit 687c26304a
9 changed files with 374 additions and 330 deletions

View File

@@ -1,3 +1,4 @@
export * from './doc';
export * from './feature';
export * from './role';
export * from './user';

View File

@@ -0,0 +1,7 @@
import { Prisma } from '@prisma/client';
export const publicUserSelect = {
id: true,
name: true,
avatarUrl: true,
} satisfies Prisma.UserSelect;