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

Version Path
cqm-models-4.2.0 app/assets/javascripts/cqm/ClauseResult.js
cqm-models-3.1.2 app/assets/javascripts/cqm/ClauseResult.js
cqm-models-4.1.1 app/assets/javascripts/cqm/ClauseResult.js
cqm-models-4.1.0 app/assets/javascripts/cqm/ClauseResult.js
cqm-models-4.0.2 app/assets/javascripts/cqm/ClauseResult.js
cqm-models-4.0.1 app/assets/javascripts/cqm/ClauseResult.js
cqm-models-4.0.0 app/assets/javascripts/cqm/ClauseResult.js
cqm-models-3.1.1 app/assets/javascripts/cqm/ClauseResult.js
cqm-models-3.1.0 app/assets/javascripts/cqm/ClauseResult.js
cqm-models-3.0.6 app/assets/javascripts/cqm/ClauseResult.js
cqm-models-3.0.5 app/assets/javascripts/cqm/ClauseResult.js
cqm-models-3.0.4 app/assets/javascripts/cqm/ClauseResult.js
cqm-models-3.0.3 app/assets/javascripts/cqm/ClauseResult.js
cqm-models-3.0.2 app/assets/javascripts/cqm/ClauseResult.js
cqm-models-3.0.1 app/assets/javascripts/cqm/ClauseResult.js
cqm-models-2.0.1 app/assets/javascripts/cqm/ClauseResult.js
cqm-models-3.0.0 app/assets/javascripts/cqm/ClauseResult.js
cqm-models-2.0.0 app/assets/javascripts/cqm/ClauseResult.js