(nextInput: unknown)
| 339 | |
| 340 | const invokeWithClient = async (client: any, _input: unknown) => { |
| 341 | let proceed = async (nextInput: unknown) => { |
| 342 | const sanitizedNextInput = |
| 343 | nextInput && typeof nextInput === 'object' && !Array.isArray(nextInput) ? nextInput : {}; |
| 344 | |
| 345 | return handler({ client, ...sanitizedNextInput }); |
| 346 | }; |
| 347 | |
| 348 | // apply plugins |
| 349 | const plugins = [...(client.$options?.plugins ?? [])]; |
no outgoing calls
no test coverage detected