feat: preliminary migration of events entities

This commit is contained in:
Junyan Qin
2025-06-17 15:00:49 +08:00
parent 01613b2f0d
commit 5553a86ac8
5 changed files with 28 additions and 116 deletions

View File

@@ -8,6 +8,7 @@ import typing
from .context import BasePlugin as Plugin
from .events import *
import langbot_plugin.api.entities.events as events
def register(
@@ -17,7 +18,7 @@ def register(
def on(
event: typing.Type[BaseEventModel],
event: typing.Type[events.BaseEventModel],
) -> typing.Callable[[typing.Callable], typing.Callable]:
pass