tldraw/state/commands/index.ts

44 lines
894 B
TypeScript
Raw Normal View History

2021-05-28 20:30:27 +00:00
import align from './align'
2021-05-31 19:13:43 +00:00
import arrow from './arrow'
2021-05-28 20:30:27 +00:00
import deleteSelected from './delete-selected'
import direct from './direct'
import distribute from './distribute'
2021-05-31 19:13:43 +00:00
import draw from './draw'
2021-05-28 20:30:27 +00:00
import duplicate from './duplicate'
import generate from './generate'
import move from './move'
2021-05-31 19:13:43 +00:00
import nudge from './nudge'
2021-05-28 20:30:27 +00:00
import rotate from './rotate'
2021-05-31 19:13:43 +00:00
import rotateCcw from './rotate-ccw'
2021-05-28 20:30:27 +00:00
import stretch from './stretch'
import style from './style'
2021-05-31 19:13:43 +00:00
import toggle from './toggle'
2021-05-28 20:30:27 +00:00
import transform from './transform'
import transformSingle from './transform-single'
import translate from './translate'
2021-05-31 19:13:43 +00:00
import handle from './handle'
2021-05-13 06:44:52 +00:00
2021-05-15 15:20:21 +00:00
const commands = {
2021-05-26 19:20:52 +00:00
align,
2021-05-31 19:13:43 +00:00
arrow,
2021-05-26 19:20:52 +00:00
deleteSelected,
2021-05-17 21:27:18 +00:00
direct,
2021-05-26 19:20:52 +00:00
distribute,
2021-05-31 19:13:43 +00:00
draw,
2021-05-28 20:30:27 +00:00
duplicate,
2021-05-26 19:20:52 +00:00
generate,
2021-05-23 17:09:23 +00:00
move,
2021-05-31 19:13:43 +00:00
nudge,
2021-05-26 19:20:52 +00:00
rotate,
2021-05-31 19:13:43 +00:00
rotateCcw,
2021-05-26 19:20:52 +00:00
stretch,
2021-05-26 10:34:10 +00:00
style,
2021-05-31 19:13:43 +00:00
toggle,
2021-05-26 19:20:52 +00:00
transform,
transformSingle,
translate,
2021-05-31 19:13:43 +00:00
handle,
2021-05-15 15:20:21 +00:00
}
2021-05-13 06:44:52 +00:00
export default commands