Skip to content
Closed
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
5 changes: 4 additions & 1 deletion packages/contract/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,11 @@ export type {
} from '@orpc/client'

export type {
AsyncIteratorClass,
PromiseWithError,
Registry,
ThrowableError,
} from '@orpc/shared'

export {
AsyncIteratorClass,
} from '@orpc/shared'
12 changes: 6 additions & 6 deletions packages/openapi/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import type { AnyNestedClient, Client, ORPCError } from '@orpc/client'
import type { AsyncIteratorClass } from '@orpc/shared'
// eslint-disable-next-line no-restricted-imports
import type * as OpenAPIV3_0 from '@openapi-spec/types/v3.0'
import * as OpenAPIV3_0 from '@openapi-spec/types/v3.0'
// eslint-disable-next-line no-restricted-imports
import type * as OpenAPIV3_1 from '@openapi-spec/types/v3.1'
import * as OpenAPIV3_1 from '@openapi-spec/types/v3.1'
// eslint-disable-next-line no-restricted-imports
import type * as OpenAPIV3_2 from '@openapi-spec/types/v3.2'
import type { AnyNestedClient, Client, ORPCError } from '@orpc/client'
import type { AsyncIteratorClass } from '@orpc/shared'
import * as OpenAPIV3_2 from '@openapi-spec/types/v3.2'

export type { OpenAPIV3_0, OpenAPIV3_1, OpenAPIV3_2 }
export { OpenAPIV3_0, OpenAPIV3_1, OpenAPIV3_2 }

/**
* An OpenAPI version `OpenAPIGenerator` can target: any `3.0.x`, `3.1.x`, or `3.2.x` value.
Expand Down
2 changes: 1 addition & 1 deletion packages/publisher/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export * from './publisher'

export type {
export {
AsyncIteratorClass,
} from '@orpc/shared'
2 changes: 1 addition & 1 deletion packages/server/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ export type {
ORPCErrorFactory,
ORPCErrorFactoryOptions,
ORPCErrorFromErrorMap,
ProcedureContract,
ProcedureContractDefinition,
RouterContract,
Schema,
Expand All @@ -85,6 +84,7 @@ export {
defineMeta,
error,
eventIterator,
ProcedureContract,
reconcileORPCError,
type,
ValidationError,
Expand Down
Loading