tldraw/state/commands/index.ts

63 lines
1.4 KiB
TypeScript

import align from './align'
import changePage from './change-page'
import createPage from './create-page'
import deletePage from './delete-page'
import duplicatePage from './duplicate-page'
import deleteShapes from './delete-shapes'
import createShapes from './create-shapes'
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,
createShapes,
deletePage,
deleteShapes,
duplicatePage,
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