From 1beccd63d68cae2dfb484bb292f46c076f6b0fca Mon Sep 17 00:00:00 2001 From: Merge Sim Date: Mon, 31 Aug 2026 14:15:51 -0700 Subject: [PATCH] refactor(runtime): reuse status app state type --- .../src/store/slices/runtime-status-diagnostics-publish.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/renderer/src/store/slices/runtime-status-diagnostics-publish.ts b/src/renderer/src/store/slices/runtime-status-diagnostics-publish.ts index beb0494f2c7..e51c8621bae 100644 --- a/src/renderer/src/store/slices/runtime-status-diagnostics-publish.ts +++ b/src/renderer/src/store/slices/runtime-status-diagnostics-publish.ts @@ -3,7 +3,6 @@ import type { AppState } from '../types' import type { RuntimeEnvironmentStatus } from './runtime-status' import * as diagnosticsGeneration from './runtime-status-diagnostics-generation' import * as runtimeStatusRecheck from './runtime-status-recheck' -import type { AppState as RuntimeStatusAppState } from '../types' export function updateRuntimeStatusStore( state: AppState, @@ -86,7 +85,7 @@ export function createRuntimeEnvironmentDiagnosticsSlicePublisher(args: { setState: ( updater: (state: Map) => Map ) => void - getStore: () => RuntimeStatusAppState + getStore: () => AppState getConnectionGeneration: (environmentId: string) => number }): (event: { environmentId: string