Code coverage report for src/Common/Schema/Types.js

Statements: 87.5% (7 / 8)      Branches: 100% (0 / 0)      Functions: 80% (4 / 5)      Lines: 87.5% (7 / 8)      Ignored: none     

All files » src/Common/Schema/ » Types.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57    1                   1               115               379               65               172                       1
"use strict";
 
var _ = require("lodash");
 
/**
 *
 * List of internal Schema package Types.
 *
 * This is useful while using the revealing module pattern and wanting
 * at the same time to use strong type checking.
 *
 */
var Types = {
 
    /**
     *
     * @class
     * Schema
     *
     */
    Schema: function Schema(options){ _.extend(this, options); },
 
    /**
     *
     * @class
     * Schema
     *
     */
    SchemaDefinition: function SchemaDefinition(options){ _.extend(this, options); },
 
    /**
     *
     * @class
     * SchemaEvaluator
     *
     */
    SchemaEvaluator: function SchemaEvaluator(options){ _.extend(this, options); },
 
    /**
     *
     * @class
     * SchemaResult
     *
     */
    SchemaResult: function SchemaResult(options){ _.extend(this, options); },
 
    /**
     *
     * @class
     * SchemaResultNode
     *
     */
    SchemaResultNode: function SchemaResultNode(options){ _.extend(this, options); }
 
};
 
module.exports = Types;