...
This commit is contained in:
26
src/modules/auth/auth-repository-dto.ts
Normal file
26
src/modules/auth/auth-repository-dto.ts
Normal file
@@ -0,0 +1,26 @@
|
||||
// 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;
|
||||
};
|
||||
Reference in New Issue
Block a user