@temporary-name/server 1.9.3-alpha.26612c2cf6a7177d2b500d984d282309d8320ca3 → 1.9.3-alpha.2d4311b66d2b675b022398c62ddc6fde97c93a6f
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 +3 -3
- package/dist/adapters/aws-lambda/index.d.ts +3 -3
- package/dist/adapters/aws-lambda/index.mjs +3 -3
- package/dist/adapters/fetch/index.d.mts +3 -3
- package/dist/adapters/fetch/index.d.ts +3 -3
- package/dist/adapters/fetch/index.mjs +3 -3
- package/dist/adapters/node/index.d.mts +3 -3
- package/dist/adapters/node/index.d.ts +3 -3
- package/dist/adapters/node/index.mjs +3 -3
- package/dist/adapters/standard/index.d.mts +10 -5
- package/dist/adapters/standard/index.d.ts +10 -5
- package/dist/adapters/standard/index.mjs +3 -3
- package/dist/index.d.mts +52 -44
- package/dist/index.d.ts +52 -44
- package/dist/index.mjs +39 -14
- package/dist/openapi/index.d.mts +1 -1
- package/dist/openapi/index.d.ts +1 -1
- package/dist/openapi/index.mjs +52 -35
- package/dist/plugins/index.d.mts +2 -2
- package/dist/plugins/index.d.ts +2 -2
- package/dist/shared/{server.BlJrjUA9.d.mts → server.BCcLYvdF.d.mts} +1 -1
- package/dist/shared/{server.CjkiSCui.mjs → server.CHV9AQHl.mjs} +33 -17
- package/dist/shared/{server.C-tNYmY_.d.ts → server.CdeqmULw.d.ts} +1 -1
- package/dist/shared/{server.DdHBdcen.mjs → server.Cn7WsRHl.mjs} +13 -21
- package/dist/shared/{server.BYnDyuDL.d.mts → server.DHezmW6C.d.mts} +2 -2
- package/dist/shared/{server.JI4dqTgD.d.ts → server.Da-qLzdU.d.ts} +2 -2
- package/dist/shared/{server.WsFQIubj.d.mts → server.DecvGKtb.d.mts} +29 -22
- package/dist/shared/{server.WsFQIubj.d.ts → server.DecvGKtb.d.ts} +29 -22
- package/dist/shared/{server.Kxw442A9.mjs → server.JtIZ8YG7.mjs} +1 -11
- package/package.json +10 -10
|
@@ -269,14 +269,16 @@ function createProcedureClient(lazyableProcedure, ...rest) {
|
|
|
269
269
|
{
|
|
270
270
|
context,
|
|
271
271
|
input,
|
|
272
|
-
// input only optional when it undefinable so we can safely cast it
|
|
273
272
|
errors,
|
|
274
273
|
path,
|
|
275
274
|
procedure,
|
|
276
275
|
signal: callerOptions?.signal,
|
|
277
276
|
lastEventId: callerOptions?.lastEventId
|
|
278
277
|
},
|
|
279
|
-
(interceptorOptions) =>
|
|
278
|
+
(interceptorOptions) => {
|
|
279
|
+
const { input: input2, ...opts } = interceptorOptions;
|
|
280
|
+
return executeProcedureInternal(interceptorOptions.procedure, input2, opts);
|
|
281
|
+
}
|
|
280
282
|
);
|
|
281
283
|
});
|
|
282
284
|
if (isAsyncIteratorObject(output)) {
|
|
@@ -304,30 +306,44 @@ function createProcedureClient(lazyableProcedure, ...rest) {
|
|
|
304
306
|
};
|
|
305
307
|
}
|
|
306
308
|
async function validateInput(procedure, input) {
|
|
307
|
-
const
|
|
308
|
-
if (!schema) {
|
|
309
|
-
return input;
|
|
310
|
-
}
|
|
309
|
+
const schemas = procedure["~orpc"].schemas;
|
|
311
310
|
return runWithSpan({ name: "validate_input" }, async () => {
|
|
312
|
-
const
|
|
313
|
-
|
|
311
|
+
const resultBody = await safeParseAsync(schemas.bodySchema, input.body);
|
|
312
|
+
const resultPath = await safeParseAsync(schemas.pathSchema, input.path);
|
|
313
|
+
const resultQuery = await safeParseAsync(schemas.querySchema, input.query);
|
|
314
|
+
const issues = [];
|
|
315
|
+
if (!resultBody.success) {
|
|
316
|
+
issues.push(...resultBody.error.issues.map((i) => ({ ...i, path: ["body", ...i.path] })));
|
|
317
|
+
}
|
|
318
|
+
if (!resultPath.success) {
|
|
319
|
+
issues.push(...resultPath.error.issues.map((i) => ({ ...i, path: ["path", ...i.path] })));
|
|
320
|
+
}
|
|
321
|
+
if (!resultQuery.success) {
|
|
322
|
+
issues.push(...resultQuery.error.issues.map((i) => ({ ...i, path: ["query", ...i.path] })));
|
|
323
|
+
}
|
|
324
|
+
if (issues.length > 0) {
|
|
314
325
|
throw new ORPCError("BAD_REQUEST", {
|
|
315
326
|
message: "Input validation failed",
|
|
316
327
|
data: {
|
|
317
|
-
issues
|
|
328
|
+
issues
|
|
318
329
|
},
|
|
319
330
|
cause: new ValidationError({
|
|
320
331
|
message: "Input validation failed",
|
|
321
|
-
issues
|
|
332
|
+
issues,
|
|
322
333
|
data: input
|
|
323
334
|
})
|
|
324
335
|
});
|
|
325
336
|
}
|
|
326
|
-
|
|
337
|
+
const results = {
|
|
338
|
+
body: resultBody.data,
|
|
339
|
+
path: resultPath.data,
|
|
340
|
+
query: resultQuery.data
|
|
341
|
+
};
|
|
342
|
+
return results;
|
|
327
343
|
});
|
|
328
344
|
}
|
|
329
345
|
async function validateOutput(procedure, output) {
|
|
330
|
-
const schema = procedure["~orpc"].outputSchema;
|
|
346
|
+
const schema = procedure["~orpc"].schemas.outputSchema;
|
|
331
347
|
if (!schema) {
|
|
332
348
|
return output;
|
|
333
349
|
}
|
|
@@ -346,7 +362,7 @@ async function validateOutput(procedure, output) {
|
|
|
346
362
|
return result.data;
|
|
347
363
|
});
|
|
348
364
|
}
|
|
349
|
-
async function executeProcedureInternal(procedure, options) {
|
|
365
|
+
async function executeProcedureInternal(procedure, input, options) {
|
|
350
366
|
const middlewares = procedure["~orpc"].middlewares;
|
|
351
367
|
const inputValidationIndex = Math.min(
|
|
352
368
|
Math.max(0, procedure["~orpc"].inputValidationIndex),
|
|
@@ -356,8 +372,8 @@ async function executeProcedureInternal(procedure, options) {
|
|
|
356
372
|
Math.max(0, procedure["~orpc"].outputValidationIndex),
|
|
357
373
|
middlewares.length
|
|
358
374
|
);
|
|
359
|
-
const next = async (index, context,
|
|
360
|
-
let currentInput =
|
|
375
|
+
const next = async (index, context, input2) => {
|
|
376
|
+
let currentInput = input2;
|
|
361
377
|
if (index === inputValidationIndex) {
|
|
362
378
|
currentInput = await validateInput(procedure, currentInput);
|
|
363
379
|
}
|
|
@@ -383,14 +399,14 @@ async function executeProcedureInternal(procedure, options) {
|
|
|
383
399
|
return result.output;
|
|
384
400
|
}) : await runWithSpan(
|
|
385
401
|
{ name: "handler", signal: options.signal },
|
|
386
|
-
() => procedure["~orpc"].handler({ ...options, context
|
|
402
|
+
() => procedure["~orpc"].handler(currentInput, { ...options, context })
|
|
387
403
|
);
|
|
388
404
|
if (index === outputValidationIndex) {
|
|
389
405
|
return await validateOutput(procedure, output);
|
|
390
406
|
}
|
|
391
407
|
return output;
|
|
392
408
|
};
|
|
393
|
-
return next(0, options.context,
|
|
409
|
+
return next(0, options.context, input);
|
|
394
410
|
}
|
|
395
411
|
|
|
396
412
|
export { LAZY_SYMBOL as L, Procedure as P, addMiddleware as a, isLazy as b, createProcedureClient as c, getRouter as d, enhanceRouter as e, createORPCErrorConstructorMap as f, getLazyMeta as g, lazy as h, isProcedure as i, middlewareOutputFn as j, isStartWithMiddlewares as k, lazyInternal as l, mergeCurrentContext as m, mergeMiddlewares as n, getHiddenRouterContract as o, createAccessibleLazyRouter as p, unlazyRouter as q, resolveContractProcedures as r, setHiddenRouterContract as s, traverseContractProcedures as t, unlazy as u };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Meta } from '@temporary-name/contract';
|
|
2
2
|
import { HTTPPath, Interceptor } from '@temporary-name/shared';
|
|
3
3
|
import { StandardLazyRequest, StandardResponse } from '@temporary-name/standard-server';
|
|
4
|
-
import { C as Context, R as Router, H as ProcedureClientInterceptorOptions } from './server.
|
|
4
|
+
import { C as Context, R as Router, H as ProcedureClientInterceptorOptions } from './server.DecvGKtb.js';
|
|
5
5
|
|
|
6
6
|
interface StandardHandlerPlugin<T extends Context> {
|
|
7
7
|
order?: number;
|
|
@@ -1,26 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { stringifyJSON, isObject, isORPCErrorStatus, tryDecodeURIComponent, toHttpPath, toArray, intercept, runWithSpan, ORPC_NAME, isAsyncIteratorObject, asyncIteratorWithSpan, setSpanError, ORPCError, toORPCError } from '@temporary-name/shared';
|
|
2
2
|
import { flattenHeader } from '@temporary-name/standard-server';
|
|
3
|
-
import { c as createProcedureClient } from './server.
|
|
4
|
-
import { fallbackContractConfig } from '@temporary-name/contract';
|
|
5
|
-
import { d as deserialize,
|
|
3
|
+
import { c as createProcedureClient } from './server.CHV9AQHl.mjs';
|
|
4
|
+
import { fallbackContractConfig, standardizeHTTPPath } from '@temporary-name/contract';
|
|
5
|
+
import { d as deserialize, b as bracketNotationDeserialize, s as serialize } from './server.JtIZ8YG7.mjs';
|
|
6
6
|
import { traverseContractProcedures, isProcedure, getLazyMeta, unlazy, getRouter, createContractedProcedure } from '@temporary-name/server';
|
|
7
7
|
import { createRouter, addRoute, findRoute } from 'rou3';
|
|
8
8
|
|
|
9
9
|
async function decode(request, pathParams) {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
return {
|
|
11
|
+
path: pathParams ?? {},
|
|
12
|
+
query: bracketNotationDeserialize(Array.from(request.url.searchParams.entries())),
|
|
13
|
+
headers: request.headers,
|
|
14
|
+
body: deserialize(await request.body()) ?? {}
|
|
12
15
|
};
|
|
13
|
-
const data = request.method === "GET" ? deserializeSearchParams() : deserialize(await request.body());
|
|
14
|
-
if (data === void 0) {
|
|
15
|
-
return pathParams;
|
|
16
|
-
}
|
|
17
|
-
if (isObject(data)) {
|
|
18
|
-
return {
|
|
19
|
-
...pathParams,
|
|
20
|
-
...data
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
return data;
|
|
24
16
|
}
|
|
25
17
|
function encode(output, procedure) {
|
|
26
18
|
const successStatus = fallbackContractConfig(
|
|
@@ -214,12 +206,12 @@ class StandardHandler {
|
|
|
214
206
|
span?.setAttribute("rpc.system", ORPC_NAME);
|
|
215
207
|
span?.setAttribute("rpc.method", match.path.join("."));
|
|
216
208
|
step = "decode_input";
|
|
217
|
-
|
|
209
|
+
const input = await runWithSpan({ name: "decode_input" }, () => decode(request2, match.params));
|
|
218
210
|
step = void 0;
|
|
219
|
-
if (isAsyncIteratorObject(input)) {
|
|
220
|
-
input = asyncIteratorWithSpan(
|
|
211
|
+
if (isAsyncIteratorObject(input.body)) {
|
|
212
|
+
input.body = asyncIteratorWithSpan(
|
|
221
213
|
{ name: "consume_event_iterator_input", signal: request2.signal },
|
|
222
|
-
input
|
|
214
|
+
input.body
|
|
223
215
|
);
|
|
224
216
|
}
|
|
225
217
|
const client = createProcedureClient(match.procedure, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTTPPath } from '@temporary-name/shared';
|
|
2
|
-
import { C as Context } from './server.
|
|
3
|
-
import { c as StandardHandleOptions } from './server.
|
|
2
|
+
import { C as Context } from './server.DecvGKtb.mjs';
|
|
3
|
+
import { c as StandardHandleOptions } from './server.BCcLYvdF.mjs';
|
|
4
4
|
|
|
5
5
|
type FriendlyStandardHandleOptions<T extends Context> = Omit<StandardHandleOptions<T>, 'context'> & (Record<never, never> extends T ? {
|
|
6
6
|
context?: T;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTTPPath } from '@temporary-name/shared';
|
|
2
|
-
import { C as Context } from './server.
|
|
3
|
-
import { c as StandardHandleOptions } from './server.
|
|
2
|
+
import { C as Context } from './server.DecvGKtb.js';
|
|
3
|
+
import { c as StandardHandleOptions } from './server.CdeqmULw.js';
|
|
4
4
|
|
|
5
5
|
type FriendlyStandardHandleOptions<T extends Context> = Omit<StandardHandleOptions<T>, 'context'> & (Record<never, never> extends T ? {
|
|
6
6
|
context?: T;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ErrorMap, ErrorMapItem, InferSchemaInput,
|
|
1
|
+
import { ErrorMap, ErrorMapItem, InferSchemaInput, Schemas, Meta, ContractProcedureDef, AnyContractRouter, ContractProcedure, InferProcedureClientInputs, InferSchemaOutput, EnhanceRouteOptions, MergedErrorMap, AnyContractProcedure, ContractRouter, AnySchema, ErrorFromErrorMap } from '@temporary-name/contract';
|
|
2
2
|
import { ORPCErrorCode, MaybeOptionalOptions, ORPCErrorOptions, ORPCError, Promisable, HTTPPath, ClientContext, Interceptor, PromiseWithError, Value, Client } from '@temporary-name/shared';
|
|
3
3
|
|
|
4
4
|
type Context = Record<PropertyKey, any>;
|
|
@@ -13,19 +13,22 @@ type ORPCErrorConstructorMap<T extends ErrorMap> = {
|
|
|
13
13
|
};
|
|
14
14
|
declare function createORPCErrorConstructorMap<T extends ErrorMap>(errors: T): ORPCErrorConstructorMap<T>;
|
|
15
15
|
|
|
16
|
-
interface ProcedureHandlerOptions<TCurrentContext extends Context,
|
|
16
|
+
interface ProcedureHandlerOptions<TCurrentContext extends Context, TErrorConstructorMap extends ORPCErrorConstructorMap<any>, TMeta extends Meta> {
|
|
17
17
|
context: TCurrentContext;
|
|
18
|
-
input: TInput;
|
|
19
18
|
path: readonly string[];
|
|
20
|
-
procedure: Procedure<Context, Context,
|
|
19
|
+
procedure: Procedure<Context, Context, Schemas, ErrorMap, TMeta>;
|
|
21
20
|
signal?: AbortSignal;
|
|
22
21
|
lastEventId: string | undefined;
|
|
23
22
|
errors: TErrorConstructorMap;
|
|
24
23
|
}
|
|
25
|
-
interface ProcedureHandler<TCurrentContext extends Context, TInput
|
|
26
|
-
|
|
24
|
+
interface ProcedureHandler<TCurrentContext extends Context, TInput extends {
|
|
25
|
+
path: any;
|
|
26
|
+
query: any;
|
|
27
|
+
body: any;
|
|
28
|
+
}, THandlerOutput, TErrorMap extends ErrorMap, TMeta extends Meta> {
|
|
29
|
+
(input: TInput, opt: ProcedureHandlerOptions<TCurrentContext, ORPCErrorConstructorMap<TErrorMap>, TMeta>): Promisable<THandlerOutput>;
|
|
27
30
|
}
|
|
28
|
-
interface ProcedureDef<TInitialContext extends Context, TCurrentContext extends Context,
|
|
31
|
+
interface ProcedureDef<TInitialContext extends Context, TCurrentContext extends Context, TSchemas extends Schemas, TErrorMap extends ErrorMap, TMeta extends Meta> extends ContractProcedureDef<TSchemas, TErrorMap, TMeta> {
|
|
29
32
|
__initialContext?: (type: TInitialContext) => unknown;
|
|
30
33
|
middlewares: readonly AnyMiddleware[];
|
|
31
34
|
inputValidationIndex: number;
|
|
@@ -37,14 +40,14 @@ interface ProcedureDef<TInitialContext extends Context, TCurrentContext extends
|
|
|
37
40
|
*
|
|
38
41
|
* @see {@link https://orpc.unnoq.com/docs/procedure Procedure Docs}
|
|
39
42
|
*/
|
|
40
|
-
declare class Procedure<TInitialContext extends Context, TCurrentContext extends Context,
|
|
43
|
+
declare class Procedure<TInitialContext extends Context, TCurrentContext extends Context, TSchemas extends Schemas, TErrorMap extends ErrorMap, TMeta extends Meta> {
|
|
41
44
|
/**
|
|
42
45
|
* This property holds the defined options.
|
|
43
46
|
*/
|
|
44
|
-
'~orpc': ProcedureDef<TInitialContext, TCurrentContext,
|
|
45
|
-
constructor(def: ProcedureDef<TInitialContext, TCurrentContext,
|
|
47
|
+
'~orpc': ProcedureDef<TInitialContext, TCurrentContext, TSchemas, TErrorMap, TMeta>;
|
|
48
|
+
constructor(def: ProcedureDef<TInitialContext, TCurrentContext, TSchemas, TErrorMap, TMeta>);
|
|
46
49
|
}
|
|
47
|
-
type AnyProcedure = Procedure<any, any,
|
|
50
|
+
type AnyProcedure = Procedure<any, any, Schemas, any, any>;
|
|
48
51
|
declare function isProcedure(item: unknown): item is AnyProcedure;
|
|
49
52
|
|
|
50
53
|
type MiddlewareResult<TOutContext extends Context, TOutput> = Promisable<{
|
|
@@ -65,7 +68,7 @@ interface MiddlewareOutputFn<TOutput> {
|
|
|
65
68
|
interface MiddlewareOptions<TInContext extends Context, TOutput, TErrorConstructorMap extends ORPCErrorConstructorMap<any>, TMeta extends Meta> {
|
|
66
69
|
context: TInContext;
|
|
67
70
|
path: readonly string[];
|
|
68
|
-
procedure: Procedure<Context, Context,
|
|
71
|
+
procedure: Procedure<Context, Context, Schemas, ErrorMap, TMeta>;
|
|
69
72
|
signal?: AbortSignal;
|
|
70
73
|
lastEventId: string | undefined;
|
|
71
74
|
next: MiddlewareNextFn<TOutput>;
|
|
@@ -91,7 +94,7 @@ declare function middlewareOutputFn<TOutput>(output: TOutput): MiddlewareResult<
|
|
|
91
94
|
* @info A procedure is a router too.
|
|
92
95
|
* @see {@link https://orpc.unnoq.com/docs/contract-first/define-contract#contract-router Contract Router Docs}
|
|
93
96
|
*/
|
|
94
|
-
type Router<T extends AnyContractRouter, TInitialContext extends Context> = T extends ContractProcedure<infer
|
|
97
|
+
type Router<T extends AnyContractRouter, TInitialContext extends Context> = T extends ContractProcedure<infer USchemas, infer UErrorMap, infer UMeta> ? Procedure<TInitialContext, any, USchemas, UErrorMap, UMeta> : {
|
|
95
98
|
[K in keyof T]: T[K] extends AnyContractRouter ? Lazyable<Router<T[K], TInitialContext>> : never;
|
|
96
99
|
};
|
|
97
100
|
type AnyRouter = Router<any, any>;
|
|
@@ -102,7 +105,7 @@ type InferRouterInitialContext<T extends AnyRouter> = T extends Router<any, infe
|
|
|
102
105
|
* @info A procedure is a router too.
|
|
103
106
|
* @see {@link https://orpc.unnoq.com/docs/router#utilities Router Utilities Docs}
|
|
104
107
|
*/
|
|
105
|
-
type InferRouterInitialContexts<T extends AnyRouter> = T extends Procedure<infer UInitialContext, any, any, any, any
|
|
108
|
+
type InferRouterInitialContexts<T extends AnyRouter> = T extends Procedure<infer UInitialContext, any, any, any, any> ? UInitialContext : {
|
|
106
109
|
[K in keyof T]: T[K] extends Lazyable<infer U extends AnyRouter> ? InferRouterInitialContexts<U> : never;
|
|
107
110
|
};
|
|
108
111
|
/**
|
|
@@ -111,7 +114,7 @@ type InferRouterInitialContexts<T extends AnyRouter> = T extends Procedure<infer
|
|
|
111
114
|
* @info A procedure is a router too.
|
|
112
115
|
* @see {@link https://orpc.unnoq.com/docs/router#utilities Router Utilities Docs}
|
|
113
116
|
*/
|
|
114
|
-
type InferRouterCurrentContexts<T extends AnyRouter> = T extends Procedure<any, infer UCurrentContext, any, any, any
|
|
117
|
+
type InferRouterCurrentContexts<T extends AnyRouter> = T extends Procedure<any, infer UCurrentContext, any, any, any> ? UCurrentContext : {
|
|
115
118
|
[K in keyof T]: T[K] extends Lazyable<infer U extends AnyRouter> ? InferRouterCurrentContexts<U> : never;
|
|
116
119
|
};
|
|
117
120
|
/**
|
|
@@ -120,7 +123,7 @@ type InferRouterCurrentContexts<T extends AnyRouter> = T extends Procedure<any,
|
|
|
120
123
|
* @info A procedure is a router too.
|
|
121
124
|
* @see {@link https://orpc.unnoq.com/docs/router#utilities Router Utilities Docs}
|
|
122
125
|
*/
|
|
123
|
-
type InferRouterInputs<T extends AnyRouter> = T extends Procedure<any, any, infer
|
|
126
|
+
type InferRouterInputs<T extends AnyRouter> = T extends Procedure<any, any, infer USchemas, any, any> ? InferProcedureClientInputs<USchemas> : {
|
|
124
127
|
[K in keyof T]: T[K] extends Lazyable<infer U extends AnyRouter> ? InferRouterInputs<U> : never;
|
|
125
128
|
};
|
|
126
129
|
/**
|
|
@@ -129,7 +132,7 @@ type InferRouterInputs<T extends AnyRouter> = T extends Procedure<any, any, infe
|
|
|
129
132
|
* @info A procedure is a router too.
|
|
130
133
|
* @see {@link https://orpc.unnoq.com/docs/router#utilities Router Utilities Docs}
|
|
131
134
|
*/
|
|
132
|
-
type InferRouterOutputs<T extends AnyRouter> = T extends Procedure<any, any,
|
|
135
|
+
type InferRouterOutputs<T extends AnyRouter> = T extends Procedure<any, any, infer USchemas, any, any> ? InferSchemaOutput<USchemas['outputSchema']> : {
|
|
133
136
|
[K in keyof T]: T[K] extends Lazyable<infer U extends AnyRouter> ? InferRouterOutputs<U> : never;
|
|
134
137
|
};
|
|
135
138
|
|
|
@@ -138,7 +141,7 @@ type AccessibleLazyRouter<T extends Lazyable<AnyRouter | undefined>> = T extends
|
|
|
138
141
|
[K in keyof T]: T[K] extends Lazyable<AnyRouter> ? AccessibleLazyRouter<T[K]> : never;
|
|
139
142
|
};
|
|
140
143
|
declare function createAccessibleLazyRouter<T extends Lazy<AnyRouter | undefined>>(lazied: T): AccessibleLazyRouter<T>;
|
|
141
|
-
type EnhancedRouter<T extends Lazyable<AnyRouter>, TInitialContext extends Context, TCurrentContext extends Context, TErrorMap extends ErrorMap> = T extends Lazy<infer U extends AnyRouter> ? AccessibleLazyRouter<EnhancedRouter<U, TInitialContext, TCurrentContext, TErrorMap>> : T extends (Procedure<infer UInitialContext, infer UCurrentContext, infer
|
|
144
|
+
type EnhancedRouter<T extends Lazyable<AnyRouter>, TInitialContext extends Context, TCurrentContext extends Context, TErrorMap extends ErrorMap> = T extends Lazy<infer U extends AnyRouter> ? AccessibleLazyRouter<EnhancedRouter<U, TInitialContext, TCurrentContext, TErrorMap>> : T extends (Procedure<infer UInitialContext, infer UCurrentContext, infer USchemas, infer UErrorMap, infer UMeta>) ? Procedure<MergedInitialContext<TInitialContext, UInitialContext, TCurrentContext>, UCurrentContext, USchemas, MergedErrorMap<TErrorMap, UErrorMap>, UMeta> : {
|
|
142
145
|
[K in keyof T]: T[K] extends Lazyable<AnyRouter> ? EnhancedRouter<T[K], TInitialContext, TCurrentContext, TErrorMap> : never;
|
|
143
146
|
};
|
|
144
147
|
interface EnhanceRouterOptions<TErrorMap extends ErrorMap> extends EnhanceRouteOptions {
|
|
@@ -203,13 +206,17 @@ declare function unlazy<T extends Lazyable<any>>(lazied: T): Promise<{
|
|
|
203
206
|
default: T extends Lazy<infer U> ? U : T;
|
|
204
207
|
}>;
|
|
205
208
|
|
|
206
|
-
type ProcedureClient<TClientContext extends ClientContext,
|
|
209
|
+
type ProcedureClient<TClientContext extends ClientContext, TSchemas extends Schemas, TErrorMap extends ErrorMap> = Client<TClientContext, InferProcedureClientInputs<TSchemas>, InferSchemaOutput<TSchemas['outputSchema']>, ErrorFromErrorMap<TErrorMap>>;
|
|
207
210
|
interface ProcedureClientInterceptorOptions<TInitialContext extends Context, TErrorMap extends ErrorMap, TMeta extends Meta> {
|
|
208
211
|
context: TInitialContext;
|
|
209
|
-
input:
|
|
212
|
+
input: {
|
|
213
|
+
path: unknown;
|
|
214
|
+
query: unknown;
|
|
215
|
+
body: unknown;
|
|
216
|
+
};
|
|
210
217
|
errors: ORPCErrorConstructorMap<TErrorMap>;
|
|
211
218
|
path: readonly string[];
|
|
212
|
-
procedure: Procedure<Context, Context,
|
|
219
|
+
procedure: Procedure<Context, Context, Schemas, ErrorMap, TMeta>;
|
|
213
220
|
signal?: AbortSignal;
|
|
214
221
|
lastEventId: string | undefined;
|
|
215
222
|
}
|
|
@@ -229,7 +236,7 @@ type CreateProcedureClientOptions<TInitialContext extends Context, TOutputSchema
|
|
|
229
236
|
*
|
|
230
237
|
* @see {@link https://orpc.unnoq.com/docs/client/server-side Server-side Client Docs}
|
|
231
238
|
*/
|
|
232
|
-
declare function createProcedureClient<TInitialContext extends Context,
|
|
239
|
+
declare function createProcedureClient<TInitialContext extends Context, TSchemas extends Schemas, TErrorMap extends ErrorMap, TMeta extends Meta, TClientContext extends ClientContext>(lazyableProcedure: Lazyable<Procedure<TInitialContext, any, TSchemas, TErrorMap, TMeta>>, ...rest: MaybeOptionalOptions<CreateProcedureClientOptions<TInitialContext, TSchemas['outputSchema'], TErrorMap, TMeta, TClientContext>>): ProcedureClient<TClientContext, TSchemas, TErrorMap>;
|
|
233
240
|
|
|
234
241
|
export { traverseContractProcedures as $, middlewareOutputFn as B, isProcedure as G, createProcedureClient as J, Procedure as P, getRouter as T, createAccessibleLazyRouter as V, enhanceRouter as W, resolveContractProcedures as a0, unlazyRouter as a2, mergeCurrentContext as m, createORPCErrorConstructorMap as n, LAZY_SYMBOL as o, lazyInternal as q, lazy as r, isLazy as s, getLazyMeta as t, unlazy as u };
|
|
235
242
|
export type { AnyMiddleware as A, Context as C, ProcedureHandlerOptions as D, EnhanceRouterOptions as E, ProcedureDef as F, ProcedureClientInterceptorOptions as H, InferRouterInitialContext as I, InferRouterInitialContexts as K, Lazy as L, Middleware as M, InferRouterCurrentContexts as N, ORPCErrorConstructorMap as O, InferRouterInputs as Q, Router as R, InferRouterOutputs as S, AccessibleLazyRouter as U, TraverseContractProceduresOptions as X, TraverseContractProcedureCallbackOptions as Y, ContractProcedureCallbackOptions as Z, LazyTraverseContractProceduresOptions as _, CreateProcedureClientOptions as a, UnlaziedRouter as a1, ProcedureClient as b, MergedInitialContext as c, MergedCurrentContext as d, ProcedureHandler as e, EnhancedRouter as f, MapInputMiddleware as g, AnyProcedure as h, Lazyable as i, AnyRouter as j, ORPCErrorConstructorMapItemOptions as k, ORPCErrorConstructorMapItem as l, LazyMeta as p, MiddlewareResult as v, MiddlewareNextFnOptions as w, MiddlewareNextFn as x, MiddlewareOutputFn as y, MiddlewareOptions as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ErrorMap, ErrorMapItem, InferSchemaInput,
|
|
1
|
+
import { ErrorMap, ErrorMapItem, InferSchemaInput, Schemas, Meta, ContractProcedureDef, AnyContractRouter, ContractProcedure, InferProcedureClientInputs, InferSchemaOutput, EnhanceRouteOptions, MergedErrorMap, AnyContractProcedure, ContractRouter, AnySchema, ErrorFromErrorMap } from '@temporary-name/contract';
|
|
2
2
|
import { ORPCErrorCode, MaybeOptionalOptions, ORPCErrorOptions, ORPCError, Promisable, HTTPPath, ClientContext, Interceptor, PromiseWithError, Value, Client } from '@temporary-name/shared';
|
|
3
3
|
|
|
4
4
|
type Context = Record<PropertyKey, any>;
|
|
@@ -13,19 +13,22 @@ type ORPCErrorConstructorMap<T extends ErrorMap> = {
|
|
|
13
13
|
};
|
|
14
14
|
declare function createORPCErrorConstructorMap<T extends ErrorMap>(errors: T): ORPCErrorConstructorMap<T>;
|
|
15
15
|
|
|
16
|
-
interface ProcedureHandlerOptions<TCurrentContext extends Context,
|
|
16
|
+
interface ProcedureHandlerOptions<TCurrentContext extends Context, TErrorConstructorMap extends ORPCErrorConstructorMap<any>, TMeta extends Meta> {
|
|
17
17
|
context: TCurrentContext;
|
|
18
|
-
input: TInput;
|
|
19
18
|
path: readonly string[];
|
|
20
|
-
procedure: Procedure<Context, Context,
|
|
19
|
+
procedure: Procedure<Context, Context, Schemas, ErrorMap, TMeta>;
|
|
21
20
|
signal?: AbortSignal;
|
|
22
21
|
lastEventId: string | undefined;
|
|
23
22
|
errors: TErrorConstructorMap;
|
|
24
23
|
}
|
|
25
|
-
interface ProcedureHandler<TCurrentContext extends Context, TInput
|
|
26
|
-
|
|
24
|
+
interface ProcedureHandler<TCurrentContext extends Context, TInput extends {
|
|
25
|
+
path: any;
|
|
26
|
+
query: any;
|
|
27
|
+
body: any;
|
|
28
|
+
}, THandlerOutput, TErrorMap extends ErrorMap, TMeta extends Meta> {
|
|
29
|
+
(input: TInput, opt: ProcedureHandlerOptions<TCurrentContext, ORPCErrorConstructorMap<TErrorMap>, TMeta>): Promisable<THandlerOutput>;
|
|
27
30
|
}
|
|
28
|
-
interface ProcedureDef<TInitialContext extends Context, TCurrentContext extends Context,
|
|
31
|
+
interface ProcedureDef<TInitialContext extends Context, TCurrentContext extends Context, TSchemas extends Schemas, TErrorMap extends ErrorMap, TMeta extends Meta> extends ContractProcedureDef<TSchemas, TErrorMap, TMeta> {
|
|
29
32
|
__initialContext?: (type: TInitialContext) => unknown;
|
|
30
33
|
middlewares: readonly AnyMiddleware[];
|
|
31
34
|
inputValidationIndex: number;
|
|
@@ -37,14 +40,14 @@ interface ProcedureDef<TInitialContext extends Context, TCurrentContext extends
|
|
|
37
40
|
*
|
|
38
41
|
* @see {@link https://orpc.unnoq.com/docs/procedure Procedure Docs}
|
|
39
42
|
*/
|
|
40
|
-
declare class Procedure<TInitialContext extends Context, TCurrentContext extends Context,
|
|
43
|
+
declare class Procedure<TInitialContext extends Context, TCurrentContext extends Context, TSchemas extends Schemas, TErrorMap extends ErrorMap, TMeta extends Meta> {
|
|
41
44
|
/**
|
|
42
45
|
* This property holds the defined options.
|
|
43
46
|
*/
|
|
44
|
-
'~orpc': ProcedureDef<TInitialContext, TCurrentContext,
|
|
45
|
-
constructor(def: ProcedureDef<TInitialContext, TCurrentContext,
|
|
47
|
+
'~orpc': ProcedureDef<TInitialContext, TCurrentContext, TSchemas, TErrorMap, TMeta>;
|
|
48
|
+
constructor(def: ProcedureDef<TInitialContext, TCurrentContext, TSchemas, TErrorMap, TMeta>);
|
|
46
49
|
}
|
|
47
|
-
type AnyProcedure = Procedure<any, any,
|
|
50
|
+
type AnyProcedure = Procedure<any, any, Schemas, any, any>;
|
|
48
51
|
declare function isProcedure(item: unknown): item is AnyProcedure;
|
|
49
52
|
|
|
50
53
|
type MiddlewareResult<TOutContext extends Context, TOutput> = Promisable<{
|
|
@@ -65,7 +68,7 @@ interface MiddlewareOutputFn<TOutput> {
|
|
|
65
68
|
interface MiddlewareOptions<TInContext extends Context, TOutput, TErrorConstructorMap extends ORPCErrorConstructorMap<any>, TMeta extends Meta> {
|
|
66
69
|
context: TInContext;
|
|
67
70
|
path: readonly string[];
|
|
68
|
-
procedure: Procedure<Context, Context,
|
|
71
|
+
procedure: Procedure<Context, Context, Schemas, ErrorMap, TMeta>;
|
|
69
72
|
signal?: AbortSignal;
|
|
70
73
|
lastEventId: string | undefined;
|
|
71
74
|
next: MiddlewareNextFn<TOutput>;
|
|
@@ -91,7 +94,7 @@ declare function middlewareOutputFn<TOutput>(output: TOutput): MiddlewareResult<
|
|
|
91
94
|
* @info A procedure is a router too.
|
|
92
95
|
* @see {@link https://orpc.unnoq.com/docs/contract-first/define-contract#contract-router Contract Router Docs}
|
|
93
96
|
*/
|
|
94
|
-
type Router<T extends AnyContractRouter, TInitialContext extends Context> = T extends ContractProcedure<infer
|
|
97
|
+
type Router<T extends AnyContractRouter, TInitialContext extends Context> = T extends ContractProcedure<infer USchemas, infer UErrorMap, infer UMeta> ? Procedure<TInitialContext, any, USchemas, UErrorMap, UMeta> : {
|
|
95
98
|
[K in keyof T]: T[K] extends AnyContractRouter ? Lazyable<Router<T[K], TInitialContext>> : never;
|
|
96
99
|
};
|
|
97
100
|
type AnyRouter = Router<any, any>;
|
|
@@ -102,7 +105,7 @@ type InferRouterInitialContext<T extends AnyRouter> = T extends Router<any, infe
|
|
|
102
105
|
* @info A procedure is a router too.
|
|
103
106
|
* @see {@link https://orpc.unnoq.com/docs/router#utilities Router Utilities Docs}
|
|
104
107
|
*/
|
|
105
|
-
type InferRouterInitialContexts<T extends AnyRouter> = T extends Procedure<infer UInitialContext, any, any, any, any
|
|
108
|
+
type InferRouterInitialContexts<T extends AnyRouter> = T extends Procedure<infer UInitialContext, any, any, any, any> ? UInitialContext : {
|
|
106
109
|
[K in keyof T]: T[K] extends Lazyable<infer U extends AnyRouter> ? InferRouterInitialContexts<U> : never;
|
|
107
110
|
};
|
|
108
111
|
/**
|
|
@@ -111,7 +114,7 @@ type InferRouterInitialContexts<T extends AnyRouter> = T extends Procedure<infer
|
|
|
111
114
|
* @info A procedure is a router too.
|
|
112
115
|
* @see {@link https://orpc.unnoq.com/docs/router#utilities Router Utilities Docs}
|
|
113
116
|
*/
|
|
114
|
-
type InferRouterCurrentContexts<T extends AnyRouter> = T extends Procedure<any, infer UCurrentContext, any, any, any
|
|
117
|
+
type InferRouterCurrentContexts<T extends AnyRouter> = T extends Procedure<any, infer UCurrentContext, any, any, any> ? UCurrentContext : {
|
|
115
118
|
[K in keyof T]: T[K] extends Lazyable<infer U extends AnyRouter> ? InferRouterCurrentContexts<U> : never;
|
|
116
119
|
};
|
|
117
120
|
/**
|
|
@@ -120,7 +123,7 @@ type InferRouterCurrentContexts<T extends AnyRouter> = T extends Procedure<any,
|
|
|
120
123
|
* @info A procedure is a router too.
|
|
121
124
|
* @see {@link https://orpc.unnoq.com/docs/router#utilities Router Utilities Docs}
|
|
122
125
|
*/
|
|
123
|
-
type InferRouterInputs<T extends AnyRouter> = T extends Procedure<any, any, infer
|
|
126
|
+
type InferRouterInputs<T extends AnyRouter> = T extends Procedure<any, any, infer USchemas, any, any> ? InferProcedureClientInputs<USchemas> : {
|
|
124
127
|
[K in keyof T]: T[K] extends Lazyable<infer U extends AnyRouter> ? InferRouterInputs<U> : never;
|
|
125
128
|
};
|
|
126
129
|
/**
|
|
@@ -129,7 +132,7 @@ type InferRouterInputs<T extends AnyRouter> = T extends Procedure<any, any, infe
|
|
|
129
132
|
* @info A procedure is a router too.
|
|
130
133
|
* @see {@link https://orpc.unnoq.com/docs/router#utilities Router Utilities Docs}
|
|
131
134
|
*/
|
|
132
|
-
type InferRouterOutputs<T extends AnyRouter> = T extends Procedure<any, any,
|
|
135
|
+
type InferRouterOutputs<T extends AnyRouter> = T extends Procedure<any, any, infer USchemas, any, any> ? InferSchemaOutput<USchemas['outputSchema']> : {
|
|
133
136
|
[K in keyof T]: T[K] extends Lazyable<infer U extends AnyRouter> ? InferRouterOutputs<U> : never;
|
|
134
137
|
};
|
|
135
138
|
|
|
@@ -138,7 +141,7 @@ type AccessibleLazyRouter<T extends Lazyable<AnyRouter | undefined>> = T extends
|
|
|
138
141
|
[K in keyof T]: T[K] extends Lazyable<AnyRouter> ? AccessibleLazyRouter<T[K]> : never;
|
|
139
142
|
};
|
|
140
143
|
declare function createAccessibleLazyRouter<T extends Lazy<AnyRouter | undefined>>(lazied: T): AccessibleLazyRouter<T>;
|
|
141
|
-
type EnhancedRouter<T extends Lazyable<AnyRouter>, TInitialContext extends Context, TCurrentContext extends Context, TErrorMap extends ErrorMap> = T extends Lazy<infer U extends AnyRouter> ? AccessibleLazyRouter<EnhancedRouter<U, TInitialContext, TCurrentContext, TErrorMap>> : T extends (Procedure<infer UInitialContext, infer UCurrentContext, infer
|
|
144
|
+
type EnhancedRouter<T extends Lazyable<AnyRouter>, TInitialContext extends Context, TCurrentContext extends Context, TErrorMap extends ErrorMap> = T extends Lazy<infer U extends AnyRouter> ? AccessibleLazyRouter<EnhancedRouter<U, TInitialContext, TCurrentContext, TErrorMap>> : T extends (Procedure<infer UInitialContext, infer UCurrentContext, infer USchemas, infer UErrorMap, infer UMeta>) ? Procedure<MergedInitialContext<TInitialContext, UInitialContext, TCurrentContext>, UCurrentContext, USchemas, MergedErrorMap<TErrorMap, UErrorMap>, UMeta> : {
|
|
142
145
|
[K in keyof T]: T[K] extends Lazyable<AnyRouter> ? EnhancedRouter<T[K], TInitialContext, TCurrentContext, TErrorMap> : never;
|
|
143
146
|
};
|
|
144
147
|
interface EnhanceRouterOptions<TErrorMap extends ErrorMap> extends EnhanceRouteOptions {
|
|
@@ -203,13 +206,17 @@ declare function unlazy<T extends Lazyable<any>>(lazied: T): Promise<{
|
|
|
203
206
|
default: T extends Lazy<infer U> ? U : T;
|
|
204
207
|
}>;
|
|
205
208
|
|
|
206
|
-
type ProcedureClient<TClientContext extends ClientContext,
|
|
209
|
+
type ProcedureClient<TClientContext extends ClientContext, TSchemas extends Schemas, TErrorMap extends ErrorMap> = Client<TClientContext, InferProcedureClientInputs<TSchemas>, InferSchemaOutput<TSchemas['outputSchema']>, ErrorFromErrorMap<TErrorMap>>;
|
|
207
210
|
interface ProcedureClientInterceptorOptions<TInitialContext extends Context, TErrorMap extends ErrorMap, TMeta extends Meta> {
|
|
208
211
|
context: TInitialContext;
|
|
209
|
-
input:
|
|
212
|
+
input: {
|
|
213
|
+
path: unknown;
|
|
214
|
+
query: unknown;
|
|
215
|
+
body: unknown;
|
|
216
|
+
};
|
|
210
217
|
errors: ORPCErrorConstructorMap<TErrorMap>;
|
|
211
218
|
path: readonly string[];
|
|
212
|
-
procedure: Procedure<Context, Context,
|
|
219
|
+
procedure: Procedure<Context, Context, Schemas, ErrorMap, TMeta>;
|
|
213
220
|
signal?: AbortSignal;
|
|
214
221
|
lastEventId: string | undefined;
|
|
215
222
|
}
|
|
@@ -229,7 +236,7 @@ type CreateProcedureClientOptions<TInitialContext extends Context, TOutputSchema
|
|
|
229
236
|
*
|
|
230
237
|
* @see {@link https://orpc.unnoq.com/docs/client/server-side Server-side Client Docs}
|
|
231
238
|
*/
|
|
232
|
-
declare function createProcedureClient<TInitialContext extends Context,
|
|
239
|
+
declare function createProcedureClient<TInitialContext extends Context, TSchemas extends Schemas, TErrorMap extends ErrorMap, TMeta extends Meta, TClientContext extends ClientContext>(lazyableProcedure: Lazyable<Procedure<TInitialContext, any, TSchemas, TErrorMap, TMeta>>, ...rest: MaybeOptionalOptions<CreateProcedureClientOptions<TInitialContext, TSchemas['outputSchema'], TErrorMap, TMeta, TClientContext>>): ProcedureClient<TClientContext, TSchemas, TErrorMap>;
|
|
233
240
|
|
|
234
241
|
export { traverseContractProcedures as $, middlewareOutputFn as B, isProcedure as G, createProcedureClient as J, Procedure as P, getRouter as T, createAccessibleLazyRouter as V, enhanceRouter as W, resolveContractProcedures as a0, unlazyRouter as a2, mergeCurrentContext as m, createORPCErrorConstructorMap as n, LAZY_SYMBOL as o, lazyInternal as q, lazy as r, isLazy as s, getLazyMeta as t, unlazy as u };
|
|
235
242
|
export type { AnyMiddleware as A, Context as C, ProcedureHandlerOptions as D, EnhanceRouterOptions as E, ProcedureDef as F, ProcedureClientInterceptorOptions as H, InferRouterInitialContext as I, InferRouterInitialContexts as K, Lazy as L, Middleware as M, InferRouterCurrentContexts as N, ORPCErrorConstructorMap as O, InferRouterInputs as Q, Router as R, InferRouterOutputs as S, AccessibleLazyRouter as U, TraverseContractProceduresOptions as X, TraverseContractProcedureCallbackOptions as Y, ContractProcedureCallbackOptions as Z, LazyTraverseContractProceduresOptions as _, CreateProcedureClientOptions as a, UnlaziedRouter as a1, ProcedureClient as b, MergedInitialContext as c, MergedCurrentContext as d, ProcedureHandler as e, EnhancedRouter as f, MapInputMiddleware as g, AnyProcedure as h, Lazyable as i, AnyRouter as j, ORPCErrorConstructorMapItemOptions as k, ORPCErrorConstructorMapItem as l, LazyMeta as p, MiddlewareResult as v, MiddlewareNextFnOptions as w, MiddlewareNextFn as x, MiddlewareOutputFn as y, MiddlewareOptions as z };
|
|
@@ -234,14 +234,4 @@ function deserialize(data) {
|
|
|
234
234
|
return data;
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
|
|
238
|
-
return `/${path.replace(/\/{2,}/g, "/").replace(/^\/|\/$/g, "")}`;
|
|
239
|
-
}
|
|
240
|
-
function getDynamicParams(path) {
|
|
241
|
-
return path ? standardizeHTTPPath(path).match(/\/\{[^}]+\}/g)?.map((v) => ({
|
|
242
|
-
raw: v,
|
|
243
|
-
name: v.match(/\{\+?([^}]+)\}/)[1]
|
|
244
|
-
})) : void 0;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
export { standardizeHTTPPath as a, bracketNotationDeserialize as b, deserialize as d, getDynamicParams as g, jsonSerialize as j, serialize as s };
|
|
237
|
+
export { bracketNotationDeserialize as b, deserialize as d, jsonSerialize as j, serialize as s };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@temporary-name/server",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.9.3-alpha.
|
|
4
|
+
"version": "1.9.3-alpha.2d4311b66d2b675b022398c62ddc6fde97c93a6f",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://www.stainless.com/",
|
|
7
7
|
"repository": {
|
|
@@ -73,15 +73,15 @@
|
|
|
73
73
|
"cookie": "^1.0.2",
|
|
74
74
|
"rou3": "^0.7.7",
|
|
75
75
|
"zod": "^4.1.12",
|
|
76
|
-
"@temporary-name/
|
|
77
|
-
"@temporary-name/
|
|
78
|
-
"@temporary-name/
|
|
79
|
-
"@temporary-name/
|
|
80
|
-
"@temporary-name/standard-server-
|
|
81
|
-
"@temporary-name/
|
|
82
|
-
"@temporary-name/standard-server-
|
|
83
|
-
"@temporary-name/
|
|
84
|
-
"@temporary-name/standard-server-
|
|
76
|
+
"@temporary-name/interop": "1.9.3-alpha.2d4311b66d2b675b022398c62ddc6fde97c93a6f",
|
|
77
|
+
"@temporary-name/json-schema": "1.9.3-alpha.2d4311b66d2b675b022398c62ddc6fde97c93a6f",
|
|
78
|
+
"@temporary-name/standard-server": "1.9.3-alpha.2d4311b66d2b675b022398c62ddc6fde97c93a6f",
|
|
79
|
+
"@temporary-name/shared": "1.9.3-alpha.2d4311b66d2b675b022398c62ddc6fde97c93a6f",
|
|
80
|
+
"@temporary-name/standard-server-fetch": "1.9.3-alpha.2d4311b66d2b675b022398c62ddc6fde97c93a6f",
|
|
81
|
+
"@temporary-name/zod": "1.9.3-alpha.2d4311b66d2b675b022398c62ddc6fde97c93a6f",
|
|
82
|
+
"@temporary-name/standard-server-node": "1.9.3-alpha.2d4311b66d2b675b022398c62ddc6fde97c93a6f",
|
|
83
|
+
"@temporary-name/contract": "1.9.3-alpha.2d4311b66d2b675b022398c62ddc6fde97c93a6f",
|
|
84
|
+
"@temporary-name/standard-server-aws-lambda": "1.9.3-alpha.2d4311b66d2b675b022398c62ddc6fde97c93a6f"
|
|
85
85
|
},
|
|
86
86
|
"devDependencies": {
|
|
87
87
|
"@types/supertest": "^6.0.3",
|