aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/stores/lib')
-rw-r--r--src/stores/lib/CachedRequest.ts2
-rw-r--r--src/stores/lib/Reaction.ts2
-rw-r--r--src/stores/lib/Request.ts2
-rw-r--r--src/stores/lib/TypedStore.ts8
4 files changed, 7 insertions, 7 deletions
diff --git a/src/stores/lib/CachedRequest.ts b/src/stores/lib/CachedRequest.ts
index b24336fe6..3b15fcf3f 100644
--- a/src/stores/lib/CachedRequest.ts
+++ b/src/stores/lib/CachedRequest.ts
@@ -1,5 +1,5 @@
1import { action } from 'mobx';
2import { isEqual } from 'lodash'; 1import { isEqual } from 'lodash';
2import { action } from 'mobx';
3import Request from './Request'; 3import Request from './Request';
4 4
5export default class CachedRequest extends Request { 5export default class CachedRequest extends Request {
diff --git a/src/stores/lib/Reaction.ts b/src/stores/lib/Reaction.ts
index 3966c8073..d418d8db8 100644
--- a/src/stores/lib/Reaction.ts
+++ b/src/stores/lib/Reaction.ts
@@ -1,4 +1,4 @@
1import { autorun, IReactionDisposer, IReactionPublic } from 'mobx'; 1import { type IReactionDisposer, type IReactionPublic, autorun } from 'mobx';
2 2
3export default class Reaction { 3export default class Reaction {
4 public reaction: (r: IReactionPublic) => any; 4 public reaction: (r: IReactionPublic) => any;
diff --git a/src/stores/lib/Request.ts b/src/stores/lib/Request.ts
index 587af87d7..e7739bba1 100644
--- a/src/stores/lib/Request.ts
+++ b/src/stores/lib/Request.ts
@@ -1,4 +1,4 @@
1import { observable, action, computed, makeObservable } from 'mobx'; 1import { action, computed, makeObservable, observable } from 'mobx';
2 2
3// eslint-disable-next-line no-use-before-define 3// eslint-disable-next-line no-use-before-define
4type Hook = (request: Request) => void; 4type Hook = (request: Request) => void;
diff --git a/src/stores/lib/TypedStore.ts b/src/stores/lib/TypedStore.ts
index 8bae529ba..6d499b637 100644
--- a/src/stores/lib/TypedStore.ts
+++ b/src/stores/lib/TypedStore.ts
@@ -1,13 +1,13 @@
1import { 1import {
2 type IReactionPublic,
2 action, 3 action,
3 computed, 4 computed,
4 IReactionPublic,
5 makeObservable, 5 makeObservable,
6 observable, 6 observable,
7} from 'mobx'; 7} from 'mobx';
8import { Actions } from '../../actions/lib/actions'; 8import type { Stores } from '../../@types/stores.types';
9import { ApiInterface } from '../../api'; 9import type { Actions } from '../../actions/lib/actions';
10import { Stores } from '../../@types/stores.types'; 10import type { ApiInterface } from '../../api';
11import Reaction from './Reaction'; 11import Reaction from './Reaction';
12 12
13export default abstract class TypedStore { 13export default abstract class TypedStore {