//import { schema as oldSchema } from '../graphql'

/* EXPORT ENTITY TYPES */

/* IMPORT ENTITIES AND RESOLVERS */
import { entities as RobotArmEntities, resolvers as RobotArmResolvers } from './robotarm'
import { entities as TrackingCameraEntities, resolvers as TrackingCameraResolvers } from './tracking-camera'
import { entities as TrackableObjectEntities, resolvers as TrackableObjectResolvers } from './trackable-object'
import { entities as TrackingWorkspaceEntities, resolvers as TrackingWorkspaceResolvers } from './tracking-workspace'

export const entities = [
  /* ENTITIES */
  ...RobotArmEntities,
  ...TrackingCameraEntities,
  ...TrackableObjectEntities,
  ...TrackingWorkspaceEntities
]

export const schema = {
  //  ...oldSchema,
  resolverClasses: [
    /* RESOLVER CLASSES */
    ...RobotArmResolvers,
    ...TrackingCameraResolvers,
    ...TrackableObjectResolvers,
    ...TrackingWorkspaceResolvers
  ]
}
