Typed, callable api blocks for .wrn files: sectioned request/response/error, callable from client code as api.name(input), type-checked by tsc against the route contracts. Also two fixes found along the way: defineEndpoint never received its input through the real router, so every typed endpoint was validating undefined; and v.boolean() silently coerced any unrecognised string to false. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
12 lines
243 B
JSON
12 lines
243 B
JSON
{
|
|
"name": "@wrnexus/core",
|
|
"version": "0.8.10",
|
|
"type": "module",
|
|
"main": "src/index.ts",
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./jsx-runtime": "./src/jsx-runtime.ts",
|
|
"./jsx-dev-runtime": "./src/jsx-dev-runtime.ts"
|
|
}
|
|
}
|