export enum ObjectCommands {
  ADD_OBJECTS = 1,
  REMOVE_OBJECTS = 2,
  DUPLICATE_OBJECTS = 3,
  MODIFY_PROPERTY = 4
}

export enum SelectionCommands {
  ADD_TO_SELECTION = 5,
  REMOVE_FROM_SELECTION = 6,
  TOGGLE_SELECTION = 7,
  REPLACE_SELECTION = 8
}

export enum ParentCommands {
  REPARENT = 9,
  GROUP = 10
}

export enum TransformCommands {
  POSITION = 11,
  ROTATION = 12,
  SCALE = 13,
  ROTATE_AROUND = 14
}

export enum MiscCommands {
  TAG_COMPONENT = 15
}

export const EditorCommands = {
  ...ObjectCommands,
  ...SelectionCommands,
  ...ParentCommands,
  ...TransformCommands,
  ...MiscCommands
}

export type EditorCommandsType = ObjectCommands | SelectionCommands | ParentCommands | TransformCommands | MiscCommands

export default EditorCommands

{'avg_line_length': 18.238095238095237, 'max_line_length': 119, 'alphanum_fraction': 0.7310704960835509, 'licenses': ['MIT'], 'repository_name': 'NathanRThomas/XREngine', 'path': 'packages/editor/src/constants/EditorCommands.ts', 'size': 766, 'lang': 'TypeScript'}