(
handler: ({
ctx,
c,
input,
}: {
ctx: Ctx
c: ContextWithSuperJSON<E>
input: InputSchema extends ZodTypeAny ? z.infer<InputSchema> : void
}) => Return,
)
| 252 | } |
| 253 | |
| 254 | mutation<Return extends OptionalPromise<ResponseType<any>>>( |
| 255 | handler: ({ |
| 256 | ctx, |
| 257 | c, |
| 258 | input, |
| 259 | }: { |
| 260 | ctx: Ctx |
| 261 | c: ContextWithSuperJSON<E> |
| 262 | input: InputSchema extends ZodTypeAny ? z.infer<InputSchema> : void |
| 263 | }) => Return, |
| 264 | ): PostOperation<InputSchema, Return, E> { |
| 265 | return this.post(handler) |
| 266 | } |
| 267 | |
| 268 | ws( |
| 269 | handler: ({ |
no test coverage detected