Files
image-studio/commands/index.ts
2026-07-03 16:18:40 +02:00

40 lines
1.5 KiB
TypeScript

export type { Command, CommandContext } from "./command";
export {
documentAddArtboardCommand,
documentAddAssetCommand,
documentAddImageLayerCommand,
documentCommands,
documentSetArtboardBoundsCommand,
} from "./document";
export type {
DocumentAddArtboardPayload,
DocumentAddAssetPayload,
DocumentAddImageLayerPayload,
DocumentSetArtboardBoundsPayload,
} from "./document";
export type { CommandDispatcher, Dispatch } from "./dispatcher";
export type { CommandId, CommandPayloads } from "./payloads";
export { createCommandDispatcher } from "./dispatcher";
export type { CommandRegistry } from "./registry";
export { createCommandRegistry } from "./registry";
export { selectionAddLayerCommand, selectionClearCommand, selectionCommands, selectionSetCommand } from "./selection";
export type { SelectionAddLayerPayload, SelectionSetPayload } from "./selection";
export { toolCommands, toolEnterTemporaryPanCommand, toolExitTemporaryPanCommand, toolSetActiveCommand } from "./tool";
export { transformBeginCommand, transformCommands, transformEndCommand, transformUpdateCommand } from "./transform";
export type { TransformBeginPayload, TransformUpdatePayload } from "./transform";
export type { ToolSetActivePayload } from "./tool";
export {
viewportCommands,
viewportPanCommand,
viewportResetCommand,
viewportSetSizeCommand,
viewportSetZoomCommand,
viewportZoomAroundPointCommand,
} from "./viewport";
export type {
ViewportPanPayload,
ViewportSetSizePayload,
ViewportSetZoomPayload,
ViewportZoomAroundPointPayload,
} from "./viewport";