Skip to main content
Module

x/momentum/core/module-metadata.ts>ModuleMetadata

Momentum is an open-source framework for building server-side Deno applications in TypeScript. It provides the paradigms and design patterns to guide developers to create robust, scalable, and enterprise-grade applications.
Latest
interface ModuleMetadata
import { type ModuleMetadata } from "https://deno.land/x/momentum@v0.8.2/core/module-metadata.ts";

Properties

optional
imports: (ModuleClass | DynamicModule)[]

The modules to import

optional
providers: (Type | Provider)[]

The providers to make available to the module

optional
controllers: Type[]

The controllers to make available to the module

optional
exports: (TypeIdentifier | ModuleClass)[]

Tye providers to export from the module