@orpc/openapi 1.6.4 → 1.6.6
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/dist/adapters/aws-lambda/index.d.mts +1 -1
- package/dist/adapters/aws-lambda/index.d.ts +1 -1
- package/dist/adapters/aws-lambda/index.mjs +1 -1
- package/dist/adapters/fetch/index.d.mts +1 -1
- package/dist/adapters/fetch/index.d.ts +1 -1
- package/dist/adapters/fetch/index.mjs +1 -1
- package/dist/adapters/node/index.d.mts +1 -1
- package/dist/adapters/node/index.d.ts +1 -1
- package/dist/adapters/node/index.mjs +1 -1
- package/dist/adapters/standard/index.d.mts +1 -1
- package/dist/adapters/standard/index.d.ts +1 -1
- package/dist/adapters/standard/index.mjs +1 -1
- package/dist/shared/{openapi.C_UtQ8Us.mjs → openapi.-sXpEIAO.mjs} +1 -1
- package/dist/shared/{openapi.D3j94c9n.d.mts → openapi.BWrlhfev.d.mts} +2 -2
- package/dist/shared/{openapi.D3j94c9n.d.ts → openapi.BWrlhfev.d.ts} +2 -2
- package/package.json +8 -8
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Context, Router } from '@orpc/server';
|
2
2
|
import { AwsLambdaHandler, AwsLambdaHandlerOptions } from '@orpc/server/aws-lambda';
|
3
|
-
import { S as StandardOpenAPIHandlerOptions } from '../../shared/openapi.
|
3
|
+
import { S as StandardOpenAPIHandlerOptions } from '../../shared/openapi.BWrlhfev.mjs';
|
4
4
|
import '@orpc/openapi-client/standard';
|
5
5
|
import '@orpc/server/standard';
|
6
6
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Context, Router } from '@orpc/server';
|
2
2
|
import { AwsLambdaHandler, AwsLambdaHandlerOptions } from '@orpc/server/aws-lambda';
|
3
|
-
import { S as StandardOpenAPIHandlerOptions } from '../../shared/openapi.
|
3
|
+
import { S as StandardOpenAPIHandlerOptions } from '../../shared/openapi.BWrlhfev.js';
|
4
4
|
import '@orpc/openapi-client/standard';
|
5
5
|
import '@orpc/server/standard';
|
6
6
|
|
@@ -2,7 +2,7 @@ import { AwsLambdaHandler } from '@orpc/server/aws-lambda';
|
|
2
2
|
import '@orpc/client';
|
3
3
|
import '@orpc/contract';
|
4
4
|
import '@orpc/shared';
|
5
|
-
import { a as StandardOpenAPIHandler } from '../../shared/openapi.
|
5
|
+
import { a as StandardOpenAPIHandler } from '../../shared/openapi.-sXpEIAO.mjs';
|
6
6
|
import '@orpc/client/standard';
|
7
7
|
import '@orpc/server';
|
8
8
|
import 'rou3';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Context, Router } from '@orpc/server';
|
2
2
|
import { FetchHandler, FetchHandlerOptions } from '@orpc/server/fetch';
|
3
|
-
import { S as StandardOpenAPIHandlerOptions } from '../../shared/openapi.
|
3
|
+
import { S as StandardOpenAPIHandlerOptions } from '../../shared/openapi.BWrlhfev.mjs';
|
4
4
|
import '@orpc/openapi-client/standard';
|
5
5
|
import '@orpc/server/standard';
|
6
6
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Context, Router } from '@orpc/server';
|
2
2
|
import { FetchHandler, FetchHandlerOptions } from '@orpc/server/fetch';
|
3
|
-
import { S as StandardOpenAPIHandlerOptions } from '../../shared/openapi.
|
3
|
+
import { S as StandardOpenAPIHandlerOptions } from '../../shared/openapi.BWrlhfev.js';
|
4
4
|
import '@orpc/openapi-client/standard';
|
5
5
|
import '@orpc/server/standard';
|
6
6
|
|
@@ -2,7 +2,7 @@ import { FetchHandler } from '@orpc/server/fetch';
|
|
2
2
|
import '@orpc/client';
|
3
3
|
import '@orpc/contract';
|
4
4
|
import '@orpc/shared';
|
5
|
-
import { a as StandardOpenAPIHandler } from '../../shared/openapi.
|
5
|
+
import { a as StandardOpenAPIHandler } from '../../shared/openapi.-sXpEIAO.mjs';
|
6
6
|
import '@orpc/client/standard';
|
7
7
|
import '@orpc/server';
|
8
8
|
import 'rou3';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Context, Router } from '@orpc/server';
|
2
2
|
import { NodeHttpHandler, NodeHttpHandlerOptions } from '@orpc/server/node';
|
3
|
-
import { S as StandardOpenAPIHandlerOptions } from '../../shared/openapi.
|
3
|
+
import { S as StandardOpenAPIHandlerOptions } from '../../shared/openapi.BWrlhfev.mjs';
|
4
4
|
import '@orpc/openapi-client/standard';
|
5
5
|
import '@orpc/server/standard';
|
6
6
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Context, Router } from '@orpc/server';
|
2
2
|
import { NodeHttpHandler, NodeHttpHandlerOptions } from '@orpc/server/node';
|
3
|
-
import { S as StandardOpenAPIHandlerOptions } from '../../shared/openapi.
|
3
|
+
import { S as StandardOpenAPIHandlerOptions } from '../../shared/openapi.BWrlhfev.js';
|
4
4
|
import '@orpc/openapi-client/standard';
|
5
5
|
import '@orpc/server/standard';
|
6
6
|
|
@@ -2,7 +2,7 @@ import { NodeHttpHandler } from '@orpc/server/node';
|
|
2
2
|
import '@orpc/client';
|
3
3
|
import '@orpc/contract';
|
4
4
|
import '@orpc/shared';
|
5
|
-
import { a as StandardOpenAPIHandler } from '../../shared/openapi.
|
5
|
+
import { a as StandardOpenAPIHandler } from '../../shared/openapi.-sXpEIAO.mjs';
|
6
6
|
import '@orpc/client/standard';
|
7
7
|
import '@orpc/server';
|
8
8
|
import 'rou3';
|
@@ -3,7 +3,7 @@ import { StandardOpenAPISerializer } from '@orpc/openapi-client/standard';
|
|
3
3
|
import { AnyProcedure, AnyRouter } from '@orpc/server';
|
4
4
|
import { StandardCodec, StandardParams, StandardMatcher, StandardMatchResult } from '@orpc/server/standard';
|
5
5
|
import { StandardLazyRequest, StandardResponse } from '@orpc/standard-server';
|
6
|
-
export { a as StandardOpenAPIHandler, S as StandardOpenAPIHandlerOptions } from '../../shared/openapi.
|
6
|
+
export { a as StandardOpenAPIHandler, S as StandardOpenAPIHandlerOptions } from '../../shared/openapi.BWrlhfev.mjs';
|
7
7
|
|
8
8
|
declare class StandardOpenAPICodec implements StandardCodec {
|
9
9
|
#private;
|
@@ -3,7 +3,7 @@ import { StandardOpenAPISerializer } from '@orpc/openapi-client/standard';
|
|
3
3
|
import { AnyProcedure, AnyRouter } from '@orpc/server';
|
4
4
|
import { StandardCodec, StandardParams, StandardMatcher, StandardMatchResult } from '@orpc/server/standard';
|
5
5
|
import { StandardLazyRequest, StandardResponse } from '@orpc/standard-server';
|
6
|
-
export { a as StandardOpenAPIHandler, S as StandardOpenAPIHandlerOptions } from '../../shared/openapi.
|
6
|
+
export { a as StandardOpenAPIHandler, S as StandardOpenAPIHandlerOptions } from '../../shared/openapi.BWrlhfev.js';
|
7
7
|
|
8
8
|
declare class StandardOpenAPICodec implements StandardCodec {
|
9
9
|
#private;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export { S as StandardOpenAPICodec, a as StandardOpenAPIHandler, b as StandardOpenAPIMatcher, d as decodeParams, t as toRou3Pattern } from '../../shared/openapi.
|
1
|
+
export { S as StandardOpenAPICodec, a as StandardOpenAPIHandler, b as StandardOpenAPIMatcher, d as decodeParams, t as toRou3Pattern } from '../../shared/openapi.-sXpEIAO.mjs';
|
2
2
|
import '@orpc/openapi-client/standard';
|
3
3
|
import '@orpc/server/standard';
|
4
4
|
import '@orpc/client';
|
@@ -168,7 +168,7 @@ class StandardOpenAPIMatcher {
|
|
168
168
|
class StandardOpenAPIHandler extends StandardHandler {
|
169
169
|
constructor(router, options) {
|
170
170
|
const jsonSerializer = new StandardOpenAPIJsonSerializer(options);
|
171
|
-
const bracketNotationSerializer = new StandardBracketNotationSerializer();
|
171
|
+
const bracketNotationSerializer = new StandardBracketNotationSerializer(options);
|
172
172
|
const serializer = new StandardOpenAPISerializer(jsonSerializer, bracketNotationSerializer);
|
173
173
|
const matcher = new StandardOpenAPIMatcher();
|
174
174
|
const codec = new StandardOpenAPICodec(serializer);
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { StandardOpenAPIJsonSerializerOptions } from '@orpc/openapi-client/standard';
|
1
|
+
import { StandardOpenAPIJsonSerializerOptions, StandardBracketNotationSerializerOptions } from '@orpc/openapi-client/standard';
|
2
2
|
import { Context, Router } from '@orpc/server';
|
3
3
|
import { StandardHandlerOptions, StandardHandler } from '@orpc/server/standard';
|
4
4
|
|
5
|
-
interface StandardOpenAPIHandlerOptions<T extends Context> extends StandardHandlerOptions<T>, StandardOpenAPIJsonSerializerOptions {
|
5
|
+
interface StandardOpenAPIHandlerOptions<T extends Context> extends StandardHandlerOptions<T>, StandardOpenAPIJsonSerializerOptions, StandardBracketNotationSerializerOptions {
|
6
6
|
}
|
7
7
|
declare class StandardOpenAPIHandler<T extends Context> extends StandardHandler<T> {
|
8
8
|
constructor(router: Router<any, T>, options: NoInfer<StandardOpenAPIHandlerOptions<T>>);
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { StandardOpenAPIJsonSerializerOptions } from '@orpc/openapi-client/standard';
|
1
|
+
import { StandardOpenAPIJsonSerializerOptions, StandardBracketNotationSerializerOptions } from '@orpc/openapi-client/standard';
|
2
2
|
import { Context, Router } from '@orpc/server';
|
3
3
|
import { StandardHandlerOptions, StandardHandler } from '@orpc/server/standard';
|
4
4
|
|
5
|
-
interface StandardOpenAPIHandlerOptions<T extends Context> extends StandardHandlerOptions<T>, StandardOpenAPIJsonSerializerOptions {
|
5
|
+
interface StandardOpenAPIHandlerOptions<T extends Context> extends StandardHandlerOptions<T>, StandardOpenAPIJsonSerializerOptions, StandardBracketNotationSerializerOptions {
|
6
6
|
}
|
7
7
|
declare class StandardOpenAPIHandler<T extends Context> extends StandardHandler<T> {
|
8
8
|
constructor(router: Router<any, T>, options: NoInfer<StandardOpenAPIHandlerOptions<T>>);
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@orpc/openapi",
|
3
3
|
"type": "module",
|
4
|
-
"version": "1.6.
|
4
|
+
"version": "1.6.6",
|
5
5
|
"license": "MIT",
|
6
6
|
"homepage": "https://orpc.unnoq.com",
|
7
7
|
"repository": {
|
@@ -51,15 +51,15 @@
|
|
51
51
|
"dependencies": {
|
52
52
|
"json-schema-typed": "^8.0.1",
|
53
53
|
"rou3": "^0.7.3",
|
54
|
-
"@orpc/contract": "1.6.
|
55
|
-
"@orpc/client": "1.6.
|
56
|
-
"@orpc/
|
57
|
-
"@orpc/
|
58
|
-
"@orpc/
|
59
|
-
"@orpc/server": "1.6.
|
54
|
+
"@orpc/contract": "1.6.6",
|
55
|
+
"@orpc/openapi-client": "1.6.6",
|
56
|
+
"@orpc/client": "1.6.6",
|
57
|
+
"@orpc/server": "1.6.6",
|
58
|
+
"@orpc/shared": "1.6.6",
|
59
|
+
"@orpc/standard-server": "1.6.6"
|
60
60
|
},
|
61
61
|
"devDependencies": {
|
62
|
-
"zod": "^3.25.
|
62
|
+
"zod": "^3.25.74"
|
63
63
|
},
|
64
64
|
"scripts": {
|
65
65
|
"build": "unbuild",
|