Interface IPluginsArray

Type for the Values stored in the Reflection for Plugins

Example

const plugins: IPluginsArray[] = Array.from(Reflect.getMetadata(DecoratorKeys.Plugins, target) ?? []);

Hierarchy

  • IPluginsArray

Properties

Properties

mongoosePlugin: Func

The Plugin Function to add

options: any

The Plugin's options, which could be anything because mongoose does not enforce it to be a object

Generated using TypeDoc