项目文件夹

文件
yf 3db74f3c8c Add upload/download with PG metadata
- POST /api/cloud/uploads: presigned PUT URL + pending metadata row
- POST /api/cloud/uploads/:id/confirm: mark ready, HEAD object to backfill size
- GET /api/cloud/uploads: list metadata
- GET /api/cloud/uploads/🆔 metadata + presigned GET download URL
- DELETE /api/cloud/uploads/🆔 delete object + metadata
- Auto-migrate app.uploads schema
- S3 credentials exchange with expiry cache
- Frontend: upload (direct PUT), list, download, delete UI
- Drop 512MiB big.bin build (no longer needed)
2026-09-18 16:32:59 +08:00

13 行
268 B
JSON

{
"name": "wehub-tpl-static-site-function-api",
"version": "1.0.0",
"private": true,
"main": "index.js",
"type": "commonjs",
"dependencies": {
"@aws-sdk/client-s3": "^3.864.0",
"@aws-sdk/s3-request-presigner": "^3.864.0",
"pg": "^8.16.3"
}
}