MCPcopy
hub / github.com/whoiskatrin/sql-translator / RequestBody

Interface RequestBody

hooks/useTranslate.ts:3–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { useState } from "react";
2
3interface RequestBody {
4 inputText: string;
5 tableSchema?: string;
6}
7
8export function useTranslate() {
9 const [translating, setTranslating] = useState(false);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected