// 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 var SG = require('strong-globalize'); SG.SetRootDir(__dirname, { autonomousMsgLoading: 'all' }); /** * loopback ~ public api */ var loopback = module.exports = require('./lib/loopback'); var datasourceJuggler = require('loopback-datasource-juggler'); /** * Connectors */ loopback.Connector = require('./lib/connectors/base-connector'); loopback.Memory = require('./lib/connectors/memory'); loopback.Mail = require('./lib/connectors/mail'); loopback.Remote = require('loopback-connector-remote'); /** * Types */ loopback.GeoPoint = require('loopback-datasource-juggler/lib/geo').GeoPoint; loopback.ValidationError = loopback.Model.ValidationError;