diff options
Diffstat (limited to 'src/stores/ServicesStore.ts')
-rw-r--r-- | src/stores/ServicesStore.ts | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/stores/ServicesStore.ts b/src/stores/ServicesStore.ts index d7804a3fe..8105aa084 100644 --- a/src/stores/ServicesStore.ts +++ b/src/stores/ServicesStore.ts | |||
@@ -1,29 +1,29 @@ | |||
1 | import { join } from 'node:path'; | 1 | import { join } from 'node:path'; |
2 | import { clipboard, ipcRenderer, shell } from 'electron'; | 2 | import { clipboard, ipcRenderer, shell } from 'electron'; |
3 | import { action, reaction, computed, observable, makeObservable } from 'mobx'; | 3 | import { ensureFileSync, pathExistsSync, writeFileSync } from 'fs-extra'; |
4 | import { debounce, remove } from 'lodash'; | 4 | import { debounce, remove } from 'lodash'; |
5 | import { action, computed, makeObservable, observable, reaction } from 'mobx'; | ||
5 | import ms from 'ms'; | 6 | import ms from 'ms'; |
6 | import { ensureFileSync, pathExistsSync, writeFileSync } from 'fs-extra'; | ||
7 | 7 | ||
8 | import { Stores } from '../@types/stores.types'; | 8 | import type { Stores } from '../@types/stores.types'; |
9 | import { ApiInterface } from '../api'; | 9 | import type { Actions } from '../actions/lib/actions'; |
10 | import { Actions } from '../actions/lib/actions'; | 10 | import type { ApiInterface } from '../api'; |
11 | import Request from './lib/Request'; | 11 | import { DEFAULT_SERVICE_SETTINGS, KEEP_WS_LOADED_USID } from '../config'; |
12 | import CachedRequest from './lib/CachedRequest'; | 12 | import { ferdiumVersion } from '../environment-remote'; |
13 | import matchRoute from '../helpers/routing-helpers'; | 13 | import { workspaceStore } from '../features/workspaces'; |
14 | import { isInTimeframe } from '../helpers/schedule-helpers'; | ||
15 | import { | 14 | import { |
16 | getRecipeDirectory, | ||
17 | getDevRecipeDirectory, | 15 | getDevRecipeDirectory, |
16 | getRecipeDirectory, | ||
18 | } from '../helpers/recipe-helpers'; | 17 | } from '../helpers/recipe-helpers'; |
19 | import Service from '../models/Service'; | 18 | import matchRoute from '../helpers/routing-helpers'; |
20 | import { workspaceStore } from '../features/workspaces'; | 19 | import { isInTimeframe } from '../helpers/schedule-helpers'; |
21 | import { DEFAULT_SERVICE_SETTINGS, KEEP_WS_LOADED_USID } from '../config'; | ||
22 | import { cleanseJSObject } from '../jsUtils'; | ||
23 | import { SPELLCHECKER_LOCALES } from '../i18n/languages'; | 20 | import { SPELLCHECKER_LOCALES } from '../i18n/languages'; |
24 | import { ferdiumVersion } from '../environment-remote'; | 21 | import { cleanseJSObject } from '../jsUtils'; |
25 | import TypedStore from './lib/TypedStore'; | ||
26 | import type { UnreadServices } from '../lib/dbus/Ferdium'; | 22 | import type { UnreadServices } from '../lib/dbus/Ferdium'; |
23 | import type Service from '../models/Service'; | ||
24 | import CachedRequest from './lib/CachedRequest'; | ||
25 | import Request from './lib/Request'; | ||
26 | import TypedStore from './lib/TypedStore'; | ||
27 | 27 | ||
28 | const debug = require('../preload-safe-debug')('Ferdium:ServiceStore'); | 28 | const debug = require('../preload-safe-debug')('Ferdium:ServiceStore'); |
29 | 29 | ||