aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src/plugins/store.ts
diff options
context:
space:
mode:
authorRemy Raes <raes.remy@gmail.com>2022-10-02 22:35:14 +0200
committerRemy Raes <raes.remy@gmail.com>2022-10-02 22:35:14 +0200
commit7a5ce8683993d056b68b52bfb9b37d09b7e71d2b (patch)
tree1c2177e33eecaf49abebff70cd1b674cebdbe06b /src-vue/src/plugins/store.ts
parent22a7bd16852498a95f9733e228e126a644b9c3ed (diff)
downloadFlightCore-7a5ce8683993d056b68b52bfb9b37d09b7e71d2b.tar.gz
FlightCore-7a5ce8683993d056b68b52bfb9b37d09b7e71d2b.zip
fix: store is now typed
Diffstat (limited to 'src-vue/src/plugins/store.ts')
-rw-r--r--src-vue/src/plugins/store.ts15
1 files changed, 15 insertions, 0 deletions
diff --git a/src-vue/src/plugins/store.ts b/src-vue/src/plugins/store.ts
index 67856b47..544d314a 100644
--- a/src-vue/src/plugins/store.ts
+++ b/src-vue/src/plugins/store.ts
@@ -8,6 +8,21 @@ import {ReleaseCanal} from "../utils/ReleaseCanal";
import { ElNotification } from 'element-plus';
import { NorthstarState } from '../utils/NorthstarState';
+
+export type Store = {
+ current_tab: Tabs,
+ developer_mode: boolean,
+ game_path: string,
+ install_type: InstallType,
+
+ installed_northstar_version: string,
+ northstar_state: NorthstarState,
+ release_canal: ReleaseCanal,
+
+ northstar_is_running: boolean,
+ origin_is_running: boolean
+}
+
export const store = createStore({
state () {
return {