MCPcopy
hub / github.com/ts-rest/ts-rest / router-builder.spec.ts

File router-builder.spec.ts

libs/ts-rest/serverless/src/lib/router-builder/router-builder.spec.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { z } from 'zod';
2import { initContract } from '@ts-rest/core';
3import { tsr } from '../handlers/ts-rest-fetch';
4import { ContractSubContractPaths } from './types';

Callers

nothing calls this directly

Calls 11

initContractFunction · 0.90
requestMiddlewareMethod · 0.80
routeWithMiddlewareMethod · 0.80
buildMethod · 0.80
fullRouterMethod · 0.80
partialRouterMethod · 0.80
middlewareMethod · 0.80
routeMethod · 0.80
subRouterMethod · 0.80
cloneMethod · 0.45
handlerMethod · 0.45

Tested by

no test coverage detected