Sha256: b4be711eea454e1778e10027fe2dd3e90a81b250dafae30ec881b321ceb0a140
Contents?: true
Size: 421 Bytes
Versions: 4
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.4' }, _type: { type: String, default: 'Id' }, }, { _id: false, id: false }); module.exports.IdSchema = IdSchema; module.exports.Id = mongoose.model('Id', IdSchema);
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
cqm-models-1.0.3 | app/assets/javascripts/Id.js |
cqm-models-1.0.2 | app/assets/javascripts/Id.js |
cqm-models-1.0.1 | app/assets/javascripts/Id.js |
cqm-models-1.0.0 | app/assets/javascripts/Id.js |