From 2f3f2ae7f098376f535e5aa993c9eedc14e36f5d Mon Sep 17 00:00:00 2001 From: Vijay A Date: Fri, 22 Mar 2024 02:33:33 +0530 Subject: Upgrade node modules --- src/containers/auth/AuthLayoutContainer.tsx | 4 ++-- src/containers/auth/AuthReleaseNotesScreen.tsx | 8 ++++---- src/containers/auth/ChangeServerScreen.tsx | 8 ++++---- src/containers/auth/InviteScreen.tsx | 4 ++-- src/containers/auth/LockedScreen.tsx | 8 ++++---- src/containers/auth/LoginScreen.tsx | 6 +++--- src/containers/auth/PasswordScreen.tsx | 4 ++-- src/containers/auth/SetupAssistantScreen.tsx | 8 ++++---- src/containers/auth/SignupScreen.tsx | 6 +++--- src/containers/auth/WelcomeScreen.tsx | 4 ++-- 10 files changed, 30 insertions(+), 30 deletions(-) (limited to 'src/containers/auth') diff --git a/src/containers/auth/AuthLayoutContainer.tsx b/src/containers/auth/AuthLayoutContainer.tsx index 6a1fed0d7..6c9834ece 100644 --- a/src/containers/auth/AuthLayoutContainer.tsx +++ b/src/containers/auth/AuthLayoutContainer.tsx @@ -1,8 +1,8 @@ -import { Component, ReactElement } from 'react'; import { inject, observer } from 'mobx-react'; +import { Component, type ReactElement } from 'react'; import { ThemeProvider } from 'react-jss'; import { Outlet } from 'react-router-dom'; -import { StoresProps } from '../../@types/ferdium-components.types'; +import type { StoresProps } from '../../@types/ferdium-components.types'; import AuthLayout from '../../components/auth/AuthLayout'; import AppLoader from '../../components/ui/AppLoader'; diff --git a/src/containers/auth/AuthReleaseNotesScreen.tsx b/src/containers/auth/AuthReleaseNotesScreen.tsx index c9d2286e1..3191ba139 100644 --- a/src/containers/auth/AuthReleaseNotesScreen.tsx +++ b/src/containers/auth/AuthReleaseNotesScreen.tsx @@ -1,16 +1,16 @@ -import { Component } from 'react'; import { inject, observer } from 'mobx-react'; +import { Component } from 'react'; -import { IntlShape, defineMessages, injectIntl } from 'react-intl'; -import Markdown from 'markdown-to-jsx'; import { mdiArrowLeftCircle } from '@mdi/js'; -import { openExternalUrl } from '../../helpers/url-helpers'; +import Markdown from 'markdown-to-jsx'; +import { type IntlShape, defineMessages, injectIntl } from 'react-intl'; import Icon from '../../components/ui/icon'; import { ferdiumVersion } from '../../environment-remote'; import { getFerdiumVersion, getUpdateInfoFromGH, } from '../../helpers/update-helpers'; +import { openExternalUrl } from '../../helpers/url-helpers'; const messages = defineMessages({ headline: { diff --git a/src/containers/auth/ChangeServerScreen.tsx b/src/containers/auth/ChangeServerScreen.tsx index db48479cc..00715a0a2 100644 --- a/src/containers/auth/ChangeServerScreen.tsx +++ b/src/containers/auth/ChangeServerScreen.tsx @@ -1,9 +1,9 @@ -import { Component, ReactElement } from 'react'; import { inject, observer } from 'mobx-react'; -import { StoresProps } from '../../@types/ferdium-components.types'; +import { Component, type ReactElement } from 'react'; +import type { StoresProps } from '../../@types/ferdium-components.types'; +import type { Actions } from '../../actions/lib/actions'; import ChangeServer from '../../components/auth/ChangeServer'; -import { Actions } from '../../actions/lib/actions'; -import { RealStores } from '../../stores'; +import type { RealStores } from '../../stores'; interface IProps { stores?: RealStores; diff --git a/src/containers/auth/InviteScreen.tsx b/src/containers/auth/InviteScreen.tsx index 2dfc3c88c..ed656a33a 100644 --- a/src/containers/auth/InviteScreen.tsx +++ b/src/containers/auth/InviteScreen.tsx @@ -1,6 +1,6 @@ -import { Component, ReactElement } from 'react'; import { inject, observer } from 'mobx-react'; -import { StoresProps } from '../../@types/ferdium-components.types'; +import { Component, type ReactElement } from 'react'; +import type { StoresProps } from '../../@types/ferdium-components.types'; import Invite from '../../components/auth/Invite'; class InviteScreen extends Component { diff --git a/src/containers/auth/LockedScreen.tsx b/src/containers/auth/LockedScreen.tsx index a4cb43f73..cf4d5bd53 100644 --- a/src/containers/auth/LockedScreen.tsx +++ b/src/containers/auth/LockedScreen.tsx @@ -1,11 +1,11 @@ -import { Component, ReactElement } from 'react'; import { inject, observer } from 'mobx-react'; -import { StoresProps } from '../../@types/ferdium-components.types'; +import { Component, type ReactElement } from 'react'; +import type { StoresProps } from '../../@types/ferdium-components.types'; import Locked from '../../components/auth/Locked'; +import type { Actions } from '../../actions/lib/actions'; import { hash } from '../../helpers/password-helpers'; -import { Actions } from '../../actions/lib/actions'; -import { RealStores } from '../../stores'; +import type { RealStores } from '../../stores'; interface IProps { actions?: Actions; diff --git a/src/containers/auth/LoginScreen.tsx b/src/containers/auth/LoginScreen.tsx index 100736d19..89d002584 100644 --- a/src/containers/auth/LoginScreen.tsx +++ b/src/containers/auth/LoginScreen.tsx @@ -1,8 +1,8 @@ -import { Component, ReactElement } from 'react'; import { inject, observer } from 'mobx-react'; -import { - StoresProps, +import { Component, type ReactElement } from 'react'; +import type { GlobalError, + StoresProps, } from '../../@types/ferdium-components.types'; import Login from '../../components/auth/Login'; diff --git a/src/containers/auth/PasswordScreen.tsx b/src/containers/auth/PasswordScreen.tsx index c7539f21e..e0f25db3e 100644 --- a/src/containers/auth/PasswordScreen.tsx +++ b/src/containers/auth/PasswordScreen.tsx @@ -1,6 +1,6 @@ -import { Component, ReactElement } from 'react'; import { inject, observer } from 'mobx-react'; -import { StoresProps } from '../../@types/ferdium-components.types'; +import { Component, type ReactElement } from 'react'; +import type { StoresProps } from '../../@types/ferdium-components.types'; import Password from '../../components/auth/Password'; class PasswordScreen extends Component { diff --git a/src/containers/auth/SetupAssistantScreen.tsx b/src/containers/auth/SetupAssistantScreen.tsx index 1a20ab002..d15b4e6e1 100644 --- a/src/containers/auth/SetupAssistantScreen.tsx +++ b/src/containers/auth/SetupAssistantScreen.tsx @@ -1,9 +1,9 @@ -import { Component, ReactElement } from 'react'; import { inject, observer } from 'mobx-react'; -import { StoresProps } from '../../@types/ferdium-components.types'; -import sleep from '../../helpers/async-helpers'; +import { Component, type ReactElement } from 'react'; +import type { StoresProps } from '../../@types/ferdium-components.types'; +import type { ILegacyServices } from '../../@types/legacy-types'; import SetupAssistant from '../../components/auth/SetupAssistant'; -import { ILegacyServices } from '../../@types/legacy-types'; +import sleep from '../../helpers/async-helpers'; interface IProps extends StoresProps {} diff --git a/src/containers/auth/SignupScreen.tsx b/src/containers/auth/SignupScreen.tsx index bf7ffe778..cf5d8006e 100644 --- a/src/containers/auth/SignupScreen.tsx +++ b/src/containers/auth/SignupScreen.tsx @@ -1,9 +1,9 @@ -import { Component, ReactElement } from 'react'; import { inject, observer } from 'mobx-react'; +import { Component, type ReactElement } from 'react'; -import { - StoresProps, +import type { GlobalError, + StoresProps, } from '../../@types/ferdium-components.types'; import Signup from '../../components/auth/Signup'; diff --git a/src/containers/auth/WelcomeScreen.tsx b/src/containers/auth/WelcomeScreen.tsx index 1f3f50e4a..8a95ded80 100644 --- a/src/containers/auth/WelcomeScreen.tsx +++ b/src/containers/auth/WelcomeScreen.tsx @@ -1,6 +1,6 @@ -import { Component, ReactElement } from 'react'; import { inject, observer } from 'mobx-react'; -import { StoresProps } from '../../@types/ferdium-components.types'; +import { Component, type ReactElement } from 'react'; +import type { StoresProps } from '../../@types/ferdium-components.types'; import Welcome from '../../components/auth/Welcome'; interface IProps extends Partial {} -- cgit v1.2.3-70-g09d2