@justair/justair-library 4.8.42 → 4.8.43

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/README CHANGED
@@ -143,4 +143,4 @@ This project is licensed under the MIT License - see the LICENSE file for detail
143
143
 
144
144
  ## Contact
145
145
 
146
- For any inquiries or support, please contact the development team.
146
+ For any inquiries or support, please contact the development team.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justair/justair-library",
3
- "version": "4.8.42",
3
+ "version": "4.8.43",
4
4
  "description": "JustAir Internal Library",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -53,6 +53,7 @@ const samplesSchema = mongoose.Schema(
53
53
  parameterUnit: { type: String },
54
54
  upperDetectionLimit: { type: Number },
55
55
  lowerDetectionLimit: { type: Number },
56
+ uploadedByName: { type: String }, // Name of the user who uploaded the sample
56
57
  },
57
58
  {
58
59
  timestamps: true,
@@ -178,4 +179,4 @@ samplesSchema.pre("updateMany", async function () {
178
179
 
179
180
  // Create the SampleSites model
180
181
  const Samples = mongoose.model("Samples", samplesSchema);
181
- export { samplesSchema, Samples, SamplesAudit, samplesAuditSchema, sampleParameterReferenceConcentrations };
182
+ export { samplesSchema, Samples, SamplesAudit, samplesAuditSchema, sampleParameterReferenceConcentrations };