next-safe-action Middleware Quick Start How Middleware Works - adds middleware to the chain — you can call it multiple times - Each returns a new client instance (immutable chain) - Middleware executes top-to-bottom (in the order added) - Results flow bottom-to-top (the deepest middleware/action resolves first) - Context is accumulated via — each level's ctx is deep-merged with the previous use() Middleware Function Signature useValidated() — Post-Validation Middleware registers middleware that runs after input validation, giving access to typed . Default to — only use when middleware logic d…