diff options
Diffstat (limited to 'src/stores')
-rw-r--r-- | src/stores/AppStore.ts | 6 | ||||
-rw-r--r-- | src/stores/GlobalErrorStore.ts | 6 | ||||
-rw-r--r-- | src/stores/RecipePreviewsStore.ts | 10 | ||||
-rw-r--r-- | src/stores/RecipesStore.ts | 8 | ||||
-rw-r--r-- | src/stores/RequestStore.ts | 6 | ||||
-rw-r--r-- | src/stores/ServicesStore.ts | 6 | ||||
-rw-r--r-- | src/stores/SettingsStore.ts | 6 | ||||
-rw-r--r-- | src/stores/UIStore.ts | 6 | ||||
-rw-r--r-- | src/stores/UserStore.ts | 6 | ||||
-rw-r--r-- | src/stores/index.ts | 4 | ||||
-rw-r--r-- | src/stores/lib/TypedStore.ts | 6 |
11 files changed, 35 insertions, 35 deletions
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'; | |||
14 | import { URL } from 'url'; | 14 | import { URL } from 'url'; |
15 | import { readJsonSync } from 'fs-extra'; | 15 | import { readJsonSync } from 'fs-extra'; |
16 | 16 | ||
17 | import { Stores } from 'src/@types/stores.types'; | 17 | import { Stores } from '../@types/stores.types'; |
18 | import { ApiInterface } from 'src/api'; | 18 | import { ApiInterface } from '../api'; |
19 | import { Actions } from 'src/actions/lib/actions'; | 19 | import { Actions } from '../actions/lib/actions'; |
20 | import TypedStore from './lib/TypedStore'; | 20 | import TypedStore from './lib/TypedStore'; |
21 | import Request from './lib/Request'; | 21 | import Request from './lib/Request'; |
22 | import { CHECK_INTERVAL, DEFAULT_APP_SETTINGS } from '../config'; | 22 | 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 @@ | |||
1 | import { observable, action } from 'mobx'; | 1 | import { observable, action } from 'mobx'; |
2 | import { Actions } from 'src/actions/lib/actions'; | 2 | import { Actions } from '../actions/lib/actions'; |
3 | import { ApiInterface } from 'src/api'; | 3 | import { ApiInterface } from '../api'; |
4 | import { Stores } from 'src/@types/stores.types'; | 4 | import { Stores } from '../@types/stores.types'; |
5 | import Request from './lib/Request'; | 5 | import Request from './lib/Request'; |
6 | import TypedStore from './lib/TypedStore'; | 6 | import TypedStore from './lib/TypedStore'; |
7 | 7 | ||
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 @@ | |||
1 | import { action, computed, observable } from 'mobx'; | 1 | import { action, computed, observable } from 'mobx'; |
2 | import { Actions } from 'src/actions/lib/actions'; | 2 | import { Actions } from '../actions/lib/actions'; |
3 | import { ApiInterface } from 'src/api'; | 3 | import { ApiInterface } from '../api'; |
4 | import Recipe from 'src/models/Recipe'; | 4 | import Recipe from '../models/Recipe'; |
5 | import { Stores } from 'src/@types/stores.types'; | 5 | import { Stores } from '../@types/stores.types'; |
6 | 6 | ||
7 | import RecipePreview from 'src/models/RecipePreview'; | ||
8 | import CachedRequest from './lib/CachedRequest'; | 7 | import CachedRequest from './lib/CachedRequest'; |
9 | import Request from './lib/Request'; | 8 | import Request from './lib/Request'; |
10 | import TypedStore from './lib/TypedStore'; | 9 | import TypedStore from './lib/TypedStore'; |
10 | import RecipePreview from '../models/RecipePreview'; | ||
11 | 11 | ||
12 | export default class RecipePreviewsStore extends TypedStore { | 12 | export default class RecipePreviewsStore extends TypedStore { |
13 | @observable allRecipePreviewsRequest = new CachedRequest( | 13 | @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'; | |||
2 | import { readJSONSync } from 'fs-extra'; | 2 | import { readJSONSync } from 'fs-extra'; |
3 | import semver from 'semver'; | 3 | import semver from 'semver'; |
4 | 4 | ||
5 | import { Stores } from 'src/@types/stores.types'; | 5 | import Recipe from '../models/Recipe'; |
6 | import { ApiInterface } from 'src/api'; | 6 | import { Stores } from '../@types/stores.types'; |
7 | import { Actions } from 'src/actions/lib/actions'; | 7 | import { ApiInterface } from '../api'; |
8 | import Recipe from 'src/models/Recipe'; | 8 | import { Actions } from '../actions/lib/actions'; |
9 | import CachedRequest from './lib/CachedRequest'; | 9 | import CachedRequest from './lib/CachedRequest'; |
10 | import Request from './lib/Request'; | 10 | import Request from './lib/Request'; |
11 | import matchRoute from '../helpers/routing-helpers'; | 11 | 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'; | |||
2 | import { action, computed, observable } from 'mobx'; | 2 | import { action, computed, observable } from 'mobx'; |
3 | import ms from 'ms'; | 3 | import ms from 'ms'; |
4 | 4 | ||
5 | import { Actions } from 'src/actions/lib/actions'; | 5 | import { Actions } from '../actions/lib/actions'; |
6 | import { ApiInterface } from 'src/api'; | 6 | import { ApiInterface } from '../api'; |
7 | import { Stores } from 'src/@types/stores.types'; | 7 | import { Stores } from '../@types/stores.types'; |
8 | import CachedRequest from './lib/CachedRequest'; | 8 | import CachedRequest from './lib/CachedRequest'; |
9 | import { LOCAL_PORT } from '../config'; | 9 | import { LOCAL_PORT } from '../config'; |
10 | 10 | ||
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'; | |||
5 | import { ensureFileSync, pathExistsSync, writeFileSync } from 'fs-extra'; | 5 | import { ensureFileSync, pathExistsSync, writeFileSync } from 'fs-extra'; |
6 | import { join } from 'path'; | 6 | import { join } from 'path'; |
7 | 7 | ||
8 | import { Stores } from 'src/@types/stores.types'; | 8 | import { Stores } from '../@types/stores.types'; |
9 | import { ApiInterface } from 'src/api'; | 9 | import { ApiInterface } from '../api'; |
10 | import { Actions } from 'src/actions/lib/actions'; | 10 | import { Actions } from '../actions/lib/actions'; |
11 | import Request from './lib/Request'; | 11 | import Request from './lib/Request'; |
12 | import CachedRequest from './lib/CachedRequest'; | 12 | import CachedRequest from './lib/CachedRequest'; |
13 | import matchRoute from '../helpers/routing-helpers'; | 13 | 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'; | |||
2 | import { getCurrentWindow } from '@electron/remote'; | 2 | import { getCurrentWindow } from '@electron/remote'; |
3 | import { action, computed, observable, reaction } from 'mobx'; | 3 | import { action, computed, observable, reaction } from 'mobx'; |
4 | import localStorage from 'mobx-localstorage'; | 4 | import localStorage from 'mobx-localstorage'; |
5 | import { Stores } from 'src/@types/stores.types'; | 5 | import { Stores } from '../@types/stores.types'; |
6 | import { ApiInterface } from 'src/api'; | 6 | import { ApiInterface } from '../api'; |
7 | import { Actions } from 'src/actions/lib/actions'; | 7 | import { Actions } from '../actions/lib/actions'; |
8 | import { | 8 | import { |
9 | DEFAULT_APP_SETTINGS, | 9 | DEFAULT_APP_SETTINGS, |
10 | FILE_SYSTEM_SETTINGS_TYPES, | 10 | 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 @@ | |||
1 | import { action, observable, computed, reaction } from 'mobx'; | 1 | import { action, observable, computed, reaction } from 'mobx'; |
2 | import { nativeTheme } from '@electron/remote'; | 2 | import { nativeTheme } from '@electron/remote'; |
3 | 3 | ||
4 | import { Stores } from 'src/@types/stores.types'; | 4 | import { Stores } from '../@types/stores.types'; |
5 | import { ApiInterface } from 'src/api'; | 5 | import { ApiInterface } from '../api'; |
6 | import { Actions } from 'src/actions/lib/actions'; | 6 | import { Actions } from '../actions/lib/actions'; |
7 | import { Theme, theme, ThemeType } from '../themes'; | 7 | import { Theme, theme, ThemeType } from '../themes'; |
8 | import TypedStore from './lib/TypedStore'; | 8 | import TypedStore from './lib/TypedStore'; |
9 | 9 | ||
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'; | |||
4 | import localStorage from 'mobx-localstorage'; | 4 | import localStorage from 'mobx-localstorage'; |
5 | import { ipcRenderer } from 'electron'; | 5 | import { ipcRenderer } from 'electron'; |
6 | 6 | ||
7 | import { ApiInterface } from 'src/api'; | 7 | import { ApiInterface } from '../api'; |
8 | import { Actions } from 'src/actions/lib/actions'; | 8 | import { Actions } from '../actions/lib/actions'; |
9 | import { Stores } from 'src/@types/stores.types'; | 9 | import { Stores } from '../@types/stores.types'; |
10 | import { TODOS_PARTITION_ID } from '../config'; | 10 | import { TODOS_PARTITION_ID } from '../config'; |
11 | import { isDevMode } from '../environment-remote'; | 11 | import { isDevMode } from '../environment-remote'; |
12 | import Request from './lib/Request'; | 12 | 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 @@ | |||
1 | import { RouterStore } from 'mobx-react-router'; | 1 | import { RouterStore } from 'mobx-react-router'; |
2 | import { ApiInterface } from 'src/api'; | 2 | import { ApiInterface } from '../api'; |
3 | import { Actions } from 'src/actions/lib/actions'; | 3 | import { Actions } from '../actions/lib/actions'; |
4 | import AppStore from './AppStore'; | 4 | import AppStore from './AppStore'; |
5 | import UserStore from './UserStore'; | 5 | import UserStore from './UserStore'; |
6 | import FeaturesStore from './FeaturesStore'; | 6 | 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 @@ | |||
1 | import { computed, IReactionPublic, observable } from 'mobx'; | 1 | import { computed, IReactionPublic, observable } from 'mobx'; |
2 | import { Actions } from 'src/actions/lib/actions'; | 2 | import { Actions } from '../../actions/lib/actions'; |
3 | import { ApiInterface } from 'src/api'; | 3 | import { ApiInterface } from '../../api'; |
4 | import { Stores } from 'src/@types/stores.types'; | 4 | import { Stores } from '../../@types/stores.types'; |
5 | import Reaction from './Reaction'; | 5 | import Reaction from './Reaction'; |
6 | 6 | ||
7 | export default abstract class TypedStore { | 7 | export default abstract class TypedStore { |