* Internal interface that extends ProcedureBuilder but also * includes a hidden `_state` to store the schema and resolver.
| 55 | * includes a hidden `_state` to store the schema and resolver. |
| 56 | */ |
| 57 | interface 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 | |
| 65 | function createInternalBuilder<TContext, TInput extends ZodType<any> | null, TOutput>(): InternalProcedureBuilder< |
| 66 | TContext, |
nothing calls this directly
no outgoing calls
no test coverage detected