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

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

Refer to nestjs to realize some common functions for Deno, support hono and oak
Go to Latest
interface ModuleMetadata
import { type ModuleMetadata } from "https://deno.land/x/deno_nest@v3.6.2/src/interfaces/mod.ts";

Properties

optional
imports: ModuleType[]

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

optional
controllers: Constructor[]

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 | symbol)[]