(http: HttpClient)
| 7 | private readonly orpc: OpenApiClient |
| 8 | |
| 9 | constructor(http: HttpClient) { |
| 10 | // oRPC client over the same transport (UA+bearer / retry / timeout / error-map) — SPEC §4.4: |
| 11 | // one transport, a contract facade. Both methods are standard unary JSON, so both go through |
| 12 | // the generated contract. |
| 13 | this.orpc = createOpenApiClient(http) |
| 14 | } |
| 15 | |
| 16 | async list(): Promise<WorkspaceListResponse> { |
| 17 | return this.orpc.workspaces.get() |
nothing calls this directly
no test coverage detected