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

x/alosaur/src/metadata/hook.ts>HookMetadataArgs

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

Hook metadata used to storage information about registered hooks.

Type Parameters

TState
TPayload

Properties

optional
area: AreaMetadataArgs
optional
controller: ControllerMetadataArgs
optional
action: ActionMetadataArgs
object: Object
target: Object

Indicates object which is used by this hook.

Type, default controller

method: string

Action name of class, TODO(irustm): rename to action name

Instance of hook

optional
payload: any

Payload for hook instance