A Zod schema used to define the shape of the action
parameters.
Note: The schema is not validated automatically. Use a validator like
zodValidator
to enforce it.
The payload returned on success.
Shared context passed from all previous validators.
A map where each key is an error code, and the corresponding value is the payload associated with that specific error.
Function that performs the main action after all validators have succeeded.