Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1327,7 +1327,7 @@ Note - in the above example `src/your-router.ts` will be imported, and then its
### API docs

<!-- codegen:start {preset: markdownFromJsdoc, source: src/index.ts, export: createCli} -->
#### [createCli](./src/index.ts#L123)
#### [createCli](./src/index.ts#L136)

Run a trpc router as a CLI.

Expand Down
13 changes: 13 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,19 @@ export class Command extends BaseCommand {

export {type AnyRouter, type AnyProcedure, type NorpcProcedureLike, type NorpcRouterLike} from './parse-router.js'
export {parseRouter} from './parse-router.js'
export {
openapiProxify,
OpenApiProxifyHttpError,
type OpenApiDocument,
type OpenApiHeadersInit,
type OpenApiOperationObject,
type OpenApiParameterObject,
type OpenApiPathItemObject,
type OpenApiProxifyOperation,
type OpenApiProxifyParams,
type OpenApiRequestBodyObject,
type OpenApiSchemaObject,
} from './openapi-proxify.js'

/**
* Run a trpc router as a CLI.
Expand Down
Loading
Loading