@justair/justair-library 4.8.21 → 4.8.22
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 +1 -1
- package/src/index.js +15 -0
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -58,6 +58,15 @@ import { NetworkMetrics, networkMetricsSchema } from "./models/networkMetrics.js
|
|
|
58
58
|
import Database from "./config/db.js"; // Import the new Database class
|
|
59
59
|
import CustomLogger from "./config/logger.js";
|
|
60
60
|
|
|
61
|
+
// SampleSites related imports
|
|
62
|
+
import {
|
|
63
|
+
sampleSitesSchema,
|
|
64
|
+
SampleSites,
|
|
65
|
+
sampleSiteAuditSchema,
|
|
66
|
+
SampleSiteAudit,
|
|
67
|
+
sampleParametersEnum,
|
|
68
|
+
} from "./models/sampleSites.js";
|
|
69
|
+
|
|
61
70
|
export function createLoggerInstance({ DATADOG_API_KEY, APPLICATION_NAME }) {
|
|
62
71
|
return new CustomLogger({ DATADOG_API_KEY, APPLICATION_NAME });
|
|
63
72
|
}
|
|
@@ -115,4 +124,10 @@ export {
|
|
|
115
124
|
DataCompleteness,
|
|
116
125
|
networkMetricsSchema,
|
|
117
126
|
NetworkMetrics,
|
|
127
|
+
// SampleSites related exports
|
|
128
|
+
sampleSitesSchema,
|
|
129
|
+
SampleSites,
|
|
130
|
+
sampleSiteAuditSchema,
|
|
131
|
+
SampleSiteAudit,
|
|
132
|
+
sampleParametersEnum,
|
|
118
133
|
};
|