Sha256: bfba68a7499a74c2a042e35e0fbc7fe18161457d7e0e69d48c8bc827548ddf1f
Contents?: true
Size: 826 Bytes
Versions: 19
Compression:
Stored size: 826 Bytes
Contents
const mongoose = require('mongoose/browser'); const StatementReferenceSchema = new mongoose.Schema({ library_name: String, statement_name: String, hqmf_id: String, }); const StatementDependencySchema = new mongoose.Schema({ statement_name: String, statement_references: [StatementReferenceSchema], }); module.exports.StatementReferenceSchema = StatementReferenceSchema; class StatementReference extends mongoose.Document { constructor(object) { super(object, StatementReferenceSchema); } } module.exports.StatementReference = StatementReference; module.exports.StatementDependencySchema = StatementDependencySchema; class StatementDependency extends mongoose.Document { constructor(object) { super(object, StatementDependencySchema); } } module.exports.StatementDependency = StatementDependency;
Version data entries
19 entries across 19 versions & 1 rubygems