(scope: ServerScope, directory: string, sdk: OpencodeClient)
| 72 | }) |
| 73 | |
| 74 | export const loadLspQuery = (scope: ServerScope, directory: string, sdk: OpencodeClient) => |
| 75 | queryOptions({ |
| 76 | queryKey: [scope, directory, "lsp"] as const, |
| 77 | queryFn: () => sdk.lsp.status().then((r) => r.data ?? []), |
| 78 | }) |
| 79 | |
| 80 | function makeQueryOptionsApi( |
| 81 | scope: ServerScope, |
no test coverage detected