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 context available to this validator.
Optional context to inject into the execution on success.
A map where each key is an error code, and the corresponding value is the payload associated with that specific error.
A function that performs validation before the action is executed.