app/assets/javascripts/ValueSet.js in cqm-models-0.7.7 vs app/assets/javascripts/ValueSet.js in cqm-models-0.8.0
- old
+ new
@@ -1,18 +1,18 @@
const mongoose = require('mongoose');
const Concept = require('./Concept.js');
-const [mString, Mixed, ObjectId] = [
+const [String, Mixed, ObjectId] = [
mongoose.Schema.Types.String,
mongoose.Schema.Types.Mixed,
mongoose.Schema.Types.ObjectId,
];
const ValueSetSchema = mongoose.Schema(
{
- oid: mString,
- display_name: mString,
- version: mString,
+ oid: String,
+ display_name: String,
+ version: String,
categories: Mixed,
concepts: [Concept.ConceptSchema],
user: { type: ObjectId, ref: 'User', index: true }, // Bonnie-specific