loopback/index.js

28 lines
756 B
JavaScript
Raw Normal View History

2016-05-04 00:10:46 +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
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
*/
2013-07-16 17:49:25 +00:00
var loopback = module.exports = require('./lib/loopback');
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');
loopback.Mail = require('./lib/connectors/mail');
loopback.Remote = require('loopback-connector-remote');
2013-06-24 22:22:25 +00:00
/**
* Types
*/
loopback.GeoPoint = require('loopback-datasource-juggler/lib/geo').GeoPoint;
loopback.ValidationError = loopback.Model.ValidationError;