Login:Src:Types: change types
This commit is contained in:
parent
ea89af9821
commit
ebf785e889
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user