view data fixes
This commit is contained in:
22
apps/website/lib/view-models/auth/ResetPasswordInterfaces.ts
Normal file
22
apps/website/lib/view-models/auth/ResetPasswordInterfaces.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
export interface ResetPasswordFormField {
|
||||
value: string;
|
||||
error?: string;
|
||||
touched: boolean;
|
||||
validating: boolean;
|
||||
}
|
||||
|
||||
export interface ResetPasswordFormState {
|
||||
fields: {
|
||||
newPassword: ResetPasswordFormField;
|
||||
confirmPassword: ResetPasswordFormField;
|
||||
};
|
||||
isValid: boolean;
|
||||
isSubmitting: boolean;
|
||||
submitError?: string;
|
||||
submitCount: number;
|
||||
}
|
||||
|
||||
export interface ResetPasswordUIState {
|
||||
showPassword: boolean;
|
||||
showConfirmPassword: boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user