2016-05-03 22:50:21 +00:00
|
|
|
// Copyright IBM Corp. 2013,2016. All Rights Reserved.
|
|
|
|
// Node module: loopback
|
|
|
|
// This file is licensed under the MIT License.
|
|
|
|
// License text available at https://opensource.org/licenses/MIT
|
|
|
|
|
2016-06-07 14:48:28 +00:00
|
|
|
var SG = require('strong-globalize');
|
2016-08-03 23:01:33 +00:00
|
|
|
SG.SetRootDir(__dirname, { autonomousMsgLoading: 'all' });
|
2016-06-07 14:48:28 +00:00
|
|
|
|
2013-04-09 16:02:36 +00:00
|
|
|
/**
|
2013-07-16 17:49:25 +00:00
|
|
|
* loopback ~ public api
|
2013-04-09 16:02:36 +00:00
|
|
|
*/
|
2016-04-01 09:14:26 +00:00
|
|
|
|
2013-07-16 17:49:25 +00:00
|
|
|
var loopback = module.exports = require('./lib/loopback');
|
2014-01-02 09:31:47 +00:00
|
|
|
var datasourceJuggler = require('loopback-datasource-juggler');
|
2013-06-08 00:37:30 +00:00
|
|
|
|
|
|
|
/**
|
2013-06-11 16:01:44 +00:00
|
|
|
* Connectors
|
2013-06-08 00:37:30 +00:00
|
|
|
*/
|
|
|
|
|
2013-07-16 17:49:25 +00:00
|
|
|
loopback.Connector = require('./lib/connectors/base-connector');
|
|
|
|
loopback.Memory = require('./lib/connectors/memory');
|
2013-10-12 02:06:16 +00:00
|
|
|
loopback.Mail = require('./lib/connectors/mail');
|
2014-09-25 20:28:51 +00:00
|
|
|
loopback.Remote = require('loopback-connector-remote');
|
2013-06-24 22:22:25 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Types
|
|
|
|
*/
|
|
|
|
|
2013-10-12 02:06:16 +00:00
|
|
|
loopback.GeoPoint = require('loopback-datasource-juggler/lib/geo').GeoPoint;
|
2014-10-15 14:42:46 +00:00
|
|
|
loopback.ValidationError = loopback.Model.ValidationError;
|