loopback-datasource-juggler/index.js

17 lines
656 B
JavaScript
Raw Normal View History

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;