loopback/index.js

30 lines
851 B
JavaScript
Raw Normal View History

// Copyright IBM Corp. 2013,2018. All Rights Reserved.
2016-05-03 22:50:21 +00:00
// Node module: loopback
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
'use strict';
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
*/
const loopback = module.exports = require('./lib/loopback');
const 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.DateString = require('loopback-datasource-juggler/lib/date-string');
loopback.ValidationError = loopback.Model.ValidationError;