main.js

/**
 * Main entry point for the built Treehouse dist/library.
 * @module main
 * @exports Allthethings
 */

import Exception, {
  ApiException,
  AuthorizationException,
  InternalException,
  InvalidRequestException,
  ServiceUnavailableException,
} from 'treehouse/exception';
import GraphQLServer from 'treehouse/graphql';
import Logger from 'treehouse/utils/logger';
import Server from 'treehouse/server';

import * as codes from 'treehouse/exception/codes';

export default Server;
export {
  ApiException,
  AuthorizationException,
  codes,
  Exception,
  GraphQLServer,
  InternalException,
  InvalidRequestException,
  Logger,
  ServiceUnavailableException,
};