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
Go to Latest
interface ActionMetadataArgs
import { type ActionMetadataArgs } from "https://deno.land/x/alosaur@v0.33.1/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