tldraw/state/commands/index.ts
2021-07-14 12:39:34 +01:00

65 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 renamePage from './rename-page'
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,
renamePage,
ungroup,
}
export default commands