(slug: string)
| 48 | `; |
| 49 | |
| 50 | export const getDatasetTool = async (slug: string): Promise<ToolPageTool> => { |
| 51 | const result = await gqlClient.request<{ datasetTool: ToolPageTool }>( |
| 52 | DATASET_TOOL_QUERY, |
| 53 | { slug }, |
| 54 | ); |
| 55 | return result.datasetTool; |
| 56 | }; |
| 57 | |
| 58 | export const getToolsAlsoStacked = async ( |
| 59 | id: string, |