Skip to content

Commit a227406

Browse files
committed
v0.4.1
export more
1 parent cc2bd23 commit a227406

File tree

3 files changed

+17
-10
lines changed

3 files changed

+17
-10
lines changed

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkgs/typed-api-spec/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@notainc/typed-api-spec",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"scripts": {
55
"install:optional-peer-dependencies": "npm install --no-save zod valibot@0 express@4 @types/express@4 fastify fastify-type-provider-zod@2",
66
"build": "tsup",

pkgs/typed-api-spec/src/index.ts

+15-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,22 @@
11
export * from "./core";
22
export {
3-
asAsync as expressAsAsync,
4-
wrap as expressWrap,
5-
AsyncRequestHandler as ExpressAsyncRequestHandler,
3+
Handler as ExpressHandler,
4+
ToHandler as ToExpressHandler,
5+
ToHandlers as ToExpressHandlers,
66
ExpressResponse,
7+
ValidateLocals as ExpressValidateLocals,
78
RouterT as ExpressRouterT,
8-
Handler as ExpressHandler,
9+
validatorMiddleware as expressValidatorMiddleware,
10+
AsyncRequestHandler as ExpressAsyncRequestHandler,
11+
wrap as expressWrap,
12+
asAsync as expressAsAsync,
13+
typed as expressTyped,
914
} from "./express";
1015

11-
import FetchT, { RequestInitT } from "./fetch";
12-
export { FetchT, RequestInitT };
16+
export {
17+
toSchema as toFastifySchema,
18+
toRoutes as toFastifyRoutes,
19+
} from "./fastify";
1320

14-
import JSONT, { JSON$stringifyT } from "./json";
15-
export { JSONT, JSON$stringifyT };
21+
export * from "./fetch";
22+
export * from "./json";

0 commit comments

Comments
 (0)