Login:Src:Types: add TCreateUserData types

This commit is contained in:
Darya Umrikhina 2024-07-23 01:41:58 +04:00
parent 78d26330a2
commit cdf246c010

View File

@ -38,7 +38,6 @@ import {
} from "@docspace/shared/api/settings/types";
import { TValidate } from "@docspace/shared/components/email-input/EmailInput.types";
import { RecaptchaType, ThemeKeys } from "@docspace/shared/enums";
import { Nullable } from "@docspace/shared/types";
import { ReactNode } from "react";
export type TError =
@ -186,3 +185,15 @@ export type WizardFormProps = {
wizardToken?: string;
passwordHash?: TPasswordHash;
};
export type TCreateUserData = {
fromInviteLink: boolean;
userName: string;
passwordHash: string;
cultureName: string;
email: string;
firstName: string;
lastName: string;
key?: string;
type?: number;
};