Available services for Orbit Template
npm install @rocketmakers/orbit-template-service@rocketmakers/orbit-template-servicesWhen using @rocketmakers/orbit-template-services there are two options to register service classes with your ioc framework.
Option #1:
If you only want to register classes as needed, or inject alternative repository layers, you can bootstrap services as you would with any other class.
Option #2:
You can bootstrap template service classes using the exposed registerTemplateServiceIoC() function by following the steps below. This will register all service classes, using injected git http template repository classes from @rocketmakers/orbit-template-http-repository (you must install this as a dependency).
``typescript
// Register core types and services from @rocketmakers/orbit-core
registerCoreIoC();
// Register types and repository classes from @rocketmakers/orbit-template-http-repository
registerTemplateRepositoryIoC({ rootTemplateRepoUrl, notifyServiceName });
// Register template types and services from @rocketmakers/orbit-template-services
registerTemplateServiceIoC();
``
Hosted docs covering types, interfaces and all service class/method signatures within this package can be found using the link below:
Source code for this package can be found using the link below:
Contributing docs can be found in the README.md