대시보드 실시간 기능 추가

This commit is contained in:
2026-02-13 12:17:35 +09:00
parent 12feeb2775
commit 1ac907cd27
35 changed files with 2790 additions and 1032 deletions

View File

@@ -56,6 +56,7 @@ interface KisRuntimeStoreActions {
invalidateKisVerification: () => void;
clearKisRuntimeSession: (tradingEnv: KisTradingEnv) => void;
getOrFetchWsConnection: () => Promise<KisWsConnection | null>;
clearWsConnectionCache: () => void;
setHasHydrated: (state: boolean) => void;
}
@@ -224,6 +225,13 @@ export const useKisRuntimeStore = create<
return wsConnectionPromise;
},
clearWsConnectionCache: () => {
wsConnectionPromise = null;
set({
wsApprovalKey: null,
wsUrl: null,
});
},
setHasHydrated: (state) => {
set({
_hasHydrated: state,