Skip to main content
Module

x/momentum/core/controller-metadata.ts

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
File
import { Type } from "./deps.ts";
export type ControllerClass = Type;
export interface ControllerMetadata { type: ControllerClass; route?: string;}
export interface ActionMetadata { action: string; route?: string; method?: "get" | "post" | "put" | "delete" | "head" | "patch";}
export interface ParameterMetadata { index: number; name?: string; type?: Type;}