Open Glavin001 opened 9 years ago
Instead of having the registerPlugin method accept a Function, have it accept an Object that is formatted as follows:
registerPlugin
{ "name": "donna-plugin-example", "description": "Interact with the foobar API; assign foos, list bars, etc.", "version": "0.0.1", "plugins": { "senses": [ ], // array of sense emitters "cortices": [ ], // array of cortices / processing units "controls": [ ] // array of controllers } }
Consider the Machinepack and Machine Specs: http://node-machine.org/spec/machinepack and http://node-machine.org/spec/machine
Instead of having the
registerPlugin
method accept a Function, have it accept an Object that is formatted as follows: