Sha256: 392dbaad6dd47430f19ad410e6ce199a420111d6d9c9f7ec9e0b5907f0447b7c
Contents?: true
Size: 602 Bytes
Versions: 6
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.6' }, _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
6 entries across 6 versions & 1 rubygems