Sha256: e832d1d2677388286f4a49973ebf4fa94b579d5739e04825d2ea3dbdc45202a8
Contents?: true
Size: 602 Bytes
Versions: 10
Compression:
Stored size: 602 Bytes
Contents
const mongoose = require('mongoose/browser'); const [Number, String] = [ mongoose.Schema.Types.Number, mongoose.Schema.Types.String, ]; const IdentifierSchema = mongoose.Schema({ namingSystem: String, value: String, qdmVersion: { type: String, default: '5.5' }, _type: { type: String, default: 'QDM::Identifier' }, }, { _id: false, id: false }); module.exports.IdentifierSchema = IdentifierSchema; class Identifier extends mongoose.Document { constructor(object) { super(object, IdentifierSchema); this._type = 'QDM::Identifier'; } } module.exports.Identifier = Identifier;
Version data entries
10 entries across 10 versions & 1 rubygems