mirror of
https://github.com/sern-handler/website
synced 2026-06-06 01:16:47 +00:00
1.9 KiB
1.9 KiB
id, title, sidebar_label, sidebar_position, custom_edit_url
| id | title | sidebar_label | sidebar_position | custom_edit_url |
|---|---|---|---|---|
| SernEventPlugin | Interface: SernEventPlugin<T> | SernEventPlugin | 0 | null |
Type parameters
| Name | Type |
|---|---|
T |
extends keyof SernEventsMapping = keyof SernEventsMapping |
Hierarchy
-
↳
SernEventPlugin
Properties
description
• Optional description: string
Deprecated
will be removed in the next update
Inherited from
Defined in
src/handler/plugins/plugin.ts:33
execute
• execute: (args: SernEventsMapping[T], controller: Controller) => Awaitable<Result<void, void>>
Type declaration
▸ (args, controller): Awaitable<Result<void, void>>
Parameters
| Name | Type |
|---|---|
args |
SernEventsMapping[T] |
controller |
Controller |
Returns
Awaitable<Result<void, void>>
Defined in
src/handler/plugins/plugin.ts:91
name
• Optional name: T
Deprecated
will be removed in the next update
Overrides
Defined in
src/handler/plugins/plugin.ts:89
type
• type: Event