@orpc/zod 0.0.0-next.f4d410a → 0.0.0-next.f538070

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -53,6 +53,7 @@ You can find the full documentation [here](https://orpc.unnoq.com).
53
53
  - [@orpc/contract](https://www.npmjs.com/package/@orpc/contract): Build your API contract.
54
54
  - [@orpc/server](https://www.npmjs.com/package/@orpc/server): Build your API or implement API contract.
55
55
  - [@orpc/client](https://www.npmjs.com/package/@orpc/client): Consume your API on the client with type-safety.
56
+ - [@orpc/react](https://www.npmjs.com/package/@orpc/react): Utilities for integrating oRPC with React and React Server Actions.
56
57
  - [@orpc/react-query](https://www.npmjs.com/package/@orpc/react-query): Integration with [React Query](https://tanstack.com/query/latest/docs/framework/react/overview).
57
58
  - [@orpc/vue-query](https://www.npmjs.com/package/@orpc/vue-query): Integration with [Vue Query](https://tanstack.com/query/latest/docs/framework/vue/overview).
58
59
  - [@orpc/solid-query](https://www.npmjs.com/package/@orpc/solid-query): Integration with [Solid Query](https://tanstack.com/query/latest/docs/framework/solid/overview).
@@ -60,6 +61,8 @@ You can find the full documentation [here](https://orpc.unnoq.com).
60
61
  - [@orpc/vue-colada](https://www.npmjs.com/package/@orpc/vue-colada): Integration with [Pinia Colada](https://pinia-colada.esm.dev/).
61
62
  - [@orpc/openapi](https://www.npmjs.com/package/@orpc/openapi): Generate OpenAPI specs and handle OpenAPI requests.
62
63
  - [@orpc/zod](https://www.npmjs.com/package/@orpc/zod): More schemas that [Zod](https://zod.dev/) doesn't support yet.
64
+ - [@orpc/valibot](https://www.npmjs.com/package/@orpc/valibot): OpenAPI spec generation from [Valibot](https://valibot.dev/).
65
+ - [@orpc/arktype](https://www.npmjs.com/package/@orpc/arktype): OpenAPI spec generation from [ArkType](https://arktype.io/).
63
66
 
64
67
  ## `@orpc/zod`
65
68
 
@@ -129,6 +132,14 @@ const InputSchema = oz.openapi(
129
132
  )
130
133
  ```
131
134
 
135
+ ## Sponsors
136
+
137
+ <p align="center">
138
+ <a href="https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg">
139
+ <img src='https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg'/>
140
+ </a>
141
+ </p>
142
+
132
143
  ## License
133
144
 
134
145
  Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information.
package/dist/index.d.mts CHANGED
@@ -1,8 +1,7 @@
1
1
  import { JSONSchema, ConditionalSchemaConverter, SchemaConvertOptions } from '@orpc/openapi';
2
2
  import { ZodTypeAny, input, output, ZodTypeDef, CustomErrorParams, ZodType, ZodEffects } from 'zod';
3
3
  import { Context } from '@orpc/server';
4
- import { HandlerPlugin } from '@orpc/server/plugins';
5
- import { StandardHandlerOptions } from '@orpc/server/standard';
4
+ import { StandardHandlerPlugin, StandardHandlerOptions } from '@orpc/server/standard';
6
5
  import { AnySchema } from '@orpc/contract';
7
6
 
8
7
  declare function getCustomJsonSchema(def: ZodTypeDef, options: {
@@ -35,7 +34,7 @@ declare function regexp(params?: string | CustomParams | ((input: unknown) => Cu
35
34
 
36
35
  declare function url(params?: string | CustomParams | ((input: unknown) => CustomParams)): ZodType<URL, ZodTypeDef, URL>;
37
36
 
38
- declare class ZodSmartCoercionPlugin<TContext extends Context> implements HandlerPlugin<TContext> {
37
+ declare class ZodSmartCoercionPlugin<TContext extends Context> implements StandardHandlerPlugin<TContext> {
39
38
  init(options: StandardHandlerOptions<TContext>): void;
40
39
  }
41
40
 
package/dist/index.d.ts CHANGED
@@ -1,8 +1,7 @@
1
1
  import { JSONSchema, ConditionalSchemaConverter, SchemaConvertOptions } from '@orpc/openapi';
2
2
  import { ZodTypeAny, input, output, ZodTypeDef, CustomErrorParams, ZodType, ZodEffects } from 'zod';
3
3
  import { Context } from '@orpc/server';
4
- import { HandlerPlugin } from '@orpc/server/plugins';
5
- import { StandardHandlerOptions } from '@orpc/server/standard';
4
+ import { StandardHandlerPlugin, StandardHandlerOptions } from '@orpc/server/standard';
6
5
  import { AnySchema } from '@orpc/contract';
7
6
 
8
7
  declare function getCustomJsonSchema(def: ZodTypeDef, options: {
@@ -35,7 +34,7 @@ declare function regexp(params?: string | CustomParams | ((input: unknown) => Cu
35
34
 
36
35
  declare function url(params?: string | CustomParams | ((input: unknown) => CustomParams)): ZodType<URL, ZodTypeDef, URL>;
37
36
 
38
- declare class ZodSmartCoercionPlugin<TContext extends Context> implements HandlerPlugin<TContext> {
37
+ declare class ZodSmartCoercionPlugin<TContext extends Context> implements StandardHandlerPlugin<TContext> {
39
38
  init(options: StandardHandlerOptions<TContext>): void;
40
39
  }
41
40
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orpc/zod",
3
3
  "type": "module",
4
- "version": "0.0.0-next.f4d410a",
4
+ "version": "0.0.0-next.f538070",
5
5
  "license": "MIT",
6
6
  "homepage": "https://orpc.unnoq.com",
7
7
  "repository": {
@@ -24,15 +24,15 @@
24
24
  "dist"
25
25
  ],
26
26
  "peerDependencies": {
27
- "@orpc/contract": "0.0.0-next.f4d410a",
28
- "@orpc/server": "0.0.0-next.f4d410a"
27
+ "@orpc/contract": "0.0.0-next.f538070",
28
+ "@orpc/server": "0.0.0-next.f538070"
29
29
  },
30
30
  "dependencies": {
31
31
  "escape-string-regexp": "^5.0.0",
32
32
  "wildcard-match": "^5.1.3",
33
33
  "zod": "^3.24.2",
34
- "@orpc/openapi": "0.0.0-next.f4d410a",
35
- "@orpc/shared": "0.0.0-next.f4d410a"
34
+ "@orpc/openapi": "0.0.0-next.f538070",
35
+ "@orpc/shared": "0.0.0-next.f538070"
36
36
  },
37
37
  "devDependencies": {
38
38
  "zod-to-json-schema": "^3.24.3"