(id: string)
| 199 | `; |
| 200 | |
| 201 | export const claimTool = async (id: string): Promise<ToolClaimResult> => { |
| 202 | const result = await gqlClient.request<{ claimTool: ToolClaimResult }>( |
| 203 | CLAIM_TOOL_MUTATION, |
| 204 | { id }, |
| 205 | ); |
| 206 | return result.claimTool; |
| 207 | }; |
| 208 | |
| 209 | export interface ToolAlternative extends DatasetTool { |
| 210 | stackCount: number; |