import { robotArmResolver } from './robot-arm'
import { robotArmsResolver } from './robot-arms'
import { robotArmGetStatusResolver } from './robot-arm-get-status'
import { robotArmGetPoseResolver } from './robot-arm-get-pose'
import { robotArmGetJointsResolver } from './robot-arm-get-joints'
import { robotArmStartTeachingMode } from './robot-arm-start-teaching-mode'
import { robotArmFinishTeachingMode } from './robot-arm-finish-teaching-mode'
import { robotArmTaskMoveTo } from './robot-arm-move-to'
import { robotArmJointMoveTo } from './robot-arm-move-to-joints'
import { robotArmTaskMoveBy } from './robot-arm-move-by'
import { robotArmTaskMoveByNoWait } from './robot-arm-move-by-nowait'
import { robotArmReset } from './robot-arm-reset'
import { robotArmGoHome } from './robot-arm-go-home'
import { robotArmGoZero } from './robot-arm-go-zero'
import { robotArmSetHome } from './robot-arm-set-home'

export const RobotArm = {
  Query: {
    ...robotArmsResolver,
    ...robotArmResolver,
    ...robotArmGetStatusResolver,
    ...robotArmGetPoseResolver,
    ...robotArmGetJointsResolver
  },

  Mutation: {
    ...robotArmReset,
    ...robotArmGoHome,
    ...robotArmGoZero,
    ...robotArmTaskMoveTo,
    ...robotArmTaskMoveBy,
    ...robotArmTaskMoveByNoWait,
    ...robotArmStartTeachingMode,
    ...robotArmFinishTeachingMode,
    ...robotArmJointMoveTo,
    ...robotArmSetHome
  }
}
