@justair/justair-library 2.0.0 → 2.0.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justair/justair-library",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "JustAir Internal Library",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
package/src/index.js CHANGED
@@ -5,6 +5,7 @@ import {monitorRequestsSchema, MonitorRequests} from './models/monitorRequests.j
5
5
  import {monitorsSchema, Monitors} from './models/monitors.js';
6
6
  import {organizationsSchema, Organizations} from './models/organizations.js';
7
7
  import {referenceMonitorInfoSchema, ReferenceMonitorInfo} from './models/referenceMonitorInfo.js';
8
+ import { lightMonitorSchema, LightMonitors } from './models/lightmonitors.js';
8
9
  import {usersSchema, Users} from './models/users.js';
9
10
  import { eventsSchema, Events } from './models/events.js';
10
11
  import dbConfig from './config/db.js';
@@ -27,5 +28,6 @@ export {
27
28
  organizationsSchema, Organizations,
28
29
  referenceMonitorInfoSchema, ReferenceMonitorInfo,
29
30
  usersSchema, Users,
30
- eventsSchema, Events
31
+ eventsSchema, Events,
32
+ lightMonitorSchema, LightMonitors
31
33
  };
@@ -20,4 +20,4 @@ const lightMonitorSchema = mongoose.Schema({
20
20
 
21
21
  const LightMonitors = mongoose.model('LightMonitor', lightMonitorSchema);
22
22
 
23
- export default LightMonitors;
23
+ export {lightMonitorSchema, LightMonitors};