Sha256: c98b33dc55001a6da8636a825fa2a7128e1915f14b74436097881afe4d3df1fd
Contents?: true
Size: 421 Bytes
Versions: 1
Compression:
Stored size: 421 Bytes
Contents
const mongoose = require('mongoose'); const [Number, String] = [ mongoose.Schema.Types.Number, mongoose.Schema.Types.String, ]; const IdSchema = mongoose.Schema({ namingSystem: String, value: String, qdmVersion: { type: String, default: '5.3' }, _type: { type: String, default: 'Id' }, }, { _id: false, id: false }); module.exports.IdSchema = IdSchema; module.exports.Id = mongoose.model('Id', IdSchema);
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cqm-models-0.8.4 | app/assets/javascripts/Id.js |