summaryrefslogtreecommitdiff
path: root/src/store/types.ts
diff options
context:
space:
mode:
authorHaishan <[email protected]>2021-06-13 15:20:12 +0800
committerHaishan <[email protected]>2021-06-13 18:26:30 +0800
commitc78dbcf8f89072dc9c2fa8ba81e2cf5a80218cd7 (patch)
tree1801b2954623c3b6710ba769836e5c25a68cf65a /src/store/types.ts
parentaad1d2681e4415add1ab440159bf1253b5b34d8e (diff)
Support switch theme on backend config page
Diffstat (limited to 'src/store/types.ts')
-rw-r--r--src/store/types.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/store/types.ts b/src/store/types.ts
index c358ae3..7e6a39d 100644
--- a/src/store/types.ts
+++ b/src/store/types.ts
@@ -88,6 +88,12 @@ export type StateConfigs = {
haveFetchedConfig: boolean;
};
+///// store.modals
+
+export type StateModals = {
+ apiConfig: boolean;
+};
+
//////
export type State = {
@@ -95,6 +101,7 @@ export type State = {
configs: StateConfigs;
proxies: StateProxies;
logs: StateLogs;
+ modals: StateModals;
};
export type GetStateFn = () => State;