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