- packages/api-client:从 openapi.yaml 生成类型;cookie + CSRF / Bearer 两种鉴权、 分片上传、fetch 读事件流(API2) - apps/web:Vue 3 + Vite + TanStack Query,样式只来自 tokens.css / components.css(AR10); 扣点说明放在「开始解析」旁边(红线 9);接口地址、路由方式运行时可配(架构 §5.2) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
19 lines
416 B
JSON
19 lines
416 B
JSON
{
|
|
"name": "@bid-doctor/api-client",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"main": "src/index.ts",
|
|
"scripts": {
|
|
"gen": "openapi-typescript ../../docs/architecture/openapi.yaml -o src/schema.d.ts",
|
|
"typecheck": "tsc --noEmit -p ."
|
|
},
|
|
"dependencies": {
|
|
"openapi-fetch": "0.13.8"
|
|
},
|
|
"devDependencies": {
|
|
"openapi-typescript": "7.8.0",
|
|
"typescript": "5.8.3"
|
|
}
|
|
}
|