@orpc/nest 0.0.0-next.f779f69 → 0.0.0-next.f8cfaa5
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 +12 -9
- package/dist/index.d.mts +21 -6
- package/dist/index.d.ts +21 -6
- package/dist/index.mjs +76 -13
- package/package.json +20 -18
package/README.md
CHANGED
|
@@ -17,6 +17,9 @@
|
|
|
17
17
|
<a href="https://discord.gg/TXEbwRBvQn">
|
|
18
18
|
<img alt="Discord" src="https://img.shields.io/discord/1308966753044398161?color=7389D8&label&logo=discord&logoColor=ffffff" />
|
|
19
19
|
</a>
|
|
20
|
+
<a href="https://deepwiki.com/unnoq/orpc">
|
|
21
|
+
<img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki">
|
|
22
|
+
</a>
|
|
20
23
|
</div>
|
|
21
24
|
|
|
22
25
|
<h3 align="center">Typesafe APIs Made Simple 🪄</h3>
|
|
@@ -30,7 +33,8 @@
|
|
|
30
33
|
- **🔗 End-to-End Type Safety**: Ensure type-safe inputs, outputs, and errors from client to server.
|
|
31
34
|
- **📘 First-Class OpenAPI**: Built-in support that fully adheres to the OpenAPI standard.
|
|
32
35
|
- **📝 Contract-First Development**: Optionally define your API contract before implementation.
|
|
33
|
-
-
|
|
36
|
+
- **🔍 First-Class OpenTelemetry**: Seamlessly integrate with OpenTelemetry for observability.
|
|
37
|
+
- **⚙️ Framework Integrations**: Seamlessly integrate with TanStack Query (React, Vue, Solid, Svelte, Angular), SWR, Pinia Colada, and more.
|
|
34
38
|
- **🚀 Server Actions**: Fully compatible with React Server Actions on Next.js, TanStack Start, and other platforms.
|
|
35
39
|
- **🔠 Standard Schema Support**: Works out of the box with Zod, Valibot, ArkType, and other schema validators.
|
|
36
40
|
- **🗃️ Native Types**: Supports native types like Date, File, Blob, BigInt, URL, and more.
|
|
@@ -38,7 +42,6 @@
|
|
|
38
42
|
- **📡 SSE & Streaming**: Enjoy full type-safe support for SSE and streaming.
|
|
39
43
|
- **🌍 Multi-Runtime Support**: Fast and lightweight on Cloudflare, Deno, Bun, Node.js, and beyond.
|
|
40
44
|
- **🔌 Extendability**: Easily extend functionality with plugins, middleware, and interceptors.
|
|
41
|
-
- **🛡️ Reliability**: Well-tested, TypeScript-based, production-ready, and MIT licensed.
|
|
42
45
|
|
|
43
46
|
## Documentation
|
|
44
47
|
|
|
@@ -49,14 +52,14 @@ You can find the full documentation [here](https://orpc.unnoq.com).
|
|
|
49
52
|
- [@orpc/contract](https://www.npmjs.com/package/@orpc/contract): Build your API contract.
|
|
50
53
|
- [@orpc/server](https://www.npmjs.com/package/@orpc/server): Build your API or implement API contract.
|
|
51
54
|
- [@orpc/client](https://www.npmjs.com/package/@orpc/client): Consume your API on the client with type-safety.
|
|
52
|
-
- [@orpc/
|
|
55
|
+
- [@orpc/openapi](https://www.npmjs.com/package/@orpc/openapi): Generate OpenAPI specs and handle OpenAPI requests.
|
|
56
|
+
- [@orpc/otel](https://www.npmjs.com/package/@orpc/otel): [OpenTelemetry](https://opentelemetry.io/) integration for observability.
|
|
57
|
+
- [@orpc/nest](https://www.npmjs.com/package/@orpc/nest): Deeply integrate oRPC with [NestJS](https://nestjs.com/).
|
|
53
58
|
- [@orpc/react](https://www.npmjs.com/package/@orpc/react): Utilities for integrating oRPC with React and React Server Actions.
|
|
54
|
-
- [@orpc/
|
|
55
|
-
- [@orpc/
|
|
56
|
-
- [@orpc/solid-query](https://www.npmjs.com/package/@orpc/solid-query): Integration with [Solid Query](https://tanstack.com/query/latest/docs/framework/solid/overview).
|
|
57
|
-
- [@orpc/svelte-query](https://www.npmjs.com/package/@orpc/svelte-query): Integration with [Svelte Query](https://tanstack.com/query/latest/docs/framework/svelte/overview).
|
|
59
|
+
- [@orpc/tanstack-query](https://www.npmjs.com/package/@orpc/tanstack-query): [TanStack Query](https://tanstack.com/query/latest) integration.
|
|
60
|
+
- [@orpc/experimental-react-swr](https://www.npmjs.com/package/@orpc/experimental-react-swr): [SWR](https://swr.vercel.app/) integration.
|
|
58
61
|
- [@orpc/vue-colada](https://www.npmjs.com/package/@orpc/vue-colada): Integration with [Pinia Colada](https://pinia-colada.esm.dev/).
|
|
59
|
-
- [@orpc/
|
|
62
|
+
- [@orpc/hey-api](https://www.npmjs.com/package/@orpc/hey-api): [Hey API](https://heyapi.dev/) integration.
|
|
60
63
|
- [@orpc/zod](https://www.npmjs.com/package/@orpc/zod): More schemas that [Zod](https://zod.dev/) doesn't support yet.
|
|
61
64
|
- [@orpc/valibot](https://www.npmjs.com/package/@orpc/valibot): OpenAPI spec generation from [Valibot](https://valibot.dev/).
|
|
62
65
|
- [@orpc/arktype](https://www.npmjs.com/package/@orpc/arktype): OpenAPI spec generation from [ArkType](https://arktype.io/).
|
|
@@ -87,7 +90,7 @@ export class PlanetController {
|
|
|
87
90
|
}
|
|
88
91
|
|
|
89
92
|
/**
|
|
90
|
-
* Implement entire
|
|
93
|
+
* Implement entire contract
|
|
91
94
|
*/
|
|
92
95
|
@Implement(contract.planet)
|
|
93
96
|
planet() {
|
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,22 @@
|
|
|
1
|
-
import { NestInterceptor, ExecutionContext, CallHandler } from '@nestjs/common';
|
|
2
|
-
import { ContractRouter, HTTPPath, AnyContractRouter, ContractProcedure } from '@orpc/contract';
|
|
3
|
-
import { Router } from '@orpc/server';
|
|
4
|
-
export { ImplementedProcedure, Implementer, ImplementerInternal, ImplementerInternalWithMiddlewares, ORPCError, ProcedureImplementer, RouterImplementer, RouterImplementerWithMiddlewares, implement } from '@orpc/server';
|
|
1
|
+
import { DynamicModule, NestInterceptor, ExecutionContext, CallHandler } from '@nestjs/common';
|
|
2
|
+
import { AnySchema, ContractRouter, HTTPPath, AnyContractRouter, ContractProcedure } from '@orpc/contract';
|
|
3
|
+
import { CreateProcedureClientOptions, Router } from '@orpc/server';
|
|
4
|
+
export { ImplementedProcedure, Implementer, ImplementerInternal, ImplementerInternalWithMiddlewares, ORPCError, ProcedureImplementer, RouterImplementer, RouterImplementerWithMiddlewares, implement, onError, onFinish, onStart, onSuccess } from '@orpc/server';
|
|
5
5
|
import { Promisable } from '@orpc/shared';
|
|
6
6
|
import { Observable } from 'rxjs';
|
|
7
|
+
import { SendStandardResponseOptions } from '@orpc/standard-server-node';
|
|
8
|
+
|
|
9
|
+
declare const ORPC_MODULE_CONFIG_SYMBOL: unique symbol;
|
|
10
|
+
interface ORPCModuleConfig extends CreateProcedureClientOptions<object, AnySchema, object, object, object>, SendStandardResponseOptions {
|
|
11
|
+
}
|
|
12
|
+
declare class ORPCModule {
|
|
13
|
+
static forRoot(config: ORPCModuleConfig): DynamicModule;
|
|
14
|
+
static forRootAsync(options: {
|
|
15
|
+
imports?: any[];
|
|
16
|
+
useFactory: (...args: any[]) => Promise<ORPCModuleConfig> | ORPCModuleConfig;
|
|
17
|
+
inject?: any[];
|
|
18
|
+
}): DynamicModule;
|
|
19
|
+
}
|
|
7
20
|
|
|
8
21
|
/**
|
|
9
22
|
* Decorator in controller handler to implement a oRPC contract.
|
|
@@ -12,6 +25,8 @@ import { Observable } from 'rxjs';
|
|
|
12
25
|
*/
|
|
13
26
|
declare function Implement<T extends ContractRouter<any>>(contract: T): <U extends Promisable<Router<T, Record<never, never>>>>(target: Record<PropertyKey, any>, propertyKey: string, descriptor: TypedPropertyDescriptor<(...args: any[]) => U>) => void;
|
|
14
27
|
declare class ImplementInterceptor implements NestInterceptor {
|
|
28
|
+
private readonly config;
|
|
29
|
+
constructor(config: ORPCModuleConfig | undefined);
|
|
15
30
|
intercept(ctx: ExecutionContext, next: CallHandler<any>): Observable<any>;
|
|
16
31
|
}
|
|
17
32
|
|
|
@@ -32,5 +47,5 @@ interface PopulateContractRouterPathsOptions {
|
|
|
32
47
|
*/
|
|
33
48
|
declare function populateContractRouterPaths<T extends AnyContractRouter>(router: T, options?: PopulateContractRouterPathsOptions): PopulatedContractRouterPaths<T>;
|
|
34
49
|
|
|
35
|
-
export { Implement as Impl, Implement, ImplementInterceptor, populateContractRouterPaths, toNestPattern };
|
|
36
|
-
export type { PopulateContractRouterPathsOptions, PopulatedContractRouterPaths };
|
|
50
|
+
export { Implement as Impl, Implement, ImplementInterceptor, ORPCModule, ORPC_MODULE_CONFIG_SYMBOL, populateContractRouterPaths, toNestPattern };
|
|
51
|
+
export type { ORPCModuleConfig, PopulateContractRouterPathsOptions, PopulatedContractRouterPaths };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,22 @@
|
|
|
1
|
-
import { NestInterceptor, ExecutionContext, CallHandler } from '@nestjs/common';
|
|
2
|
-
import { ContractRouter, HTTPPath, AnyContractRouter, ContractProcedure } from '@orpc/contract';
|
|
3
|
-
import { Router } from '@orpc/server';
|
|
4
|
-
export { ImplementedProcedure, Implementer, ImplementerInternal, ImplementerInternalWithMiddlewares, ORPCError, ProcedureImplementer, RouterImplementer, RouterImplementerWithMiddlewares, implement } from '@orpc/server';
|
|
1
|
+
import { DynamicModule, NestInterceptor, ExecutionContext, CallHandler } from '@nestjs/common';
|
|
2
|
+
import { AnySchema, ContractRouter, HTTPPath, AnyContractRouter, ContractProcedure } from '@orpc/contract';
|
|
3
|
+
import { CreateProcedureClientOptions, Router } from '@orpc/server';
|
|
4
|
+
export { ImplementedProcedure, Implementer, ImplementerInternal, ImplementerInternalWithMiddlewares, ORPCError, ProcedureImplementer, RouterImplementer, RouterImplementerWithMiddlewares, implement, onError, onFinish, onStart, onSuccess } from '@orpc/server';
|
|
5
5
|
import { Promisable } from '@orpc/shared';
|
|
6
6
|
import { Observable } from 'rxjs';
|
|
7
|
+
import { SendStandardResponseOptions } from '@orpc/standard-server-node';
|
|
8
|
+
|
|
9
|
+
declare const ORPC_MODULE_CONFIG_SYMBOL: unique symbol;
|
|
10
|
+
interface ORPCModuleConfig extends CreateProcedureClientOptions<object, AnySchema, object, object, object>, SendStandardResponseOptions {
|
|
11
|
+
}
|
|
12
|
+
declare class ORPCModule {
|
|
13
|
+
static forRoot(config: ORPCModuleConfig): DynamicModule;
|
|
14
|
+
static forRootAsync(options: {
|
|
15
|
+
imports?: any[];
|
|
16
|
+
useFactory: (...args: any[]) => Promise<ORPCModuleConfig> | ORPCModuleConfig;
|
|
17
|
+
inject?: any[];
|
|
18
|
+
}): DynamicModule;
|
|
19
|
+
}
|
|
7
20
|
|
|
8
21
|
/**
|
|
9
22
|
* Decorator in controller handler to implement a oRPC contract.
|
|
@@ -12,6 +25,8 @@ import { Observable } from 'rxjs';
|
|
|
12
25
|
*/
|
|
13
26
|
declare function Implement<T extends ContractRouter<any>>(contract: T): <U extends Promisable<Router<T, Record<never, never>>>>(target: Record<PropertyKey, any>, propertyKey: string, descriptor: TypedPropertyDescriptor<(...args: any[]) => U>) => void;
|
|
14
27
|
declare class ImplementInterceptor implements NestInterceptor {
|
|
28
|
+
private readonly config;
|
|
29
|
+
constructor(config: ORPCModuleConfig | undefined);
|
|
15
30
|
intercept(ctx: ExecutionContext, next: CallHandler<any>): Observable<any>;
|
|
16
31
|
}
|
|
17
32
|
|
|
@@ -32,5 +47,5 @@ interface PopulateContractRouterPathsOptions {
|
|
|
32
47
|
*/
|
|
33
48
|
declare function populateContractRouterPaths<T extends AnyContractRouter>(router: T, options?: PopulateContractRouterPathsOptions): PopulatedContractRouterPaths<T>;
|
|
34
49
|
|
|
35
|
-
export { Implement as Impl, Implement, ImplementInterceptor, populateContractRouterPaths, toNestPattern };
|
|
36
|
-
export type { PopulateContractRouterPathsOptions, PopulatedContractRouterPaths };
|
|
50
|
+
export { Implement as Impl, Implement, ImplementInterceptor, ORPCModule, ORPC_MODULE_CONFIG_SYMBOL, populateContractRouterPaths, toNestPattern };
|
|
51
|
+
export type { ORPCModuleConfig, PopulateContractRouterPathsOptions, PopulatedContractRouterPaths };
|
package/dist/index.mjs
CHANGED
|
@@ -1,16 +1,62 @@
|
|
|
1
|
-
import { applyDecorators, Delete, Patch, Put, Post, Get, Head, UseInterceptors } from '@nestjs/common';
|
|
1
|
+
import { Module, Injectable, Inject, Optional, applyDecorators, Delete, Patch, Put, Post, Get, Head, UseInterceptors } from '@nestjs/common';
|
|
2
2
|
import { toORPCError } from '@orpc/client';
|
|
3
3
|
import { isContractProcedure, ContractProcedure, fallbackContractConfig } from '@orpc/contract';
|
|
4
4
|
import { standardizeHTTPPath, StandardOpenAPISerializer, StandardOpenAPIJsonSerializer, StandardBracketNotationSerializer } from '@orpc/openapi-client/standard';
|
|
5
5
|
import { StandardOpenAPICodec } from '@orpc/openapi/standard';
|
|
6
6
|
import { getRouter, unlazy, isProcedure, createProcedureClient, ORPCError } from '@orpc/server';
|
|
7
|
-
export { ORPCError, implement } from '@orpc/server';
|
|
7
|
+
export { ORPCError, implement, onError, onFinish, onStart, onSuccess } from '@orpc/server';
|
|
8
8
|
import { toArray, get } from '@orpc/shared';
|
|
9
9
|
import { flattenHeader } from '@orpc/standard-server';
|
|
10
|
-
import
|
|
10
|
+
import * as StandardServerFastify from '@orpc/standard-server-fastify';
|
|
11
|
+
import * as StandardServerNode from '@orpc/standard-server-node';
|
|
11
12
|
import { mergeMap } from 'rxjs';
|
|
12
13
|
import { toHttpPath } from '@orpc/client/standard';
|
|
13
14
|
|
|
15
|
+
var __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;
|
|
16
|
+
var __decorateClass$1 = (decorators, target, key, kind) => {
|
|
17
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$1(target, key) : target;
|
|
18
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
19
|
+
if (decorator = decorators[i])
|
|
20
|
+
result = (decorator(result)) || result;
|
|
21
|
+
return result;
|
|
22
|
+
};
|
|
23
|
+
const ORPC_MODULE_CONFIG_SYMBOL = Symbol("ORPC_MODULE_CONFIG");
|
|
24
|
+
let ORPCModule = class {
|
|
25
|
+
static forRoot(config) {
|
|
26
|
+
return {
|
|
27
|
+
module: ORPCModule,
|
|
28
|
+
providers: [
|
|
29
|
+
{
|
|
30
|
+
provide: ORPC_MODULE_CONFIG_SYMBOL,
|
|
31
|
+
useValue: config
|
|
32
|
+
},
|
|
33
|
+
ImplementInterceptor
|
|
34
|
+
],
|
|
35
|
+
exports: [ORPC_MODULE_CONFIG_SYMBOL, ImplementInterceptor],
|
|
36
|
+
global: true
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
static forRootAsync(options) {
|
|
40
|
+
return {
|
|
41
|
+
module: ORPCModule,
|
|
42
|
+
imports: options.imports,
|
|
43
|
+
providers: [
|
|
44
|
+
{
|
|
45
|
+
provide: ORPC_MODULE_CONFIG_SYMBOL,
|
|
46
|
+
useFactory: options.useFactory,
|
|
47
|
+
inject: options.inject
|
|
48
|
+
},
|
|
49
|
+
ImplementInterceptor
|
|
50
|
+
],
|
|
51
|
+
exports: [ORPC_MODULE_CONFIG_SYMBOL, ImplementInterceptor],
|
|
52
|
+
global: true
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
ORPCModule = __decorateClass$1([
|
|
57
|
+
Module({})
|
|
58
|
+
], ORPCModule);
|
|
59
|
+
|
|
14
60
|
function toNestPattern(path) {
|
|
15
61
|
return standardizeHTTPPath(path).replace(/\/\{\+([^}]+)\}/g, "/*$1").replace(/\/\{([^}]+)\}/g, "/:$1");
|
|
16
62
|
}
|
|
@@ -35,6 +81,15 @@ function populateContractRouterPaths(router, options = {}) {
|
|
|
35
81
|
return populated;
|
|
36
82
|
}
|
|
37
83
|
|
|
84
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
85
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
86
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
87
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
88
|
+
if (decorator = decorators[i])
|
|
89
|
+
result = (decorator(result)) || result;
|
|
90
|
+
return result;
|
|
91
|
+
};
|
|
92
|
+
var __decorateParam = (index, decorator) => (target, key) => decorator(target, key, index);
|
|
38
93
|
const MethodDecoratorMap = {
|
|
39
94
|
HEAD: Head,
|
|
40
95
|
GET: Get,
|
|
@@ -88,7 +143,10 @@ const codec = new StandardOpenAPICodec(
|
|
|
88
143
|
new StandardBracketNotationSerializer()
|
|
89
144
|
)
|
|
90
145
|
);
|
|
91
|
-
|
|
146
|
+
let ImplementInterceptor = class {
|
|
147
|
+
constructor(config) {
|
|
148
|
+
this.config = config;
|
|
149
|
+
}
|
|
92
150
|
intercept(ctx, next) {
|
|
93
151
|
return next.handle().pipe(
|
|
94
152
|
mergeMap(async (impl) => {
|
|
@@ -100,15 +158,11 @@ class ImplementInterceptor {
|
|
|
100
158
|
}
|
|
101
159
|
const req = ctx.switchToHttp().getRequest();
|
|
102
160
|
const res = ctx.switchToHttp().getResponse();
|
|
103
|
-
const
|
|
104
|
-
const nodeRes = "raw" in res ? res.raw : res;
|
|
105
|
-
const standardRequest = toStandardLazyRequest(nodeReq, nodeRes);
|
|
106
|
-
const fallbackStandardBody = standardRequest.body.bind(standardRequest);
|
|
107
|
-
standardRequest.body = () => Promise.resolve(req.body ?? fallbackStandardBody());
|
|
161
|
+
const standardRequest = "raw" in req ? StandardServerFastify.toStandardLazyRequest(req, res) : StandardServerNode.toStandardLazyRequest(req, res);
|
|
108
162
|
const standardResponse = await (async () => {
|
|
109
163
|
let isDecoding = false;
|
|
110
164
|
try {
|
|
111
|
-
const client = createProcedureClient(procedure);
|
|
165
|
+
const client = createProcedureClient(procedure, this.config);
|
|
112
166
|
isDecoding = true;
|
|
113
167
|
const input = await codec.decode(standardRequest, flattenParams(req.params), procedure);
|
|
114
168
|
isDecoding = false;
|
|
@@ -125,11 +179,20 @@ class ImplementInterceptor {
|
|
|
125
179
|
return codec.encodeError(error);
|
|
126
180
|
}
|
|
127
181
|
})();
|
|
128
|
-
|
|
182
|
+
if ("raw" in res) {
|
|
183
|
+
await StandardServerFastify.sendStandardResponse(res, standardResponse, this.config);
|
|
184
|
+
} else {
|
|
185
|
+
await StandardServerNode.sendStandardResponse(res, standardResponse, this.config);
|
|
186
|
+
}
|
|
129
187
|
})
|
|
130
188
|
);
|
|
131
189
|
}
|
|
132
|
-
}
|
|
190
|
+
};
|
|
191
|
+
ImplementInterceptor = __decorateClass([
|
|
192
|
+
Injectable(),
|
|
193
|
+
__decorateParam(0, Inject(ORPC_MODULE_CONFIG_SYMBOL)),
|
|
194
|
+
__decorateParam(0, Optional())
|
|
195
|
+
], ImplementInterceptor);
|
|
133
196
|
function flattenParams(params) {
|
|
134
197
|
const flatten = {};
|
|
135
198
|
for (const [key, value] of Object.entries(params)) {
|
|
@@ -142,4 +205,4 @@ function flattenParams(params) {
|
|
|
142
205
|
return flatten;
|
|
143
206
|
}
|
|
144
207
|
|
|
145
|
-
export { Implement as Impl, Implement, ImplementInterceptor, populateContractRouterPaths, toNestPattern };
|
|
208
|
+
export { Implement as Impl, Implement, ImplementInterceptor, ORPCModule, ORPC_MODULE_CONFIG_SYMBOL, populateContractRouterPaths, toNestPattern };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orpc/nest",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.0-next.
|
|
4
|
+
"version": "0.0.0-next.f8cfaa5",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://orpc.unnoq.com",
|
|
7
7
|
"repository": {
|
|
@@ -39,28 +39,30 @@
|
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@orpc/client": "0.0.0-next.
|
|
43
|
-
"@orpc/
|
|
44
|
-
"@orpc/
|
|
45
|
-
"@orpc/
|
|
46
|
-
"@orpc/
|
|
47
|
-
"@orpc/
|
|
48
|
-
"@orpc/
|
|
49
|
-
"@orpc/standard-server-
|
|
42
|
+
"@orpc/client": "0.0.0-next.f8cfaa5",
|
|
43
|
+
"@orpc/contract": "0.0.0-next.f8cfaa5",
|
|
44
|
+
"@orpc/openapi": "0.0.0-next.f8cfaa5",
|
|
45
|
+
"@orpc/openapi-client": "0.0.0-next.f8cfaa5",
|
|
46
|
+
"@orpc/server": "0.0.0-next.f8cfaa5",
|
|
47
|
+
"@orpc/shared": "0.0.0-next.f8cfaa5",
|
|
48
|
+
"@orpc/standard-server": "0.0.0-next.f8cfaa5",
|
|
49
|
+
"@orpc/standard-server-fastify": "0.0.0-next.f8cfaa5",
|
|
50
|
+
"@orpc/standard-server-node": "0.0.0-next.f8cfaa5"
|
|
50
51
|
},
|
|
51
52
|
"devDependencies": {
|
|
52
|
-
"@
|
|
53
|
-
"@nestjs/
|
|
54
|
-
"@nestjs/
|
|
55
|
-
"@nestjs/platform-
|
|
56
|
-
"@nestjs/
|
|
53
|
+
"@fastify/cookie": "^11.0.2",
|
|
54
|
+
"@nestjs/common": "^11.1.9",
|
|
55
|
+
"@nestjs/core": "^11.1.9",
|
|
56
|
+
"@nestjs/platform-express": "^11.1.9",
|
|
57
|
+
"@nestjs/platform-fastify": "^11.1.9",
|
|
58
|
+
"@nestjs/testing": "^11.1.9",
|
|
57
59
|
"@ts-rest/core": "^3.52.1",
|
|
58
|
-
"@types/express": "^5.0.
|
|
60
|
+
"@types/express": "^5.0.5",
|
|
59
61
|
"express": "^5.0.0",
|
|
60
|
-
"fastify": "^5.
|
|
62
|
+
"fastify": "^5.6.2",
|
|
61
63
|
"rxjs": "^7.8.1",
|
|
62
|
-
"supertest": "^7.1.
|
|
63
|
-
"zod": "^
|
|
64
|
+
"supertest": "^7.1.4",
|
|
65
|
+
"zod": "^4.1.12"
|
|
64
66
|
},
|
|
65
67
|
"scripts": {
|
|
66
68
|
"build": "unbuild",
|