@orpc/contract 0.0.0-next.b45a533 → 0.0.0-next.b4fc1d9

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
@@ -60,6 +60,8 @@ You can find the full documentation [here](https://orpc.unnoq.com).
60
60
  - [@orpc/vue-colada](https://www.npmjs.com/package/@orpc/vue-colada): Integration with [Pinia Colada](https://pinia-colada.esm.dev/).
61
61
  - [@orpc/openapi](https://www.npmjs.com/package/@orpc/openapi): Generate OpenAPI specs and handle OpenAPI requests.
62
62
  - [@orpc/zod](https://www.npmjs.com/package/@orpc/zod): More schemas that [Zod](https://zod.dev/) doesn't support yet.
63
+ - [@orpc/valibot](https://www.npmjs.com/package/@orpc/valibot): OpenAPI spec generation from [Valibot](https://valibot.dev/).
64
+ - [@orpc/arktype](https://www.npmjs.com/package/@orpc/arktype): OpenAPI spec generation from [ArkType](https://arktype.io/).
63
65
 
64
66
  ## `@orpc/contract`
65
67
 
package/dist/index.d.mts CHANGED
@@ -22,7 +22,6 @@ declare class ValidationError extends Error {
22
22
  interface ErrorMapItem<TDataSchema extends AnySchema> {
23
23
  status?: number;
24
24
  message?: string;
25
- description?: string;
26
25
  data?: TDataSchema;
27
26
  }
28
27
  type ErrorMap = {
@@ -195,7 +194,7 @@ declare class ContractBuilder<TInputSchema extends AnySchema, TOutputSchema exte
195
194
  /**
196
195
  * Reset initial meta
197
196
  */
198
- $meta<U extends Meta>(initialMeta: U): ContractBuilder<TInputSchema, TOutputSchema, TErrorMap, U>;
197
+ $meta<U extends Meta>(initialMeta: U): ContractBuilder<TInputSchema, TOutputSchema, TErrorMap, U & Record<never, never>>;
199
198
  /**
200
199
  * Reset initial route
201
200
  */
package/dist/index.d.ts CHANGED
@@ -22,7 +22,6 @@ declare class ValidationError extends Error {
22
22
  interface ErrorMapItem<TDataSchema extends AnySchema> {
23
23
  status?: number;
24
24
  message?: string;
25
- description?: string;
26
25
  data?: TDataSchema;
27
26
  }
28
27
  type ErrorMap = {
@@ -195,7 +194,7 @@ declare class ContractBuilder<TInputSchema extends AnySchema, TOutputSchema exte
195
194
  /**
196
195
  * Reset initial meta
197
196
  */
198
- $meta<U extends Meta>(initialMeta: U): ContractBuilder<TInputSchema, TOutputSchema, TErrorMap, U>;
197
+ $meta<U extends Meta>(initialMeta: U): ContractBuilder<TInputSchema, TOutputSchema, TErrorMap, U & Record<never, never>>;
199
198
  /**
200
199
  * Reset initial route
201
200
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orpc/contract",
3
3
  "type": "module",
4
- "version": "0.0.0-next.b45a533",
4
+ "version": "0.0.0-next.b4fc1d9",
5
5
  "license": "MIT",
6
6
  "homepage": "https://orpc.unnoq.com",
7
7
  "repository": {
@@ -25,9 +25,9 @@
25
25
  ],
26
26
  "dependencies": {
27
27
  "@standard-schema/spec": "^1.0.0",
28
- "@orpc/shared": "0.0.0-next.b45a533",
29
- "@orpc/standard-server": "0.0.0-next.b45a533",
30
- "@orpc/client": "0.0.0-next.b45a533"
28
+ "@orpc/client": "0.0.0-next.b4fc1d9",
29
+ "@orpc/shared": "0.0.0-next.b4fc1d9",
30
+ "@orpc/standard-server": "0.0.0-next.b4fc1d9"
31
31
  },
32
32
  "devDependencies": {
33
33
  "arktype": "2.0.0-rc.26",