This commit is contained in:
ch197511161
2025-12-11 02:09:07 +08:00
parent 54d6acbce3
commit aaaf08e8f3
84 changed files with 4131 additions and 0 deletions

19
shared/types/user.ts Normal file
View File

@@ -0,0 +1,19 @@
/**
* 用户相关类型定义
* User-related type definitions
*/
import { BaseEntity } from './base'
/**
* 用户实体接口
* User entity interface
*/
export interface User extends BaseEntity {
name: string
email: string
age: number | null
}
// 注意CreateUserInput 和 UpdateUserInput 类型现在在 ~/shared/schemas/user.ts 中定义
// 请从 ~/shared/schemas/user 导入这些类型