CI / test (push) Successful in 43s
The hub registers catalogs (hidden until a moderator approves them), hands out upload tokens, and records the revisions catalogs register after validating uploads: numbered, never changed, signed by the hub (its own Ed25519 key, published at /.well-known/t5de-keys.json). Creators edit product info (descriptions cleaned by an allowlist) and can retract revisions. People get products into their library, optionally staying on a revision; the proxy asks which revision to load and where. Contract in docs/products.md. Co-Authored-By: Claude Opus 5.5 <[email protected]>
27 lines
542 B
JSON
27 lines
542 B
JSON
{
|
|
"name": "@t5de/api",
|
|
"private": true,
|
|
"type": "module",
|
|
"exports": {
|
|
".": "./src/app.ts"
|
|
},
|
|
"scripts": {
|
|
"dev": "bun --watch src/index.ts",
|
|
"start": "bun src/index.ts",
|
|
"test": "bun test",
|
|
"check-types": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@t5de/db": "workspace:*",
|
|
"better-auth": "1.7.14",
|
|
"elysia": "1.4.30",
|
|
"jose": "6.2.14",
|
|
"sanitize-html": "2.18.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "^1.4.4",
|
|
"@types/sanitize-html": "^2.16.2",
|
|
"typescript": "^7.0.2"
|
|
}
|
|
}
|