Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register plugin accept an Object, not a Function #12

Open
Glavin001 opened this issue Mar 11, 2015 · 1 comment
Open

Register plugin accept an Object, not a Function #12

Glavin001 opened this issue Mar 11, 2015 · 1 comment

Comments

@Glavin001
Copy link
Member

Instead of having the registerPlugin method accept a Function, have it accept an Object that is formatted as follows:

{
  "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
  }
}
@Glavin001 Glavin001 self-assigned this Mar 11, 2015
@Glavin001
Copy link
Member Author

Consider the Machinepack and Machine Specs: http://node-machine.org/spec/machinepack and http://node-machine.org/spec/machine

@Glavin001 Glavin001 added this to the v0.2.0 milestone Mar 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant