@bluedot-innovation/models 6.0.9-alpha.1 → 6.0.9-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/Models.js +2 -1
  2. package/package.json +1 -1
package/Models.js CHANGED
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * Created by andrewstirling on 22/12/16.
3
3
  */
4
+ const Mongoose = require('mongoose')
4
5
 
5
6
  let Models = {}
6
7
 
@@ -81,4 +82,4 @@ Schemas.TravelPath = require('./models/conditions/TravelPath').Schema
81
82
  Schemas.TravelDirection = require('./models/conditions/TravelDirection').Schema
82
83
 
83
84
  Models.Schemas = Schemas
84
- module.exports = Models
85
+ module.exports = {Models, Mongoose}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bluedot-innovation/models",
3
- "version": "6.0.9-alpha.1",
3
+ "version": "6.0.9-alpha.2",
4
4
  "main": "Models.js",
5
5
  "scripts": {
6
6
  "lint": "./node_modules/.bin/eslint -c .eslintrc.js ./models/*.js ./__tests__/**/*.js ./__tests__/**/**/*.js ./schemas/*.js",