( workspaceId: string, tableId: string, signal?: AbortSignal )
| 133 | > |
| 134 | |
| 135 | async function fetchTable( |
| 136 | workspaceId: string, |
| 137 | tableId: string, |
| 138 | signal?: AbortSignal |
| 139 | ): Promise<TableDefinition> { |
| 140 | const response = await requestJson(getTableContract, { |
| 141 | params: { tableId }, |
| 142 | query: { workspaceId }, |
| 143 | signal, |
| 144 | }) |
| 145 | return response.data.table |
| 146 | } |
| 147 | |
| 148 | async function fetchTableRows({ |
| 149 | workspaceId, |
no test coverage detected