Interface: HandlerRecord<T>
Type Parameters
Type Parameter | Default type |
---|---|
T | unknown |
Properties
auto?
optional auto: boolean;
description?
optional description: string;
handler
handler: T;
key
key: string;
module?
optional module: string;
path
path: string;
plugin?
optional plugin: object;
Name | Type |
---|---|
name | string |
path | string |
type
type:
| "event"
| "api"
| "command"
| "context"
| "middleware";