graph-common
Version:
Open Graph API core js lib
35 lines (27 loc) • 541 B
JavaScript
(function() {
var NodeSchema;
NodeSchema = (function() {
function NodeSchema() {}
NodeSchema.schema = {
name: 'Node',
definition: {
name: {
type: String,
required: true,
unique: true
},
path: {
type: String,
required: true,
unique: true
},
routers: {}
}
};
NodeSchema.methods = {
parse_path: function() {}
};
return NodeSchema;
})();
module.exports = NodeSchema;
}).call(this);