Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oak_nest/src/interfaces/mod.ts>ModuleMetadata

Refer to nestjs to realize some common functions for Deno
Go to Latest
interface ModuleMetadata
import { type ModuleMetadata } from "https://deno.land/x/oak_nest@v1.13.17/src/interfaces/mod.ts";

Properties

optional
imports: any[]

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

optional
controllers: Type<any>[]

Optional list of controllers defined in this module which have to be instantiated.

optional
providers: Provider[]

Optional list of providers that will be instantiated by the Nest injector and that may be shared at least across this module.

optional
exports: Provider[]