Skip to content

MongoosePluginOptions

@tsed/mongoose

Usage

typescript
import { MongoosePluginOptions } from "@tsed/mongoose";

See /packages/orm/mongoose/src/types/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>;

Released under the MIT License.