From 1a2d8a4571e4023e4813df6b5edd749bbafb0664 Mon Sep 17 00:00:00 2001 From: CSLTech Date: Mon, 13 Nov 2017 11:04:49 -0500 Subject: [PATCH] Added missing DateString type in loopback index --- index.js | 1 + test/loopback.test.js | 1 + 2 files changed, 2 insertions(+) diff --git a/index.js b/index.js index ec3d87e6..9ff053de 100644 --- a/index.js +++ b/index.js @@ -25,4 +25,5 @@ loopback.Remote = require('loopback-connector-remote'); */ loopback.GeoPoint = require('loopback-datasource-juggler/lib/geo').GeoPoint; +loopback.DateString = require('loopback-datasource-juggler/lib/date-string'); loopback.ValidationError = loopback.Model.ValidationError; diff --git a/test/loopback.test.js b/test/loopback.test.js index a520844b..03c6e73f 100644 --- a/test/loopback.test.js +++ b/test/loopback.test.js @@ -46,6 +46,7 @@ describe('loopback', function() { 'Checkpoint', 'Connector', 'DataSource', + 'DateString', 'Email', 'GeoPoint', 'KeyValueModel',