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

x/alosaur/src/metadata/action.ts>ActionMetadataArgs

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

Properties

Type of request method, GET, POST, etc

object: Object

Object of declaration

target: Object

Object.constructor

method: string

Name of action controller method

optional
route: string | RegExp

Route of action

optional
eventOrPattern: string

Event or pattern, uses for microservice

optional
controller: ControllerMetadataArgs

Parent Controller

optional
hooks: HookMetadataArgs<any, any>[]

Hooks for action

optional
controllerId: string

Controller id