Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/wensonsmith/YoudaoTranslator
/ Adapter
Interface
Adapter
src/adapters/adapter.ts:9–21 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
7
}
8
9
export
interface
Adapter {
10
key: string;
11
12
secret: string;
13
14
word: string;
15
16
isChinese: boolean;
17
18
url :(word: string) => string;
19
20
parse: (response: any) => Result[]
21
}
22
Callers
nothing calls this directly
Implementers
2
Youdao
src/adapters/youdao.ts
Baidu
src/adapters/baidu.ts
Calls
no outgoing calls
Tested by
no test coverage detected