tldraw/state/commands/index.ts

59 lines
1.3 KiB
TypeScript

import align from './align'
import changePage from './change-page'
import createPage from './create-page'
import deletePage from './delete-page'
import deleteSelected from './delete-selected'
import distribute from './distribute'
import doublePointHandle from './double-point-handle'
import draw from './draw'
import duplicate from './duplicate'
import edit from './edit'
import generate from './generate'
import group from './group'
import move from './move'
import moveToPage from './move-to-page'
import mutate from './mutate'
import nudge from './nudge'
import paste from './paste'
import resetBounds from './reset-bounds'
import rotate from './rotate'
import rotateCcw from './rotate-ccw'
import stretch from './stretch'
import style from './style'
import toggle from './toggle'
import transform from './transform'
import transformSingle from './transform-single'
import translate from './translate'
import ungroup from './ungroup'
const commands = {
align,
changePage,
createPage,
deletePage,
deleteSelected,
distribute,
doublePointHandle,
draw,
duplicate,
edit,
generate,
group,
move,
moveToPage,
mutate,
nudge,
paste,
resetBounds,
rotate,
rotateCcw,
stretch,
style,
toggle,
transform,
transformSingle,
translate,
ungroup,
}
export default commands