narinder1231's picture
Add authentication interfaces for login and registration
df7f428
raw
history blame contribute delete
290 Bytes
export interface ILogin {
email: string;
password: string;
}
export interface ILoginResponse {
token: string;
}
export interface IRegister {
first_name: string;
last_name: string;
email: string;
password: string;
}
export interface IRegisterResponse {
user_id: string;
}