/** * API Client Proxy * * このファイルはgradio.tsの関数をプロキシし、 * モック機能が有効な場合はモックデータを返します。 * 既存のコードへの影響を最小限にするため、 * 同じインターフェースを維持しています。 */ import * as gradioOriginal from '@/services/gradio'; // モックインターセプターは無効化(ファイルが存在しないため) export const callApiWithTimeout = gradioOriginal.callApiWithTimeout; // その他の関数は元のgradio.tsからそのままエクスポート // これにより、import文の変更だけで済む export { downloadExcelData, getCheckUrl, getDummyProposalOutput, getExcel, getGradioStorageClient, getPox, getPpts2OwnLp, getProposal, getProposalCnDummy, getProposalDummy, getProposalFvDummy, getProposalIntentDummy, getProposalPredictionDummy, getRefreshMoment, getScore, getScoreStep3, getSummary, getThemeByMoment, getVisScore, replaceRegulationApiEach, sendLog, } from '@/services/gradio'; // 型定義もエクスポート export type { ProposalParams, ProposalResponse } from '@/services/gradio';