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