feat: 搭建 NestJS 后端基础设施与 Prisma 数据模型
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import { PageResult } from '@artveris/shared';
|
||||
|
||||
export function buildPage<T>(list: T[], total: number, page: number, pageSize: number): PageResult<T> {
|
||||
return { list, total, page, pageSize };
|
||||
}
|
||||
Reference in New Issue
Block a user