/* EXPORT ENTITY TYPES */
export * from './analysis/analysis'
export * from './process/process'
export * from './process-group/process-group'
export * from './process-template/process-template'
// export * from './design-package/design-package'

/* IMPORT ENTITIES AND RESOLVERS */
import {
  entities as ProcessEntities,
  resolvers as ProcessResolvers,
  subscribers as ProcessSubscribers
} from './process'
import {
  entities as ProcessGroupEntities,
  resolvers as ProcessGroupResolvers,
  subscribers as ProcessGroupSubscribers
} from './process-group'
import { entities as ProcessFavoriteEntities, resolvers as ProcessFavoriteResolvers } from './process-favorite'
import {
  entities as ProcessTemplateEntities,
  resolvers as ProcessTemplateResolvers,
  subscribers as ProcessTemplateSubscribers
} from './process-template'
// import {
//   entities as DesignPackageEntities,
//   resolvers as DesignPackageResolvers,
//   subscribers as DesignPackageSubscribers
// } from './design-package'
import { entities as AnalysisEntities, resolvers as AnalysisResolvers } from './analysis'

export const entities = [
  /* ENTITIES */
  ...ProcessEntities,
  ...ProcessGroupEntities,
  ...ProcessFavoriteEntities,
  ...ProcessTemplateEntities,
  // ...DesignPackageEntities,
  ...AnalysisEntities
]

export const subscribers = [
  /* SUBSCRIBERS */
  ...ProcessSubscribers,
  ...ProcessGroupSubscribers
]

export const schema = {
  resolverClasses: [
    /* RESOLVER CLASSES */
    ...ProcessResolvers,
    ...ProcessGroupResolvers,
    ...ProcessFavoriteResolvers,
    ...ProcessTemplateResolvers,
    // ...DesignPackageResolvers,
    ...AnalysisResolvers
  ]
}
