@mongoloquent/nestjs
    Preparing search index...

    Interface IMongoloquentModuleAsyncOptions

    interface IMongoloquentModuleAsyncOptions {
        global?: boolean;
        imports?: (
            | Type<any>
            | ForwardReference<any>
            | DynamicModule
            | Promise<DynamicModule>
        )[];
        inject?: any[];
        models?: IMongoloquentModelClass<any>[];
        name?: string;
        useFactory: (
            ...args: any[],
        ) =>
            | Pick<
                IMongoloquentModuleOptions,
                "connection"
                | "database"
                | "timezone",
            >
            | Promise<
                Pick<
                    IMongoloquentModuleOptions,
                    "connection"
                    | "database"
                    | "timezone",
                >,
            >;
    }

    Hierarchy

    • Pick<ModuleMetadata, "imports">
      • IMongoloquentModuleAsyncOptions
    Index

    Properties

    global?: boolean
    imports?: (
        | Type<any>
        | ForwardReference<any>
        | DynamicModule
        | Promise<DynamicModule>
    )[]

    Optional list of imported modules that export the providers which are required in this module.

    inject?: any[]
    models?: IMongoloquentModelClass<any>[]
    name?: string
    useFactory: (
        ...args: any[],
    ) =>
        | Pick<
            IMongoloquentModuleOptions,
            "connection"
            | "database"
            | "timezone",
        >
        | Promise<
            Pick<
                IMongoloquentModuleOptions,
                "connection"
                | "database"
                | "timezone",
            >,
        >