()
| 90 | }; |
| 91 | |
| 92 | const createInitialState = (): McpServerStoreState => ({ |
| 93 | servers: [], |
| 94 | tools: [], |
| 95 | isLoading: false, |
| 96 | error: null, |
| 97 | lastFetched: null, |
| 98 | filters: { ...INITIAL_FILTERS }, |
| 99 | }); |
| 100 | |
| 101 | // API helpers |
| 102 | async function apiRequest<T>(path: string, options: RequestInit = {}): Promise<T> { |
no outgoing calls
no test coverage detected