Add Plugin TypeScript APIs (TODO)¶
This document will describe how to use the APIs between plugins running on the:
- and Admin services
These services all run TypeScript + Angular, the integrations are provided by the standard Angular services mechanisms.
For a plugin to publish an API, Create an Angular Service.
For a plugin to use another plugins API, Use that service in the constructor of your Angular service, component or module.
Be careful with singleton services, adding it to multiple provides will cause the service to be created again instead of looking for a provider in the parent.
That’s basically how this will work. Examples to come at a later date.