Login:Src:Types: add TActivateConfirmUser and change other types
This commit is contained in:
parent
67d1cab257
commit
55fcbe3849
@ -39,7 +39,11 @@ import {
|
||||
} from "@docspace/shared/api/settings/types";
|
||||
import { TValidate } from "@docspace/shared/components/email-input/EmailInput.types";
|
||||
import { IClientProps } from "@docspace/shared/utils/oauth/types";
|
||||
import { RecaptchaType, ThemeKeys } from "@docspace/shared/enums";
|
||||
import {
|
||||
EmployeeActivationStatus,
|
||||
RecaptchaType,
|
||||
ThemeKeys,
|
||||
} from "@docspace/shared/enums";
|
||||
|
||||
import { AuthenticatedAction, ValidationResult } from "@/utils/enums";
|
||||
|
||||
@ -95,6 +99,8 @@ export type TConfirmRouteContext = {
|
||||
type?: string;
|
||||
first?: string;
|
||||
roomId?: string;
|
||||
firstname?: string;
|
||||
lastname?: string;
|
||||
};
|
||||
roomData: {
|
||||
roomId?: string;
|
||||
@ -130,6 +136,20 @@ export type TCreateUserData = {
|
||||
type?: number;
|
||||
};
|
||||
|
||||
export type TActivateConfirmUser = {
|
||||
personalData: {
|
||||
firstname?: string;
|
||||
lastname?: string;
|
||||
};
|
||||
loginData: {
|
||||
userName: string;
|
||||
passwordHash: string;
|
||||
};
|
||||
key: string;
|
||||
userId: string;
|
||||
activationStatus: EmployeeActivationStatus;
|
||||
};
|
||||
|
||||
export type TTfaSecretKeyAndQR = {
|
||||
account: string;
|
||||
manualEntryKey: string;
|
||||
|
Loading…
Reference in New Issue
Block a user