refactor(api): remove ApiProxy package

This commit is contained in:
imccyu
2026-08-27 22:26:29 +08:00
parent e14d354e83
commit 4f00a8b82a
42 changed files with 54 additions and 3529 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
/** Map one workspace source alias target to its declaration-build target. */
export function builtDeclarationPath(candidate: string): string {
// Two workspace path forms exist: whole-package entries end in /src, subpath
// wildcards (apiproxy's browser-safe /api and /client channels) in /src/*.
// wildcards (browser-safe /types and /client channels) in /src/*.
if (candidate.endsWith('/src')) {
return `${candidate.slice(0, -'/src'.length)}/lib/types`
}