Login:Src:Types: change types

This commit is contained in:
Darya Umrikhina 2024-08-14 19:23:05 +04:00
parent ea89af9821
commit ebf785e889

View File

@ -32,11 +32,8 @@ import {
TGetColorTheme,
TGetSsoSettings,
TPasswordHash,
TPasswordSettings,
TPortalCultures,
TSettings,
TThirdPartyProvider,
TTimeZone,
} from "@docspace/shared/api/settings/types";
import { TValidate } from "@docspace/shared/components/email-input/EmailInput.types";
import { IClientProps } from "@docspace/shared/utils/oauth/types";
@ -81,14 +78,6 @@ export type TCulturesOption =
icon?: string;
};
export type WithLoaderProps = {
isLoaded: boolean;
setIsLoaded(): void;
passwordSettings?: TPasswordSettings;
capabilities?: TCapabilities;
thirdPartyProviders?: TThirdPartyProvider[];
};
export type TDataContext = {
settings?: TSettings;
colorTheme?: TGetColorTheme;
@ -166,7 +155,7 @@ export interface ConfirmRouteProps {
doAuthenticated?: AuthenticatedAction;
defaultPage?: string;
socketUrl?: string;
children: ReactNode | string;
children: ReactNode;
}
export type GreetingContainersProps = {
@ -227,14 +216,3 @@ export type ForgotPasswordModalDialogProps = {
userEmail?: string;
onDialogClose: () => void;
};
export type WizardFormProps = {
passwordSettings?: TPasswordSettings;
machineName?: string;
isRequiredLicense?: boolean;
portalTimeZones?: TTimeZone[];
portalCultures?: TPortalCultures;
culture?: string;
wizardToken?: string;
passwordHash?: TPasswordHash;
};