From 98504413715635e27bee58d7d9766114d94d869e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sascha=20K=C3=BChl?= Date: Mon, 26 May 2025 15:43:46 +0200 Subject: [PATCH] added player to store/state --- app/src/store/index.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/store/index.ts b/app/src/store/index.ts index f2122ac..ed14ac0 100644 --- a/app/src/store/index.ts +++ b/app/src/store/index.ts @@ -3,12 +3,14 @@ import { createStore, Store } from 'vuex'; import auth, {AuthState} from './auth'; import bullpen, {BullpenState} from './bullpen'; import pitchTypes, {PitchTypeState} from './pitchType'; +import player, {PlayerState} from './player'; // Root state type export interface RootState { auth: AuthState; bullpen: BullpenState; pitchTypes: PitchTypeState; + player: PlayerState; } export const key: InjectionKey> = Symbol() @@ -17,7 +19,8 @@ const store = createStore({ modules: { auth, bullpen, - pitchTypes + pitchTypes, + player } });