loopback-datasource-juggler/index.js

22 lines
869 B
JavaScript
Raw Normal View History

2016-04-01 22:25:16 +00:00
// Copyright IBM Corp. 2011,2016. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
2013-10-02 23:29:33 +00:00
exports.ModelBuilder = exports.LDL = require('./lib/model-builder.js').ModelBuilder;
exports.DataSource = exports.Schema = require('./lib/datasource.js').DataSource;
2013-05-17 17:54:14 +00:00
exports.ModelBaseClass = require('./lib/model.js');
2014-07-28 16:00:05 +00:00
exports.GeoPoint = require('./lib/geo.js').GeoPoint;
exports.ValidationError = require('./lib/validations.js').ValidationError;
2013-01-22 16:27:49 +00:00
Object.defineProperty(exports, 'version', {
get: function() {return require('./package.json').version;}
2013-02-22 20:29:18 +00:00
});
2013-01-22 16:27:49 +00:00
var commonTest = './test/common_test';
Object.defineProperty(exports, 'test', {
get: function() {return require(commonTest);}
2013-01-22 16:27:49 +00:00
});
2015-05-13 16:33:49 +00:00
exports.Transaction = require('loopback-connector').Transaction;