File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed
Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export class ValidationError extends Error {
1717 }
1818}
1919
20- export type ErrorMapItem < TDataSchema extends Schema > = {
20+ export interface ErrorMapItem < TDataSchema extends Schema > {
2121 status ?: number
2222 message ?: string
2323 description ?: string
Original file line number Diff line number Diff line change @@ -21,5 +21,22 @@ export * from './utils'
2121
2222export { isDefinedError , ORPCError , safe } from '@orpc/client'
2323export { eventIterator , type , ValidationError } from '@orpc/contract'
24+ export type {
25+ ContractProcedure ,
26+ ContractProcedureDef ,
27+ ContractRouter ,
28+ ErrorMap ,
29+ ErrorMapItem ,
30+ HTTPMethod ,
31+ HTTPPath ,
32+ InputStructure ,
33+ Meta ,
34+ ORPCErrorFromErrorMap ,
35+ OutputStructure ,
36+ Route ,
37+ Schema ,
38+ SchemaInput ,
39+ SchemaOutput ,
40+ } from '@orpc/contract'
2441export { onError , onFinish , onStart , onSuccess } from '@orpc/shared'
2542export { getEventMeta , withEventMeta } from '@orpc/standard-server'
You can’t perform that action at this time.
0 commit comments