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
|
|
|
|
|
2016-07-22 19:26:07 +00:00
|
|
|
var SG = require('strong-globalize');
|
|
|
|
SG.SetRootDir(__dirname);
|
|
|
|
|
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;
|
2013-11-25 16:20:05 +00:00
|
|
|
exports.ValidationError = require('./lib/validations.js').ValidationError;
|
2013-01-22 16:27:49 +00:00
|
|
|
|
2014-12-28 21:14:12 +00:00
|
|
|
Object.defineProperty(exports, 'version', {
|
2016-04-01 11:48:17 +00:00
|
|
|
get: function() { return require('./package.json').version; },
|
2013-02-22 20:29:18 +00:00
|
|
|
});
|
2012-04-18 23:20:44 +00:00
|
|
|
|
2013-01-22 16:27:49 +00:00
|
|
|
var commonTest = './test/common_test';
|
2014-12-28 21:14:12 +00:00
|
|
|
Object.defineProperty(exports, 'test', {
|
2016-04-01 11:48:17 +00:00
|
|
|
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;
|
2016-08-08 08:15:22 +00:00
|
|
|
|
|
|
|
exports.KeyValueAccessObject = require('./lib/kvao');
|