Are you an LLM? You can read better optimized documentation at /api/orm/mongoose/types/interfaces/interface-mongoose-plugin-options.md for this page in Markdown format
MongoosePluginOptions
@tsed/mongoose
Usage
typescript
import { MongoosePluginOptions } from "@tsed/mongoose";See /packages/orm/mongoose/src/interfaces/MongooseSchemaOptions.ts.
Overview
ts
interface MongoosePluginOptions {
plugin: (schema: Schema, options?: any) => void;
options?: Record<string, unknown>;
}plugin:
ts
plugin: (schema: Schema, options?: any) => void;options
ts
options?: Record<string, unknown>;