Skip to content
This repository has been archived by the owner on Mar 21, 2021. It is now read-only.

Commit

Permalink
Added more method as services
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Abou-Aichi committed Jul 7, 2016
1 parent d9785e9 commit 5fb59e9
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions module/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
const BINARY_OPTIONS = require('../lib/core/jhipster/binary_options'),
UNARY_OPTIONS = require('../lib/core/jhipster/unary_options'),
RELATIONSHIP_TYPES = require('../lib/core/jhipster/relationship_types'),
FIELD_TYPES = require('../lib/core/jhipster/field_types'),
VALIDATIONS = require('../lib/core/jhipster/validations'),
DATABASE_TYPES = require('../lib/core/jhipster/database_types'),
JDLReader = require('../lib/reader/jdl_reader'),
JDLParser = require('../lib/parser/jdl_parser'),
EntityParser = require('../lib/parser/entity_parser'),
Expand All @@ -17,14 +19,17 @@ const BINARY_OPTIONS = require('../lib/core/jhipster/binary_options'),
JDLUnaryOption = require('../lib/core/jdl_unary_option'),
JDLBinaryOption = require('../lib/core/jdl_binary_option'),
exportToJSON = require('../lib/export/json_exporter').exportToJSON,
areJHipsterEntitiesEqual = require('../lib/utils/object_utils').areJHipsterEntitiesEqual;
ObjectUtils = require('../lib/utils/object_utils'),
Set = require('../lib/utils/objects/set');

module.exports = {
/* JHipster notions */
JHipsterBinaryOptions: BINARY_OPTIONS,
JHipsterUnaryOptions: UNARY_OPTIONS,
JHipsterRelationshipTypes: RELATIONSHIP_TYPES,
JHipsterValidations: VALIDATIONS,
JHipsterFieldTypes: FIELD_TYPES,
JHipsterDatabaseTypes: DATABASE_TYPES,
/* JDL objects */
JDLObject: JDLObject,
JDLEntity: JDLEntity,
Expand All @@ -46,5 +51,7 @@ module.exports = {
/* JDL utils */
isJDLFile: JDLReader.checkFileIsJDLFile,
/* JSON utils */
areJHipsterEntitiesEqual: areJHipsterEntitiesEqual
ObjectUtils: ObjectUtils,
/* Objects */
Set: Set
};

0 comments on commit 5fb59e9

Please sign in to comment.