UNPKG

graph-common

Version:
35 lines (27 loc) 541 B
(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);