Files
learn-languages/src/modules/auth/auth-repository-dto.ts
2026-02-03 20:29:55 +08:00

27 lines
546 B
TypeScript

// Repository layer DTOs for auth module - User profile operations
// User profile data types
export type RepoOutputUserProfile = {
id: string;
email: string;
emailVerified: boolean;
username: string | null;
displayUsername: string | null;
image: string | null;
createdAt: Date;
updatedAt: Date;
} | null;
// Input types
export type RepoInputFindUserByUsername = {
username: string;
};
export type RepoInputFindUserById = {
id: string;
};
export type RepoInputFindUserByEmail = {
email: string;
};