MCPcopy
hub / github.com/VOICEVOX/voicevox / IEngineConnectorFactory

Interface IEngineConnectorFactory

src/infrastructures/EngineConnector.ts:5–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import { Configuration, DefaultApi, DefaultApiInterface } from "@/openapi";
4
5export interface IEngineConnectorFactory {
6 // FIXME: hostという名前の時点で外部APIに接続するという知識が出てきてしまっているので
7 // Factory自体に型パラメータを付けて、接続方法だったり設定、IDみたいな名前で表現する
8 instance: (host: string) => DefaultApiInterface;
9}
10
11// 通常エンジン
12const OpenAPIEngineConnectorFactoryImpl = (): IEngineConnectorFactory => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected