A plugin that can be either a function (PluginFn) or an object (IPluginObject).
This union type allows plugins to be defined in whichever form best fits the use case — a lightweight function for simple logic, or an object with encapsulated state for complex scenarios.
The type of the target instance being configured
IMPORT_PATH: @daiso-tech/core/middleware
@daiso-tech/core/middleware
A plugin that can be either a function (PluginFn) or an object (IPluginObject).
This union type allows plugins to be defined in whichever form best fits the use case — a lightweight function for simple logic, or an object with encapsulated state for complex scenarios.