@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 +1 -1
- package/package.json +1 -1
- package/src/models/samples.js +2 -1
package/README
CHANGED
package/package.json
CHANGED
package/src/models/samples.js
CHANGED
|
@@ -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 };
|