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

x/alosaur/src/metadata/controller.ts>ControllerMetadataArgs

Alosaur - Deno web framework with many decorators
Go to Latest
interface ControllerMetadataArgs
import { type ControllerMetadataArgs } from "https://deno.land/x/alosaur@v1.1.0/src/metadata/controller.ts";

Controller metadata used to storage information about registered controller.

Properties

optional
area: AreaMetadataArgs
object: Function

Indicates object which is used by this controller.

target: Function
optional
route: string

Base route for all actions registered in this controller.

type: any

Type, vase default

optional
providers: ProviderDeclaration[]

Providers declared in controller

optional
container: Container

Container of controller if providers is declared

hooks: HookMetadataArgs<any, any>[]

Hooks for controller

optional
actions: ActionMetadataArgs[]

Actions of controller

optional
options: ControllerOptions

Options for controller

optional
controllerId: string

Controller id