(scope: ServerScope, directory: string | null, sdk: OpencodeClient)
| 191 | }) |
| 192 | |
| 193 | export const loadPathQuery = (scope: ServerScope, directory: string | null, sdk: OpencodeClient) => |
| 194 | queryOptions<Path>({ |
| 195 | queryKey: [scope, directory, "path"], |
| 196 | queryFn: () => retry(() => sdk.path.get().then((x) => x.data!)), |
| 197 | }) |
| 198 | |
| 199 | export const loadReferencesQuery = (scope: ServerScope, directory: string, sdk: OpencodeClient) => |
| 200 | queryOptions<ReferenceInfo[]>({ |
no test coverage detected