Sha256: 3823dd11278d348ab6230f566a7e7868ae4ecde0ea6e160e9a77a1c595985e41
Contents?: true
Size: 739 Bytes
Versions: 18
Compression:
Stored size: 739 Bytes
Contents
const mongoose = require('mongoose/browser'); const [String, Mixed] = [ mongoose.Schema.Types.String, mongoose.Schema.Types.Mixed, ]; const ClauseResultSchema = mongoose.Schema({ // Library the clause this result is for is in library_name: String, // Statement the clause this result is for is in statement_name: String, // LocalId of the clause this result is for localId: String, // Final, processed result of raw calculation final: String, // Raw result of clause calculation raw: Mixed, }); module.exports.ClauseResultSchema = ClauseResultSchema; class ClauseResult extends mongoose.Document { constructor(object) { super(object, ClauseResultSchema); } } module.exports.ClauseResult = ClauseResult;
Version data entries
18 entries across 18 versions & 1 rubygems