From 7a5ce8683993d056b68b52bfb9b37d09b7e71d2b Mon Sep 17 00:00:00 2001 From: Remy Raes Date: Sun, 2 Oct 2022 22:35:14 +0200 Subject: fix: store is now typed --- src-vue/src/plugins/store.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src-vue/src/plugins') 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 { -- cgit v1.2.3