From 91cc78009cf57ad8f53e69d20aa974f4833e61b0 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Mon, 4 Jul 2022 12:51:44 +0530 Subject: chore: Use relative paths while importing from custom code --- src/@types/ferdium-components.types.ts | 4 ++-- src/containers/auth/AuthLayoutContainer.tsx | 2 +- src/containers/auth/ChangeServerScreen.tsx | 2 +- src/containers/auth/ImportScreen.tsx | 2 +- src/containers/auth/InviteScreen.tsx | 2 +- src/containers/auth/LockedScreen.tsx | 2 +- src/containers/auth/LoginScreen.tsx | 2 +- src/containers/auth/PasswordScreen.tsx | 2 +- src/containers/auth/SetupAssistantScreen.tsx | 2 +- src/containers/auth/SignupScreen.tsx | 2 +- src/containers/auth/WelcomeScreen.tsx | 2 +- src/containers/layout/AppLayoutContainer.tsx | 2 +- src/containers/settings/AccountScreen.tsx | 2 +- src/containers/settings/EditServiceScreen.tsx | 8 ++++---- src/containers/settings/EditSettingsScreen.tsx | 4 ++-- src/containers/settings/EditUserScreen.tsx | 4 ++-- src/containers/settings/InviteScreen.tsx | 2 +- src/containers/settings/RecipesScreen.tsx | 4 ++-- src/containers/settings/ServicesScreen.tsx | 2 +- src/containers/settings/SettingsWindow.tsx | 3 +-- src/containers/settings/TeamScreen.tsx | 2 +- src/features/workspaces/store.js | 2 +- src/stores/AppStore.ts | 6 +++--- src/stores/GlobalErrorStore.ts | 6 +++--- src/stores/RecipePreviewsStore.ts | 10 +++++----- src/stores/RecipesStore.ts | 8 ++++---- src/stores/RequestStore.ts | 6 +++--- src/stores/ServicesStore.ts | 6 +++--- src/stores/SettingsStore.ts | 6 +++--- src/stores/UIStore.ts | 6 +++--- src/stores/UserStore.ts | 6 +++--- src/stores/index.ts | 4 ++-- src/stores/lib/TypedStore.ts | 6 +++--- 33 files changed, 64 insertions(+), 65 deletions(-) diff --git a/src/@types/ferdium-components.types.ts b/src/@types/ferdium-components.types.ts index c4d1f0696..03cfdc3b7 100644 --- a/src/@types/ferdium-components.types.ts +++ b/src/@types/ferdium-components.types.ts @@ -1,5 +1,5 @@ -import { Actions } from 'src/actions/lib/actions'; -import { RealStores } from 'src/stores'; +import { Actions } from '../actions/lib/actions'; +import { RealStores } from '../stores'; export interface StoresProps { actions: Actions; diff --git a/src/containers/auth/AuthLayoutContainer.tsx b/src/containers/auth/AuthLayoutContainer.tsx index abe3905e0..1f2753a66 100644 --- a/src/containers/auth/AuthLayoutContainer.tsx +++ b/src/containers/auth/AuthLayoutContainer.tsx @@ -2,8 +2,8 @@ import { Component, ReactElement, ReactNode } from 'react'; import { inject, observer } from 'mobx-react'; import { ThemeProvider } from 'react-jss'; -import { StoresProps } from 'src/@types/ferdium-components.types'; import { Location } from 'mobx-react-router'; +import { StoresProps } from '../../@types/ferdium-components.types'; import AuthLayout from '../../components/auth/AuthLayout'; import AppLoader from '../../components/ui/AppLoader'; diff --git a/src/containers/auth/ChangeServerScreen.tsx b/src/containers/auth/ChangeServerScreen.tsx index 6d0feaecb..29320a001 100644 --- a/src/containers/auth/ChangeServerScreen.tsx +++ b/src/containers/auth/ChangeServerScreen.tsx @@ -1,6 +1,6 @@ import { Component, ReactElement } from 'react'; import { inject, observer } from 'mobx-react'; -import { StoresProps } from 'src/@types/ferdium-components.types'; +import { StoresProps } from '../../@types/ferdium-components.types'; import ChangeServer from '../../components/auth/ChangeServer'; class ChangeServerScreen extends Component { diff --git a/src/containers/auth/ImportScreen.tsx b/src/containers/auth/ImportScreen.tsx index 3522ce0ce..91e985ad5 100644 --- a/src/containers/auth/ImportScreen.tsx +++ b/src/containers/auth/ImportScreen.tsx @@ -1,6 +1,6 @@ import { Component, ReactElement } from 'react'; import { inject, observer } from 'mobx-react'; -import { StoresProps } from 'src/@types/ferdium-components.types'; +import { StoresProps } from '../../@types/ferdium-components.types'; import Import from '../../components/auth/Import'; class ImportScreen extends Component { diff --git a/src/containers/auth/InviteScreen.tsx b/src/containers/auth/InviteScreen.tsx index 40ebdba8d..2dfc3c88c 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 'src/@types/ferdium-components.types'; +import { 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 88f743d02..1b703207f 100644 --- a/src/containers/auth/LockedScreen.tsx +++ b/src/containers/auth/LockedScreen.tsx @@ -1,6 +1,6 @@ import { Component, ReactElement } from 'react'; import { inject, observer } from 'mobx-react'; -import { StoresProps } from 'src/@types/ferdium-components.types'; +import { StoresProps } from '../../@types/ferdium-components.types'; import Locked from '../../components/auth/Locked'; import { hash } from '../../helpers/password-helpers'; diff --git a/src/containers/auth/LoginScreen.tsx b/src/containers/auth/LoginScreen.tsx index c2efd27eb..5c30e6569 100644 --- a/src/containers/auth/LoginScreen.tsx +++ b/src/containers/auth/LoginScreen.tsx @@ -1,6 +1,6 @@ import { Component, ReactElement } from 'react'; import { inject, observer } from 'mobx-react'; -import { StoresProps, GlobalError } from 'src/@types/ferdium-components.types'; +import { StoresProps, GlobalError } from '../../@types/ferdium-components.types'; import Login from '../../components/auth/Login'; interface LoginScreenProps extends StoresProps { diff --git a/src/containers/auth/PasswordScreen.tsx b/src/containers/auth/PasswordScreen.tsx index 313554802..c7539f21e 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 'src/@types/ferdium-components.types'; +import { 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 b286d7cac..661d688aa 100644 --- a/src/containers/auth/SetupAssistantScreen.tsx +++ b/src/containers/auth/SetupAssistantScreen.tsx @@ -2,7 +2,7 @@ import { Component, ReactElement } from 'react'; import { inject, observer } from 'mobx-react'; -import { StoresProps } from 'src/@types/ferdium-components.types'; +import { StoresProps } from '../../@types/ferdium-components.types'; import sleep from '../../helpers/async-helpers'; import SetupAssistant from '../../components/auth/SetupAssistant'; diff --git a/src/containers/auth/SignupScreen.tsx b/src/containers/auth/SignupScreen.tsx index 04b39df67..f3675c286 100644 --- a/src/containers/auth/SignupScreen.tsx +++ b/src/containers/auth/SignupScreen.tsx @@ -1,7 +1,7 @@ import { Component, ReactElement } from 'react'; import { inject, observer } from 'mobx-react'; -import { StoresProps, GlobalError } from 'src/@types/ferdium-components.types'; +import { StoresProps, GlobalError } from '../../@types/ferdium-components.types'; import Signup from '../../components/auth/Signup'; interface SignUpScreenComponents extends StoresProps { diff --git a/src/containers/auth/WelcomeScreen.tsx b/src/containers/auth/WelcomeScreen.tsx index bbd5b4825..c03319179 100644 --- a/src/containers/auth/WelcomeScreen.tsx +++ b/src/containers/auth/WelcomeScreen.tsx @@ -1,7 +1,7 @@ import { Component, ReactElement } from 'react'; import { inject, observer } from 'mobx-react'; -import { StoresProps } from 'src/@types/ferdium-components.types'; +import { StoresProps } from '../../@types/ferdium-components.types'; import Welcome from '../../components/auth/Welcome'; class WelcomeScreen extends Component { diff --git a/src/containers/layout/AppLayoutContainer.tsx b/src/containers/layout/AppLayoutContainer.tsx index c6a9dfb0d..984ea8b68 100644 --- a/src/containers/layout/AppLayoutContainer.tsx +++ b/src/containers/layout/AppLayoutContainer.tsx @@ -2,7 +2,7 @@ import { Children, Component, ReactElement, ReactNode } from 'react'; import { inject, observer } from 'mobx-react'; import { ThemeProvider } from 'react-jss'; -import { StoresProps } from 'src/@types/ferdium-components.types'; +import { StoresProps } from '../../@types/ferdium-components.types'; import AppLayout from '../../components/layout/AppLayout'; import Sidebar from '../../components/layout/Sidebar'; import Services from '../../components/services/content/Services'; diff --git a/src/containers/settings/AccountScreen.tsx b/src/containers/settings/AccountScreen.tsx index 480b61f6c..e072b28af 100644 --- a/src/containers/settings/AccountScreen.tsx +++ b/src/containers/settings/AccountScreen.tsx @@ -1,7 +1,7 @@ import { Component, ReactElement } from 'react'; import { inject, observer } from 'mobx-react'; -import { StoresProps } from 'src/@types/ferdium-components.types'; +import { StoresProps } from '../../@types/ferdium-components.types'; import AccountDashboard from '../../components/settings/account/AccountDashboard'; import ErrorBoundary from '../../components/util/ErrorBoundary'; diff --git a/src/containers/settings/EditServiceScreen.tsx b/src/containers/settings/EditServiceScreen.tsx index 93fb4418d..f8532a7b4 100644 --- a/src/containers/settings/EditServiceScreen.tsx +++ b/src/containers/settings/EditServiceScreen.tsx @@ -3,10 +3,10 @@ import { inject, observer } from 'mobx-react'; import { defineMessages, injectIntl } from 'react-intl'; import { RouterStore } from 'mobx-react-router'; -import { StoresProps } from 'src/@types/ferdium-components.types'; -import { IRecipe } from 'src/models/Recipe'; -import Service from 'src/models/Service'; -import { FormFields } from 'src/@types/mobx-form.types'; +import { StoresProps } from '../../@types/ferdium-components.types'; +import { IRecipe } from '../../models/Recipe'; +import Service from '../../models/Service'; +import { FormFields } from '../../@types/mobx-form.types'; import Form from '../../lib/Form'; import ServiceError from '../../components/settings/services/ServiceError'; diff --git a/src/containers/settings/EditSettingsScreen.tsx b/src/containers/settings/EditSettingsScreen.tsx index 205c71107..b2604ae0e 100644 --- a/src/containers/settings/EditSettingsScreen.tsx +++ b/src/containers/settings/EditSettingsScreen.tsx @@ -3,8 +3,8 @@ import { Component, ReactElement } from 'react'; import { inject, observer } from 'mobx-react'; import { defineMessages, injectIntl } from 'react-intl'; -import { FormFields } from 'src/@types/mobx-form.types'; -import { StoresProps } from 'src/@types/ferdium-components.types'; +import { FormFields } from '../../@types/mobx-form.types'; +import { StoresProps } from '../../@types/ferdium-components.types'; import Form from '../../lib/Form'; import { APP_LOCALES, SPELLCHECKER_LOCALES } from '../../i18n/languages'; import { diff --git a/src/containers/settings/EditUserScreen.tsx b/src/containers/settings/EditUserScreen.tsx index 6ab288d6f..0d6c47da5 100644 --- a/src/containers/settings/EditUserScreen.tsx +++ b/src/containers/settings/EditUserScreen.tsx @@ -2,8 +2,8 @@ import { Component, ReactElement } from 'react'; import { inject, observer } from 'mobx-react'; import { defineMessages, injectIntl } from 'react-intl'; -import { StoresProps } from 'src/@types/ferdium-components.types'; -import { FormFields } from 'src/@types/mobx-form.types'; +import { StoresProps } from '../../@types/ferdium-components.types'; +import { FormFields } from '../../@types/mobx-form.types'; import Form from '../../lib/Form'; import EditUserForm from '../../components/settings/user/EditUserForm'; import ErrorBoundary from '../../components/util/ErrorBoundary'; diff --git a/src/containers/settings/InviteScreen.tsx b/src/containers/settings/InviteScreen.tsx index ff192783c..c67b892bd 100644 --- a/src/containers/settings/InviteScreen.tsx +++ b/src/containers/settings/InviteScreen.tsx @@ -1,7 +1,7 @@ import { Component, ReactNode } from 'react'; import { inject, observer } from 'mobx-react'; -import { StoresProps } from 'src/@types/ferdium-components.types'; +import { StoresProps } from '../../@types/ferdium-components.types'; import Invite from '../../components/auth/Invite'; import ErrorBoundary from '../../components/util/ErrorBoundary'; diff --git a/src/containers/settings/RecipesScreen.tsx b/src/containers/settings/RecipesScreen.tsx index c50ff246e..bc7fa9ba0 100644 --- a/src/containers/settings/RecipesScreen.tsx +++ b/src/containers/settings/RecipesScreen.tsx @@ -3,8 +3,8 @@ import { Component, ReactElement } from 'react'; import { autorun, IReactionDisposer } from 'mobx'; import { inject, observer } from 'mobx-react'; -import { StoresProps } from 'src/@types/ferdium-components.types'; -import Recipe from 'src/models/Recipe'; +import Recipe from '../../models/Recipe'; +import { StoresProps } from '../../@types/ferdium-components.types'; import RecipesDashboard from '../../components/settings/recipes/RecipesDashboard'; import ErrorBoundary from '../../components/util/ErrorBoundary'; import { CUSTOM_WEBSITE_RECIPE_ID, FRANZ_DEV_DOCS } from '../../config'; diff --git a/src/containers/settings/ServicesScreen.tsx b/src/containers/settings/ServicesScreen.tsx index 615747382..affe965e9 100644 --- a/src/containers/settings/ServicesScreen.tsx +++ b/src/containers/settings/ServicesScreen.tsx @@ -1,7 +1,7 @@ import { Component, ReactElement } from 'react'; import { inject, observer } from 'mobx-react'; -import { StoresProps } from 'src/@types/ferdium-components.types'; +import { StoresProps } from '../../@types/ferdium-components.types'; import ServicesDashboard from '../../components/settings/services/ServicesDashboard'; import ErrorBoundary from '../../components/util/ErrorBoundary'; diff --git a/src/containers/settings/SettingsWindow.tsx b/src/containers/settings/SettingsWindow.tsx index fb1e2fd2d..2192a6f69 100644 --- a/src/containers/settings/SettingsWindow.tsx +++ b/src/containers/settings/SettingsWindow.tsx @@ -2,8 +2,7 @@ import { Component, ReactNode, ReactPortal } from 'react'; import ReactDOM from 'react-dom'; import { observer, inject } from 'mobx-react'; -import { StoresProps } from 'src/@types/ferdium-components.types'; - +import { StoresProps } from '../../@types/ferdium-components.types'; import Layout from '../../components/settings/SettingsLayout'; import Navigation from '../../components/settings/navigation/SettingsNavigation'; import ErrorBoundary from '../../components/util/ErrorBoundary'; diff --git a/src/containers/settings/TeamScreen.tsx b/src/containers/settings/TeamScreen.tsx index 5e5223f67..9d155f01c 100644 --- a/src/containers/settings/TeamScreen.tsx +++ b/src/containers/settings/TeamScreen.tsx @@ -1,7 +1,7 @@ import { Component, ReactElement } from 'react'; import { inject, observer } from 'mobx-react'; -import { StoresProps } from 'src/@types/ferdium-components.types'; +import { StoresProps } from '../../@types/ferdium-components.types'; import TeamDashboard from '../../components/settings/team/TeamDashboard'; import ErrorBoundary from '../../components/util/ErrorBoundary'; diff --git a/src/features/workspaces/store.js b/src/features/workspaces/store.js index 4fdb3dd15..9b4c4e928 100644 --- a/src/features/workspaces/store.js +++ b/src/features/workspaces/store.js @@ -1,6 +1,6 @@ import { computed, observable, action } from 'mobx'; import localStorage from 'mobx-localstorage'; -import { matchRoute } from '../../helpers/routing-helpers'; +import matchRoute from '../../helpers/routing-helpers'; import workspaceActions from './actions'; import FeatureStore from '../utils/FeatureStore'; import { diff --git a/src/stores/AppStore.ts b/src/stores/AppStore.ts index b2adb0f02..0ecfdb7c0 100644 --- a/src/stores/AppStore.ts +++ b/src/stores/AppStore.ts @@ -14,9 +14,9 @@ import ms from 'ms'; import { URL } from 'url'; import { readJsonSync } from 'fs-extra'; -import { Stores } from 'src/@types/stores.types'; -import { ApiInterface } from 'src/api'; -import { Actions } from 'src/actions/lib/actions'; +import { Stores } from '../@types/stores.types'; +import { ApiInterface } from '../api'; +import { Actions } from '../actions/lib/actions'; import TypedStore from './lib/TypedStore'; import Request from './lib/Request'; import { CHECK_INTERVAL, DEFAULT_APP_SETTINGS } from '../config'; diff --git a/src/stores/GlobalErrorStore.ts b/src/stores/GlobalErrorStore.ts index fcc1276c8..8c6317c91 100644 --- a/src/stores/GlobalErrorStore.ts +++ b/src/stores/GlobalErrorStore.ts @@ -1,7 +1,7 @@ import { observable, action } from 'mobx'; -import { Actions } from 'src/actions/lib/actions'; -import { ApiInterface } from 'src/api'; -import { Stores } from 'src/@types/stores.types'; +import { Actions } from '../actions/lib/actions'; +import { ApiInterface } from '../api'; +import { Stores } from '../@types/stores.types'; import Request from './lib/Request'; import TypedStore from './lib/TypedStore'; diff --git a/src/stores/RecipePreviewsStore.ts b/src/stores/RecipePreviewsStore.ts index ad9fda4a7..b1d50c8b8 100644 --- a/src/stores/RecipePreviewsStore.ts +++ b/src/stores/RecipePreviewsStore.ts @@ -1,13 +1,13 @@ import { action, computed, observable } from 'mobx'; -import { Actions } from 'src/actions/lib/actions'; -import { ApiInterface } from 'src/api'; -import Recipe from 'src/models/Recipe'; -import { Stores } from 'src/@types/stores.types'; +import { Actions } from '../actions/lib/actions'; +import { ApiInterface } from '../api'; +import Recipe from '../models/Recipe'; +import { Stores } from '../@types/stores.types'; -import RecipePreview from 'src/models/RecipePreview'; import CachedRequest from './lib/CachedRequest'; import Request from './lib/Request'; import TypedStore from './lib/TypedStore'; +import RecipePreview from '../models/RecipePreview'; export default class RecipePreviewsStore extends TypedStore { @observable allRecipePreviewsRequest = new CachedRequest( diff --git a/src/stores/RecipesStore.ts b/src/stores/RecipesStore.ts index 6bd4ab382..364d56dd2 100644 --- a/src/stores/RecipesStore.ts +++ b/src/stores/RecipesStore.ts @@ -2,10 +2,10 @@ import { action, computed, observable } from 'mobx'; import { readJSONSync } from 'fs-extra'; import semver from 'semver'; -import { Stores } from 'src/@types/stores.types'; -import { ApiInterface } from 'src/api'; -import { Actions } from 'src/actions/lib/actions'; -import Recipe from 'src/models/Recipe'; +import Recipe from '../models/Recipe'; +import { Stores } from '../@types/stores.types'; +import { ApiInterface } from '../api'; +import { Actions } from '../actions/lib/actions'; import CachedRequest from './lib/CachedRequest'; import Request from './lib/Request'; import matchRoute from '../helpers/routing-helpers'; diff --git a/src/stores/RequestStore.ts b/src/stores/RequestStore.ts index af686388a..e5df1292d 100644 --- a/src/stores/RequestStore.ts +++ b/src/stores/RequestStore.ts @@ -2,9 +2,9 @@ import { ipcRenderer } from 'electron'; import { action, computed, observable } from 'mobx'; import ms from 'ms'; -import { Actions } from 'src/actions/lib/actions'; -import { ApiInterface } from 'src/api'; -import { Stores } from 'src/@types/stores.types'; +import { Actions } from '../actions/lib/actions'; +import { ApiInterface } from '../api'; +import { Stores } from '../@types/stores.types'; import CachedRequest from './lib/CachedRequest'; import { LOCAL_PORT } from '../config'; diff --git a/src/stores/ServicesStore.ts b/src/stores/ServicesStore.ts index e690b3791..4c1b4116c 100644 --- a/src/stores/ServicesStore.ts +++ b/src/stores/ServicesStore.ts @@ -5,9 +5,9 @@ import ms from 'ms'; import { ensureFileSync, pathExistsSync, writeFileSync } from 'fs-extra'; import { join } from 'path'; -import { Stores } from 'src/@types/stores.types'; -import { ApiInterface } from 'src/api'; -import { Actions } from 'src/actions/lib/actions'; +import { Stores } from '../@types/stores.types'; +import { ApiInterface } from '../api'; +import { Actions } from '../actions/lib/actions'; import Request from './lib/Request'; import CachedRequest from './lib/CachedRequest'; import matchRoute from '../helpers/routing-helpers'; diff --git a/src/stores/SettingsStore.ts b/src/stores/SettingsStore.ts index dabd7b099..0296ba0e7 100644 --- a/src/stores/SettingsStore.ts +++ b/src/stores/SettingsStore.ts @@ -2,9 +2,9 @@ import { ipcRenderer } from 'electron'; import { getCurrentWindow } from '@electron/remote'; import { action, computed, observable, reaction } from 'mobx'; import localStorage from 'mobx-localstorage'; -import { Stores } from 'src/@types/stores.types'; -import { ApiInterface } from 'src/api'; -import { Actions } from 'src/actions/lib/actions'; +import { Stores } from '../@types/stores.types'; +import { ApiInterface } from '../api'; +import { Actions } from '../actions/lib/actions'; import { DEFAULT_APP_SETTINGS, FILE_SYSTEM_SETTINGS_TYPES, diff --git a/src/stores/UIStore.ts b/src/stores/UIStore.ts index e9e099ebc..c43c6d8c7 100644 --- a/src/stores/UIStore.ts +++ b/src/stores/UIStore.ts @@ -1,9 +1,9 @@ import { action, observable, computed, reaction } from 'mobx'; import { nativeTheme } from '@electron/remote'; -import { Stores } from 'src/@types/stores.types'; -import { ApiInterface } from 'src/api'; -import { Actions } from 'src/actions/lib/actions'; +import { Stores } from '../@types/stores.types'; +import { ApiInterface } from '../api'; +import { Actions } from '../actions/lib/actions'; import { Theme, theme, ThemeType } from '../themes'; import TypedStore from './lib/TypedStore'; diff --git a/src/stores/UserStore.ts b/src/stores/UserStore.ts index 0827f8196..b9c3c7576 100644 --- a/src/stores/UserStore.ts +++ b/src/stores/UserStore.ts @@ -4,9 +4,9 @@ import jwt from 'jsonwebtoken'; import localStorage from 'mobx-localstorage'; import { ipcRenderer } from 'electron'; -import { ApiInterface } from 'src/api'; -import { Actions } from 'src/actions/lib/actions'; -import { Stores } from 'src/@types/stores.types'; +import { ApiInterface } from '../api'; +import { Actions } from '../actions/lib/actions'; +import { Stores } from '../@types/stores.types'; import { TODOS_PARTITION_ID } from '../config'; import { isDevMode } from '../environment-remote'; import Request from './lib/Request'; diff --git a/src/stores/index.ts b/src/stores/index.ts index aac501cda..d31f2c933 100644 --- a/src/stores/index.ts +++ b/src/stores/index.ts @@ -1,6 +1,6 @@ import { RouterStore } from 'mobx-react-router'; -import { ApiInterface } from 'src/api'; -import { Actions } from 'src/actions/lib/actions'; +import { ApiInterface } from '../api'; +import { Actions } from '../actions/lib/actions'; import AppStore from './AppStore'; import UserStore from './UserStore'; import FeaturesStore from './FeaturesStore'; diff --git a/src/stores/lib/TypedStore.ts b/src/stores/lib/TypedStore.ts index c78f83850..c97ae1aa5 100644 --- a/src/stores/lib/TypedStore.ts +++ b/src/stores/lib/TypedStore.ts @@ -1,7 +1,7 @@ import { computed, IReactionPublic, observable } from 'mobx'; -import { Actions } from 'src/actions/lib/actions'; -import { ApiInterface } from 'src/api'; -import { Stores } from 'src/@types/stores.types'; +import { Actions } from '../../actions/lib/actions'; +import { ApiInterface } from '../../api'; +import { Stores } from '../../@types/stores.types'; import Reaction from './Reaction'; export default abstract class TypedStore { -- cgit v1.2.3-54-g00ecf