feat(commands): add selection commands

This commit is contained in:
syntaxbullet
2026-07-03 09:51:26 +02:00
parent d77bdc22a9
commit ca9e265614
5 changed files with 96 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
import type { SelectionAddLayerPayload, SelectionSetPayload } from "./selection";
import type {
ViewportPanPayload,
ViewportSetSizePayload,
@@ -6,6 +7,9 @@ import type {
} from "./viewport";
export type CommandPayloads = {
"selection.set": SelectionSetPayload;
"selection.clear": void;
"selection.addLayer": SelectionAddLayerPayload;
"viewport.pan": ViewportPanPayload;
"viewport.setZoom": ViewportSetZoomPayload;
"viewport.zoomAroundPoint": ViewportZoomAroundPointPayload;