MCPcopy
hub / github.com/kodu-ai/claude-coder / InternalProcedureBuilder

Interface InternalProcedureBuilder

extension/src/router/utils/procedure.ts:57–63  ·  view source on GitHub ↗

* Internal interface that extends ProcedureBuilder but also * includes a hidden `_state` to store the schema and resolver.

Source from the content-addressed store, hash-verified

55 * includes a hidden `_state` to store the schema and resolver.
56 */
57interface InternalProcedureBuilder<TContext, TInput extends ZodType<any> | null, TOutput>
58 extends ProcedureBuilder<TContext, TInput, TOutput> {
59 _state: {
60 schema: ZodType<any> | null
61 resolver: ((ctx: TContext, input: any) => any) | null
62 }
63}
64
65function createInternalBuilder<TContext, TInput extends ZodType<any> | null, TOutput>(): InternalProcedureBuilder<
66 TContext,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected