dashboard-react
    Preparing search index...

    Variable storeConst

    store: EnhancedStore<
        {
            ui: UIState;
            chat: ChatState;
            api: CombinedState<
                {},
                | "ClusterState"
                | "Config"
                | "ClusterTimeline"
                | "TracingState"
                | "TraceList"
                | "Trace"
                | "NodeDiagnostics",
                "api",
            >;
        },
        UnknownAction,
        Tuple<
            [
                StoreEnhancer<
                    {
                        dispatch: ThunkDispatch<
                            {
                                ui: UIState;
                                chat: ChatState;
                                api: CombinedState<
                                    {},
                                    | "ClusterState"
                                    | "Config"
                                    | "ClusterTimeline"
                                    | "TracingState"
                                    | "TraceList"
                                    | "Trace"
                                    | "NodeDiagnostics",
                                    "api",
                                >;
                            },
                        >;
                    },
                >,
                StoreEnhancer,
            ],
        >,
    > = ...

    Root Redux store for the Skulk dashboard.

    Two reducer namespaces:

    • Feature slices (theme, panels, chat, …) — domain state owned by the dashboard. Added under their own keys as each Zustand store ports across.
    • apiSlice — RTK Query reducer that owns server-cached data (cluster state, traces, diagnostics, etc.). Endpoints are injected from feature modules; the slice is the single source of truth for all network-cached state.

    setupListeners enables RTK Query's refetchOnFocus / refetchOnReconnect options when individual queries opt in.