MCPcopy Create free account
hub / github.com/sqlchat/sqlchat / QueryState

Interface QueryState

src/store/query.ts:18–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18interface QueryState {
19 showDrawer: boolean;
20 queryHistory: QueryHistory[];
21 context?: ExecuteQueryContext;
22 toggleDrawer: (show?: boolean) => void;
23 setContext: (context: ExecuteQueryContext | undefined) => void;
24}
25
26export const useQueryStore = create<QueryState>()(
27 persist(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected