mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-06 16:04:23 +00:00
Migrate user api to ts
This commit is contained in:
12
app/src/types/userApi.ts
Normal file
12
app/src/types/userApi.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
// UpdateProfileRequest represents a user profile update request
|
||||
export interface UpdateProfileRequest {
|
||||
displayName?: string;
|
||||
email?: string;
|
||||
currentPassword?: string;
|
||||
newPassword?: string;
|
||||
}
|
||||
|
||||
// DeleteAccountRequest represents a user account deletion request
|
||||
export interface DeleteAccountRequest {
|
||||
password: string;
|
||||
}
|
||||
Reference in New Issue
Block a user