feat: 接入新动作 update_canvas

This commit is contained in:
2026-09-27 18:03:48 +08:00
parent 216051cd8d
commit eda1db1f88
12 changed files with 128 additions and 36 deletions
+2
View File
@@ -8,6 +8,7 @@ from app.actions.delete import DeleteHandler
from app.actions.move import MoveHandler
from app.actions.resize import ResizeHandler
from app.actions.update import UpdateHandler
from app.actions.update_canvas import UpdateCanvasHandler
from app.schemas.actions import Action
from app.schemas.screen import Screen
@@ -18,6 +19,7 @@ ACTION_HANDLERS: dict[str, BaseActionHandler[Any]] = {
"move": MoveHandler(),
"resize": ResizeHandler(),
"update": UpdateHandler(),
"update_canvas": UpdateCanvasHandler(),
}